PageSourceSearch

https://arbia.io/assets/index-D-JUF-2s.js

js arbia.io collected 2026-10-09 22:41:57 UTC 902,535 bytes, 617 lines download raw bytes

1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+A(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+A(s,l);c+=j(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+A(s,l++),c+=j(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function N(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var P={current:null},F={transition:null},ee={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:F,ReactCurrentOwner:C};function te(){throw Error(`act(...) is not supported in production builds of React.`)}
vendor: 7,860 bytes, line 1
1e.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,e.act=te,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=F.transition;F.transition={};try{e()}finally{F.transition=t}},e.unstable_act=te,e.useCallback=function(e,t){return P.current.useCallback(e,t)},e.useContext=function(e){return P.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return P.current.useDeferredValue(e)},e.useEffect=function(e,t){return P.current.useEffect(e,t)},e.useId=function(){return P.current.useId()},e.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return P.current.useMemo(e,t)},e.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},e.useRef=function(e){return P.current.useRef(e)},e.useState=function(e){return P.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return P.current.useTransition()},e.version=`18.3.1`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,M(x);else{var t=n(l);t!==null&&N(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!D());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&N(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function O(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?k():(S=!1,C=null)}}else S=!1}var k;if(typeof v==`function`)k=function(){v(O)};else if(typeof MessageChannel<`u`){var A=new MessageChannel,j=A.port2;A.port1.onmessage=O,k=function(){j.postMessage(null)}}else k=function(){g(O,0)};function M(e){C=e,S||(S=!0,k())}function N(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,M(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,N(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,M(x))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p(),n=h();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},f={};function m(e){return l.call(f,e)?!0:l.call(d,e)?!1:u.test(e)?f[e]=!0:(d[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;
vendor: 11,804 bytes, lines 1-5
1if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?m(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),O=Symbol.for(`react.profiler`),k=Symbol.for(`react.provider`),A=Symbol.for(`react.context`),j=Symbol.for(`react.forward_ref`),M=Symbol.for(`react.suspense`),N=Symbol.for(`react.suspense_list`),P=Symbol.for(`react.memo`),F=Symbol.for(`react.lazy`),ee=Symbol.for(`react.offscreen`),te=Symbol.iterator;function ne(e){return typeof e!=`object`||!e?null:(e=te&&e[te]||e[`@@iterator`],typeof e==`function`?e:null)}var I=Object.assign,re;function ie(e){if(re===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);re=t&&t[1]||``}return`
2`+re+e}var ae=!1;function oe(e,t){if(!e||ae)return``;ae=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`
3`),a=r.stack.split(`
4`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`
5`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{ae=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?ie(e):``}function se(e){switch(e.tag){case 5:return ie(e.type);case 16:return ie(`Lazy`);case 13:return ie(`Suspense`);case 19:return ie(`SuspenseList`);case 0:case 2:case 15:return e=oe(e.type,!1),e;case 11:return e=oe(e.type.render,!1),e;case 1:return e=oe(e.type,!0),e;default:return``}}function ce(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case E:return`Fragment`;case T:return`Portal`;case O:return`Profiler`;case D:return`StrictMode`;case M:return`Suspense`;case N:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case A:return(e.displayName||`Context`)+`.Consumer`;case k:return(e._context.displayName||`Context`)+`.Provider`;case j:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case P:return t=e.displayName||null,t===null?ce(e.type)||`Memo`:t;case F:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}function le(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return ce(t);case 8:return t===D?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function L(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function ue(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function de(e){var t=ue(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function R(e){e._valueTracker||=de(e)}function fe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ue(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function pe(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function me(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function he(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=L(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function ge(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function _e(e,t){ge(e,t);var n=L(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?ye(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&ye(e,t.type,L(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ve(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function ye(e,t,n){(t!==`number`||pe(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var be=Array.isArray;function z(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+L(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function xe(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return I({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function Se(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(be(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:L(n)}}function Ce(e,t){var n=L(t.value),r=L(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function we(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Te(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function Ee(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Te(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var De,Oe=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(De||=document.createElement(`div`),De.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=De.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ke(e,t){if(t){var n=e.firstChild;
vendor: 4,872 bytes, line 5
5if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ae={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},je=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Ae).forEach(function(e){je.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ae[t]=Ae[e]})});function Me(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Ae.hasOwnProperty(e)&&Ae[e]?(``+t).trim():t+`px`}function Ne(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Me(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var Pe=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Fe(e,t){if(t){if(Pe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Ie(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Le=null;function Re(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ze=null,Be=null,Ve=null;function He(e){if(e=V(e)){if(typeof ze!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Ui(t),ze(e.stateNode,e.type,t))}}function Ue(e){Be?Ve?Ve.push(e):Ve=[e]:Be=e}function We(){if(Be){var e=Be,t=Ve;if(Ve=Be=null,He(e),t)for(e=0;e<t.length;e++)He(t[e])}}function Ge(e,t){return e(t)}function Ke(){}var qe=!1;function Je(e,t,n){if(qe)return e(t,n);qe=!0;try{return Ge(e,t,n)}finally{qe=!1,(Be!==null||Ve!==null)&&(Ke(),We())}}function Ye(e,t){var n=e.stateNode;if(n===null)return null;var i=Ui(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var Xe=!1;if(c)try{var Ze={};Object.defineProperty(Ze,"passive",{get:function(){Xe=!0}}),window.addEventListener(`test`,Ze,Ze),window.removeEventListener(`test`,Ze,Ze)}catch{Xe=!1}function Qe(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var $e=!1,et=null,tt=!1,nt=null,rt={onError:function(e){$e=!0,et=e}};function it(e,t,n,r,i,a,o,s,c){$e=!1,et=null,Qe.apply(rt,arguments)}function at(e,t,n,i,a,o,s,c,l){if(it.apply(this,arguments),$e){if($e){var u=et;$e=!1,et=null}else throw Error(r(198));tt||(tt=!0,nt=u)}}function ot(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function st(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ct(e){if(ot(e)!==e)throw Error(r(188))}function lt(e){var t=e.alternate;if(!t){if(t=ot(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return ct(a),e;if(o===i)return ct(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function ut(e){return e=lt(e),e===null?null:dt(e)}function dt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=dt(e);
vendor: 6,890 bytes, line 5
5if(t!==null)return t;e=e.sibling}return null}var ft=n.unstable_scheduleCallback,pt=n.unstable_cancelCallback,mt=n.unstable_shouldYield,ht=n.unstable_requestPaint,gt=n.unstable_now,_t=n.unstable_getCurrentPriorityLevel,vt=n.unstable_ImmediatePriority,yt=n.unstable_UserBlockingPriority,bt=n.unstable_NormalPriority,xt=n.unstable_LowPriority,St=n.unstable_IdlePriority,Ct=null,wt=null;function Tt(e){if(wt&&typeof wt.onCommitFiberRoot==`function`)try{wt.onCommitFiberRoot(Ct,e,void 0,(e.current.flags&128)==128)}catch{}}var Et=Math.clz32?Math.clz32:kt,Dt=Math.log,Ot=Math.LN2;function kt(e){return e>>>=0,e===0?32:31-(Dt(e)/Ot|0)|0}var At=64,jt=4194304;function Mt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Nt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Mt(a))):r=Mt(s)}else o=n&~i,o===0?a!==0&&(r=Mt(a)):r=Mt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Et(t),i=1<<n,r|=e[n],t&=~i;return r}function Pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ft(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Et(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Pt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function It(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Lt(){var e=At;return At<<=1,!(At&4194240)&&(At=64),e}function Rt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function zt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Et(t),e[t]=n}function Bt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Et(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Et(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Ht=0;function Ut(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Wt,Gt,Kt,qt,Jt,Yt=!1,Xt=[],Zt=null,Qt=null,$t=null,en=new Map,tn=new Map,nn=[],rn=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function an(e,t){switch(e){case`focusin`:case`focusout`:Zt=null;break;case`dragenter`:case`dragleave`:Qt=null;break;case`mouseover`:case`mouseout`:$t=null;break;case`pointerover`:case`pointerout`:en.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:tn.delete(t.pointerId)}}function on(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=V(t),t!==null&&Gt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function sn(e,t,n,r,i){switch(t){case`focusin`:return Zt=on(Zt,e,t,n,r,i),!0;case`dragenter`:return Qt=on(Qt,e,t,n,r,i),!0;case`mouseover`:return $t=on($t,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return en.set(a,on(en.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,tn.set(a,on(tn.get(a)||null,e,t,n,r,i)),!0}return!1}function cn(e){var t=Vi(e.target);if(t!==null){var n=ot(t);if(n!==null){if(t=n.tag,t===13){if(t=st(n),t!==null){e.blockedOn=t,Jt(e.priority,function(){Kt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ln(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=bn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Le=r,n.target.dispatchEvent(r),Le=null}else return t=V(n),t!==null&&Gt(t),e.blockedOn=n,!1;t.shift()}return!0}function un(e,t,n){ln(e)&&n.delete(t)}function dn(){Yt=!1,Zt!==null&&ln(Zt)&&(Zt=null),Qt!==null&&ln(Qt)&&(Qt=null),$t!==null&&ln($t)&&($t=null),en.forEach(un),tn.forEach(un)}function fn(e,t){e.blockedOn===t&&(e.blockedOn=null,Yt||(Yt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,dn)))}function pn(e){function t(t){return fn(t,e)}if(0<Xt.length){fn(Xt[0],e);for(var n=1;n<Xt.length;n++){var r=Xt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Zt!==null&&fn(Zt,e),Qt!==null&&fn(Qt,e),$t!==null&&fn($t,e),en.forEach(t),tn.forEach(t),n=0;n<nn.length;n++)r=nn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<nn.length&&(n=nn[0],n.blockedOn===null);)cn(n),n.blockedOn===null&&nn.shift()}var mn=C.ReactCurrentBatchConfig,hn=!0;function gn(e,t,n,r){var i=Ht,a=mn.transition;mn.transition=null;try{Ht=1,vn(e,t,n,r)}finally{Ht=i,mn.transition=a}}function _n(e,t,n,r){var i=Ht,a=mn.transition;mn.transition=null;try{Ht=4,vn(e,t,n,r)}finally{Ht=i,mn.transition=a}}function vn(e,t,n,r){if(hn){var i=bn(e,t,n,r);if(i===null)pi(e,t,r,yn,n),an(e,r);else if(sn(i,e,t,n,r))r.stopPropagation();else if(an(e,r),t&4&&-1<rn.indexOf(e)){for(;i!==null;){var a=V(i);if(a!==null&&Wt(a),a=bn(e,t,n,r),a===null&&pi(e,t,r,yn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else pi(e,t,r,null,n)}}var yn=null;function bn(e,t,n,r){if(yn=null,e=Re(r),e=Vi(e),e!==null)if(t=ot(e),t===null)e=null;else if(n=t.tag,n===13){if(e=st(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return yn=e,null}function xn(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`
vendor: 8,691 bytes, line 5
5:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(_t()){case vt:return 1;case yt:return 4;case bt:case xt:return 16;case St:return 536870912;default:return 16}default:return 16}}var Sn=null,Cn=null,wn=null;function Tn(){if(wn)return wn;var e,t=Cn,n=t.length,r,i=`value`in Sn?Sn.value:Sn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return wn=i.slice(e,1<r?1-r:void 0)}function En(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Dn(){return!0}function On(){return!1}function kn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Dn:On,this.isPropagationStopped=On,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jn=kn(An),Mn=I({},An,{view:0,detail:0}),Nn=kn(Mn),Pn,Fn,In,Ln=I({},Mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==In&&(In&&e.type===`mousemove`?(Pn=e.screenX-In.screenX,Fn=e.screenY-In.screenY):Fn=Pn=0,In=e),Pn)},movementY:function(e){return`movementY`in e?e.movementY:Fn}}),Rn=kn(Ln),zn=kn(I({},Ln,{dataTransfer:0})),Bn=kn(I({},Mn,{relatedTarget:0})),Vn=kn(I({},An,{animationName:0,elapsedTime:0,pseudoElement:0})),Hn=kn(I({},An,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Un=kn(I({},An,{data:0})),Wn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Gn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Kn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function qn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kn[e])?!!t[e]:!1}function Jn(){return qn}var Yn=kn(I({},Mn,{key:function(e){if(e.key){var t=Wn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=En(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Gn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jn,charCode:function(e){return e.type===`keypress`?En(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?En(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Xn=kn(I({},Ln,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=kn(I({},Mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jn})),Qn=kn(I({},An,{propertyName:0,elapsedTime:0,pseudoElement:0})),$n=kn(I({},Ln,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),er=[9,13,27,32],tr=c&&`CompositionEvent`in window,nr=null;c&&`documentMode`in document&&(nr=document.documentMode);var rr=c&&`TextEvent`in window&&!nr,ir=c&&(!tr||nr&&8<nr&&11>=nr),B=` `,ar=!1;function or(e,t){switch(e){case`keyup`:return er.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function sr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var cr=!1;function lr(e,t){switch(e){case`compositionend`:return sr(t);case`keypress`:return t.which===32?(ar=!0,B):null;case`textInput`:return e=t.data,e===B&&ar?null:e;default:return null}}function ur(e,t){if(cr)return e===`compositionend`||!tr&&or(e,t)?(e=Tn(),wn=Cn=Sn=null,cr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return ir&&t.locale!==`ko`?null:t.data;default:return null}}var dr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!dr[e.type]:t===`textarea`}function pr(e,t,n,r){Ue(r),t=hi(t,`onChange`),0<t.length&&(n=new jn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var mr=null,hr=null;function gr(e){si(e,0)}function _r(e){if(fe(Hi(e)))return e}function vr(e,t){if(e===`change`)return t}var yr=!1;if(c){var br;if(c){var xr=`oninput`in document;if(!xr){var Sr=document.createElement(`div`);Sr.setAttribute(`oninput`,`return;`),xr=typeof Sr.oninput==`function`}br=xr}else br=!1;yr=br&&(!document.documentMode||9<document.documentMode)}function Cr(){mr&&(mr.detachEvent(`onpropertychange`,wr),hr=mr=null)}function wr(e){if(e.propertyName===`value`&&_r(hr)){var t=[];pr(t,hr,e,Re(e)),Je(gr,t)}}function Tr(e,t,n){e===`focusin`?(Cr(),mr=t,hr=n,mr.attachEvent(`onpropertychange`,wr)):e===`focusout`&&Cr()}function Er(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return _r(hr)}function Dr(e,t){if(e===`click`)return _r(t)}function Or(e,t){if(e===`input`||e===`change`)return _r(t)}function kr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Ar=typeof Object.is==`function`?Object.is:kr;function jr(e,t){if(Ar(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Ar(e[i],t[i]))return!1}return!0}function Mr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=Mr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Mr(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(){for(var e=window,t=pe();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=pe(e.document)}return t}function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Lr(e){var t=Fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Pr(n.ownerDocument.documentElement,n)){if(r!==null&&Ir(n)){if
vendor: 88,930 bytes, lines 5-8
5(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Nr(n,a);var o=Nr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Rr=c&&`documentMode`in document&&11>=document.documentMode,zr=null,Br=null,Vr=null,Hr=!1;function Ur(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hr||zr==null||zr!==pe(r)||(r=zr,`selectionStart`in r&&Ir(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Vr&&jr(Vr,r)||(Vr=r,r=hi(Br,`onSelect`),0<r.length&&(t=new jn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Gr={animationend:Wr(`Animation`,`AnimationEnd`),animationiteration:Wr(`Animation`,`AnimationIteration`),animationstart:Wr(`Animation`,`AnimationStart`),transitionend:Wr(`Transition`,`TransitionEnd`)},Kr={},qr={};c&&(qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),`TransitionEvent`in window||delete Gr.transitionend.transition);function Jr(e){if(Kr[e])return Kr[e];if(!Gr[e])return e;var t=Gr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qr)return Kr[e]=t[n];return e}var Yr=Jr(`animationend`),Xr=Jr(`animationiteration`),Zr=Jr(`animationstart`),Qr=Jr(`transitionend`),$r=new Map,ei=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function ti(e,t){$r.set(e,t),o(t,[e])}for(var ni=0;ni<ei.length;ni++){var ri=ei[ni];ti(ri.toLowerCase(),`on`+(ri[0].toUpperCase()+ri.slice(1)))}ti(Yr,`onAnimationEnd`),ti(Xr,`onAnimationIteration`),ti(Zr,`onAnimationStart`),ti(`dblclick`,`onDoubleClick`),ti(`focusin`,`onFocus`),ti(`focusout`,`onBlur`),ti(Qr,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var ii=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),ai=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(ii));function oi(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,at(r,t,void 0,e),e.currentTarget=null}function si(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;oi(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;oi(i,s,l),a=c}}}if(tt)throw e=nt,tt=!1,nt=null,e}function ci(e,t){var n=t[Ri];n===void 0&&(n=t[Ri]=new Set);var r=e+`__bubble`;n.has(r)||(fi(t,e,2,!1),n.add(r))}function li(e,t,n){var r=0;t&&(r|=4),fi(n,e,r,t)}var ui=`_reactListening`+Math.random().toString(36).slice(2);function di(e){if(!e[ui]){e[ui]=!0,i.forEach(function(t){t!==`selectionchange`&&(ai.has(t)||li(t,!1,e),li(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ui]||(t[ui]=!0,li(`selectionchange`,!1,t))}}function fi(e,t,n,r){switch(xn(t)){case 1:var i=gn;break;case 4:i=_n;break;default:i=vn}n=i.bind(null,t,n,e),i=void 0,!Xe||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function pi(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Vi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}Je(function(){var r=a,i=Re(n),o=[];a:{var s=$r.get(e);if(s!==void 0){var c=jn,l=e;switch(e){case`keypress`:if(En(n)===0)break a;case`keydown`:case`keyup`:c=Yn;break;case`focusin`:l=`focus`,c=Bn;break;case`focusout`:l=`blur`,c=Bn;break;case`beforeblur`:case`afterblur`:c=Bn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Rn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=zn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=Zn;break;case Yr:case Xr:case Zr:c=Vn;break;case Qr:c=Qn;break;case`scroll`:c=Nn;break;case`wheel`:c=$n;break;case`copy`:case`cut`:case`paste`:c=Hn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=Xn}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=Ye(p,f),h!=null&&u.push(mi(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Le&&(l=n.relatedTarget||n.fromElement)&&(Vi(l)||l[Li]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Vi(l):null,l!==null&&(d=ot(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Rn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=Xn,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Hi(c),m=l==null?s:Hi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Vi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=gi(m))p++;for(m=0,h=f;h;h=gi(h))m++;for(;0<p-m;)u=gi(u),p--;for(;0<m-p;)f=gi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=gi(u),f=gi(f)}u=null}else u=null;c!==null&&_i(o,s,c,u,!1),l!==null&&d!==null&&_i(o,d,l,u,!0)}}a:{if(s=r?Hi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=vr;else if(fr(s))if(yr)g=Or;else{g=Er;var _=Tr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=Dr);if(g&&=g(e,r)){pr(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&ye(s,`number`,s.value)}switch(_=r?Hi(r):window,e){case`focusin`:(fr(_)||_.contentEditable===`true`)&&(zr=_,Br=r,Vr=null);break;case`focusout`:Vr=Br=zr=null;break;case`mousedown`:Hr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Hr=!1,Ur(o,n,i);break;case`selectionchange`:if(Rr)break;case`keydown`:case`keyup`:Ur(o,n,i)}var v;if(tr)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else cr?or(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(ir&&n.locale!==`ko`&&(cr||y!==`onCompositionStart`?y===`onCompositionEnd`&&cr&&(v=Tn()):(Sn=i,Cn=`value`in Sn?Sn.value:Sn.textContent,cr=!0)),_=hi(r,y),0<_.length&&(y=new Un(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=sr(n),v!==null&&(y.data=v)))),(v=rr?lr(e,n):ur(e,n))&&(r=hi(r,`onBeforeInput`),0<r.length&&(i=new Un(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}si(o,t)})}function mi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Ye(e,n),a!=null&&r.unshift(mi(e,a,i)),a=Ye(e,t),a!=null&&r.push(mi(e,a,i))),e=e.return}return r}function gi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _i(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=Ye(n,a),c!=null&&o.unshift(mi(n,c,s))):i||(c=Ye(n,a),c!=null&&o.push(mi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var vi=/\r\n?/g,yi=/\u0000|\uFFFD/g;function bi(e){return(typeof e==`string`?e:``+e).replace(vi,`
6`).replace(yi,``)}function xi(e,t,n){if(t=bi(t),bi(e)!==t&&n)throw Error(r(425))}function Si(){}var Ci=null,wi=null;function Ti(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ei=typeof setTimeout==`function`?setTimeout:void 0,Di=typeof clearTimeout==`function`?clearTimeout:void 0,Oi=typeof Promise==`function`?Promise:void 0,ki=typeof queueMicrotask==`function`?queueMicrotask:Oi===void 0?Ei:function(e){return Oi.resolve(null).then(e).catch(Ai)};function Ai(e){setTimeout(function(){throw e})}function ji(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),pn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);pn(t)}function Mi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Ni(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Pi=Math.random().toString(36).slice(2),Fi=`__reactFiber$`+Pi,Ii=`__reactProps$`+Pi,Li=`__reactContainer$`+Pi,Ri=`__reactEvents$`+Pi,zi=`__reactListeners$`+Pi,Bi=`__reactHandles$`+Pi;function Vi(e){var t=e[Fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Li]||n[Fi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ni(e);e!==null;){if(n=e[Fi])return n;e=Ni(e)}return t}e=n,n=e.parentNode}return null}function V(e){return e=e[Fi]||e[Li],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Hi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Ui(e){return e[Ii]||null}var Wi=[],Gi=-1;function Ki(e){return{current:e}}function qi(e){0>Gi||(e.current=Wi[Gi],Wi[Gi]=null,Gi--)}function Ji(e,t){Gi++,Wi[Gi]=e.current,e.current=t}var Yi={},Xi=Ki(Yi),Zi=Ki(!1),Qi=Yi;function $i(e,t){var n=e.type.contextTypes;if(!n)return Yi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ea(e){return e=e.childContextTypes,e!=null}function ta(){qi(Zi),qi(Xi)}function na(e,t,n){if(Xi.current!==Yi)throw Error(r(168));Ji(Xi,t),Ji(Zi,n)}function ra(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,le(e)||`Unknown`,a));return I({},n,i)}function ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yi,Qi=Xi.current,Ji(Xi,e),Ji(Zi,Zi.current),!0}function aa(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=ra(e,t,Qi),i.__reactInternalMemoizedMergedChildContext=e,qi(Zi),qi(Xi),Ji(Xi,e)):qi(Zi),Ji(Zi,n)}var oa=null,sa=!1,ca=!1;function la(e){oa===null?oa=[e]:oa.push(e)}function ua(e){sa=!0,la(e)}function da(){if(!ca&&oa!==null){ca=!0;var e=0,t=Ht;try{var n=oa;for(Ht=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}oa=null,sa=!1}catch(t){throw oa!==null&&(oa=oa.slice(e+1)),ft(vt,da),t}finally{Ht=t,ca=!1}}return null}var fa=[],pa=0,ma=null,ha=0,ga=[],_a=0,va=null,ya=1,ba=``;function xa(e,t){fa[pa++]=ha,fa[pa++]=ma,ma=e,ha=t}function Sa(e,t,n){ga[_a++]=ya,ga[_a++]=ba,ga[_a++]=va,va=e;var r=ya;e=ba;var i=32-Et(r)-1;r&=~(1<<i),n+=1;var a=32-Et(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ya=1<<32-Et(t)+i|n<<i|r,ba=a+e}else ya=1<<a|n<<i|r,ba=e}function Ca(e){e.return!==null&&(xa(e,1),Sa(e,1,0))}function wa(e){for(;e===ma;)ma=fa[--pa],fa[pa]=null,ha=fa[--pa],fa[pa]=null;for(;e===va;)va=ga[--_a],ga[_a]=null,ba=ga[--_a],ga[_a]=null,ya=ga[--_a],ga[_a]=null}var Ta=null,Ea=null,Da=!1,Oa=null;function ka(e,t){var n=ru(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Aa(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,Ta=e,Ea=Mi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,Ta=e,Ea=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=va===null?null:{id:ya,overflow:ba},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ru(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ta=e,Ea=null,!0);default:return!1}}function ja(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Ma(e){if(Da){var t=Ea;if(t){var n=t;if(!Aa(e,t)){if(ja(e))throw Error(r(418));t=Mi(n.nextSibling);var i=Ta;t&&Aa(e,t)?ka(i,n):(e.flags=e.flags&-4097|2,Da=!1,Ta=e)}}else{if(ja(e))throw Error(r(418));e.flags=e.flags&-4097|2,Da=!1,Ta=e}}}function Na(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ta=e}function Pa(e){if(e!==Ta)return!1;if(!Da)return Na(e),Da=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Ti(e.type,e.memoizedProps)),t&&=Ea){if(ja(e))throw Fa(),Error(r(418));for(;t;)ka(e,t),t=Mi(t.nextSibling)}if(Na(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Ea=Mi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Ea=null}}else Ea=Ta?Mi(e.stateNode.nextSibling):null;return!0}function Fa(){for(var e=Ea;e;)e=Mi(e.nextSibling)}function Ia(){Ea=Ta=null,Da=!1}function La(e){Oa===null?Oa=[e]:Oa.push(e)}var Ra=C.ReactCurrentBatchConfig;function za(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Ba(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Va(e){var t=e._init;return t(e._payload)}function Ha(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=ou(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=uu(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===F&&Va(i)===t.type)?(r=a(t,n.props),r.ref=za(e,t,n),r.return=e,r):(r=su(n.type,n.key,n.props,null,e.mode,r),r.ref=za(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=du(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=cu(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=uu(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=su(t.type,t.key,t.props,null,e.mode,n),n.ref=za(e,null,t),n.return=e,n;case T:return t=du(t,e.mode,n),t.return=e,t;case F:var r=t._init;return f(e,r(t._payload),n)}if(be(t)||ne(t))return t=cu(t,e.mode,n,null),t.return=e,t;Ba(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case F:return i=n._init,p(e,t,i(n._payload),r)}if(be(n)||ne(n))return i===null?d(e,t,n,r,null):null;Ba(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case F:var a=r._init;return m(e,t,n,a(r._payload),i)}if(be(r)||ne(r))return e=e.get(n)||null,d(t,e,r,i,null);Ba(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),Da&&xa(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Da&&xa(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),Da&&xa(r,h),l}function g(a,s,c,l){var u=ne(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Da&&xa(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Da&&xa(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Da&&xa(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===F&&Va(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=za(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=cu(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=su(i.type,i.key,i.props,null,e.mode,o),o.ref=za(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=du(i,e.mode,o),r.return=e,e=r}return s(e);case F:return l=i._init,_(e,r,l(i._payload),o)}if(be(i))return h(e,r,i,o);if(ne(i))return g(e,r,i,o);Ba(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=uu(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Ua=Ha(!0),Wa=Ha(!1),Ga=Ki(null),Ka=null,qa=null,Ja=null;function Ya(){Ja=qa=Ka=null}function Xa(e){var t=Ga.current;qi(Ga),e._currentValue=t}function Za(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Qa(e,t){Ka=e,Ja=qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Hs=!0),e.firstContext=null)}function $a(e){var t=e._currentValue;if(Ja!==e)if(e={context:e,memoizedValue:t,next:null},qa===null){if(Ka===null)throw Error(r(308));qa=e,Ka.dependencies={lanes:0,firstContext:e}}else qa=qa.next=e;return t}var eo=null;function to(e){eo===null?eo=[e]:eo.push(e)}function no(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,to(t)):(n.next=i.next,i.next=n),t.interleaved=n,ro(e,r)}function ro(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var io=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function co(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Zc&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ro(e,n)}return i=r.interleaved,i===null?(t.next=t,to(r)):(t.next=i.next,i.next=t),r.interleaved=t,ro(e,n)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vt(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fo(e,t,n,r){var i=e.updateQueue;io=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=I({},d,f);break a;case 2:io=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);al|=o,e.lanes=o,e.memoizedState=d}}function po(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var mo={},ho=Ki(mo),go=Ki(mo),_o=Ki(mo);function vo(e){if(e===mo)throw Error(r(174));return e}function yo(e,t){switch(Ji(_o,t),Ji(go,e),Ji(ho,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ee(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ee(t,e)}qi(ho),Ji(ho,t)}function bo(){qi(ho),qi(go),qi(_o)}function xo(e){vo(_o.current);var t=vo(ho.current),n=Ee(t,e.type);t!==n&&(Ji(go,e),Ji(ho,n))}function So(e){go.current===e&&(qi(ho),qi(go))}var Co=Ki(0);function wo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var To=[];function Eo(){for(var e=0;e<To.length;e++)To[e]._workInProgressVersionPrimary=null;To.length=0}var Do=C.ReactCurrentDispatcher,Oo=C.ReactCurrentBatchConfig,ko=0,Ao=null,jo=null,Mo=null,No=!1,Po=!1,Fo=0,Io=0;function Lo(){throw Error(r(321))}function Ro(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ar(e[n],t[n]))return!1;return!0}function zo(e,t,n,i,a,o){if(ko=o,Ao=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Do.current=e===null||e.memoizedState===null?Ss:Cs,e=n(i,a),Po){o=0;do{if(Po=!1,Fo=0,25<=o)throw Error(r(301));o+=1,Mo=jo=null,t.updateQueue=null,Do.current=ws,e=n(i,a)}while(Po)}if(Do.current=xs,t=jo!==null&&jo.next!==null,ko=0,Mo=jo=Ao=null,No=!1,t)throw Error(r(300));return e}function Bo(){var e=Fo!==0;return Fo=0,e}function Vo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e,Mo}function Ho(){if(jo===null){var e=Ao.alternate;e=e===null?null:e.memoizedState}else e=jo.next;var t=Mo===null?Ao.memoizedState:Mo.next;if(t!==null)Mo=t,jo=e;else{if(e===null)throw Error(r(310));jo=e,e={memoizedState:jo.memoizedState,baseState:jo.baseState,baseQueue:jo.baseQueue,queue:jo.queue,next:null},Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e}return Mo}function Uo(e,t){return typeof t==`function`?t(e):t}function Wo(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=jo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((ko&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Ao.lanes|=d,al|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Ar(i,t.memoizedState)||(Hs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Ao.lanes|=o,al|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Go(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Ar(o,t.memoizedState)||(Hs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ko(){}function qo(e,t){var n=Ao,i=Ho(),a=t(),o=!Ar(i.memoizedState,a);if(o&&(i.memoizedState=a,Hs=!0),i=i.queue,as(Xo.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Mo!==null&&Mo.memoizedState.tag&1){if(n.flags|=2048,es(9,Yo.bind(null,n,i,a,t),void 0,null),Qc===null)throw Error(r(349));ko&30||Jo(n,t,a)}return a}function Jo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yo(e,t,n,r){t.value=n,t.getSnapshot=r,Zo(t)&&Qo(e)}function Xo(e,t,n){return n(function(){Zo(t)&&Qo(e)})}function Zo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ar(e,n)}catch{return!0}}function Qo(e){var t=ro(e,1);t!==null&&Tl(t,e,1,-1)}function $o(e){var t=Vo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=_s.bind(null,Ao,e),[t.memoizedState,e]}function es(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ts(){return Ho().memoizedState}function ns(e,t,n,r){var i=Vo();Ao.flags|=e,i.memoizedState=es(1|t,n,void 0,r===void 0?null:r)}function rs(e,t,n,r){var i=Ho();r=r===void 0?null:r;var a=void 0;if(jo!==null){var o=jo.memoizedState;if(a=o.destroy,r!==null&&Ro(r,o.deps)){i.memoizedState=es(t,n,a,r);return}}Ao.flags|=e,i.memoizedState=es(1|t,n,a,r)}function is(e,t){return ns(8390656,8,e,t)}function as(e,t){return rs(2048,8,e,t)}function os(e,t){return rs(4,2,e,t)}function ss(e,t){return rs(4,4,e,t)}function cs(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ls(e,t,n){return n=n==null?null:n.concat([e]),rs(4,4,cs.bind(null,t,e),n)}function us(){}function ds(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fs(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ps(e,t,n){return ko&21?(Ar(n,t)||(n=Lt(),Ao.lanes|=n,al|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Hs=!0),e.memoizedState=n)}function ms(e,t){var n=Ht;Ht=n!==0&&4>n?n:4,e(!0);var r=Oo.transition;Oo.transition={};try{e(!1),t()}finally{Ht=n,Oo.transition=r}}function hs(){return Ho().memoizedState}function gs(e,t,n){var r=wl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vs(e))ys(t,n);else if(n=no(e,t,n,r),n!==null){var i=Cl();Tl(n,e,r,i),bs(n,t,r)}}function _s(e,t,n){var r=wl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vs(e))ys(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ar(s,o)){var c=t.interleaved;c===null?(i.next=i,to(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=no(e,t,i,r),n!==null&&(i=Cl(),Tl(n,e,r,i),bs(n,t,r))}}function vs(e){var t=e.alternate;return e===Ao||t!==null&&t===Ao}function ys(e,t){Po=No=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vt(e,n)}}var xs={readContext:$a,useCallback:Lo,useContext:Lo,useEffect:Lo,useImperativeHandle:Lo,useInsertionEffect:Lo,useLayoutEffect:Lo,useMemo:Lo,useReducer:Lo,useRef:Lo,useState:Lo,useDebugValue:Lo,useDeferredValue:Lo,useTransition:Lo,useMutableSource:Lo,useSyncExternalStore:Lo,useId:Lo,unstable_isNewReconciler:!1},Ss={readContext:$a,useCallback:function(e,t){return Vo().memoizedState=[e,t===void 0?null:t],e},useContext:$a,useEffect:is,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),ns(4194308,4,cs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ns(4194308,4,e,t)},useInsertionEffect:function(e,t){return ns(4,2,e,t)},useMemo:function(e,t){var n=Vo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vo();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gs.bind(null,Ao,e),[r.memoizedState,e]},useRef:function(e){var t=Vo();return e={current:e},t.memoizedState=e},useState:$o,useDebugValue:us,useDeferredValue:function(e){return Vo().memoizedState=e},useTransition:function(){var e=$o(!1),t=e[0];return e=ms.bind(null,e[1]),Vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ao,a=Vo();if(Da){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Qc===null)throw Error(r(349));ko&30||Jo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,is(Xo.bind(null,i,o,e),[e]),i.flags|=2048,es(9,Yo.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Vo(),t=Qc.identifierPrefix;if(Da){var n=ba,r=ya;n=(r&~(1<<32-Et(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Fo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Io++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Cs={readContext:$a,useCallback:ds,useContext:$a,useEffect:as,useImperativeHandle:ls,useInsertionEffect:os,useLayoutEffect:ss,useMemo:fs,useReducer:Wo,useRef:ts,useState:function(){return Wo(Uo)},useDebugValue:us,useDeferredValue:function(e){return ps(Ho(),jo.memoizedState,e)},useTransition:function(){return[Wo(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:hs,unstable_isNewReconciler:!1},ws={readContext:$a,useCallback:ds,useContext:$a,useEffect:as,useImperativeHandle:ls,useInsertionEffect:os,useLayoutEffect:ss,useMemo:fs,useReducer:Go,useRef:ts,useState:function(){return Go(Uo)},useDebugValue:us,useDeferredValue:function(e){var t=Ho();return jo===null?t.memoizedState=e:ps(t,jo.memoizedState,e)},useTransition:function(){return[Go(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:hs,unstable_isNewReconciler:!1};function Ts(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Es(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:I({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ds={isMounted:function(e){return(e=e._reactInternals)?ot(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Cl(),i=wl(e),a=so(r,i);a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(Tl(t,e,i,r),lo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Cl(),i=wl(e),a=so(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(Tl(t,e,i,r),lo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Cl(),r=wl(e),i=so(n,r);i.tag=2,t!=null&&(i.callback=t),t=co(e,i,r),t!==null&&(Tl(t,e,r,n),lo(t,e,r))}};function Os(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!jr(n,r)||!jr(i,a):!0}function ks(e,t,n){var r=!1,i=Yi,a=t.contextType;return typeof a==`object`&&a?a=$a(a):(i=ea(t)?Qi:Xi.current,r=t.contextTypes,a=(r=r!=null)?$i(e,i):Yi),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ds,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function As(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ds.enqueueReplaceState(t,t.state,null)}function js(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ao(e);var a=t.contextType;typeof a==`object`&&a?i.context=$a(a):(a=ea(t)?Qi:Xi.current,i.context=$i(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Es(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Ds.enqueueReplaceState(i,i.state,null),fo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Ms(e,t){try{var n=``,r=t;do n+=se(r),r=r.return;while(r);var i=n}catch(e){i=`
7Error generating stack: `+e.message+`
8`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Ns(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ps(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var Fs=typeof WeakMap==`function`?WeakMap:Map;function Is(e,t,n){n=so(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pl||(pl=!0,ml=r),Ps(e,t)},n}function Ls(e,t,n){n=so(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ps(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Ps(e,t),typeof r!=`function`&&(hl===null?hl=new Set([this]):hl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Rs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fs;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Xl.bind(null,e,t,n),t.then(e,e))}function zs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Bs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=so(-1,1),t.tag=2,co(n,t,1))),n.lanes|=1),e)}var Vs=C.ReactCurrentOwner,Hs=!1;function Us(e,t,n,r){t.child=e===null?Wa(t,null,n,r):Ua(t,e.child,n,r)}function Ws(e,t,n,r,i){n=n.render;var a=t.ref;return Qa(t,i),r=zo(e,t,n,r,a,i),n=Bo(),e!==null&&!Hs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,uc(e,t,i)):(Da&&n&&Ca(t),t.flags|=1,Us(e,t,r,i),t.child)}function Gs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!iu(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Ks(e,t,a,r,i)):(e=su(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?jr:n,n(o,r)&&e.ref===t.ref)return uc(e,t,i)}return t.flags|=1,e=ou(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ks(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(jr(a,r)&&e.ref===t.ref)if(Hs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Hs=!0);else return t.lanes=e.lanes,uc(e,t,i)}return Ys(e,t,n,r,i)}function qs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ji(nl,tl),tl|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ji(nl,tl),tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,Ji(nl,tl),tl|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),Ji(nl,tl),tl|=r;return Us(e,t,i,n),t.child}function Js(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ys(e,t,n,r,i){var a=ea(n)?Qi:Xi.current;return a=$i(t,a),Qa(t,i),n=zo(e,t,n,r,a,i),r=Bo(),e!==null&&!Hs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,uc(e,t,i)):(Da&&r&&Ca(t),t.flags|=1,Us(e,t,n,i),t.child)}function Xs(e,t,n,r,i){if(ea(n)){var a=!0;ia(t)}else a=!1;if(Qa(t,i),t.stateNode===null)lc(e,t),ks(t,n,r),js(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=$a(l):(l=ea(n)?Qi:Xi.current,l=$i(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&As(t,o,r,l),io=!1;var f=t.memoizedState;o.state=f,fo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||Zi.current||io?(typeof u==`function`&&(Es(t,n,u,r),c=t.memoizedState),(s=io||Os(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:Ts(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=$a(c):(c=ea(n)?Qi:Xi.current,c=$i(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&As(t,o,r,c),io=!1,f=t.memoizedState,o.state=f,fo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||Zi.current||io?(typeof p==`function`&&(Es(t,n,p,r),m=t.memoizedState),(l=io||Os(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zs(e,t,n,r,a,i)}function Zs(e,t,n,r,i,a){Js(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&aa(t,n,!1),uc(e,t,a);r=t.stateNode,Vs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ua(t,e.child,null,a),t.child=Ua(t,null,s,a)):Us(e,t,s,a),t.memoizedState=r.state,i&&aa(t,n,!0),t.child}function Qs(e){var t=e.stateNode;t.pendingContext?na(e,t.pendingContext,t.pendingContext!==t.context):t.context&&na(e,t.context,!1),yo(e,t.containerInfo)}function $s(e,t,n,r,i){return Ia(),La(i),t.flags|=256,Us(e,t,n,r),t.child}var ec={dehydrated:null,treeContext:null,retryLane:0};function tc(e){return{baseLanes:e,cachePool:null,transitions:null}}function nc(e,t,n){var r=t.pendingProps,i=Co.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ji(Co,i&1),e===null)return Ma(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=lu(o,r,0,null),e=cu(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=tc(n),t.memoizedState=ec,e):rc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return ac(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=ou(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=cu(a,o,n,null),a.flags|=2):a=ou(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?tc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=ec,r}return a=e.child,e=a.sibling,r=ou(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function rc(e,t){return t=lu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function ic(e,t,n,r){return r!==null&&La(r),Ua(t,e.child,null,n),e=rc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ac(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Ns(Error(r(422))),ic(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=lu({mode:`visible`,children:i.children},a,0,null),o=cu(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&Ua(t,e.child,null,s),t.child.memoizedState=tc(s),t.memoizedState=ec,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return ic(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Ns(o,i,void 0),ic(e,t,s,i)}if(c=(s&e.childLanes)!==0,Hs||c){if(i=Qc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,ro(e,a),Tl(i,e,a,-1))}return zl(),i=Ns(Error(r(421))),ic(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=Ql.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Ea=Mi(a.nextSibling),Ta=t,Da=!0,Oa=null,e!==null&&(ga[_a++]=ya,ga[_a++]=ba,ga[_a++]=va,ya=e.id,ba=e.overflow,va=t),t=rc(t,i.children),t.flags|=4096,t)}function oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Za(e.return,t,n)}function sc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function cc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Us(e,t,r.children,n),r=Co.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oc(e,n,t);else if(e.tag===19)oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ji(Co,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&wo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&wo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sc(t,!0,n,null,a);break;case`together`:sc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function uc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),al|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=ou(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ou(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dc(e,t,n){switch(t.tag){case 3:Qs(t),Ia();break;case 5:xo(t);break;case 1:ea(t.type)&&ia(t);break;case 4:yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ji(Ga,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Ji(Co,Co.current&1),e=uc(e,t,n),e===null?null:e.sibling):nc(e,t,n):(Ji(Co,Co.current&1),t.flags|=128,null);Ji(Co,Co.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return cc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ji(Co,Co.current),r)break;return null;case 22:case 23:return t.lanes=0,qs(e,t,n)}return uc(e,t,n)}var fc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},pc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,vo(ho.current);var o=null;switch(n){case`input`:i=me(e,i),r=me(e,r),o=[];break;case`select`:i=I({},i,{value:void 0}),r=I({},r,{value:void 0}),o=[];break;case`textarea`:i=xe(e,i),r=xe(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Si)}Fe(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&ci(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},mc=function(e,t,n,r){n!==r&&(t.flags|=4)};function hc(e,t){if(!Da)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function gc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function _c(e,t,n){var i=t.pendingProps;switch(wa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gc(t),null;case 1:return ea(t.type)&&ta(),gc(t),null;case 3:return i=t.stateNode,bo(),qi(Zi),qi(Xi),Eo(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Pa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Oa!==null&&(kl(Oa),Oa=null))),gc(t),null;case 5:So(t);var o=vo(_o.current);if(n=t.type,e!==null&&t.stateNode!=null)pc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return gc(t),null}if(e=vo(ho.current),Pa(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Fi]=t,i[Ii]=s,e=(t.mode&1)!=0,n){case`dialog`:ci(`cancel`,i),ci(`close`,i);break;case`iframe`:case`object`:case`embed`:ci(`load`,i);break;case`video`:case`audio`:for(o=0;o<ii.length;o++)ci(ii[o],i);break;case`source`:ci(`error`,i);break;case`img`:case`image`:case`link`:ci(`error`,i),ci(`load`,i);break;case`details`:ci(`toggle`,i);break;case`input`:he(i,s),ci(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},ci(`invalid`,i);break;case`textarea`:Se(i,s),ci(`invalid`,i)}for(var c in Fe(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&xi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&xi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&ci(`scroll`,i)}switch(n){case`input`:R(i),ve(i,s,!0);break;case`textarea`:R(i),we(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Si)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Te(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Fi]=t,e[Ii]=i,fc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Ie(n,i),n){case`dialog`:ci(`cancel`,e),ci(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:ci(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<ii.length;o++)ci(ii[o],e);o=i;break;case`source`:ci(`error`,e),o=i;break;case`img`:case`image`:case`link`:ci(`error`,e),ci(`load`,e),o=i;break;case`details`:ci(`toggle`,e),o=i;break;case`input`:he(e,i),o=me(e,i),ci(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=I({},i,{value:void 0}),ci(`invalid`,e);break;case`textarea`:Se(e,i),o=xe(e,i),ci(`invalid`,e);break;default:o=i}for(s in Fe(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Ne(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Oe(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&ke(e,u):typeof u==`number`&&ke(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&ci(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:R(e),ve(e,i,!1);break;case`textarea`:R(e),we(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+L(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&z(e,!!i.multiple,i.defaultValue,!0):z(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Si)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return gc(t),null;case 6:if(e&&t.stateNode!=null)mc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=vo(_o.current),vo(ho.current),Pa(t)){if(i=t.stateNode,n=t.memoizedProps,i[Fi]=t,(s=i.nodeValue!==n)&&(e=Ta,e!==null))switch(e.tag){case 3:xi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&xi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Fi]=t,t.stateNode=i}return gc(t),null;case 13:if(qi(Co),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Da&&Ea!==null&&t.mode&1&&!(t.flags&128))Fa(),Ia(),t.flags|=98560,s=!1;else if(s=Pa(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Fi]=t}else Ia(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;gc(t),s=!1}else Oa!==null&&(kl(Oa),Oa=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Co.current&1?rl===0&&(rl=3):zl())),t.updateQueue!==null&&(t.flags|=4),gc(t),null);case 4:return bo(),e===null&&di(t.stateNode.containerInfo),gc(t),null;case 10:return Xa(t.type._context),gc(t),null;case 17:return ea(t.type)&&ta(),gc(t),null;case 19:if(qi(Co),s=t.memoizedState,s===null)return gc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)hc(s,!1);else{if(rl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=wo(e),c!==null){for(t.flags|=128,hc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ji(Co,Co.current&1|2),t.child}e=e.sibling}s.tail!==null&&gt()>dl&&(t.flags|=128,i=!0,hc(s,!1),t.lanes=4194304)}else{if(!i)if(e=wo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!Da)return gc(t),null}else 2*gt()-s.renderingStartTime>dl&&n!==1073741824&&(t.flags|=128,i=!0,hc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(gc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=gt(),t.sibling=null,n=Co.current,Ji(Co,i?n&1|2:n&1),t);case 22:case 23:return Fl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?tl&1073741824&&(gc(t),t.subtreeFlags&6&&(t.flags|=8192)):gc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function vc(e,t){switch(wa(t),t.tag){case 1:return ea(t.type)&&ta(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bo(),qi(Zi),qi(Xi),Eo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return So(t),null;case 13:if(qi(Co),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return qi(Co),null;case 4:return bo(),null;case 10:return Xa(t.type._context),null;case 22:case 23:return Fl(),null;case 24:return null;default:return null}}var yc=!1,bc=!1,xc=typeof WeakSet==`function`?WeakSet:Set,H=null;function Sc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Yl(e,t,n)}else n.current=null}function Cc(e,t,n){try{n()}catch(n){Yl(e,t,n)}}var wc=!1;function Tc(e,t){if(Ci=hn,e=Fr(),Ir(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(wi={focusedElem:e,selectionRange:n},hn=!1,H=t;H!==null;)if(t=H,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ts(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Yl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return h=wc,wc=!1,h}function Ec(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Cc(t,n,a)}i=i.next}while(i!==r)}}function Dc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Oc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fi],delete t[Ii],delete t[Ri],delete t[zi],delete t[Bi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ac(e){return e.tag===5||e.tag===3||e.tag===4}function jc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Ac(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Si));else if(r!==4&&(e=e.child,e!==null))for(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}function Nc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Nc(e,t,n),e=e.sibling;e!==null;)Nc(e,t,n),e=e.sibling}var Pc=null,Fc=!1;function Ic(e,t,n){for(n=n.child;n!==null;)Lc(e,t,n),n=n.sibling}function Lc(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount==`function`)try{wt.onCommitFiberUnmount(Ct,n)}catch{}switch(n.tag){case 5:bc||Sc(n,t);case 6:var r=Pc,i=Fc;Pc=null,Ic(e,t,n),Pc=r,Fc=i,Pc!==null&&(Fc?(e=Pc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pc.removeChild(n.stateNode));break;case 18:Pc!==null&&(Fc?(e=Pc,n=n.stateNode,e.nodeType===8?ji(e.parentNode,n):e.nodeType===1&&ji(e,n),pn(e)):ji(Pc,n.stateNode));break;case 4:r=Pc,i=Fc,Pc=n.stateNode.containerInfo,Fc=!0,Ic(e,t,n),Pc=r,Fc=i;break;case 0:case 11:case 14:case 15:if(!bc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Cc(n,t,o),i=i.next}while(i!==r)}Ic(e,t,n);break;case 1:if(!bc&&(Sc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Yl(n,t,e)}Ic(e,t,n);break;case 21:Ic(e,t,n);break;case 22:n.mode&1?(bc=(r=bc)||n.memoizedState!==null,Ic(e,t,n),bc=r):Ic(e,t,n);break;default:Ic(e,t,n)}}function Rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xc),t.forEach(function(t){var r=$l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function zc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Pc=c.stateNode,Fc=!1;break a;case 3:Pc=c.stateNode.containerInfo,Fc=!0;break a;case 4:Pc=c.stateNode.containerInfo,Fc=!0;break a}c=c.return}if(Pc===null)throw Error(r(160));Lc(o,s,a),Pc=null,Fc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Yl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Bc(t,e),t=t.sibling}function Bc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(zc(t,e),Vc(e),i&4){try{Ec(3,e,e.return),Dc(3,e)}catch(t){Yl(e,e.return,t)}try{Ec(5,e,e.return)}catch(t){Yl(e,e.return,t)}}break;case 1:zc(t,e),Vc(e),i&512&&n!==null&&Sc(n,n.return);break;case 5:if(zc(t,e),Vc(e),i&512&&n!==null&&Sc(n,n.return),e.flags&32){var a=e.stateNode;try{ke(a,``)}catch(t){Yl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&ge(a,o),Ie(c,s);var u=Ie(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Ne(a,f):d===`dangerouslySetInnerHTML`?Oe(a,f):d===`children`?ke(a,f):S(a,d,f,u)}switch(c){case`input`:_e(a,o);break;case`textarea`:Ce(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?z(a,!!o.multiple,o.multiple?[]:``,!1):z(a,!!o.multiple,o.defaultValue,!0)):z(a,!!o.multiple,m,!1)}a[Ii]=o}catch(t){Yl(e,e.return,t)}}break;case 6:if(zc(t,e),Vc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Yl(e,e.return,t)}}break;case 3:if(zc(t,e),Vc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{pn(t.containerInfo)}catch(t){Yl(e,e.return,t)}break;case 4:zc(t,e),Vc(e);break;case 13:zc(t,e),Vc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(ul=gt())),i&4&&Rc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(bc=(u=bc)||d,zc(t,e),bc=u):zc(t,e),Vc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(H=e,d=e.child;d!==null;){for(f=H=d;H!==null;){switch(p=H,m=p.child,p.tag){case 0:case 11:case 14:case 15:Ec(4,p,p.return);break;case 1:Sc(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Yl(i,n,e)}}break;case 5:Sc(p,p.return);break;case 22:if(p.memoizedState!==null){Gc(f);continue}}m===null?Gc(f):(m.return=p,H=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Me(`display`,s))}catch(t){Yl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Yl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:zc(t,e),Vc(e),i&4&&Rc(e);break;case 21:break;default:zc(t,e),Vc(e)}}function Vc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Ac(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(ke(a,``),i.flags&=-33),Nc(e,jc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Mc(e,jc(e),o);break;default:throw Error(r(161))}}catch(t){Yl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hc(e,t,n){H=e,Uc(e,t,n)}function Uc(e,t,n){for(var r=(e.mode&1)!=0;H!==null;){var i=H,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||yc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||bc;s=yc;var l=bc;if(yc=o,(bc=c)&&!l)for(H=i;H!==null;)o=H,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Kc(i):(c.return=o,H=c);for(;a!==null;)H=a,Uc(a,t,n),a=a.sibling;H=i,yc=s,bc=l}Wc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,H=a):Wc(e,t,n)}}function Wc(e){for(;H!==null;){var t=H;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:bc||Dc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!bc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:Ts(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&po(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}po(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&pn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}bc||t.flags&512&&Oc(t)}catch(e){Yl(t,t.return,e)}}if(t===e){H=null;break}if(n=t.sibling,n!==null){n.return=t.return,H=n;break}H=t.return}}function Gc(e){for(;H!==null;){var t=H;if(t===e){H=null;break}var n=t.sibling;if(n!==null){n.return=t.return,H=n;break}H=t.return}}function Kc(e){for(;H!==null;){var t=H;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Dc(4,t)}catch(e){Yl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Yl(t,i,e)}}var a=t.return;try{Oc(t)}catch(e){Yl(t,a,e)}break;case 5:var o=t.return;try{Oc(t)}catch(e){Yl(t,o,e)}}}catch(e){Yl(t,t.return,e)}if(t===e){H=null;break}var s=t.sibling;if(s!==null){s.return=t.return,H=s;break}H=t.return}}var qc=Math.ceil,Jc=C.ReactCurrentDispatcher,Yc=C.ReactCurrentOwner,Xc=C.ReactCurrentBatchConfig,Zc=0,Qc=null,$c=null,el=0,tl=0,nl=Ki(0),rl=0,il=null,al=0,ol=0,sl=0,cl=null,ll=null,ul=0,dl=1/0,fl=null,pl=!1,ml=null,hl=null,gl=!1,_l=null,vl=0,yl=0,bl=null,xl=-1,Sl=0;function Cl(){return Zc&6?gt():xl===-1?xl=gt():xl}function wl(e){return e.mode&1?Zc&2&&el!==0?el&-el:Ra.transition===null?(e=Ht,e===0?(e=window.event,e=e===void 0?16:xn(e.type),e):e):(Sl===0&&(Sl=Lt()),Sl):1}function Tl(e,t,n,i){if(50<yl)throw yl=0,bl=null,Error(r(185));zt(e,n,i),(!(Zc&2)||e!==Qc)&&(e===Qc&&(!(Zc&2)&&(ol|=n),rl===4&&jl(e,el)),El(e,i),n===1&&Zc===0&&!(t.mode&1)&&(dl=gt()+500,sa&&da()))}function El(e,t){var n=e.callbackNode;Ft(e,t);var r=Nt(e,e===Qc?el:0);if(r===0)n!==null&&pt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&pt(n),t===1)e.tag===0?ua(Ml.bind(null,e)):la(Ml.bind(null,e)),ki(function(){!(Zc&6)&&da()}),n=null;else{switch(Ut(r)){case 1:n=vt;break;case 4:n=yt;break;case 16:n=bt;break;case 536870912:n=St;break;default:n=bt}n=tu(n,Dl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Dl(e,t){if(xl=-1,Sl=0,Zc&6)throw Error(r(327));var n=e.callbackNode;if(ql()&&e.callbackNode!==n)return null;var i=Nt(e,e===Qc?el:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Bl(e,i);else{t=i;var a=Zc;Zc|=2;var o=Rl();(Qc!==e||el!==t)&&(fl=null,dl=gt()+500,Il(e,t));do try{Hl();break}catch(t){Ll(e,t)}while(1);Ya(),Jc.current=o,Zc=a,$c===null?(Qc=null,el=0,t=rl):t=0}if(t!==0){if(t===2&&(a=It(e),a!==0&&(i=a,t=Ol(e,a))),t===1)throw n=il,Il(e,0),jl(e,i),El(e,gt()),n;if(t===6)jl(e,i);else{if(a=e.current.alternate,!(i&30)&&!Al(a)&&(t=Bl(e,i),t===2&&(o=It(e),o!==0&&(i=o,t=Ol(e,o))),t===1))throw n=il,Il(e,0),jl(e,i),El(e,gt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Gl(e,ll,fl);break;case 3:if(jl(e,i),(i&130023424)===i&&(t=ul+500-gt(),10<t)){if(Nt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){Cl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Ei(Gl.bind(null,e,ll,fl),t);break}Gl(e,ll,fl);break;case 4:if(jl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-Et(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=gt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*qc(i/1960))-i,10<i){e.timeoutHandle=Ei(Gl.bind(null,e,ll,fl),i);break}Gl(e,ll,fl);break;case 5:Gl(e,ll,fl);break;default:throw Error(r(329))}}}return El(e,gt()),e.callbackNode===n?Dl.bind(null,e):null}function Ol(e,t){var n=cl;return e.current.memoizedState.isDehydrated&&(Il(e,t).flags|=256),e=Bl(e,t),e!==2&&(t=ll,ll=n,t!==null&&kl(t)),e}function kl(e){ll===null?ll=e:ll.push.apply(ll,e)}function Al(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Ar(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jl(e,t){for(t&=~sl,t&=~ol,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Et(t),r=1<<n;e[n]=-1,t&=~r}}function Ml(e){if(Zc&6)throw Error(r(327));ql();var t=Nt(e,0);if(!(t&1))return El(e,gt()),null;var n=Bl(e,t);if(e.tag!==0&&n===2){var i=It(e);i!==0&&(t=i,n=Ol(e,i))}if(n===1)throw n=il,Il(e,0),jl(e,t),El(e,gt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Gl(e,ll,fl),El(e,gt()),null}function Nl(e,t){var n=Zc;Zc|=1;try{return e(t)}finally{Zc=n,Zc===0&&(dl=gt()+500,sa&&da())}}function Pl(e){_l!==null&&_l.tag===0&&!(Zc&6)&&ql();var t=Zc;Zc|=1;var n=Xc.transition,r=Ht;try{if(Xc.transition=null,Ht=1,e)return e()}finally{Ht=r,Xc.transition=n,Zc=t,!(Zc&6)&&da()}}function Fl(){tl=nl.current,qi(nl)}function Il(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Di(n)),$c!==null)for(n=$c.return;n!==null;){var r=n;switch(wa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ta();break;case 3:bo(),qi(Zi),qi(Xi),Eo();break;case 5:So(r);break;case 4:bo();break;case 13:qi(Co);break;case 19:qi(Co);break;case 10:Xa(r.type._context);break;case 22:case 23:Fl()}n=n.return}if(Qc=e,$c=e=ou(e.current,null),el=tl=t,rl=0,il=null,sl=ol=al=0,ll=cl=null,eo!==null){for(t=0;t<eo.length;t++)if(n=eo[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}eo=null}return e}function Ll(e,t){do{var n=$c;try{if(Ya(),Do.current=xs,No){for(var i=Ao.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}No=!1}if(ko=0,Mo=jo=Ao=null,Po=!1,Fo=0,Yc.current=null,n===null||n.return===null){rl=1,il=t,$c=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=el,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=zs(s);if(m!==null){m.flags&=-257,Bs(m,s,c,o,t),m.mode&1&&Rs(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Rs(o,u,t),zl();break a}l=Error(r(426))}}else if(Da&&c.mode&1){var _=zs(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Bs(_,s,c,o,t),La(Ms(l,c));break a}}o=l=Ms(l,c),rl!==4&&(rl=2),cl===null?cl=[o]:cl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Is(o,l,t);uo(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(hl===null||!hl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ls(o,c,t);uo(o,x);break a}}o=o.return}while(o!==null)}Wl(n)}catch(e){t=e,$c===n&&n!==null&&($c=n=n.return);continue}break}while(1)}function Rl(){var e=Jc.current;return Jc.current=xs,e===null?xs:e}function zl(){(rl===0||rl===3||rl===2)&&(rl=4),Qc===null||!(al&268435455)&&!(ol&268435455)||jl(Qc,el)}function Bl(e,t){var n=Zc;Zc|=2;var i=Rl();(Qc!==e||el!==t)&&(fl=null,Il(e,t));do try{Vl();break}catch(t){Ll(e,t)}while(1);if(Ya(),Zc=n,Jc.current=i,$c!==null)throw Error(r(261));return Qc=null,el=0,rl}function Vl(){for(;$c!==null;)Ul($c)}function Hl(){for(;$c!==null&&!mt();)Ul($c)}function Ul(e){var t=eu(e.alternate,e,tl);e.memoizedProps=e.pendingProps,t===null?Wl(e):$c=t,Yc.current=null}function Wl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=vc(n,t),n!==null){n.flags&=32767,$c=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{rl=6,$c=null;return}}else if(n=_c(n,t,tl),n!==null){$c=n;return}if(t=t.sibling,t!==null){$c=t;return}$c=t=e}while(t!==null);rl===0&&(rl=5)}function Gl(e,t,n){var r=Ht,i=Xc.transition;try{Xc.transition=null,Ht=1,Kl(e,t,n,r)}finally{Xc.transition=i,Ht=r}return null}function Kl(e,t,n,i){do ql();while(_l!==null);if(Zc&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Bt(e,o),e===Qc&&($c=Qc=null,el=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||gl||(gl=!0,tu(bt,function(){return ql(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Xc.transition,Xc.transition=null;var s=Ht;Ht=1;var c=Zc;Zc|=4,Yc.current=null,Tc(e,n),Bc(n,e),Lr(wi),hn=!!Ci,wi=Ci=null,e.current=n,Hc(n,e,a),ht(),Zc=c,Ht=s,Xc.transition=o}else e.current=n;if(gl&&(gl=!1,_l=e,vl=a),o=e.pendingLanes,o===0&&(hl=null),Tt(n.stateNode,i),El(e,gt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(pl)throw pl=!1,e=ml,ml=null,e;return vl&1&&e.tag!==0&&ql(),o=e.pendingLanes,o&1?e===bl?yl++:(yl=0,bl=e):yl=0,da(),null}function ql(){if(_l!==null){var e=Ut(vl),t=Xc.transition,n=Ht;try{if(Xc.transition=null,Ht=16>e?16:e,_l===null)var i=!1;else{if(e=_l,_l=null,vl=0,Zc&6)throw Error(r(331));var a=Zc;for(Zc|=4,H=e.current;H!==null;){var o=H,s=o.child;if(H.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(H=u;H!==null;){var d=H;switch(d.tag){case 0:case 11:case 15:Ec(8,d,o)}var f=d.child;if(f!==null)f.return=d,H=f;else for(;H!==null;){d=H;var p=d.sibling,m=d.return;if(kc(d),d===u){H=null;break}if(p!==null){p.return=m,H=p;break}H=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}H=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,H=s;else b:for(;H!==null;){if(o=H,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ec(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,H=v;break b}H=o.return}}var y=e.current;for(H=y;H!==null;){s=H;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,H=b;else b:for(s=y;H!==null;){if(c=H,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Dc(9,c)}}catch(e){Yl(c,c.return,e)}if(c===s){H=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,H=x;break b}H=c.return}}if(Zc=a,da(),wt&&typeof wt.onPostCommitFiberRoot==`function`)try{wt.onPostCommitFiberRoot(Ct,e)}catch{}i=!0}return i}finally{Ht=n,Xc.transition=t}}return!1}function Jl(e,t,n){t=Ms(n,t),t=Is(e,t,1),e=co(e,t,1),t=Cl(),e!==null&&(zt(e,1,t),El(e,t))}function Yl(e,t,n){if(e.tag===3)Jl(e,e,n);else for(;t!==null;){if(t.tag===3){Jl(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(hl===null||!hl.has(r))){e=Ms(n,e),e=Ls(t,e,1),t=co(t,e,1),e=Cl(),t!==null&&(zt(t,1,e),El(t,e));break}}t=t.return}}function Xl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Cl(),e.pingedLanes|=e.suspendedLanes&n,Qc===e&&(el&n)===n&&(rl===4||rl===3&&(el&130023424)===el&&500>gt()-ul?Il(e,0):sl|=n),El(e,t)}function Zl(e,t){t===0&&(e.mode&1?(t=jt,jt<<=1,!(jt&130023424)&&(jt=4194304)):t=1);var n=Cl();e=ro(e,t),e!==null&&(zt(e,t,n),El(e,n))}function Ql(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zl(e,n)}function $l(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Zl(e,n)}var eu=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Zi.current)Hs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Hs=!1,dc(e,t,n);Hs=!!(e.flags&131072)}else Hs=!1,Da&&t.flags&1048576&&Sa(t,ha,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;lc(e,t),e=t.pendingProps;var a=$i(t,Xi.current);Qa(t,n),a=zo(null,t,i,e,a,n);var o=Bo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(i)?(o=!0,ia(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ao(t),a.updater=Ds,t.stateNode=a,a._reactInternals=t,js(t,i,e,n),t=Zs(null,t,i,!0,o,n)):(t.tag=0,Da&&o&&Ca(t),Us(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(lc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=au(i),e=Ts(i,e),a){case 0:t=Ys(null,t,i,e,n);break a;case 1:t=Xs(null,t,i,e,n);break a;case 11:t=Ws(null,t,i,e,n);break a;case 14:t=Gs(null,t,i,Ts(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Ys(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Xs(e,t,i,a,n);case 3:a:{if(Qs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,oo(e,t),fo(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ms(Error(r(423)),t),t=$s(e,t,i,n,a);break a}else if(i!==a){a=Ms(Error(r(424)),t),t=$s(e,t,i,n,a);break a}else for(Ea=Mi(t.stateNode.containerInfo.firstChild),Ta=t,Da=!0,Oa=null,n=Wa(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ia(),i===a){t=uc(e,t,n);break a}Us(e,t,i,n)}t=t.child}return t;case 5:return xo(t),e===null&&Ma(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Ti(i,a)?s=null:o!==null&&Ti(i,o)&&(t.flags|=32),Js(e,t),Us(e,t,s,n),t.child;case 6:return e===null&&Ma(t),null;case 13:return nc(e,t,n);case 4:return yo(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ua(t,null,i,n):Us(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Ws(e,t,i,a,n);case 7:return Us(e,t,t.pendingProps,n),t.child;case 8:return Us(e,t,t.pendingProps.children,n),t.child;case 12:return Us(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Ji(Ga,i._currentValue),i._currentValue=s,o!==null)if(Ar(o.value,s)){if(o.children===a.children&&!Zi.current){t=uc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=so(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Za(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Za(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Us(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,Qa(t,n),a=$a(a),i=i(a),t.flags|=1,Us(e,t,i,n),t.child;case 14:return i=t.type,a=Ts(i,t.pendingProps),a=Ts(i.type,a),Gs(e,t,i,a,n);case 15:return Ks(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),lc(e,t),t.tag=1,ea(i)?(e=!0,ia(t)):e=!1,Qa(t,n),ks(t,i,a),js(t,i,a,n),Zs(null,t,i,!0,e,n);case 19:return cc(e,t,n);case 22:return qs(e,t,n)}throw Error(r(156,t.tag))};function tu(e,t){return ft(e,t)}function nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ru(e,t,n,r){return new nu(e,t,n,r)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function au(e){if(typeof e==`function`)return+!!iu(e);if(e!=null){if(e=e.$$typeof,e===j)return 11;if(e===P)return 14}return 2}function ou(e,t){var n=e.alternate;return n===null?(n=ru(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function su(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)iu(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return cu(n.children,a,o,t);case D:s=8,a|=8;break;case O:return e=ru(12,n,t,a|2),e.elementType=O,e.lanes=o,e;case M:return e=ru(13,n,t,a),e.elementType=M,e.lanes=o,e;case N:return e=ru(19,n,t,a),e.elementType=N,e.lanes=o,e;case ee:return lu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case k:s=10;break a;case A:s=9;break a;case j:s=11;break a;case P:s=14;break a;case F:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=ru(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function cu(e,t,n,r){return e=ru(7,e,r,t),e.lanes=n,e}function lu(e,t,n,r){return e=ru(22,e,r,t),e.elementType=ee,e.lanes=n,e.stateNode={isHidden:!1},e}function uu(e,t,n){return e=ru(6,e,null,t),e.lanes=n,e}function du(e,t,n){return t=ru(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function fu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Rt(0),this.expirationTimes=Rt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function pu(e,t,n,r,i,a,o,s,c){return e=new fu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=ru(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ao(a),e}function mu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function hu(e){if(!e)return Yi;e=e._reactInternals;
vendor: 4,417 bytes, line 8
8a:{if(ot(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ea(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ea(n))return ra(e,n,t)}return t}function gu(e,t,n,r,i,a,o,s,c){return e=pu(n,r,!0,e,i,a,o,s,c),e.context=hu(null),n=e.current,r=Cl(),i=wl(n),a=so(r,i),a.callback=t??null,co(n,a,i),e.current.lanes=i,zt(e,i,r),El(e,r),e}function _u(e,t,n,r){var i=t.current,a=Cl(),o=wl(i);return n=hu(n),t.context===null?t.context=n:t.pendingContext=n,t=so(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=co(i,t,o),e!==null&&(Tl(e,i,o,a),lo(e,i,o)),o}function vu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function yu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bu(e,t){yu(e,t),(e=e.alternate)&&yu(e,t)}function xu(){return null}var Su=typeof reportError==`function`?reportError:function(e){console.error(e)};function Cu(e){this._internalRoot=e}wu.prototype.render=Cu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));_u(e,t,null,null)},wu.prototype.unmount=Cu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Pl(function(){_u(null,e,null,null)}),t[Li]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=qt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nn.length&&t!==0&&t<nn[n].priority;n++);nn.splice(n,0,e),n===0&&cn(e)}};function Tu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Eu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function Du(){}function Ou(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=vu(o);a.call(e)}}var o=gu(t,r,e,0,null,!1,!1,``,Du);return e._reactRootContainer=o,e[Li]=o.current,di(e.nodeType===8?e.parentNode:e),Pl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=vu(c);s.call(e)}}var c=pu(e,0,!1,null,null,!1,!1,``,Du);return e._reactRootContainer=c,e[Li]=c.current,di(e.nodeType===8?e.parentNode:e),Pl(function(){_u(t,c,n,r)}),c}function ku(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=vu(o);s.call(e)}}_u(t,o,e,i)}else o=Ou(n,t,e,i,r);return vu(o)}Wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Mt(t.pendingLanes);n!==0&&(Vt(t,n|1),El(t,gt()),!(Zc&6)&&(dl=gt()+500,da()))}break;case 13:Pl(function(){var t=ro(e,1);t!==null&&Tl(t,e,1,Cl())}),bu(e,1)}},Gt=function(e){if(e.tag===13){var t=ro(e,134217728);t!==null&&Tl(t,e,134217728,Cl()),bu(e,134217728)}},Kt=function(e){if(e.tag===13){var t=wl(e),n=ro(e,t);n!==null&&Tl(n,e,t,Cl()),bu(e,t)}},qt=function(){return Ht},Jt=function(e,t){var n=Ht;try{return Ht=e,t()}finally{Ht=n}},ze=function(e,t,n){switch(t){case`input`:if(_e(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type="radio"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Ui(i);if(!a)throw Error(r(90));fe(i),_e(i,a)}}}break;case`textarea`:Ce(e,n);break;case`select`:t=n.value,t!=null&&z(e,!!n.multiple,t,!1)}},Ge=Nl,Ke=Pl;var Au={usingClientEntryPoint:!1,Events:[V,Hi,Ui,Ue,We,Nl]},ju={findFiberByHostInstance:Vi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Mu={bundleType:ju.bundleType,version:ju.version,rendererPackageName:ju.rendererPackageName,rendererConfig:ju.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ut(e),e===null?null:e.stateNode},findFiberByHostInstance:ju.findFiberByHostInstance||xu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};
8if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nu.isDisabled&&Nu.supportsFiber)try{Ct=Nu.inject(Mu),wt=Nu}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Au,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Tu(t))throw Error(r(200));return mu(e,t,null,n)},e.createRoot=function(e,t){if(!Tu(e))throw Error(r(299));var n=!1,i=``,a=Su;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=pu(e,1,!1,null,null,n,!1,i,a),e[Li]=t.current,di(e.nodeType===8?e.parentNode:e),new Cu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=ut(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return Pl(e)},e.hydrate=function(e,t,n){if(!Eu(t))throw Error(r(200));return ku(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!Tu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=Su;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=gu(t,null,e,1,n??null,a,!1,o,s),e[Li]=t.current,di(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new wu(t)},e.render=function(e,t,n){if(!Eu(t))throw Error(r(200));return ku(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Eu(e))throw Error(r(40));return e._reactRootContainer?(Pl(function(){ku(null,null,e,!1,function(){e._reactRootContainer=null,e[Li]=null})}),!0):!1},e.unstable_batchedUpdates=Nl,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Eu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return ku(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=_();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),y=`modulepreload`,b=function(e){return`/`+e},x={},S=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=b(t,n),t in x)return;x[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:y,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},C=u(p(),1),w=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,T=/^[\\/]{2}/;function E(e,t){return t+e.replace(/\\/g,`/`)}var D=`popstate`;function O(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function k(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return P(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:F(t)}return te(t,n,null,e)}function A(e,t){if(e===!1||e==null)throw Error(t)}function j(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function M(){return Math.random().toString(36).substring(2,10)}function N(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function P(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?ee(t):t,state:n,key:t&&t.key||r||M(),mask:i}}function F({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function ee(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function te(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=O(e)?e:P(h.location,e,t);n&&n(r,e),l=u()+1;let d=N(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=O(e)?e:P(h.location,e,t);n&&n(r,e),l=u();let i=N(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return ne(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);
8return i.addEventListener(D,d),c=e,()=>{i.removeEventListener(D,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function ne(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),A(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:F(t);return i=i.replace(/ $/,`%20`),!n&&T.test(i)&&(i=r+i),new URL(i,r)}function I(e,t,n=`/`){return re(e,t,n,!1)}function re(e,t,n,r,i){let a=z((typeof t==`string`?ee(t):t).pathname||`/`,n);if(a==null)return null;let o=i??ae(e),s=null,c=be(a);for(let e=0;s==null&&e<o.length;++e)s=ge(o[e],c,r);return s}function ie(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function ae(e){let t=oe(e);return ce(t),t}function oe(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;A(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Oe([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(A(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),oe(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:me(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=ye(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of se(e.path))a(e,t,!0,n)}),t}function se(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=se(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function ce(e){e.sort((e,t)=>e.score===t.score?he(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var le=/^:[\w-]+$/,L=3,ue=2,de=1,R=10,fe=-2,pe=e=>e===`*`;function me(e,t){let n=e.split(`/`),r=n.length;return n.some(pe)&&(r+=fe),t&&(r+=ue),n.filter(e=>!pe(e)).reduce((e,t)=>e+(le.test(t)?L:t===``?de:R),r)}function he(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function ge(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?ve(u,l,s.matcher,s.compiledParams):_e(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=_e({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;
8Object.assign(i,d.params),o.push({params:i,pathname:Oe([a,d.pathname]),pathnameBase:Ae(Oe([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=Oe([a,d.pathnameBase]))}return o}function _e(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ye(e.path,e.caseSensitive,e.end);return ve(e,t,n,r)}function ve(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=ke(a,1),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=ke(a.slice(0,a.length-e.length),1)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function ye(e,t=!1,n=!0){j(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function be(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return j(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function z(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function xe(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?ee(e):e,a;return n?(n=De(n),a=n.startsWith(`/`)||n.startsWith(`\\`)?Se(n.substring(1),`/`):Se(n,t)):a=t,{pathname:a,search:je(r),hash:Me(i)}}function Se(e,t){let n=ke(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Ce(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function we(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Te(e){let t=we(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Ee(e,t,n,r=!1){let i;typeof e==`string`?i=ee(e):(i={...e},A(!i.pathname||!i.pathname.includes(`?`),Ce(`?`,`pathname`,`search`,i)),A(!i.pathname||!i.pathname.includes(`#`),Ce(`#`,`pathname`,`hash`,i)),A(!i.search||!i.search.includes(`#`),Ce(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=xe(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var De=e=>e.replace(/[\\/]{2,}/g,`/`),Oe=e=>De(e.join(`/`));function ke(e,t=0){let n=e.length;for(;n>t&&e.charCodeAt(n-1)===47;)n--;return n===e.length?e:e.slice(0,n)}var Ae=e=>ke(e).replace(/^\/*/,`/`),je=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Me=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Ne=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Pe(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function Fe(e){return Oe(e.map(e=>e.route.path).filter(Boolean))||`/`}var Ie=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Le(e,t){let n=e;if(typeof n!=`string`||!w.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Ie)try{let e=new URL(window.location.href),r=T.test(n)?new URL(E(n,e.protocol)):new URL(n),a=z(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{j(!1,`<Link to="${n}">
8 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Re=new URL(`http://localhost`);function ze(e){if(e.createURL)return e.createURL(`/`);try{return new URL(e.createHref(`/`),Re)}catch{return Re}}function Be(e,t){return e.origin===t.origin&&(e.origin!==`null`||e.protocol===t.protocol&&e.host===t.host)}function Ve(e,t){if(e.startsWith(`//`))return!0;let n=t.protocol.toLowerCase();return e.toLowerCase().startsWith(n)?t.host===``||e.slice(n.length).startsWith(`//`):!1}function He(e,t,n,r){let i=null;try{i=e==null?null:new URL(e,n)}catch{}let a=new URL(t,n),o=i!=null&&!Be(i,n),s=!Be(a,n);if(r===`reject`){if(o||s)throw Error(`External navigation is not allowed`)}else if(s&&(i==null||!Ve(e,i)||!Be(i,a)))throw Error(`External navigation is not allowed`)}var Ue=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Ue);var We=[`GET`,...Ue];new Set(We);var Ge=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function Ke(e){try{return Ge.includes(new URL(e).protocol)}catch{return!1}}var qe=C.createContext(null);qe.displayName=`DataRouter`;var Je=C.createContext(null);Je.displayName=`DataRouterState`;var Ye=C.createContext(!1);function Xe(){return C.useContext(Ye)}var Ze=C.createContext({isTransitioning:!1});Ze.displayName=`ViewTransition`;var Qe=C.createContext(new Map);Qe.displayName=`Fetchers`;var $e=C.createContext(null);$e.displayName=`Await`;var et=C.createContext(null);et.displayName=`Navigation`;var tt=C.createContext(null);tt.displayName=`Location`;var nt=C.createContext({outlet:null,matches:[],isDataRoute:!1});nt.displayName=`Route`;var rt=C.createContext(null);rt.displayName=`RouteError`;var it=`REACT_ROUTER_ERROR`,at=`REDIRECT`,ot=`ROUTE_ERROR_RESPONSE`;function st(e){if(e.startsWith(`${it}:${at}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function ct(e){if(e.startsWith(`${it}:${ot}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new Ne(t.status,t.statusText,t.data)}catch{}}function lt(e,{relative:t}={}){A(ut(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=C.useContext(et),{hash:i,pathname:a,search:o}=_t(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:Oe([n,a])),r.createHref({pathname:s,search:o,hash:i})}function ut(){return C.useContext(tt)!=null}function dt(){return A(ut(),`useLocation() may be used only in the context of a <Router> component.`),C.useContext(tt).location}var ft=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function pt(e){C.useContext(et).static||C.useLayoutEffect(e)}function mt(){let{isDataRoute:e}=C.useContext(nt);return e?It():ht()}function ht(){A(ut(),`useNavigate() may be used only in the context of a <Router> component.`);let e=C.useContext(qe),{basename:t,navigator:n}=C.useContext(et),{matches:r}=C.useContext(nt),{pathname:i}=dt(),a=JSON.stringify(Te(r)),o=C.useRef(!1);return pt(()=>{o.current=!0}),C.useCallback((r,s={})=>{if(j(o.current,ft),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Ee(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Oe([t,c.pathname])),He(typeof r==`string`?r:F(r),n.createHref(c),ze(n),`reject`),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}C.createContext(null);function gt(){let{matches:e}=C.useContext(nt);return e[e.length-1]?.params??{}}function _t(e,{relative:t}={}){let{matches:n}=C.useContext(nt),{pathname:r}=dt(),i=JSON.stringify(Te(n));return C.useMemo(()=>Ee(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function vt(e,t){return yt(e,t)}function yt(e,t,n){A(ut(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=C.useContext(et),{matches:i}=C.useContext(nt),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;Rt(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
9
10Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=dt(),d;if(t){let e=typeof t==`string`?ee(t):t;A(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):I(e,{pathname:p});j(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),j(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=Et(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Oe([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Oe([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?C.createElement(tt.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function bt(){let e=Ft(),t=Pe(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=C.createElement(C.Fragment,null,C.createElement(`p`,null,`💿 Hey developer 👋`),C.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,C.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,C.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),C.createElement(C.Fragment,null,C.createElement(`h2`,null,`Unexpected Application 
10Error!`),C.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?C.createElement(`pre`,{style:i},n):null,o)}var xt=C.createElement(bt,null),St=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=ct(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:C.createElement(nt.Provider,{value:this.props.routeContext},C.createElement(rt.Provider,{value:e,children:this.props.component}));return this.context?C.createElement(wt,{error:e},t):t}};St.contextType=Ye;var Ct=new WeakMap;function wt({children:e,error:t}){let{basename:n,navigator:r}=C.useContext(et);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=st(t.digest);if(e){let i=Ct.get(t);if(i)throw i;let a=Le(e.location,n),o=a.absoluteURL||a.to;if(He(e.location,o,ze(r),`allow-explicit`),Ke(o))throw Error(`Invalid redirect location`);if(Ie&&!Ct.get(t))if(a.isExternal||e.reloadDocument)window.location.href=o;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw Ct.set(t,n),n}return C.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${o}`})}}return e}function Tt({routeContext:e,match:t,children:n}){let r=C.useContext(qe);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(nt.Provider,{value:e},n)}function Et(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);A(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:Fe(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||xt,o&&(s<0&&c===0?(Rt(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?C.createElement(n.route.Component,null):n.route.element?n.route.element:e,C.createElement(Tt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?C.createElement(St,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function Dt(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ot(e){let t=C.useContext(qe);return A(t,Dt(e)),t}function kt(e){let t=C.useContext(Je);return A(t,Dt(e)),t}function At(e){let t=C.useContext(nt);return A(t,Dt(e)),t}function jt(e){let t=At(e),n=t.matches[t.matches.length-1];return A(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Mt(){return jt(`useRouteId`)}function Nt(){let e=kt(`useNavigation`);return C.useMemo(()=>{let{matches:t,historyAction:n,...r}=e.navigation;return r},[e.navigation])}function Pt(){let{matches:e,loaderData:t}=kt(`useMatches`);return C.useMemo(()=>e.map(e=>ie(e,t)),[e,t])}function Ft(){let e=C.useContext(rt),t=kt(`useRouteError`),n=jt(`useRouteError`);return e===void 0?t.errors?.[n]:e}function It(){let{router:e}=Ot(`useNavigate`),t=jt(`useNavigate`),n=C.useRef(!1);return pt(()=>{n.current=!0}
10),C.useCallback(async(r,i={})=>{j(n.current,ft),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Lt={};function Rt(e,t,n){!t&&!Lt[e]&&(Lt[e]=!0,j(!1,n))}C.memo(zt);function zt({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return yt(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function Bt({to:e,replace:t,state:n,relative:r}){A(ut(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i,navigator:a}=C.useContext(et);j(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:o}=C.useContext(nt),{pathname:s}=dt(),c=mt(),l=Ee(e,Te(o),s,r===`path`);He(typeof e==`string`?e:F(e),a.createHref(l),ze(a),`reject`);let u=JSON.stringify(l);return C.useEffect(()=>{c(JSON.parse(u),{replace:t,state:n,relative:r})},[c,u,r,t,n]),null}function Vt(e){A(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function Ht({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){A(!ut(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=C.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=ee(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=C.useMemo(()=>{let e=z(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return j(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:C.createElement(et.Provider,{value:c},C.createElement(tt.Provider,{children:t,value:h}))}function Ut({children:e,location:t}){return vt(Wt(e),t)}C.Component;function Wt(e,t=[]){let n=[];return C.Children.forEach(e,(e,r)=>{if(!C.isValidElement(e))return;let i=[...t,r];if(e.type===C.Fragment){n.push.apply(n,Wt(e.props.children,i));return}A(e.type===Vt,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),A(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Wt(e.props.children,i)),n.push(a)}),n}var Gt=`get`,Kt=`application/x-www-form-urlencoded`;function qt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Jt(e){return qt(e)&&e.tagName.toLowerCase()===`button`}function Yt(e){return qt(e)&&e.tagName.toLowerCase()===`form`}function Xt(e){return qt(e)&&e.tagName.toLowerCase()===`input`}function Zt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Qt(e,t){return e.button===0&&(!t||t===`_self`)&&!Zt(e)}var $t=null;function en(){if($t===null)try{new FormData(document.createElement(`form`),0),$t=!1}catch{$t=!0}return $t}var tn=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function nn(e){return e!=null&&!tn.has(e)?(j(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Kt}"`),null):e}function rn(e,t){let n,r,i,a,o;if(Yt(e)){let o=e.getAttribute(`action`);r=o?z(o,t):null,n=e.getAttribute(`method`)||Gt,i=nn(e.getAttribute(`enctype`))||Kt,a=new FormData(e)}else if(Jt(e)||Xt(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?z(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Gt,i=nn(e.getAttribute(`formenctype`))||nn(o.getAttribute(`enctype`))||Kt,a=new FormData(o,e),!en()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(qt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Gt,r=null,i=Kt,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var an={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},on=/[&><\u2028\u2029]/g;function sn(e){return e.replace(on,e=>an[e])}function cn(e,t){if(e===!1||e==null)throw Error(t)}function ln(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>
10`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&z(i.pathname,t)===`/`?i.pathname=`${ke(t)}/_root.${r}`:i.pathname=`${ke(i.pathname)}.${r}`,i}async function un(e,t){if(e.id in t)return t[e.id];try{let n=await S(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function dn(e){return e!=null&&typeof e.page==`string`}function fn(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function pn(e,t,n){return vn((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await un(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(fn).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function mn(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function hn(e,t,{includeHydrateFallback:n}={}){return gn(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function gn(e){return[...new Set(e)]}function _n(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function vn(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!dn(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(_n(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function yn(){let e=C.useContext(qe);return cn(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function bn(){let e=C.useContext(Je);return cn(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var xn=C.createContext(void 0);xn.displayName=`FrameworkContext`;function Sn(){let e=C.useContext(xn);return cn(e,`You must render this element inside a <HydratedRouter> element`),e}function Cn(e,t){let n=C.useContext(xn),[r,i]=C.useState(!1),[a,o]=C.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=C.useRef(null);C.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),C.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:wn(s,p),onBlur:wn(c,m),onMouseEnter:wn(l,p),onMouseLeave:wn(u,m),onTouchStart:wn(d,p)}]:[a,f,{}]:[!1,f,{}]}function wn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Tn({page:e,...t}){let n=Xe(),{nonce:r}=Sn(),{router:i}=yn(),a=C.useMemo(()=>I(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?C.createElement(Dn,{page:e,matches:a,...t}):C.createElement(On,{page:e,matches:a,...t})):null}function En(e){let{manifest:t,routeModules:n}=Sn(),[r,i]=C.useState([]);return C.useEffect(()=>{let r=!1;return pn(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function Dn({page:e,matches:t,...n}){let r=dt(),{future:i}=Sn(),{basename:a}=yn(),o=C.useMemo(()=>
10{if(e===r.pathname+r.search+r.hash)return[];let n=ln(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return C.createElement(C.Fragment,null,o.map(e=>C.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function On({page:e,matches:t,...n}){let r=dt(),{future:i,manifest:a,routeModules:o}=Sn(),{basename:s}=yn(),{loaderData:c,matches:l}=bn(),u=C.useMemo(()=>mn(e,t,l,a,r,`data`),[e,t,l,a,r]),d=C.useMemo(()=>mn(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=C.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=ln(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=C.useMemo(()=>hn(d,a),[d,a]),m=En(d);return C.createElement(C.Fragment,null,f.map(e=>C.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>C.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>C.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function kn(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}C.Component;var An=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{An&&(window.__reactRouterVersion=`7.18.4`)}catch{}function jn({basename:e,children:t,useTransitions:n,window:r}){let i=C.useRef();i.current??=k({window:r,v5Compat:!0});let a=i.current,[o,s]=C.useState({action:a.action,location:a.location}),c=C.useCallback(e=>{n===!1?s(e):C.startTransition(()=>s(e))},[n]);return C.useLayoutEffect(()=>a.listen(c),[a,c]),C.createElement(Ht,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}function Mn({basename:e,children:t,history:n,useTransitions:r}){let[i,a]=C.useState({action:n.action,location:n.location}),o=C.useCallback(e=>{r===!1?a(e):C.startTransition(()=>a(e))},[r]);return C.useLayoutEffect(()=>n.listen(o),[n,o]),C.createElement(Ht,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,useTransitions:r})}Mn.displayName=`unstable_HistoryRouter`;var Nn=C.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=C.useContext(et),v=typeof l==`string`&&w.test(l),y=Le(l,h);l=y.to;let b=lt(l,{relative:r}),x=dt(),S=null;if(o){let e=Ee(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Oe([h,e.pathname])),S=g.createHref(e)}let[T,E,D]=Cn(n,p),O=Bn(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function k(t){e&&e(t),t.defaultPrevented||O(t)}let A=!(y.isExternal||i),j=C.createElement(`a`,{...p,...D,href:(A?S:void 0)||y.absoluteURL||b,onClick:A?k:e,ref:kn(m,E),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return T&&!v?C.createElement(C.Fragment,null,j,C.createElement(Tn,{page:b})):j});Nn.displayName=`Link`;var Pn=C.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=_t(a,{relative:c.relative}),d=dt(),f=C.useContext(Je),{navigator:p,basename:m}=C.useContext(et),h=f!=null&&Xn(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=z(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),S={isActive:b,isPending:x,isTransitioning:h},w=b?e:void 0,T;T=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(
10Boolean).join(` `);let E=typeof i==`function`?i(S):i;return C.createElement(Nn,{...c,"aria-current":w,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(S):s)});Pn.displayName=`NavLink`;var Fn=C.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=Gt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=C.useContext(et),g=Un(),_=Wn(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&w.test(s);return C.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?C.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});Fn.displayName=`Form`;function In({getKey:e,storageKey:t,...n}){let r=C.useContext(xn),{basename:i}=C.useContext(et),a=dt(),o=Pt();Jn({getKey:e,storageKey:t});let s=C.useMemo(()=>{if(!r||!e)return null;let t=qn(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];
10typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return n.nonce==null&&r?.nonce&&(n.nonce=r.nonce),C.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${sn(JSON.stringify(t||Gn))}, ${sn(JSON.stringify(s))})`}})}In.displayName=`ScrollRestoration`;function Ln(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rn(e){let t=C.useContext(qe);return A(t,Ln(e)),t}function zn(e){let t=C.useContext(Je);return A(t,Ln(e)),t}function Bn(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=mt(),d=dt(),f=_t(e,{relative:o});return C.useCallback(p=>{if(Qt(p,t)){p.preventDefault();let t=n===void 0?F(d)===F(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?C.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var Vn=0,Hn=()=>`__${String(++Vn)}__`;function Un(){let{router:e}=Rn(`useSubmit`),{basename:t}=C.useContext(et),n=Mt(),r=e.fetch,i=e.navigate;return C.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=rn(e,t);a.navigate===!1?await r(a.fetcherKey||Hn(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function Wn(e,{relative:t}={}){let{basename:n}=C.useContext(et),r=C.useContext(nt);A(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={..._t(e||`.`,{relative:t})},o=dt();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:Oe([n,a.pathname])),F(a)}var Gn=`react-router-scroll-positions`,Kn={};function qn(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:z(e.pathname,n)||e.pathname},t)),i??=e.key,i}function Jn({getKey:e,storageKey:t}={}){let{router:n}=Rn(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=zn(`useScrollRestoration`),{basename:a}=C.useContext(et),o=dt(),s=Pt(),c=Nt();C.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),Yn(C.useCallback(()=>{if(c.state===`idle`){let t=qn(o,s,a,e);Kn[t]=window.scrollY}try{sessionStorage.setItem(t||Gn,JSON.stringify(Kn))}catch(e){j(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(C.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||Gn);e&&(Kn=JSON.parse(e))}catch{}},[t]),C.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(Kn,()=>window.scrollY,e?(t,n)=>qn(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),C.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{j(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function Yn(e,t){let{capture:n}=t||{};C.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function Xn(e,{relative:t}={}){let n=C.useContext(Ze);A(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Rn(`useViewTransitionState`),i=_t(e,{relative:t});if(!n.isTransitioning)return!1;let a=z(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=z(n.nextLocation.pathname,r)||n.nextLocation.pathname;return _e(i.pathname,o)!=null||_e(i.pathname,a)!=null}var Zn=u(v(),1);function Qn(){let{pathname:e,hash:t}=dt();return(0,C.useEffect)(()=>
10{if(t){let e=setTimeout(()=>{let e=document.querySelector(t);e&&e.scrollIntoView({behavior:`smooth`})},100);return()=>clearTimeout(e)}else window.scrollTo(0,0)},[e,t]),null}var $n=s((e=>{var t=p(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),er=s(((e,t)=>{t.exports=$n()})),tr=(0,C.createContext)({});function nr(e){let t=(0,C.useRef)(null);return t.current===null&&(t.current=e()),t.current}var rr=(0,C.createContext)(null),ir=(0,C.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`}),B=er(),ar=class extends C.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function or({children:e,isPresent:t}){let n=(0,C.useId)(),r=(0,C.useRef)(null),i=(0,C.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,C.useContext)(ir);return(0,C.useInsertionEffect)(()=>{let{width:e,height:o,top:s,left:c}=i.current;if(t||!r.current||!e||!o)return;r.current.dataset.motionPopId=n;let l=document.createElement(`style`);return a&&(l.nonce=a),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
11          [data-motion-pop-id="${n}"] {
12            position: absolute !important;
13            width: ${e}px !important;
14            height: ${o}px !important;
15            top: ${s}px !important;
16            left: ${c}px !important;
17          }
18        `),()=>{document.head.removeChild(l)}},[t]),(0,B.jsx)(ar,{isPresent:t,childRef:r,sizeRef:i,children:C.cloneElement(e,{ref:r})})}var sr=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o})=>{let s=nr(cr),c=(0,C.useId)(),l=(0,C.useCallback)(e=>{s.set(e,!0);for(let e of s.values())if(!e)return;r&&r()},[s,r]),u=(0,C.useMemo)(()=>({id:c,initial:t,isPresent:n,custom:i,onExitComplete:l,register:e=>(s.set(e,!1),()=>s.delete(e))}),a?[Math.random(),l]:[n,l]);return(0,C.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[n]),C.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),o===`popLayout`&&(e=(0,B.jsx)(or,{isPresent:n,children:e})),(0,B.jsx)(rr.Provider,{value:u,children:e})};function cr(){return new Map}function lr(e=!0){let t=(0,C.useContext)(rr);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,C.useId)();(0,C.useEffect)(()=>{e&&i(a)},[e]);let o=(0,C.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var ur=e=>e.key||``;function dr(e){let t=[];return C.Children.forEach(e,e=>{(0,C.isValidElement)(e)&&t.push(e)}),t}var fr=typeof window<`u`,pr=fr?C.useLayoutEffect:C.useEffect,mr=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1})=>{let[s,c]=lr(o),l=(0,C.useMemo)(()=>dr(e),[e]),u=o&&!s?[]:l.map(ur),d=(0,C.useRef)(!0),f=(0,C.useRef)(l),p=nr(()=>new Map),[m,h]=(0,C.useState)(l),[g,_]=(0,C.useState)(l);pr(()=>{d.current=!1,f.current=l;for(let e=0;e<g.length;e++){let t=ur(g[e]);u.includes(t)?p.delete(t):p.get(t)!==!0&&p.set(t,!1)}},[g,u.length,u.join(`-`)]);let v=[];if(l!==m){let e=[...l];for(let t=0;t<g.length;t++){let n=g[t],r=ur(n);u.includes(r)||(e.splice(t,0,n),v.push(n))}a===`wait`&&v.length&&(e=v),_(dr(e)),h(l);return}let{forceRender:y}=(0,C.useContext)(tr);return(0,B.jsx)(B.Fragment,{children:g.map(e=>{let m=ur(e),h=o&&!s?!1:l===g||u.includes(m);return(0,B.jsx)(sr,{isPresent:h,initial:!d.current||n?void 0:!1,custom:h?void 0:t,presenceAffectsLayout:i,mode:a,onExitComplete:h?void 0:()=>{if(p.has(m))p.set(m,!0);else return;let e=!0;p.forEach(t=>{t||(e=!1)}
18),e&&(y?.(),_(f.current),o&&c?.(),r&&r())},children:e},m)})})},hr=e=>e,gr=hr,_r=hr;function vr(e){let t;return()=>(t===void 0&&(t=e()),t)}var yr=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},br=e=>e*1e3,xr=e=>e/1e3,Sr={skipAnimations:!1,useManualTiming:!1};function Cr(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var wr=[`read`,`resolveKeyframes`,`update`,`preRender`,`render`,`postRender`],Tr=40;function Er(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=wr.reduce((e,t)=>(e[t]=Cr(a),e),{}),{read:s,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:f}=o,p=()=>{let a=Sr.useManualTiming?i.timestamp:performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(a-i.timestamp,Tr),1),i.timestamp=a,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(p))},m=()=>{n=!0,r=!0,i.isProcessing||e(p)};return{schedule:wr.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||m(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<wr.length;t++)o[wr[t]].cancel(e)},state:i,steps:o}}var{schedule:Dr,cancel:Or,state:kr,steps:Ar}=Er(typeof requestAnimationFrame<`u`?requestAnimationFrame:hr,!0),jr=(0,C.createContext)({strict:!1}),Mr={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Nr={};for(let e in Mr)Nr[e]={isEnabled:t=>Mr[e].some(e=>!!t[e])};function Pr(e){for(let t in e)Nr[t]={...Nr[t],...e[t]}}var Fr=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.ignoreStrict.viewport`.split(`.`));function Ir(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Fr.has(e)}var Lr=c({default:()=>Rr}),Rr,zr=o((()=>{throw Rr={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Br=e=>!Ir(e);function Vr(e){e&&(Br=t=>t.startsWith(`on`)?!Ir(t):e(t))}try{Vr((zr(),d(Lr)).default)}catch{}function Hr(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||(Br(i)||n===!0&&Ir(i)||!t&&!Ir(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}function Ur(e){if(typeof Proxy>`u`)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>r===`create`?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}var Wr=(0,C.createContext)({});function Gr(e){return typeof e==`string`||Array.isArray(e)}function Kr(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}var qr=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Jr=[`initial`,...qr];function Yr(e){return Kr(e.animate)||Jr.some(t=>Gr(e[t]))}function Xr(e){return!!(Yr(e)||e.variants)}function Zr(e,t){if(Yr(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Gr(t)?t:void 0,animate:Gr(n)?n:void 0}}return e.inherit===!1?{}:t}function Qr(e){let{initial:t,animate:n}=Zr(e,(0,C.useContext)(Wr));return(0,C.useMemo)(()=>({initial:t,animate:n}),[$r(t),$r(n)])}function $r(e){return Array.isArray(e)?e.join(` `):e}var ei=Symbol.for(`motionComponentSymbol`);function ti(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function ni(e,t,n){return(0,C.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n==`function`?n(r):ti(n)&&(n.current=r))},[t])}var ri=e=>e.replace(/([a-z])([A-Z])/gu,`$1-$2`).toLowerCase(),ii=`data-`+ri(`framerAppearId`),{schedule:ai,cancel:oi}=Er(queueMicrotask,!1),si=(0,C.createContext)({});function ci(e,t,n,r,i){let{visualElement:a}=(0,C.useContext)(Wr),o=(0,C.useContext)(jr),s=(0,C.useContext)(rr),c=(0,C.useContext)(ir).reducedMotion,l=(0,C.useRef)(null);r||=o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:a,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:c}
18));let u=l.current,d=(0,C.useContext)(si);u&&!u.projection&&i&&(u.type===`html`||u.type===`svg`)&&li(l.current,n,i,d);let f=(0,C.useRef)(!1);(0,C.useInsertionEffect)(()=>{u&&f.current&&u.update(n,s)});let p=n[ii],m=(0,C.useRef)(!!p&&!window.MotionHandoffIsComplete?.call(window,p)&&window.MotionHasOptimisedAnimation?.call(window,p));return pr(()=>{u&&(f.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),ai.render(u.render),m.current&&u.animationState&&u.animationState.animateChanges())}),(0,C.useEffect)(()=>{u&&(!m.current&&u.animationState&&u.animationState.animateChanges(),m.current&&=(queueMicrotask(()=>{var e;(e=window.MotionHandoffMarkAsComplete)==null||e.call(window,p)}),!1))}),u}function li(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:ui(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&ti(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,layoutScroll:c,layoutRoot:l})}function ui(e){if(e)return e.options.allowProjection===!1?ui(e.parent):e.projection}function di({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Pr(e);function a(a,o){let s,c={...(0,C.useContext)(ir),...a,layoutId:fi(a)},{isStatic:l}=c,u=Qr(a),d=r(a,l);
18if(!l&&fr){pi(c,e);let n=mi(c);s=n.MeasureLayout,u.visualElement=ci(i,d,c,t,n.ProjectionNode)}return(0,B.jsxs)(Wr.Provider,{value:u,children:[s&&u.visualElement?(0,B.jsx)(s,{visualElement:u.visualElement,...c}):null,n(i,a,ni(d,u.visualElement,o),d,l,u.visualElement)]})}a.displayName=`motion.${typeof i==`string`?i:`create(${i.displayName??i.name??``})`}`;let o=(0,C.forwardRef)(a);return o[ei]=i,o}function fi({layoutId:e}){let t=(0,C.useContext)(tr).id;return t&&e!==void 0?t+`-`+e:e}function pi(e,t){(0,C.useContext)(jr).strict}function mi(e){let{drag:t,layout:n}=Nr;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var hi=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function gi(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(hi.indexOf(e)>-1||/[A-Z]/u.test(e))}function _i(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function vi(e,t,n,r){if(typeof t==`function`){let[i,a]=_i(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=_i(r);t=t(n===void 0?e.custom:n,i,a)}return t}var yi=e=>Array.isArray(e),bi=e=>!!(e&&typeof e==`object`&&e.mix&&e.toValue),xi=e=>yi(e)?e[e.length-1]||0:e,Si=e=>!!(e&&e.getVelocity);function Ci(e){let t=Si(e)?e.get():e;return bi(t)?t.toValue():t}function wi({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,a){let o={latestValues:Ei(r,i,a,e),renderState:t()};return n&&(o.onMount=e=>n({props:r,current:e,...o}),o.onUpdate=e=>n(e)),o}var Ti=e=>(t,n)=>{let r=(0,C.useContext)(Wr),i=(0,C.useContext)(rr),a=()=>wi(e,t,r,i);return n?a():nr(a)};function Ei(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Ci(a[e]);let{initial:o,animate:s}=e,c=Yr(e),l=Xr(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Kr(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=vi(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var Di=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Oi=new Set(Di),ki=e=>t=>typeof t==`string`&&t.startsWith(e),Ai=ki(`--`),ji=ki(`var(--`),Mi=e=>ji(e)?Ni.test(e.split(`/*`)[0].trim()):!1,Ni=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Pi=(e,t)=>t&&typeof e==`number`?t.transform(e):e,Fi=(e,t,n)=>n>t?t:n<e?e:n,Ii={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Li={...Ii,transform:e=>Fi(0,1,e)},Ri={...Ii,default:1},zi=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bi=zi(`deg`),Vi=zi(`%`),V=zi(`px`),Hi=zi(`vh`),Ui=zi(`vw`),Wi={...Vi,parse:e=>Vi.parse(e)/100,transform:e=>Vi.transform(e*100)},Gi={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,radius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,backgroundPositionX:V,backgroundPositionY:V},Ki={rotate:Bi,rotateX:Bi,rotateY:Bi,rotateZ:Bi,scale:Ri,scaleX:Ri,scaleY:Ri,scaleZ:Ri,skew:Bi,skewX:Bi,skewY:Bi,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:Li,originX:Wi,originY:Wi,originZ:V},qi={...Ii,transform:Math.round},Ji={...Gi,...Ki,zIndex:qi,size:V,fillOpacity:Li,strokeOpacity:Li,numOctaves:qi},Yi={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Xi=Di.length;function Zi(e,t,n){let r=``,i=!0;for(let a=0;a<Xi;a++){let o=Di[a],s=e[o];if(s===void 0)continue;let c=!0;
18if(c=typeof s==`number`?s===+!!o.startsWith(`scale`):parseFloat(s)===0,!c||n){let e=Pi(s,Ji[o]);if(!c){i=!1;let t=Yi[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function Qi(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Oi.has(e)){o=!0;continue}else if(Ai(e)){i[e]=n;continue}else{let t=Pi(n,Ji[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Zi(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var $i={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ea={offset:`strokeDashoffset`,array:`strokeDasharray`};function ta(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?$i:ea;e[a.offset]=V.transform(-r);let o=V.transform(t),s=V.transform(n);e[a.array]=`${o} ${s}`}function na(e,t,n){return typeof e==`string`?e:V.transform(t+n*e)}function ra(e,t,n){return`${na(t,e.x,e.width)} ${na(n,e.y,e.height)}`}function ia(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:o,pathSpacing:s=1,pathOffset:c=0,...l},u,d){if(Qi(e,l,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p,dimensions:m}=e;f.transform&&(m&&(p.transform=f.transform),delete f.transform),m&&(i!==void 0||a!==void 0||p.transform)&&(p.transformOrigin=ra(m,i===void 0?.5:i,a===void 0?.5:a)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),o!==void 0&&ta(f,o,s,c,!1)}var aa=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),oa=()=>({...aa(),attrs:{}}),sa=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function ca(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(let t in n)e.style.setProperty(t,n[t])}var la=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]);function ua(e,t,n,r){ca(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(la.has(n)?n:ri(n),t.attrs[n])}var da={};function fa(e){Object.assign(da,e)}function pa(e,{layout:t,layoutId:n}){return Oi.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!da[e]||e===`opacity`)}function ma(e,t,n){let{style:r}=e,i={};for(let a in r)(Si(r[a])||t.style&&Si(t.style[a])||pa(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(i[a]=r[a]);return i}function ha(e,t,n){let r=ma(e,t,n);for(let n in e)if(Si(e[n])||Si(t[n])){let t=Di.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function ga(e,t){try{t.dimensions=typeof e.getBBox==`function`?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}var _a=[`x`,`y`,`width`,`height`,`cx`,`cy`,`r`],va={useVisualState:Ti({scrapeMotionValuesFromProps:ha,createRenderState:oa,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let a=!!e.drag;if(!a){for(let e in i)if(Oi.has(e)){a=!0;break}}if(!a)return;let o=!t;if(t)for(let n=0;n<_a.length;n++){let r=_a[n];e[r]!==t[r]&&(o=!0)}o&&Dr.read(()=>{ga(n,r),Dr.render(()=>{ia(r,i,sa(n.tagName),e.transformTemplate),ua(n,r)})})}})},ya={useVisualState:Ti({scrapeMotionValuesFromProps:ma,createRenderState:aa})};function ba(e,t,n){for(let r in t)!Si(t[r])&&!pa(r,n)&&(e[r]=t[r])}function xa({transformTemplate:e},t){return(0,C.useMemo)(()=>{let n=aa();return Qi(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Sa(e,t){let n=e.style||{},r={};return ba(r,n,e),Object.assign(r,xa(e,t)),r}function Ca(e,t){let n={},r=Sa(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function wa(e,t,n,r){let i=(0,C.useMemo)(()=>{let n=oa();return ia(n,t,sa(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};ba(t,e.style,e),i.style={...t,...i.style}}return i}function Ta(e=!1){return(t,n,r,{latestValues:i},a)=>{let o=(gi(t)?wa:Ca)(n,i,a,t),s=Hr(n,typeof t==`string`,e),c=t===C.Fragment?{}:{...s,...o,ref:r},{children:l}=n,u=(0,C.useMemo)(()=>Si(l)?l.get():l,[l]);return(0,C.createElement)(t,{...c,children:u})}}function Ea(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return di({...gi(n)?va:ya,preloadedFeatures:e,useRender:Ta(r),createVisualElement:t,Component:n})}}function Da(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Oa(e,t,n){let r=e.getProps();return vi(r,t,n===void 0?r.custom:n,e)}var ka=vr(()=>window.ScrollTimeline!==void 0),Aa=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>`finished`in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>{if(ka()&&n.attachTimeline)return n.attachTimeline(e);if(typeof t==`function`)return t(n)});return()=>
18{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get startTime(){return this.getAll(`startTime`)}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll(`flatten`)}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}},ja=class extends Aa{then(e,t){return Promise.all(this.animations).then(e).catch(t)}};function Ma(e,t){return e?e[t]||e.default||e:void 0}var Na=2e4;function Pa(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Fa(e){return typeof e==`function`}function Ia(e,t){e.timeline=t,e.onfinish=null}var La=e=>Array.isArray(e)&&typeof e[0]==`number`,Ra={linearEasing:void 0};function za(e,t){let n=vr(e);return()=>Ra[t]??n()}var Ba=za(()=>{try{document.createElement(`div`).animate({opacity:0}
18,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Va=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e(yr(0,i-1,t))+`, `;return`linear(${r.substring(0,r.length-2)})`};function Ha(e){return!!(typeof e==`function`&&Ba()||!e||typeof e==`string`&&(e in Wa||Ba())||La(e)||Array.isArray(e)&&e.every(Ha))}var Ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wa={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Ua([0,.65,.55,1]),circOut:Ua([.55,0,1,.45]),backIn:Ua([.31,.01,.66,-.59]),backOut:Ua([.33,1.53,.69,.99])};function Ga(e,t){if(e)return typeof e==`function`&&Ba()?Va(e,t):La(e)?Ua(e):Array.isArray(e)?e.map(e=>Ga(e,t)||Wa.easeOut):Wa[e]}var Ka={x:!1,y:!1};function qa(){return Ka.x||Ka.y}function Ja(e,t,n){if(e instanceof Element)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Ya(e,t){let n=Ja(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Xa(e){return t=>{t.pointerType===`touch`||qa()||e(t)}}function Za(e,t,n={}){let[r,i,a]=Ya(e,n),o=Xa(e=>{let{target:n}=e,r=t(e);if(typeof r!=`function`||!n)return;let a=Xa(e=>{r(e),n.removeEventListener(`pointerleave`,a)});n.addEventListener(`pointerleave`,a,i)});return r.forEach(e=>{e.addEventListener(`pointerenter`,o,i)}),a}var Qa=(e,t)=>t?e===t?!0:Qa(e,t.parentElement):!1,$a=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,eo=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function to(e){return eo.has(e.tagName)||e.tabIndex!==-1}var no=new WeakSet;function ro(e){return t=>{t.key===`Enter`&&e(t)}}function io(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ao=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=ro(()=>{if(no.has(n))return;io(n,`down`);let e=ro(()=>{io(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>io(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function oo(e){return $a(e)&&!qa()}function so(e,t,n={}){let[r,i,a]=Ya(e,n),o=e=>{let r=e.currentTarget;if(!oo(e)||no.has(r))return;no.add(r);let a=t(e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),!(!oo(e)||!no.has(r))&&(no.delete(r),typeof a==`function`&&a(e,{success:t}))},s=e=>{o(e,n.useGlobalTarget||Qa(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{!to(e)&&e.getAttribute(`tabindex`)===null&&(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),e.addEventListener(`focus`,e=>ao(e,i),i)}),a}function co(e){return e===`x`||e===`y`?Ka[e]?null:(Ka[e]=!0,()=>{Ka[e]=!1}):Ka.x||Ka.y?null:(Ka.x=Ka.y=!0,()=>{Ka.x=Ka.y=!1})}var lo=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Di]),uo;function fo(){uo=void 0}var po={now:()=>(uo===void 0&&po.set(kr.isProcessing||Sr.useManualTiming?kr.timestamp:performance.now()),uo),set:e=>{uo=e,queueMicrotask(fo)}};function mo(e,t){e.indexOf(t)===-1&&e.push(t)}function ho(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var go=class{constructor(){this.subscriptions=[]}add(e){return mo(this.subscriptions,e),()=>ho(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function _o(e,t){return t?1e3/t*e:0}var vo=30,yo=e=>!isNaN(parseFloat(e)),bo={current:void 0},xo=class{constructor(e,t={}){this.version=`11.18.2`,this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=po.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=po.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=yo(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new go);let n=this.events[e].add(t);return e===`change`?()=>{n(),Dr.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}
18setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return bo.current&&bo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=po.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>vo)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,vo);return _o(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function So(e,t){return new xo(e,t)}function Co(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,So(n))}function wo(e,t){let{transitionEnd:n={},transition:r={},...i}=Oa(e,t)||{};i={...i,...n};for(let t in i)Co(e,t,xi(i[t]))}function To(e){return!!(Si(e)&&e.add)}function Eo(e,t){let n=e.getValue(`willChange`);if(To(n))return n.add(t)}function Do(e){return e.props[ii]}var Oo={current:!1},ko=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ao=1e-7,jo=12;function Mo(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ko(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Ao&&++s<jo);return o}function No(e,t,n,r){if(e===t&&n===r)return hr;let i=t=>Mo(t,0,1,e,n);return e=>e===0||e===1?e:ko(i(e),t,r)}var Po=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Fo=e=>t=>1-e(1-t),Io=No(.33,1.53,.69,.99),Lo=Fo(Io),Ro=Po(Lo),zo=e=>(e*=2)<1?.5*Lo(e):.5*(2-2**(-10*(e-1))),Bo=e=>1-Math.sin(Math.acos(e)),Vo=Fo(Bo),Ho=Po(Bo),Uo=e=>/^0[^.\s]+$/u.test(e);function Wo(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Uo(e)}var Go=e=>Math.round(e*1e5)/1e5,Ko=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qo(e){return e==null}var Jo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yo=(e,t)=>n=>!!(typeof n==`string`&&Jo.test(n)&&n.startsWith(e)||t&&!qo(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xo=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Ko);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Zo=e=>Fi(0,255,e),Qo={...Ii,transform:e=>Math.round(Zo(e))},$o={test:Yo(`rgb`,`red`),parse:Xo(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Qo.transform(e)+`, `+Qo.transform(t)+`, `+Qo.transform(n)+`, `+Go(Li.transform(r))+`)`};function es(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var ts={test:Yo(`#`),parse:es,transform:$o.transform},ns={test:Yo(`hsl`,`hue`),parse:Xo(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Vi.transform(Go(t))+`, `+Vi.transform(Go(n))+`, `+Go(Li.transform(r))+`)`},rs={test:e=>$o.test(e)||ts.test(e)||ns.test(e),parse:e=>$o.test(e)?$o.parse(e):ns.test(e)?ns.parse(e):ts.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?$o.transform(e):ns.transform(e)},is=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function as(e){return isNaN(e)&&typeof e==`string`&&(e.match(Ko)?.length||0)+(e.match(is)?.length||0)>0}var os=`number`,ss=`color`,cs=`var`,ls=`var(`,us="${}",ds=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function fs(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(ds,e=>(rs.test(e)?(r.color.push(a),i.push(ss),n.push(rs.parse(e))):e.startsWith(ls)?(r.var.push(a),i.push(cs),n.push(e)):(r.number.push(a),i.push(os),n.push(parseFloat(e))),++a,us)).split(us),indexes:r,types:i}}function ps(e){return fs(e).values}function ms(e){let{split:t,types:n}=fs(e),r=t.length;return e=>{let i=``;for(let a=0;a<r;a++)if(i+=t[a],e[a]!==void 0){let t=n[a];t===os?i+=Go(e[a]):t===ss?i+=rs.transform(e[a]):i+=e[a]}return i}}var hs=e=>typeof e==`number`?0:e;function gs(e){let t=ps(e);return ms(e)(t.map(hs))}var _s={test:as,parse:ps,createTransformer:ms,getAnimatableNone:gs},vs=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function ys(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Ko)||[];if(!r)return e;let i=n.replace(r,``),a=+!!vs.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var bs=/\b([a-z-]*)\(.*?\)/gu,xs={..._s,getAnimatableNone:e=>{let t=e.match(bs);return t?t.map(ys).join(` `):e}},Ss={...Ji,color:rs,backgroundColor:rs,outlineColor:rs,fill:rs,stroke:rs,borderColor:rs,borderTopColor:rs,borderRightColor:rs,borderBottomColor:rs,borderLeftColor:rs,filter:xs,WebkitFilter:xs},Cs=e=>Ss[e];function ws(e,t){let n=Cs(e);return n!==xs&&(n=_s),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Ts=new Set([`auto`,`none`,`0`]);function Es(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Ts.has(t)&&fs(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=ws(n,i)}var Ds=e=>e===Ii||e===V,Os=(e,t)=>parseFloat(e.split(`, `)[t]),ks=(e,t)=>(n,{transform:r})=>{if(r===`none`||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Os(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?Os(t[1],e):0}},As=new Set([`x`,`y`,`z`]),js=Di.filter(e=>!As.has(e));function Ms(e){let t=[];return js.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ns={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ks(4,13),y:ks(5,14)};Ns.translateX=Ns.x,Ns.translateY=Ns.y;var Ps=new Set,Fs=!1,Is=!1;function Ls(){if(Is){let e=Array.from(Ps).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;
18t.forEach(e=>{let t=Ms(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;(r=e.getValue(t))==null||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Is=!1,Fs=!1,Ps.forEach(e=>e.complete()),Ps.clear()}function Rs(){Ps.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Is=!0)})}function zs(){Rs(),Ls()}var Bs=class{constructor(e,t,n,r,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ps.add(this),Fs||(Fs=!0,Dr.read(Rs),Dr.resolveKeyframes(Ls))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(e[i]===null)if(i===0){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ps.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ps.delete(this))}resume(){this.isComplete||this.scheduleResolve()}},Vs=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Hs=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Us(e){let t=Hs.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}var Ws=4;function Gs(e,t,n=1){_r(n<=Ws,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,i]=Us(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Vs(e)?parseFloat(e):e}return Mi(i)?Gs(i,t,n+1):i}var Ks=e=>t=>t.test(e),qs=[Ii,V,Vi,Bi,Ui,Hi,{test:e=>e===`auto`,parse:e=>e}],Js=e=>qs.find(Ks(e)),Ys=class extends Bs{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Mi(r))){let i=Gs(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!lo.has(n)||e.length!==2)return;let[r,i]=e,a=Js(r),o=Js(i);if(a!==o)if(Ds(a)&&Ds(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)Wo(e[t])&&n.push(t);n.length&&Es(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ns[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Ns[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
vendor: 4,273 bytes, line 18
18h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Xs=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(_s.test(e)||e===`0`)&&!e.startsWith(`url(`));function Zs(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Qs(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Xs(i,t),s=Xs(a,t);return gr(o===s,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!o||!s?!1:Zs(e)||(n===`spring`||Fa(n))&&r}var $s=e=>e!==null;function ec(e,{repeat:t,repeatType:n=`loop`},r){let i=e.filter($s),a=t&&n!==`loop`&&t%2==1?0:i.length-1;return!a||r===void 0?i[a]:r}var tc=40,nc=class{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=po.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>tc?this.resolvedAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&zs(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=po.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:a,onComplete:o,onUpdate:s,isGenerator:c}=this.options;if(!c&&!Qs(e,n,r,i))if(Oo.current||!a){s&&s(ec(e,this.options,t)),o&&o(),this.resolveFinishedPromise();return}else this.options.duration=0;let l=this.initPlayback(e,t);l!==!1&&(this._resolved={keyframes:e,finalKeyframe:t,...l},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type=`keyframes`,this.options.ease=`linear`}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}},rc=(e,t,n)=>e+(t-e)*n;function ic(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ac({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=ic(s,r,e+1/3),a=ic(s,r,e),o=ic(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function oc(e,t){return n=>n>0?t:e}var sc=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},cc=[ts,$o,ns],lc=e=>cc.find(t=>t.test(e));function uc(e){let t=lc(e);if(gr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===ns&&(n=ac(n)),n}var dc=(e,t)=>{let n=uc(e),r=uc(t);if(!n||!r)return oc(e,t);let i={...n};return e=>(i.red=sc(n.red,r.red,e),i.green=sc(n.green,r.green,e),i.blue=sc(n.blue,r.blue,e),i.alpha=rc(n.alpha,r.alpha,e),$o.transform(i))},fc=(e,t)=>n=>t(e(n)),pc=(...e)=>e.reduce(fc),mc=new Set([`none`,`hidden`]);function hc(e,t){return mc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function gc(e,t){return n=>rc(e,t,n)}function _c(e){return typeof e==`number`?gc:typeof e==`string`?Mi(e)?oc:rs.test(e)?dc:xc:Array.isArray(e)?vc:typeof e==`object`?rs.test(e)?dc:yc:oc}function vc(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>_c(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function yc(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=_c(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function bc(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var xc=(e,t)=>{let n=_s.createTransformer(t),r=fs(e),i=fs(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mc.has(e)&&!i.values.length||mc.has(t)&&!r.values.length?hc(e,t):pc(vc(bc(r,i),i.values),n):(gr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),oc(e,t))};function H(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
18number`?rc(e,t,n):_c(e)(e,t)}var Sc=5;function Cc(e,t,n){let r=Math.max(t-Sc,0);return _o(n-e(r),t-r)}var wc={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Tc=.001;function Ec({duration:e=wc.duration,bounce:t=wc.bounce,velocity:n=wc.velocity,mass:r=wc.mass}){let i,a;gr(e<=br(wc.maxDuration),`Spring duration must be 10 seconds or less`);let o=1-t;o=Fi(wc.minDamping,wc.maxDamping,o),e=Fi(wc.minDuration,wc.maxDuration,xr(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=kc(t,o),c=Math.exp(-i);return Tc-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=kc(t**2,o);return(-i(t)+Tc>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Oc(i,a,s);if(e=br(e),isNaN(c))return{stiffness:wc.stiffness,damping:wc.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Dc=12;function Oc(e,t,n){let r=n;for(let n=1;n<Dc;n++)r-=e(r)/t(r);return r}function kc(e,t){return e*Math.sqrt(1-t*t)}var Ac=[`duration`,`bounce`],jc=[`stiffness`,`damping`,`mass`];function Mc(e,t){return t.some(t=>e[t]!==void 0)}function Nc(e){let t={velocity:wc.velocity,stiffness:wc.stiffness,damping:wc.damping,mass:wc.mass,isResolvedFromDuration:!1,...e};if(!Mc(e,jc)&&Mc(e,Ac))if(e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Fi(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:wc.mass,stiffness:i,damping:a}}else{let n=Ec(e);t={...t,...n,mass:wc.mass},t.isResolvedFromDuration=!0}return t}function Pc(e=wc.visualDuration,t=wc.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Nc({...n,velocity:-xr(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=xr(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?wc.restSpeed.granular:wc.restSpeed.default,i||=v?wc.restDelta.granular:wc.restDelta.default;let y;if(h<1){let e=kc(_,h);y=t=>o-Math.exp(-h*_*t)*((m+h*_*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(h===1)y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}let b={calculatedDuration:p&&d||null,next:e=>{let t=y(e);if(p)s.done=e>=d;else{let n=0;h<1&&(n=e===0?br(m):Cc(y,e,t));let a=Math.abs(n)<=r,c=Math.abs(o-t)<=i;s.done=a&&c}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Pa(b),Na),t=Va(t=>b.next(e*t).value,e,30);return e+`ms `+t}};return b}function Fc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Pc({keyframes:[f.value,m(f.value)],velocity:Cc(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}var Ic=No(.42,0,1,1),Lc=No(0,0,.58,1),Rc=No(.42,0,.58,1),zc=e=>Array.isArray(e)&&typeof e[0]!=`number`,Bc={linear:hr,easeIn:Ic,easeInOut:Rc,easeOut:Lc,circIn:Bo,circInOut:Ho,circOut:Vo,backIn:Lo,backInOut:Ro,backOut:Io,anticipate:zo},Vc=e=>{if(La(e)){_r(e.length===4,`Cubic bezier arrays must contain four numerical values.`);let[t,n,r,i]=e;return No(t,n,r,i)}else if(typeof e==`string`)return _r(Bc[e]!==void 0,`Invalid easing type '${e}'`),Bc[e];return e};function Hc(e,t,n){let r=[],i=n||H,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=pc(Array.isArray(t)?t[n]||hr:t,a)),r.push(a)}return r}function Uc(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(_r(a===t.length,`Both input and output ranges must be the same length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Hc(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=yr(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Fi(e[0],e[a-1],t)):l}function Wc(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=yr(0,t,r);e.push(rc(n,1,i))}}function Gc(e){let t=[0];return Wc(t,e.length-1),t}function Kc(e,t){return e.map(e=>e*t)}function qc(e,t){return e.map(()=>t||Rc).splice(0,e.length-1)}
vendor: 26,936 bytes, line 18
18function Jc({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=zc(r)?r.map(Vc):Vc(r),a={done:!1,value:t[0]},o=Uc(Kc(n&&n.length===t.length?n:Gc(t),e),t,{ease:Array.isArray(i)?i:qc(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Yc=e=>{let t=({timestamp:t})=>e(t);return{start:()=>Dr.update(t,!0),stop:()=>Or(t),now:()=>kr.isProcessing?kr.timestamp:po.now()}},Xc={decay:Fc,inertia:Fc,tween:Jc,keyframes:Jc,spring:Pc},Zc=e=>e/100,Qc=class extends nc{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState=`running`,this.startTime=null,this.state=`idle`,this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state===`idle`)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,a=r?.KeyframeResolver||Bs,o=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new a(i,o,t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let{type:t=`keyframes`,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=this.options,o=Fa(t)?t:Xc[t]||Jc,s,c;o!==Jc&&typeof e[0]!=`number`&&(s=pc(Zc,H(e[0],e[1])),e=[0,100]);let l=o({...this.options,keyframes:e});i===`mirror`&&(c=o({...this.options,keyframes:[...e].reverse(),velocity:-a})),l.calculatedDuration===null&&(l.calculatedDuration=Pa(l));let{calculatedDuration:u}=l,d=u+r,f=d*(n+1)-r;return{generator:l,mirroredGenerator:c,mapPercentToKeyframes:s,calculatedDuration:u,resolvedDuration:d,totalDuration:f}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState===`paused`||!e?this.pause():this.state=this.pendingPlayState}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:a,mapPercentToKeyframes:o,keyframes:s,calculatedDuration:c,totalDuration:l,resolvedDuration:u}=n;if(this.startTime===null)return i.next(0);let{delay:d,repeat:f,repeatType:p,repeatDelay:m,onUpdate:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-l/this.speed,this.startTime)),t?this.currentTime=e:this.holdTime===null?this.currentTime=Math.round(e-this.startTime)*this.speed:this.currentTime=this.holdTime;let g=this.currentTime-d*(this.speed>=0?1:-1),_=this.speed>=0?g<0:g>l;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=l);let v=this.currentTime,y=i;if(f){let e=Math.min(this.currentTime,l)/u,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,f+1),t%2&&(p===`reverse`?(n=1-n,m&&(n-=m/u)):p===`mirror`&&(y=a)),v=Fi(0,1,n)*u}let b=_?{done:!1,value:s[0]}:y.next(v);o&&(b.value=o(b.value));let{done:x}=b;!_&&c!==null&&(x=this.speed>=0?this.currentTime>=l:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&r!==void 0&&(b.value=ec(s,this.options,r)),h&&h(b.value),S&&this.finish(),b}get duration(){let{resolved:e}=this;return e?xr(e.calculatedDuration):0}get time(){return xr(this.currentTime)}set time(e){e=br(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=xr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState=`running`;return}if(this.isStopped)return;let{driver:e=Yc,onPlay:t,startTime:n}=this.options;this.driver||=e(e=>this.tick(e)),t&&t();let r=this.driver.now();this.holdTime===null?this.startTime?this.state===`finished`&&(this.startTime=r):this.startTime=n??this.calcStartTime():this.startTime=r-this.holdTime,this.state===`finished`&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state=`running`,this.driver.start()}pause(){if(!this._resolved){this.pendingPlayState=`paused`;return}this.state=`paused`,this.holdTime=this.currentTime??0}complete(){this.state!==`running`&&this.play(),this.pendingPlayState=this.state=`finished`,this.holdTime=null}finish(){this.teardown(),this.state=`finished`;let{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state=`idle`,this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}},$c=new Set([`opacity`,`clipPath`,`filter`,`transform`]);function el(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeInOut`,times:c}={}){let l={[t]:n};c&&(l.offset=c);let u=Ga(s,i);return Array.isArray(u)&&(l.easing=u),e.animate(l,{delay:r,duration:i,easing:Array.isArray(u)?`linear`:u,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`})}var tl=vr(()=>Object.hasOwnProperty.call(Element.prototype,`animate`)),nl=10,rl=2e4;function il(e){return Fa(e.type)||e.type===`spring`||!Ha(e.ease)}function al(e,t){let n=new Qc({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],a=0;for(;!r.done&&a<rl;)r=n.sample(a),i.push(r.value),a+=nl;return{times:void 0,keyframes:i,duration:a-nl,ease:`linear`}}var ol={anticipate:zo,backInOut:Ro,circInOut:Ho};function sl(e){return e in ol}var cl=class extends nc{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new Ys(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:r,ease:i,type:a,motionValue:o,name:s,startTime:c}=this.options;if(!o.owner||!o.owner.current)return!1;if(typeof i==`string`&&Ba()&&sl(i)&&(i=ol[i]),il(this.options)){let{onComplete:t,onUpdate:o,motionValue:s,element:c,...l}=this.options,u=al(e,l);e=u.keyframes,e.length===1&&(e[1]=e[0]),n=u.duration,r=u.times,i=u.ease,a=`keyframes`}let l=el(o.owner.current,s,e,{...this.options,duration:n,times:r,ease:i});return l.startTime=c??this.calcStartTime(),this.pendingTimeline?(Ia(l,this.pendingTimeline),this.pendingTimeline=void 0):l.onfinish=()=>{let{onComplete:n}=this.options;o.set(ec(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:l,duration:n,times:r,type:a,ease:i,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return xr(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return xr(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=br(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return`idle`;let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{let{resolved:t}=this;if(!t)return hr;let{animation:n}=t;Ia(n,e)}return hr}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.playState===`finished`&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state===`idle`)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:a,times:o}=e;if(t.playState===`idle`||t.playState===`finished`)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:c,...l}=this.options,u=new Qc({...l,keyframes:n,duration:r,type:i,ease:a,times:o,isGenerator:!0}),d=br(this.time);e.setWithVelocity(u.sample(d-nl).value,u.sample(d).value,nl)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:c}=t.owner.getProps();return tl()&&n&&$c.has(n)&&!s&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}},ll={type:`spring`,stiffness:500,damping:25,restSpeed:10},ul=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),dl={type:`keyframes`,duration:.8},fl={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},pl=(e,{keyframes:t})=>t.length>2?dl:Oi.has(e)?e.startsWith(`scale`)?ul(t[1]):ll:fl;function ml({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:s,from:c,elapsed:l,...u}){return!!Object.keys(u).length}var hl=(e,t,n,r={},i,a)=>o=>{let s=Ma(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=br(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};ml(s)||(u={...u,...pl(e,u)}),u.duration&&=br(u.duration),u.repeatDelay&&=br(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(d=!0)),(Oo.current||Sr.skipAnimations)&&(d=!0,u.duration=0,u.delay=0),d&&!a&&t.get()!==void 0){let e=ec(u.keyframes,s);if(e!==void 0)return Dr.update(()=>{u.onUpdate(e),u.onComplete()}),new ja([])}return!a&&cl.supports(u)?new cl(u):new Qc(u)};function gl({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function _l(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:o,...s}=t;r&&(a=r);let c=[],l=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||l&&gl(l,t))continue;let o={delay:n,...Ma(a||{},t)},u=!1;if(window.MotionHandoffAnimation){let n=Do(e);if(n){let e=window.MotionHandoffAnimation(n,t,Dr);e!==null&&(o.startTime=e,u=!0)}}Eo(e,t),r.start(hl(t,r,i,e.shouldReduceMotion&&lo.has(t)?{type:!1}:o,e,u));let d=r.animation;d&&c.push(d)}return o&&Promise.all(c).then(()=>{Dr.update(()=>{o&&wo(e,o)})}),c}function vl(e,t,n={}){let r=Oa(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(_l(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return yl(e,t,a+r,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function yl(e,t,n=0,r=0,i=1,a){let o=[],s=(e.variantChildren.size-1)*r,c=i===1?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(bl).forEach((e,r)=>{e.notify(`AnimationStart`,t),o.push(vl(e,t,{...a,delay:n+c(r)}).then(()=>e.notify(`AnimationComplete`,t)))}),Promise.all(o)}function bl(e,t){return e.sortNodePosition(t)}function xl(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>vl(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=vl(e,t,n);else{let i=typeof t==`function`?Oa(e,t,n.custom):t;r=Promise.all(_l(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Sl=Jr.length;function Cl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Cl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Sl;n++){let r=Jr[n],i=e.props[r];(Gr(i)||i===!1)&&(t[r]=i)}return t}var wl=[...qr].reverse(),Tl=qr.length;function El(e){return t=>Promise.all(t.map(({animation:t,options:n})=>xl(e,t,n)))}function Dl(e){let t=El(e),n=Al(),r=!0,i=t=>(n,r)=>{let i=Oa(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function a(n){t=n(e)}function o(a){let{props:o}=e,s=Cl(e.parent)||{},c=[],l=new Set,u={},d=1/0;for(let t=0;t<Tl;t++){let f=wl[t],p=n[f],m=o[f]===void 0?s[f]:o[f],h=Gr(m),g=f===a?p.isActive:null;g===!1&&(d=t);let _=m===s[f]&&m!==o[f]&&h;if(_&&r&&e.manuallyAnimateOnMount&&(_=!1),p.protectedKeys={...u},!p.isActive&&g===null||!m&&!p.prevProp||Kr(m)||typeof m==`boolean`)continue;let v=Ol(p.prevProp,m),y=v||f===a&&p.isActive&&!_&&h||t>d&&h,b=!1,x=Array.isArray(m)?m:[m],S=x.reduce(i(f),{});g===!1&&(S={});let{prevResolvedValues:C={}}=p,w={...C,...S},T=t=>{y=!0,l.has(t)&&(b=!0,l.delete(t)),p.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in w){let t=S[e],n=C[e];if(u.hasOwnProperty(e))continue;let r=!1;r=yi(t)&&yi(n)?!Da(t,n):t!==n,r?t==null?l.add(e):T(e):t!==void 0&&l.has(e)?T(e):p.protectedKeys[e]=!0}p.prevProp=m,p.prevResolvedValues=S,p.isActive&&(u={...u,...S}),r&&e.blockInitialAnimation&&(y=!1),y&&(!(_&&v)||b)&&c.push(...x.map(e=>({animation:e,options:{type:f}})))}if(l.size){let t={};l.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let f=!!c.length;return r&&(o.initial===!1||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}function s(t,r){var i;if(n[t].isActive===r)return Promise.resolve();(i=e.variantChildren)==null||i.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let a=o(t);for(let e in n)n[e].protectedKeys={};return a}return{animateChanges:o,setActive:s,setAnimateFunction:a,getState:()=>n,reset:()=>{n=Al(),r=!0}}}function Ol(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Da(t,e):!1}function kl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Al(){return{animate:kl(!0),whileInView:kl(),whileHover:kl(),whileTap:kl(),whileDrag:kl(),whileFocus:kl(),exit:kl()}}var jl=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},Ml=class extends jl{constructor(e){super(e),e.animationState||=Dl(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Kr(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}},Nl=0,Pl={animation:{Feature:Ml},exit:{Feature:class extends jl{constructor(){super(...arguments),this.id=Nl++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}};function Fl(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Il(e){return{point:{x:e.pageX,y:e.pageY}}}var Ll=e=>t=>$a(t)&&e(t,Il(t));function Rl(e,t,n,r){return Fl(e,t,Ll(n),r)}var zl=(e,t)=>Math.abs(e-t);function Bl(e,t){let n=zl(e.x,t.x),r=zl(e.y,t.y);return Math.sqrt(n**2+r**2)}var Vl=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=Wl(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Bl(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=kr;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Hl(t,this.transformPagePoint),Dr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Wl(e.type===`pointercancel`?this.lastMoveEventInfo:Hl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!$a(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let a=Hl(Il(e),this.transformPagePoint),{point:o}=a,{timestamp:s}=kr;this.history=[{...o,timestamp:s}];let{onSessionStart:c}=t;c&&c(e,Wl(a,this.history)),this.removeListeners=pc(Rl(this.contextWindow,`pointermove`,this.handlePointerMove),Rl(this.contextWindow,`pointerup`,this.handlePointerUp),Rl(this.contextWindow,`pointercancel`,this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Or(this.updatePoint)}};function Hl(e,t){return t?{point:t(e.point)}:e}function Ul(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wl({point:e},t){return{point:e,delta:Ul(e,Kl(t)),offset:Ul(e,Gl(t)),velocity:ql(t,.1)}}function Gl(e){return e[0]}function Kl(e){return e[e.length-1]}function ql(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Kl(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>br(t)));)n--;if(!r)return{x:0,y:0};let a=xr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var Jl=.9999,Yl=1.0001,Xl=-.01,Zl=.01;function Ql(e){return e.max-e.min}function $l(e,t,n){return Math.abs(e-t)<=n}function eu(e,t,n,r=.5){e.origin=r,e.originPoint=rc(t.min,t.max,e.origin),e.scale=Ql(n)/Ql(t),e.translate=rc(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Jl&&e.scale<=Yl||isNaN(e.scale))&&(e.scale=1),(e.translate>=Xl&&e.translate<=Zl||isNaN(e.translate))&&(e.translate=0)}function tu(e,t,n,r){eu(e.x,t.x,n.x,r?r.originX:void 0),eu(e.y,t.y,n.y,r?r.originY:void 0)}function nu(e,t,n){e.min=n.min+t.min,e.max=e.min+Ql(t)}function ru(e,t,n){nu(e.x,t.x,n.x),nu(e.y,t.y,n.y)}function iu(e,t,n){e.min=t.min-n.min,e.max=e.min+Ql(t)}function au(e,t,n){iu(e.x,t.x,n.x),iu(e.y,t.y,n.y)}function ou(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?rc(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?rc(n,e,r.max):Math.min(e,n)),e}function su(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function cu(e,{top:t,left:n,bottom:r,right:i}){return{x:su(e.x,n,i),y:su(e.y,t,r)}}function lu(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function uu(e,t){return{x:lu(e.x,t.x),y:lu(e.y,t.y)}}function du(e,t){let n=.5,r=Ql(e),i=Ql(t);return i>r?n=yr(t.min,t.max-r,e.min):r>i&&(n=yr(e.min,e.max-i,t.min)),Fi(0,1,n)}function fu(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var pu=.35;function mu(e=pu){return e===!1?e=0:e===!0&&(e=pu),{x:hu(e,`left`,`right`),y:hu(e,`top`,`bottom`)}}function hu(e,t,n){return{min:gu(e,t),max:gu(e,n)}}function gu(e,t){return typeof e==`number`?e:e[t]||0}var _u=()=>({translate:0,scale:1,origin:0,originPoint:0}),vu=()=>({x:_u(),y:_u()}),yu=()=>({min:0,max:0}),bu=()=>({x:yu(),y:yu()});function xu(e){return[e(`x`),e(`y`)]}function Su({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Cu({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function wu(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Tu(e){return e===void 0||e===1}function Eu({scale:e,scaleX:t,scaleY:n}){return!Tu(e)||!Tu(t)||!Tu(n)}function Du(e){return Eu(e)||Ou(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ou(e){return ku(e.x)||ku(e.y)}function ku(e){return e&&e!==`0%`}function Au(e,t,n){return n+t*(e-n)}function ju(e,t,n,r,i){return i!==void 0&&(e=Au(e,i,r)),Au(e,n,r)+t}function Mu(e,t=0,n=1,r,i){e.min=ju(e.min,t,n,r,i),e.max=ju(e.max,t,n,r,i)}function Nu(e,{x:t,y:n}){Mu(e.x,t.translate,t.scale,t.originPoint),Mu(e.y,n.translate,n.scale,n.originPoint)}var Pu=.999999999999,Fu=1.0000000000001;function Iu(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&zu(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Nu(e,o)),r&&Du(a.latestValues)&&zu(e,a.latestValues))}t.x<Fu&&t.x>Pu&&(t.x=1),t.y<Fu&&t.y>Pu&&(t.y=1)}function Lu(e,t){e.min+=t,e.max+=t}function Ru(e,t,n,r,i=.5){Mu(e,t,n,rc(e.min,e.max,i),r)}function zu(e,t){Ru(e.x,t.x,t.scaleX,t.scale,t.originX),Ru(e.y,t.y,t.scaleY,t.scale,t.originY)}function Bu(e,t){return Su(wu(e.getBoundingClientRect(),t))}function Vu(e,t,n){let r=Bu(e,n),{scroll:i}=t;return i&&(Lu(r.x,i.offset.x),Lu(r.y,i.offset.y)),r}var Hu=({current:e})=>e?e.ownerDocument.defaultView:null,Uu=new WeakMap,Wu=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=bu(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let r=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Il(e).point)},i=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=co(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xu(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Vi.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Ql(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&Dr.postRender(()=>i(e,t)),Eo(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},a=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Ku(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&a(e,t)},o=(e,t)=>this.stop(e,t),s=()=>xu(e=>this.getAnimationState(e)===`paused`&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Vl(e,{onSessionStart:r,onStart:i,onMove:a,onSessionEnd:o,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Hu(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&Dr.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Gu(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=ou(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&ti(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=cu(n.layoutBox,e):this.constraints=!1,this.elastic=mu(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&xu(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=fu(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ti(e))return!1;let n=e.current;_r(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=Vu(n,r.root,this.visualElement.getTransformPagePoint()),a=uu(r.layout.layoutBox,i);if(t){let e=t(Cu(a));this.hasMutatedConstraints=!!e,e&&(a=Su(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=xu(o=>{if(!Gu(o,t,this.currentDirection))return;let c=s&&s[o]||{};a&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Eo(this.visualElement,e),n.start(hl(e,n,0,t,this.visualElement,!1))}stopAnimation(){xu(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){xu(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){xu(t=>{let{drag:n}=this.getProps();if(!Gu(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t];i.set(e[t]-rc(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!ti(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};xu(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=du({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),xu(t=>{if(!Gu(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(rc(i,a,r[t]))})}addListeners(){if(!this.visualElement.current)return;Uu.set(this.visualElement,this);let e=this.visualElement.current,t=Rl(e,`pointerdown`,e=>{let{drag:t,dragListener:n=!0}
18=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();ti(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener(`measure`,n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Dr.read(n);let a=Fl(window,`resize`,()=>this.scalePositionWithinConstraints()),o=r.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(xu(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{a(),t(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=pu,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Gu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ku(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var qu=class extends jl{constructor(e){super(e),this.removeGroupControls=hr,this.removeListeners=hr,this.controls=new Wu(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||hr}unmount(){this.removeGroupControls(),this.removeListeners()}},Ju=e=>(t,n)=>{e&&Dr.postRender(()=>e(t,n))},Yu=class extends jl{constructor(){super(...arguments),this.removePointerDownListener=hr}onPointerDown(e){this.session=new Vl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Hu(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ju(e),onStart:Ju(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Dr.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Rl(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Xu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Zu(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Qu={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(V.test(e))e=parseFloat(e);else return e;return`${Zu(e,t.target.x)}% ${Zu(e,t.target.y)}%`}},$u={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=_s.parse(e);if(i.length>5)return r;let a=_s.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=rc(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},ed=class extends C.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;fa(nd),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Xu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,a=n.projection;return a?(a.isPresent=i,r||e.layoutDependency!==t||t===void 0?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||Dr.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ai.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function td(e){let[t,n]=lr(),r=(0,C.useContext)(tr);return(0,B.jsx)(ed,{...e,layoutGroup:r,switchLayoutGroup:(0,C.useContext)(si),isPresent:t,safeToRemove:n})}var nd={borderRadius:{...Qu,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Qu,borderTopRightRadius:Qu,borderBottomLeftRadius:Qu,borderBottomRightRadius:Qu,boxShadow:$u};function rd(e,t,n){let r=Si(e)?e:So(e);return r.start(hl(``,r,t,n)),r.animation}function id(e){return e instanceof SVGElement&&e.tagName!==`svg`}var ad=(e,t)=>e.depth-t.depth,od=class{constructor(){this.children=[],this.isDirty=!1}add(e){mo(this.children,e),this.isDirty=!0}remove(e){ho(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ad),this.isDirty=!1,this.children.forEac
vendor: 19,476 bytes, line 18
18h(e)}};function sd(e,t){let n=po.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Or(r),e(a-t))};return Dr.read(r,!0),()=>Or(r)}var cd=[`TopLeft`,`TopRight`,`BottomLeft`,`BottomRight`],ld=cd.length,ud=e=>typeof e==`string`?parseFloat(e):e,dd=e=>typeof e==`number`||V.test(e);function fd(e,t,n,r,i,a){i?(e.opacity=rc(0,n.opacity===void 0?1:n.opacity,md(r)),e.opacityExit=rc(t.opacity===void 0?1:t.opacity,0,hd(r))):a&&(e.opacity=rc(t.opacity===void 0?1:t.opacity,n.opacity===void 0?1:n.opacity,r));for(let i=0;i<ld;i++){let a=`border${cd[i]}Radius`,o=pd(t,a),s=pd(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||dd(o)===dd(s)?(e[a]=Math.max(rc(ud(o),ud(s),r),0),(Vi.test(s)||Vi.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=rc(t.rotate||0,n.rotate||0,r))}function pd(e,t){return e[t]===void 0?e.borderRadius:e[t]}var md=gd(0,.5,Vo),hd=gd(.5,.95,hr);function gd(e,t,n){return r=>r<e?0:r>t?1:n(yr(e,t,r))}function _d(e,t){e.min=t.min,e.max=t.max}function vd(e,t){_d(e.x,t.x),_d(e.y,t.y)}function yd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function bd(e,t,n,r,i){return e-=t,e=Au(e,1/n,r),i!==void 0&&(e=Au(e,1/i,r)),e}function xd(e,t=0,n=1,r=.5,i,a=e,o=e){if(Vi.test(t)&&(t=parseFloat(t),t=rc(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=rc(a.min,a.max,r);e===a&&(s-=t),e.min=bd(e.min,t,n,s,i),e.max=bd(e.max,t,n,s,i)}function Sd(e,t,[n,r,i],a,o){xd(e,t[n],t[r],t[i],t.scale,a,o)}var Cd=[`x`,`scaleX`,`originX`],wd=[`y`,`scaleY`,`originY`];function Td(e,t,n,r){Sd(e.x,t,Cd,n?n.x:void 0,r?r.x:void 0),Sd(e.y,t,wd,n?n.y:void 0,r?r.y:void 0)}function Ed(e){return e.translate===0&&e.scale===1}function Dd(e){return Ed(e.x)&&Ed(e.y)}function Od(e,t){return e.min===t.min&&e.max===t.max}function kd(e,t){return Od(e.x,t.x)&&Od(e.y,t.y)}function Ad(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function jd(e,t){return Ad(e.x,t.x)&&Ad(e.y,t.y)}function Md(e){return Ql(e.x)/Ql(e.y)}function Nd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Pd=class{constructor(){this.members=[]}add(e){mo(this.members,e),e.scheduleRender()}remove(e){if(ho(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t=this.members.findIndex(t=>e===t);if(t===0)return!1;let n;for(let e=t;e>=0;e--){let t=this.members[e];if(t.isPresent!==!1){n=t;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Fd(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Id={type:`projectionFrame`,totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ld=typeof window<`u`&&window.MotionDebug!==void 0,Rd=[``,`X`,`Y`,`Z`],zd={visibility:`hidden`},Bd=1e3,Vd=0;function Hd(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ud(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Do(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,Dr,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ud(r)}function Wd({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Vd++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ld&&(Id.totalNodes=Id.resolvedTargetDeltas=Id.recalculatedProjection=0),this.nodes.forEach(qd),this.nodes.forEach(ef),this.nodes.forEach(tf),this.nodes.forEach(Jd),Ld&&window.MotionDebug.record(Id)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new od)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new go),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=id(t),this.instance=t;let{layoutId:r,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n,r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=sd(r,250),Xu.hasAnimatedSinceResize&&(Xu.hasAnimatedSinceResize=!1,this.nodes.forEach($d))})}r&&this.root.registerSharedNode(r,this),this.options.animate!==!1&&a&&(r||i)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||a.getDefaultTransition()||lf,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),c=!this.targetLayout||!jd(this.targetLayout,r)||n,l=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,l);let t={...Ma(i,`layout`),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||$d(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Or(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(nf),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ud(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Xd);return}this.isUpdating||this.nodes.forEach(Zd),this.isUpdating=!1,this.nodes.forEach(Qd),this.nodes.forEach(Gd),this.nodes.forEach(Kd),this.clearAllSnapshots();let e=po.now();kr.delta=Fi(0,1e3/60,e-kr.timestamp),kr.timestamp=e,kr.isProcessing=!0,Ar.update.process(kr),Ar.preRender.process(kr),Ar.render.process(kr),kr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ai.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Yd),this.sharedNodes.forEach(rf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Dr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Dr.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=bu(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Dd(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&(t||Du(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),pf(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return bu();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(hf))){let{scroll:e}=this.root;e&&(Lu(t.x,e.offset.x),Lu(t.y,e.offset.y))}return t}removeElementScroll(e){let t=bu();if(vd(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&vd(t,e),Lu(t.x,i.offset.x),Lu(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=bu();vd(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&zu(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Du(r.latestValues)&&zu(n,r.latestValues)}return Du(this.latestValues)&&zu(n,this.latestValues),n}removeTransform(e){let t=bu();vd(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!Du(n.latestValues))continue;Eu(n.latestValues)&&n.updateSnapshot();let r=bu();vd(r,n.measurePageBox()),Td(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Du(this.latestValues)&&Td(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==kr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!(!this.layout||!(r||i))){if(this.resolvedRelativeTargetAt=kr.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&this.animationProgress!==1?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=bu(),this.relativeTargetOrigin=bu(),au(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),vd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=bu(),this.targetWithTransforms=bu()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ru(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):vd(this.target,this.layout.layoutBox),Nu(this.target,this.targetDelta)):vd(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&this.animationProgress!==1?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=bu(),this.relativeTargetOrigin=bu(),au(this.relativeTargetOrigin,this.target,e.target),vd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ld&&Id.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Eu(this.parent.latestValues)||Ou(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===kr.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;vd(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Iu(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=bu());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yd(this.prevProjectionDelta.x,this.projectionDelta.x),yd(this.prevProjectionDelta.y,this.projectionDelta.y)),tu(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Nd(this.projectionDelta.x,this.prevProjectionDelta.x)||!Nd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Ld&&Id.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if((t=this.options.visualElement)==null||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vu(),this.projectionDelta=vu(),this.projectionDeltaWithTransform=vu()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=vu();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=bu(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(cf));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;af(a.x,e.x,n),af(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(au(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),sf(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&kd(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=bu(),vd(d,this.relativeTarget)),s&&(this.animationValues=i,fd(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&=(Or(this.pendingAnimation),void 0),this.pendingAnimation=Dr.update(()=>{Xu.hasAnimatedSinceResize=!0,this.currentAnimation=rd(0,Bd,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Bd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&mf(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||bu();let t=Ql(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Ql(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}
18vd(t,n),zu(t,i),tu(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pd),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Hd(`z`,e,r,this.animationValues);for(let t=0;t<Rd.length;t++)Hd(`rotate${Rd[t]}`,e,r,this.animationValues),Hd(`skew${Rd[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return zd;let t={visibility:``},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.opacity=``,t.pointerEvents=Ci(e?.pointerEvents)||``,t.transform=n?n(this.latestValues,``):`none`,t;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let t={};return this.options.layoutId&&(t.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,t.pointerEvents=Ci(e?.pointerEvents)||``),this.hasProjected&&!Du(this.latestValues)&&(t.transform=n?n({},``):`none`,this.hasProjected=!1),t}let i=r.animationValues||r.latestValues;this.applyTransformsToTarget(),t.transform=Fd(this.projectionDeltaWithTransform,this.treeScale,i),n&&(t.transform=n(i,t.transform));let{x:a,y:o}=this.projectionDelta;t.transformOrigin=`${a.origin*100}% ${o.origin*100}% 0`,r.animationValues?t.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:t.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let e in da){if(i[e]===void 0)continue;let{correct:n,applyTo:a}=da[e],o=t.transform===`none`?i[e]:n(i[e],r);if(a){let e=a.length;for(let n=0;n<e;n++)t[a[n]]=o}else t[e]=o}return this.options.layoutId&&(t.pointerEvents=r===this?Ci(e?.pointerEvents)||``:`none`),t}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Xd),this.root.sharedNodes.clear()}}}function Gd(e){e.updateLayout()}function Kd(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;i===`size`?xu(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Ql(r);r.min=n[e].min,r.max=r.min+i}):mf(i,t.layoutBox,n)&&xu(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Ql(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=vu();tu(o,n,t.layoutBox);let s=vu();a?tu(s,e.applyTransform(r,!0),t.measuredBox):tu(s,n,t.layoutBox);let c=!Dd(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=bu();au(o,t.layoutBox,i.layoutBox);let s=bu();au(s,n,a.layoutBox),jd(o,s)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeTargetChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function qd(e){Ld&&Id.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Jd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Yd(e){e.clearSnapshot()}function Xd(e){e.clearMeasurements()}function Zd(e){e.isLayoutDirty=!1}function Qd(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function $d(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ef(e){e.resolveTargetDelta()}function tf(e){e.calcProjection()}
18function nf(e){e.resetSkewAndRotation()}function rf(e){e.removeLeadSnapshot()}function af(e,t,n){e.translate=rc(t.translate,0,n),e.scale=rc(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function of(e,t,n,r){e.min=rc(t.min,n.min,r),e.max=rc(t.max,n.max,r)}function sf(e,t,n,r){of(e.x,t.x,n.x,r),of(e.y,t.y,n.y,r)}function cf(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var lf={duration:.45,ease:[.4,0,.1,1]},uf=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),df=uf(`applewebkit/`)&&!uf(`chrome/`)?Math.round:hr;function ff(e){e.min=df(e.min),e.max=df(e.max)}function pf(e){ff(e.x),ff(e.y)}function mf(e,t,n){return e===`position`||e===`preserve-aspect`&&!$l(Md(t),Md(n),.2)}function hf(e){return e!==e.root&&e.scroll?.wasRoot}var gf=Wd({attachResizeListener:(e,t)=>Fl(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),_f={current:void 0},vf=Wd({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_f.current){let e=new gf({});e.mount(window),e.setOptions({layoutScroll:!0}),_f.current=e}return _f.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),yf={pan:{Feature:Yu},drag:{Feature:qu,ProjectionNode:vf,MeasureLayout:td}};function bf(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&Dr.postRender(()=>i(t,Il(t)))}var xf=class extends jl{mount(){let{current:e}=this.node;e&&(this.unmount=Za(e,e=>(bf(this.node,e,`Start`),e=>bf(this.node,e,`End`))))}unmount(){}},Sf=class extends jl{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=pc(Fl(this.node.current,`focus`,()=>this.onFocus()),Fl(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function Cf(e,t,n){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&Dr.postRender(()=>i(t,Il(t)))}var wf=class extends jl{mount(){let{current:e}=this.node;e&&(this.unmount=so(e,e=>(Cf(this.node,e,`Start`),(e,{success:t})=>Cf(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}},Tf=new WeakMap,Ef=new WeakMap,Df=e=>{let t=Tf.get(e.target);t&&t(e)},Of=e=>{e.forEach(Df)};function kf({root:e,...t}){let n=e||document;Ef.has(n)||Ef.set(n,{});let r=Ef.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Of,{root:e,...t})),r[i]}function Af(e,t,n){let r=kf(t);return Tf.set(e,n),r.observe(e),()=>{Tf.delete(e),r.unobserve(e)}}var jf={some:0,all:1},Mf=class extends jl{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:jf[r]};return Af(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Nf(e,t))&&this.startObserver()}unmount(){}};function Nf({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Pf={inView:{Feature:Mf},tap:{Feature:wf},focus:{Feature:Sf},hover:{Feature:xf}},Ff={layout:{ProjectionNode:vf,MeasureLayout:td}},If={current:null},Lf={current:!1};function Rf(){if(Lf.current=!0,fr)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>If.current=e.matches;e.addListener(t),t()}else If.current=!1}var zf=[...qs,rs,_s],Bf=e=>zf.find(Ks(e)),Vf=new WeakMap;function Hf(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Si(i))e.addValue(r,i);else if(Si(a))e.addValue(r,So(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,So(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Uf=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Wf=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Bs,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=po.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Dr.render(this.render,!1,!0))};let{latestValues:s,renderState:c,onUpdate:l}=a;this.onUpdate=l,this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=Yr(t),this.isVariantNode=Xr(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];s[e]!==void 0&&Si(t)&&t.set(s[e],!1)}}mount(e){this.current=e,Vf.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 5,610 bytes, line 18
18h((e,t)=>this.bindToMotionValue(t,e)),Lf.current||Rf(),this.shouldReduceMotion=this.reducedMotionConfig===`never`?!1:this.reducedMotionConfig===`always`?!0:If.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Vf.delete(this.current),this.projection&&this.projection.unmount(),Or(this.notifyUpdate),Or(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=Oi.has(e),r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Dr.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on(`renderRequest`,this.scheduleRender),a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i(),a&&a(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Nr){let t=Nr[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):bu()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Uf.length;t++){let n=Uf[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Hf(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=So(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Vs(n)||Uo(n))?n=parseFloat(n):!Bf(n)&&_s.test(t)&&(n=ws(e,t)),this.setBaseTarget(e,Si(n)?n.get():n)),Si(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=vi(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Si(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new go),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}},Gf=class extends Wf{constructor(){super(...arguments),this.KeyframeResolver=Ys}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Si(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}};function Kf(e){return window.getComputedStyle(e)}var qf=class extends Gf{constructor(){super(...arguments),this.type=`html`,this.renderInstance=ca}readValueFromInstance(e,t){if(Oi.has(t)){let e=Cs(t);return e&&e.default||0}else{let n=Kf(e),r=(Ai(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Bu(e,t)}build(e,t,n){Qi(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return ma(e,t,n)}},Jf=class extends Gf{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=bu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Oi.has(t)){let e=Cs(t);return e&&e.default||0}return t=la.has(t)?t:ri(t),e.getAttribute(t)}
18scrapeMotionValuesFromProps(e,t,n){return ha(e,t,n)}build(e,t,n){ia(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){ua(e,t,n,r)}mount(e){this.isSVGTag=sa(e.tagName),super.mount(e)}},Yf=(e,t)=>gi(e)?new Jf(t):new qf(t,{allowProjection:e!==C.Fragment}),U=Ur(Ea({...Pl,...Pf,...yf,...Ff},Yf));function Xf(e,t){let n,r=()=>{let{currentTime:r}=t,i=(r===null?0:r.value)/100;n!==i&&e(i),n=i};return Dr.update(r,!0),()=>Or(r)}var Zf=new WeakMap,Qf;function $f(e,t){if(t){let{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}else if(e instanceof SVGElement&&`getBBox`in e)return e.getBBox();else return{width:e.offsetWidth,height:e.offsetHeight}}function ep({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Zf.get(e))==null||r.forEach(r=>{r({target:e,contentSize:t,get size(){return $f(e,n)}})})}function tp(e){e.forEach(ep)}function np(){typeof ResizeObserver>`u`||(Qf=new ResizeObserver(tp))}function rp(e,t){Qf||np();let n=Ja(e);return n.forEach(e=>{let n=Zf.get(e);n||(n=new Set,Zf.set(e,n)),n.add(t),Qf?.observe(e)}),()=>{n.forEach(e=>{let n=Zf.get(e);n?.delete(t),n?.size||Qf?.unobserve(e)})}}var ip=new Set,ap;function op(){ap=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ip.forEach(e=>e(t))},window.addEventListener(`resize`,ap)}function sp(e){return ip.add(e),ap||op(),()=>{ip.delete(e),!ip.size&&ap&&(ap=void 0)}}function cp(e,t){return typeof e==`function`?sp(e):rp(e,t)}var lp=50,up=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),dp=()=>({time:0,x:up(),y:up()}),fp={x:{length:`Width`,position:`Left`},y:{length:`Height`,position:`Top`}};function pp(e,t,n,r){let i=n[t],{length:a,position:o}=fp[t],s=i.current,c=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=yr(0,i.scrollLength,i.current);let l=r-c;i.velocity=l>lp?0:_o(i.current-s,l)}function mp(e,t,n){pp(e,`x`,t,n),pp(e,`y`,t,n),t.time=n}function hp(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName===`svg`){let e=r.getBoundingClientRect();r=r.parentElement;let t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,a=r.parentNode;for(;!i;)a.tagName===`svg`&&(i=a),a=r.parentNode;r=i}else break;return n}var gp={start:0,center:.5,end:1};function _p(e,t,n=0){let r=0;if(e in gp&&(e=gp[e]),typeof e==`string`){let t=parseFloat(e);e.endsWith(`px`)?r=t:e.endsWith(`%`)?e=t/100:e.endsWith(`vw`)?r=t/100*document.documentElement.clientWidth:e.endsWith(`vh`)?r=t/100*document.documentElement.clientHeight:e=t}return typeof e==`number`&&(r=t*e),n+r}var vp=[0,0];function yp(e,t,n,r){let i=Array.isArray(e)?e:vp,a=0,o=0;return typeof e==`number`?i=[e,e]:typeof e==`string`&&(e=e.trim(),i=e.includes(` `)?e.split(` `):[e,gp[e]?e:`0`]),a=_p(i[0],n,r),o=_p(i[1],t),a-o}var bp={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},xp={x:0,y:0};function Sp(e){return`getBBox`in e&&e.tagName!==`svg`?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function Cp(e,t,n){let{offset:r=bp.All}=n,{target:i=e,axis:a=`y`}=n,o=a===`y`?`height`:`width`,s=i===e?xp:hp(i,e),c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:Sp(i),l={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate,d=r.length;for(let e=0;e<d;e++){let n=yp(r[e],l[o],c[o],s[a]);!u&&n!==t[a].interpolatorOffsets[e]&&(u=!0),t[a].offset[e]=n}u&&(t[a].interpolate=Uc(t[a].offset,Gc(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=Fi(0,1,t[a].interpolate(t[a].current))}function wp(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.c
18ontainerLength=e.clientHeight}function Tp(e,t,n,r={}){return{measure:()=>wp(e,r.target,n),update:t=>{mp(e,n,t),(r.offset||r.target)&&Cp(e,n,r)},notify:()=>t(n)}}var Ep=new WeakMap,Dp=new WeakMap,Op=new WeakMap,kp=e=>e===document.documentElement?window:e;function Ap(e,{container:t=document.documentElement,...n}={}){let r=Op.get(t);r||(r=new Set,Op.set(t,r));let i=Tp(t,e,dp(),n);if(r.add(i),!Ep.has(t)){let e=()=>{for(let e of r)e.measure()},n=()=>{for(let e of r)e.update(kr.timestamp)},i=()=>{for(let e of r)e.notify()},a=()=>{Dr.read(e,!1,!0),Dr.read(n,!1,!0),Dr.update(i,!1,!0)};Ep.set(t,a);let o=kp(t);window.addEventListener(`resize`,a,{passive:!0}),t!==document.documentElement&&Dp.set(t,cp(t,a)),o.addEventListener(`scroll`,a,{passive:!0})}let a=Ep.get(t);return Dr.read(a,!1,!0),()=>{var e;Or(a);let n=Op.get(t);if(!n||(n.delete(i),n.size))return;let r=Ep.get(t);Ep.delete(t),r&&(kp(t).removeEventListener(`scroll`,r),(e=Dp.get(t))==null||e(),window.removeEventListener(`resize`,r))}}function jp({source:e,container:t,axis:n=`y`}){e&&(t=e);let r={value:0};return{currentTime:r,cancel:Ap(e=>{r.value=e[n].progress*100},{container:t,axis:n})}}var Mp=new Map;function Np({source:e,container:t=document.documentElement,axis:n=`y`}={}){e&&(t=e),Mp.has(t)||Mp.set(t,{});let r=Mp.get(t);return r[n]||(r[n]=ka()?new ScrollTimeline({source:t,axis:n}):jp({source:t,axis:n})),r[n]}function Pp(e){return e.length===2}function Fp(e){return e&&(e.target||e.offset)}function Ip(e,t){return Pp(e)||Fp(t)?Ap(n=>{e(n[t.axis].progress,n)},t):Xf(e,Np(t))}function Lp(e,t){if(e.flatten(),Fp(t))return e.pause(),Ap(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=Np(t);return e.attachTimeline?e.attachTimeline(n,e=>(e.pause(),Xf(t=>{e.time=e.duration*t},n))):hr}}function Rp(e,{axis:t=`y`,...n}={}){let r={axis:t,...n};return typeof e==`function`?Ip(e,r):Lp(e,r)}function zp(e,t){gr(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}var Bp=()=>({scrollX:So(0),scrollY:So(0),scrollXProgress:So(0),scrollYProgress:So(0)});function Vp({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=nr(Bp);return(n?pr:C.useEffect)(()=>(zp(`target`,t),zp(`container`,e),Rp((e,{x:t,y:n})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0})),[e,t,JSON.stringify(r.offset)]),i}function Hp(e){let t=nr(()=>So(e)),{isStatic:n}=(0,C.useContext)(ir);if(n){let[,n]=(0,C.useState)(e);(0,C.useEffect)(()=>t.on(`change`,n),[])}return t}function Up(e,t){let n=Hp(t()),r=()=>n.set(t());return r(),pr(()=>{let t=()=>Dr.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),Or(r)}}),n}var Wp=e=>e&&typeof e==`object`&&e.mix,Gp=e=>Wp(e)?e.mix:void 0;function Kp(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=Uc(i,a,{mixer:Gp(a[0]),...o});return t?s(r):s}function qp(e){bo.current=[],e();let t=Up(bo.current,e);return bo.current=void 0,t}function Jp(e,t,n,r){if(typeof e==`function`)return qp(e);let i=typeof t==`function`?t:Kp(t,n,r);return Array.isArray(e)?Yp(e,i):Yp([e],([e])=>i(e))}function Yp(e,t){let n=nr(()=>[]);return Up(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}var Xp={some:0,all:1};function Zp(e,t,{root:n,margin:r,amount:i=`some`}={}){let a=Ja(e),o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))})},{root:n,rootMargin:r,threshold:typeof i==`number`?i:Xp[i]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}function Qp(e,{root:t,margin:n,amount:r,once:i=!1}={}){let[a,o]=(0,C.useState)(!1);return(0,C.useEffect)(()=>{if(!e.current||i&&a)return;let s=()=>(o(!0),i?void 0:()=>o(!1)),c={root:t&&t.current||void 0,margin:n,amount:r};return Zp(e.current,s,c)},[t,e,n,i,r]),a}
18var $p={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},em=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase().trim(),W=(e,t)=>{let n=(0,C.forwardRef)(({color:n=`currentColor`,size:r=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:o=``,children:s,...c},l)=>(0,C.createElement)(`svg`,{ref:l,...$p,width:r,height:r,stroke:n,strokeWidth:a?Number(i)*24/Number(r):i,className:[`lucide`,`lucide-${em(e)}`,o].join(` `),...c},[...t.map(([e,t])=>(0,C.createElement)(e,t)),...Array.isArray(s)?s:[s]]));return n.displayName=`${e}`,n},tm=W(`AlertCircle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),nm=W(`AlertTriangle`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z`,key:`c3ski4`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),rm=W(`ArrowDownToLine`,[[`path`,{d:`M12 17V3`,key:`1cwfxf`}],[`path`,{d:`m6 11 6 6 6-6`,key:`12ii2o`}],[`path`,{d:`M19 21H5`,key:`150jfl`}]]),im=W(`ArrowDown`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),am=W(`ArrowLeft`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),om=W(`ArrowRight`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),sm=W(`ArrowUpFromLine`,[[`path`,{d:`m18 9-6-6-6 6`,key:`kcunyi`}],[`path`,{d:`M12 3v14`,key:`7cf3v8`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]),cm=W(`BadgeCheck`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),lm=W(`BarChart3`,[[`path`,{d:`M3 3v18h18`,key:`1s2lah`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),um=W(`BellRing`,[[`path`,{d:`M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9`,key:`1qo2s2`}],[`path`,{d:`M10.3 21a1.94 1.94 0 0 0 3.4 0`,key:`qgo35s`}],[`path`,{d:`M4 2C2.8 3.7 2 5.7 2 8`,key:`tap9e0`}],[`path`,{d:`M22 8c0-2.3-.8-4.3-2-6`,key:`5bb3ad`}]]),dm=W(`Bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),fm=W(`Box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),pm=W(`Boxes`,[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]),mm=W(`Briefcase`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`7`,rx:`2`,ry:`2`,key:`eto64e`}],[`path`,{d:`M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16`,key:`zwj3tp`}]]),hm=W(`Building2`,[[`path`,{d:`M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z`,key:`1b4qmf`}],[`path`,{d:`M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2`,key:`i71pzd`}],[`path`,{d:`M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2`,key:`10jefs`}],[`path`,{d:`M10 6h4`,key:`1itunk`}],[`path`,{d:`M10 10h4`,key:`tcdvrf`}],[`path`,{d:`M10 14h4`,key:`kelpxr`}],[`path`,{d:`M10 18h4`,key:`1ulq68`}]]),gm=W(`Calculator`,[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`line`,{x1:`8`,x2:`16`,y1:`6`,y2:`6`,key:`x4nwl0`}],[`line`,{x1:`16`,x2:`16`,y1:`14`,y2:`18`,key:`wjye3r`}],[`path`,{d:`M16 10h.01`,key:`1m94wz`}],[`path`,{d:`M12 10h.01`,key:`1nrarc`}],[`path`,{d:`M8 10h.01`,key:`19clt8`}],[`path`,{d:`M12 14h.01`,key:`1etili`}],[`path`,{d:`M8 14h.01`,key:`6423bh`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M8 18h.01`,key:`lrp35t`}]]),_m=W(`CalendarRange`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,ry:`2`,key:`eu3xkr`}],[`line`,{x1:`16`,x2:`16`,y1:`2`,y2:`6`,key:`m3sa8f`}],[`line`,{x1:`8`,x2:`8`,y1:`2`,y2:`6`,key:`18kwsl`}],[`line`,{x1:`3`,x2:`21`,y1:`10`,y2:`10`,key:`xt86sb`}
18],[`path`,{d:`M17 14h-6`,key:`bkmgh3`}],[`path`,{d:`M13 18H7`,key:`bb0bb7`}],[`path`,{d:`M7 14h.01`,key:`1qa3f1`}],[`path`,{d:`M17 18h.01`,key:`1bdyru`}]]),vm=W(`Calendar`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,ry:`2`,key:`eu3xkr`}],[`line`,{x1:`16`,x2:`16`,y1:`2`,y2:`6`,key:`m3sa8f`}],[`line`,{x1:`8`,x2:`8`,y1:`2`,y2:`6`,key:`18kwsl`}],[`line`,{x1:`3`,x2:`21`,y1:`10`,y2:`10`,key:`xt86sb`}]]),ym=W(`CheckCircle2`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),bm=W(`ChefHat`,[[`path`,{d:`M6 13.87A4 4 0 0 1 7.41 6a5.11 5.11 0 0 1 1.05-1.54 5 5 0 0 1 7.08 0A5.11 5.11 0 0 1 16.59 6 4 4 0 0 1 18 13.87V21H6Z`,key:`z3ra2g`}],[`line`,{x1:`6`,x2:`18`,y1:`17`,y2:`17`,key:`12q60k`}]]),xm=W(`ChevronDown`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Sm=W(`ChevronRight`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Cm=W(`ChevronUp`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),wm=W(`ClipboardCheck`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`m9 14 2 2 4-4`,key:`df797q`}]]),Tm=W(`Clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`polyline`,{points:`12 6 12 12 16 14`,key:`68esgv`}]]),Em=W(`DollarSign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),Dm=W(`ExternalLink`,[[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}],[`polyline`,{points:`15 3 21 3 21 9`,key:`mznyad`}],[`line`,{x1:`10`,x2:`21`,y1:`14`,y2:`3`,key:`18c3s4`}]]),Om=W(`EyeOff`,[[`path`,{d:`M9.88 9.88a3 3 0 1 0 4.24 4.24`,key:`1jxqfv`}],[`path`,{d:`M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68`,key:`9wicm4`}],[`path`,{d:`M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61`,key:`1jreej`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),km=W(`Eye`,[[`path`,{d:`M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z`,key:`rwhkz3`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),Am=W(`Factory`,[[`path`,{d:`M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z`,key:`159hny`}],[`path`,{d:`M17 18h1`,key:`uldtlt`}],[`path`,{d:`M12 18h1`,key:`s9uhes`}],[`path`,{d:`M7 18h1`,key:`1neino`}]]),jm=W(`FileCheck2`,[[`path`,{d:`M4 22h14a2 2 0 0 0 2-2V7.5L14.5 2H6a2 2 0 0 0-2 2v4`,key:`702lig`}],[`polyline`,{points:`14 2 14 8 20 8`,key:`1ew0cm`}],[`path`,{d:`m3 15 2 2 4-4`,key:`1lhrkk`}]]),Mm=W(`FileSpreadsheet`,[[`path`,{d:`M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z`,key:`1nnpy2`}],[`polyline`,{points:`14 2 14 8 20 8`,key:`1ew0cm`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]),Nm=W(`FileText`,[[`path`,{d:`M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z`,key:`1nnpy2`}],[`polyline`,{points:`14 2 14 8 20 8`,key:`1ew0cm`}],[`line`,{x1:`16`,x2:`8`,y1:`13`,y2:`13`,key:`14keom`}],[`line`,{x1:`16`,x2:`8`,y1:`17`,y2:`17`,key:`17nazh`}],[`line`,{x1:`10`,x2:`8`,y1:`9`,y2:`9`,key:`1a5vjj`}]]),Pm=W(`FlaskConical`,[[`path`,{d:`M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2`,key:`pzvekw`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M7 16h10`,key:`wp8him`}]]),Fm=W(`HeartHandshake`,[[`path`,{d:`M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z`,key:`c3ymky`}],[`path`,{d:`M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08v0c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66`,key:`12sd6o`}],[`path`,{d:`m18 15-2-2`,key:`60u0ii`}],[`path`,{d:`m15 18-2-2`,key:`6p76be`}]]),Im=W(`Inbox`,[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]),Lm=W(`LineChart`,[[`path`,{d:`M3 3v18h18`,key:`1s2lah`}],[`path`,{d:`m19 9-5 5-4-4-3 3`,key:`2osh9i`}]]),Rm=W(`Linkedin`,[[`path`,{d:`M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z`,key:`c2jq9f`}],[`rect`,{width:`4`,height:`12`,x:`2`,y:`9`,key:`mk3on5`}],[`circle`,{cx:`4`,cy:`4`,r:`2`,key:`bt5ra8`}]]),zm=W(`Loader2`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Bm=W(`Lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}
18]]),Vm=W(`Mail`,[[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}]]),Hm=W(`MapPin`,[[`path`,{d:`M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z`,key:`2oe9fu`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),Um=W(`Menu`,[[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}],[`line`,{x1:`4`,x2:`20`,y1:`6`,y2:`6`,key:`1owob3`}],[`line`,{x1:`4`,x2:`20`,y1:`18`,y2:`18`,key:`yk5zj1`}]]),Wm=W(`MessageCircle`,[[`path`,{d:`M7.9 20A9 9 0 1 0 4 16.1L2 22Z`,key:`vv11sd`}]]),Gm=W(`MessageSquare`,[[`path`,{d:`M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z`,key:`1lielz`}]]),Km=W(`Mic`,[[`path`,{d:`M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z`,key:`131961`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}]]),qm=W(`Newspaper`,[[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2`,key:`7pis2x`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M10 6h8v4h-8V6Z`,key:`smlsk5`}]]),Jm=W(`PackageCheck`,[[`path`,{d:`m16 16 2 2 4-4`,key:`gfu2re`}],[`path`,{d:`M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14`,key:`e7tb2h`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`12`,key:`a4e8g8`}]]),Ym=W(`Package`,[[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}],[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Xm=W(`Percent`,[[`line`,{x1:`19`,x2:`5`,y1:`5`,y2:`19`,key:`1x9vlm`}],[`circle`,{cx:`6.5`,cy:`6.5`,r:`2.5`,key:`4mh3h7`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`2.5`,key:`1mdrzq`}]]),Zm=W(`Phone`,[[`path`,{d:`M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z`,key:`foiqr5`}]]),Qm=W(`Play`,[[`polygon`,{points:`5 3 19 12 5 21 5 3`,key:`191637`}]]),$m=W(`Plug`,[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M9 8V2`,key:`14iosj`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z`,key:`osxo6l`}]]),eh=W(`Quote`,[[`path`,{d:`M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1z`,key:`4rm80e`}],[`path`,{d:`M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z`,key:`10za9r`}]]),th=W(`Radar`,[[`path`,{d:`M19.07 4.93A10 10 0 0 0 6.99 3.34`,key:`z3du51`}],[`path`,{d:`M4 6h.01`,key:`oypzma`}],[`path`,{d:`M2.29 9.62A10 10 0 1 0 21.31 8.35`,key:`qzzz0`}],[`path`,{d:`M16.24 7.76A6 6 0 1 0 8.23 16.67`,key:`1yjesh`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M17.99 11.66A6 6 0 0 1 15.77 16.67`,key:`1u2y91`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`m13.41 10.59 5.66-5.66`,key:`mhq4k0`}]]),nh=W(`Radio`,[[`path`,{d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9`,key:`1vaf9d`}],[`path`,{d:`M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5`,key:`u1ii0m`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5`,key:`1j5fej`}],[`path`,{d:`M19.1 4.9C23 8.8 23 15.1 19.1 19`,key:`10b0cb`}]]),rh=W(`Recycle`,[[`path`,{d:`M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5`,key:`x6z5xu`}],[`path`,{d:`M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12`,key:`1x4zh5`}],[`path`,{d:`m14 16-3 3 3 3`,key:`f6jyew`}],[`path`,{d:`M8.293 13.596 7.196 9.5 3.1 10.598`,key:`wf1obh`}],[`path`,{d:`m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843`,key:`9tzpgr`}],[`path`,{d:`m13.378 9.633 4.096 1.098 1.097-4.096`,key:`1oe83g`}]]),ih=W(`RefreshCcw`,[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`14sxne`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`,key:`1hlbsb`}],[`path`,{d:`M16 16h5v5`,key:`ccwih5`}]]),ah=W(`RefreshCw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),oh=W(`Search`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}
18],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),sh=W(`Send`,[[`path`,{d:`m22 2-7 20-4-9-9-4Z`,key:`1q3vgg`}],[`path`,{d:`M22 2 11 13`,key:`nzbqef`}]]),ch=W(`Share2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),lh=W(`ShieldCheck`,[[`path`,{d:`M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10`,key:`1irkt0`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),uh=W(`Ship`,[[`path`,{d:`M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1 .6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1`,key:`iegodh`}],[`path`,{d:`M19.38 20A11.6 11.6 0 0 0 21 14l-9-4-9 4c0 2.9.94 5.34 2.81 7.76`,key:`fp8vka`}],[`path`,{d:`M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6`,key:`qpkstq`}],[`path`,{d:`M12 10v4`,key:`1kjpxc`}],[`path`,{d:`M12 2v3`,key:`qbqxhf`}]]),dh=W(`ShoppingCart`,[[`circle`,{cx:`8`,cy:`21`,r:`1`,key:`jimo8o`}],[`circle`,{cx:`19`,cy:`21`,r:`1`,key:`13723u`}],[`path`,{d:`M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12`,key:`9zh506`}]]),fh=W(`Sparkles`,[[`path`,{d:`m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z`,key:`17u4zn`}],[`path`,{d:`M5 3v4`,key:`bklmnn`}],[`path`,{d:`M19 17v4`,key:`iiml17`}],[`path`,{d:`M3 5h4`,key:`nem4j1`}],[`path`,{d:`M17 19h4`,key:`lbex7p`}]]),ph=W(`Sprout`,[[`path`,{d:`M7 20h10`,key:`e6iznv`}],[`path`,{d:`M10 20c5.5-2.5.8-6.4 3-10`,key:`161w41`}],[`path`,{d:`M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z`,key:`9gtqwd`}],[`path`,{d:`M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z`,key:`bkxnd2`}]]),mh=W(`Star`,[[`polygon`,{points:`12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2`,key:`8f66p6`}]]),hh=W(`Store`,[[`path`,{d:`m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7`,key:`ztvudi`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`,key:`1b2hhj`}],[`path`,{d:`M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4`,key:`2ebpfo`}],[`path`,{d:`M2 7h20`,key:`1fcdvo`}],[`path`,{d:`M22 7v3a2 2 0 0 1-2 2v0a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12v0a2 2 0 0 1-2-2V7`,key:`jon5kx`}]]),gh=W(`Target`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]),_h=W(`Tractor`,[[`path`,{d:`M3 4h9l1 7`,key:`1ftpo8`}],[`path`,{d:`M4 11V4`,key:`9ft8pt`}],[`path`,{d:`M8 10V4`,key:`1y5f7n`}],[`path`,{d:`M18 5c-.6 0-1 .4-1 1v5.6`,key:`10zbvr`}],[`path`,{d:`m10 11 11 .9c.6 0 .9.5.8 1.1l-.8 5h-1`,key:`2w242w`}],[`circle`,{cx:`7`,cy:`15`,r:`.5`,key:`fbsjqy`}],[`circle`,{cx:`7`,cy:`15`,r:`5`,key:`ddtuc`}],[`path`,{d:`M16 18h-5`,key:`bq60fd`}],[`circle`,{cx:`18`,cy:`18`,r:`2`,key:`1emm8v`}]]),vh=W(`TrendingDown`,[[`polyline`,{points:`22 17 13.5 8.5 8.5 13.5 2 7`,key:`1r2t7k`}],[`polyline`,{points:`16 17 22 17 22 11`,key:`11uiuu`}]]),yh=W(`TrendingUp`,[[`polyline`,{points:`22 7 13.5 15.5 8.5 10.5 2 17`,key:`126l90`}],[`polyline`,{points:`16 7 22 7 22 13`,key:`kwv8wd`}]]),bh=W(`Truck`,[[`path`,{d:`M5 18H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h10c.6 0 1 .4 1 1v11`,key:`hs4xqm`}],[`path`,{d:`M14 9h4l4 4v4c0 .6-.4 1-1 1h-2`,key:`11fp61`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}],[`path`,{d:`M15 18H9`,key:`1lyqi6`}],[`circle`,{cx:`17`,cy:`18`,r:`2`,key:`332jqn`}]]),xh=W(`Users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`path`,{d:`M16 3.13a4 4 0 0 1 0 7.75`,key:`1da9ce`}]]),Sh=W(`Voicemail`,[[`circle`,{cx:`6`,cy:`12`,r:`4`,key:`1ehtga`}],[`circle`,{cx:`18`,cy:`12`,r:`4`,key:`4vafl8`}],[`line`,{x1:`6`,x2:`18`,y1:`16`,y2:`16`,key:`pmt8us`}]]),Ch=W(`Wallet`,[[`path`,{d:`M21 12V7H5a2 2 0 0 1 0-4h14v4`,key:`195gfw`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h16v-5`,key:`195n9w`}],[`path`,{d:`M18 12a2 2 0 0 0 0 4h4v-4Z`,key:`vllfpd`}]]),wh=W(`Warehouse`,[[`path`,{d:`M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z`,key:`gksnxg`}],[`path`,{d:`M6 18h12`,key:`9pbo8z`}],[`path`,{d:`M6 14h12`,key:`4cwo0f`}],[`rect`,{width:`12`,height:`12`,x:`6`,y:`10`,key:`apd30q`}]]),Th=W(`X`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Eh=W(`Zap`,[[`polygon`,{points:`13 2 3 14 12 14 11 22 21 10 12 10 13 2`,key:`45s27k`}]]),Dh=[{name:`Solutions`,href:`#`,children:[{name:`For distributors`,href:`/distributors`},{name:`For farmers & producers`,href:`/farmers`},{name:`For grocers & buyers`,href:`/grocers`},{name:`For manufacturers`,href:`/manufacturers`}]},{name:`Platform`,href:`#`,children:[{name:`Ask Arbia`,href:`/#ask-arbia`},{name:`The connected food supply chain`,href:`/#chain`},{name:`Surplus foresight`,href:`/#foresight`},{name:`Email to order`,href:`/distributors#sales-orders`},{name:`Procurement agents`,href:`/distributors#procurement`}]},{name:`Impact`,href:`/#impact`},{name:`News`,href:`#`,children:[{name:`Blog`,href:`/blog`},{name:`Press`,href:`/press`}]},{name:`About`,href:`/#about`}],Oh=[`/`,`/distributors`,`/manufacturers`,`/farmers`,`/grocers`],kh=`https://stocky-ai-public.s3.us-west-2.amazonaws.com/arbia-logos/SVG/Arbia_Logo_Evergreen.svg`,Ah=`https://stocky-ai-public.s3.us-west-2.amazonaws.com/arbia-logos/SVG/Arbia_Logo_White.svg`;function jh({href:e,className:t,onClick:n,children:r}){return e.startsWith(`/`)&&!e.includes(`#`)?(0,B.jsx)(Nn,{to:e,className:t,onClick:n,children:r}):(0,B.jsx)(`a`,{href:e,className:t,onClick:n,children:r})}function Mh(){let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(null),[o,s]=(0,C.useState)(null),c=dt();(0,C.useEffect)(()=>{let e=()=>{t(window.scrollY>20)};return window.addEventListener(`scroll`,e),()=>window.removeEventListener(`scroll`,e)},[]),(0,C.useEffect)(()=>{r(!1),s(null)},[c.pathname]);let l=Oh.includes(c.pathname)&&!e&&!n,u=l?`text-offwhite/80 hover:text-sage font-medium transition-colors duration-200`:`text-neutral-600 hover:text-forest font-medium transition-colors duration-200`;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(U.nav,{initial:{y:-100},animate:{y:0},transition:{duration:.6,ease:[.22,1,.36,1]},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?`py-3`:`py-5`}`,children:(0,B.jsx)(`div`,{className:`container-custom`,children:(0,B.jsxs)(`div`,{className:`relative flex items-center justify-between rounded-2xl px-6 py-3 transition-all duration-300 ${e?`glass shadow-lg`:`bg-transparent`}`,children:[(0,B.jsx)(Nn,{to:`/`,className:`flex items-center z-10`,children:(0,B.jsx)(`img`,{src:l?Ah:kh,alt:`Arbia`,className:`h-10`})}),(0,B.jsx)(`div`,{className:`hidden md:flex items-center gap-8 absolute left-1/2 -translate-x-1/2`,children:Dh.map(e=>e.children?(0,B.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>a(e.name),onMouseLeave:()=>a(null),children:[(0,B.jsxs)(`button`,{className:`flex items-center gap-1 ${u}`,children:[e.name,(0,B.jsx)(xm,{className:`w-4 h-4 transition-transform duration-200 ${i===e.name?`rotate-180`:``}`})]}),(0,B.jsx)(mr,{children:i===e.name&&(0,B.jsx)(U.div,{initial:{opacity:0,y:8}
18,animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:`absolute top-full left-1/2 -translate-x-1/2 pt-2`,children:(0,B.jsx)(`div`,{className:`glass rounded-xl shadow-xl p-2 min-w-[180px]`,children:e.children.map(e=>(0,B.jsx)(jh,{href:e.href,onClick:()=>a(null),className:`block px-4 py-2 rounded-lg text-neutral-600 hover:text-forest hover:bg-arbia-100 font-medium transition-colors duration-200 whitespace-nowrap`,children:e.name},e.name))})})})]},e.name):(0,B.jsx)(jh,{href:e.href,className:u,children:e.name},e.name))}),(0,B.jsxs)(`div`,{className:`hidden md:flex items-center gap-4 z-10`,children:[(0,B.jsx)(`a`,{href:`https://app.arbia.io`,className:`font-medium transition-colors ${l?`text-offwhite hover:text-sage`:`text-forest hover:text-evergreen`}`,children:`Login`}),(0,B.jsxs)(`a`,{href:`/#demo`,className:`group ${l?`btn-primary-dark`:`btn-primary`}`,children:[`Request a demo`,(0,B.jsx)(Sm,{className:`ml-1 w-4 h-4 group-hover:translate-x-1 transition-transform`})]})]}),(0,B.jsx)(`button`,{onClick:()=>r(!n),className:`md:hidden p-2 rounded-lg transition-colors ${l?`hover:bg-white/10`:`hover:bg-neutral-100`}`,children:n?(0,B.jsx)(Th,{className:`w-6 h-6 text-black`}):(0,B.jsx)(Um,{className:`w-6 h-6 ${l?`text-offwhite`:`text-black`}`})})]})})}),(0,B.jsx)(mr,{children:n&&(0,B.jsx)(U.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2},className:`fixed inset-x-0 top-20 z-40 p-4 md:hidden`,children:(0,B.jsx)(`div`,{className:`glass rounded-2xl shadow-xl p-6`,children:(0,B.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[Dh.map(e=>e.children?(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`button`,{onClick:()=>s(o===e.name?null:e.name),className:`flex items-center justify-between w-full text-black font-medium py-2 hover:text-forest transition-colors`,children:[e.name,(0,B.jsx)(xm,{className:`w-4 h-4 transition-transform duration-200 ${o===e.name?`rotate-180`:``}`})]}),(0,B.jsx)(mr,{children:o===e.name&&(0,B.jsx)(U.div,{initial:{height:0,opacity:0},animate:{height:`auto`,opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:`overflow-hidden`,children:(0,B.jsx)(`div`,{className:`pl-4 flex flex-col gap-2 pb-2`,children:e.children.map(e=>(0,B.jsx)(jh,{href:e.href,onClick:()=>r(!1),className:`text-neutral-600 font-medium py-1 hover:text-forest transition-colors`,children:e.name},e.name))})})})]},e.name):(0,B.jsx)(jh,{href:e.href,onClick:()=>r(!1),className:`text-black font-medium py-2 hover:text-forest transition-colors`,children:e.name},e.name)),(0,B.jsx)(`hr`,{className:`border-stone/50`}),(0,B.jsx)(`a`,{href:`https://app.arbia.io`,onClick:()=>r(!1),className:`text-forest font-medium py-2`,children:`Login`}),(0,B.jsx)(`a`,{href:`/#demo`,onClick:()=>r(!1),className:`btn-primary text-center`,children:`Request a demo`})]})})})})]})}function Nh(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Ph(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Fh={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},Ih={duration:.5,overwrite:!1,delay:0},Lh,Rh,zh,Bh=1e8,Vh=1/Bh,Hh=Math.PI*2,Uh=Hh/4,Wh=0,Gh=Math.sqrt,Kh=Math.cos,qh=Math.sin,Jh=function(e){return typeof e==`string`},Yh=function(e){return typeof e==`function`},Xh=function(e){return typeof e==`number`},Zh=function(e){return e===void 0},Qh=function(e){return typeof e==`object`},$h=function(e){return e!==!1},eg=function(){return typeof window<`u`},tg=function(e){return Yh(e)||Jh(e)},ng=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},rg=Array.isArray,ig=/random\([^)]+\)/g,ag=/,\s*/g,og=/(?:-?\.?\d|\.)+/gi,sg=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,cg=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,lg=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ug=/[+-]=-?[.\d]+/,dg=/[^,'"\[\]\s]+/gi,fg=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,pg,mg,hg,gg,_g={},vg={},yg,bg=function(e){return(vg=Qg(e,_g))&&_y},xg=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Sg=function(e,t){return!t&&console.warn(e)},Cg=function(e,t){return e&&(_g[e]=t)&&vg&&(vg[e]=t)||_g},wg=function(){return 0},Tg={suppressEvents:!0,isStart:!0,kill:!1},Eg={suppressEvents:!0,kill:!1},Dg={suppressEvents:!0},Og={},kg=[],Ag={},jg,Mg={},Ng={},Pg=30,Fg=[],Ig=``,Lg=function(e){var t=e[0],n,r;if(Qh(t)||Yh(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Fg.length;r--&&!Fg[r].targetTest(t););n=Fg[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Dv(e[r],n)))||e.splice(r,1);return e},Rg=function(e){return e._gsap||Lg(F_(e))[0]._gsap},zg=function(e,t,n){return(n=e[t])&&Yh(n)?e[t]():Zh(n)&&e.getAttribute&&e.getAttribute(t)||n}
vendor: 4,184 bytes, line 18
18,Bg=function(e,t){return(e=e.split(`,`)).forEach(t)||e},Vg=function(e){return Math.round(e*1e5)/1e5||0},Hg=function(e){return Math.round(e*1e7)/1e7||0},Ug=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},Wg=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Gg=function(){var e=kg.length,t=kg.slice(0),n,r;for(Ag={},kg.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Kg=function(e){return!!(e._initted||e._startAt||e.add)},qg=function(e,t,n,r){kg.length&&!Rh&&Gg(),e.render(t,n,r||!!(Rh&&t<0&&Kg(e))),kg.length&&!Rh&&Gg()},Jg=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(dg).length<2?t:Jh(e)?e.trim():e},Yg=function(e){return e},Xg=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Zg=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Qg=function(e,t){for(var n in t)e[n]=t[n];return e},$g=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=Qh(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},e_=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},t_=function(e){var t=e.parent||pg,n=e.keyframes?Zg(rg(e.keyframes)):Xg;if($h(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},n_=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},r_=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},i_=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},a_=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},o_=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},s_=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},c_=function(e,t,n,r){return e._startAt&&(Rh?e._startAt.revert(Eg):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},l_=function e(t){return!t||t._ts&&e(t.parent)},u_=function(e){return e._repeat?d_(e._tTime,e=e.duration()+e._rDelay)*e:0},d_=function(e,t){var n=Math.floor(e=Hg(e/t));return e&&n===e?n-1:n},f_=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},p_=function(e){return e._end=Hg(e._start+(e._tDur/Math.abs(e._ts||e._rts||Vh)||0))},m_=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Hg(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),p_(e),n._dirty||o_(n,e)),e},h_=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=f_(e.rawTime(),t),(!t._dur||k_(0,t.totalDuration(),n)-t._tTime>Vh)&&t.render(n,!0)),o_(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Vh}},g_=function(e,t,n,r){return t.parent&&a_(t),t._start=Hg((Xh(n)?n:n||e!==pg?E_(e,n,t):e._time)+t._delay),t._end=Hg(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),r_(e,t,`_first`,`_last`,e._sort?`_start`:0),b_(t)||(e._recent=t),r||h_(e,t),e._ts<0&&m_(e,e._tTime),e},__=function(e,t){return(_g.ScrollTrigger||xg(`scrollTrigger`,t))&&_g.ScrollTrigger.create(t,e)},v_=function(e,t,n,r,i){if(Iv(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!Rh&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&jg!==pv.frame)return kg.push(e),e._lazy=[i,r],1},y_=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},b_=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},x_=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&y_(e)&&!(!e._initted&&b_(e))||(e._ts<0||e._dp._ts<0)&&!b_(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=k_(0,e._tDur,t),l=d_(s,o),e._yoyo&&l&1&&(a=1-a),l!==d_(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 34,788 bytes, line 18
18date())),a!==i||Rh||r||e._zTime===Vh||!t&&e._zTime){if(!e._initted&&v_(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?Vh:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&c_(e,t,n,!0),e._onUpdate&&!n&&Q_(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Q_(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&a_(e,1),!n&&!Rh&&(Q_(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},S_=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},C_=function(e,t,n,r){var i=e._repeat,a=Hg(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Hg(a*(i+1)+e._rDelay*i):a,o>0&&!r&&m_(e,e._tTime=e._tDur*o),e.parent&&p_(e),n||o_(e.parent,e),e},w_=function(e){return e instanceof kv?o_(e):C_(e,e._dur)},T_={_start:0,endTime:wg,totalDuration:wg},E_=function e(t,n,r){var i=t.labels,a=t._recent||T_,o=t.duration()>=Bh?a.endTime(!1):t._dur,s,c,l;return Jh(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(rg(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},D_=function(e,t,n){var r=Xh(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=$h(s.vars.inherit)&&s.parent;a.immediateRender=$h(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Uv(t[0],a,t[i+1])},O_=function(e,t){return e||e===0?t(e):t},k_=function(e,t,n){return n<e?e:n>t?t:n},A_=function(e,t){return!Jh(e)||!(t=fg.exec(e))?``:t[1]},j_=function(e,t,n){return O_(n,function(n){return k_(e,t,n)})},M_=[].slice,N_=function(e,t){return e&&Qh(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&Qh(e[0]))&&!e.nodeType&&e!==mg},P_=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return Jh(e)&&!t||N_(e,1)?(r=n).push.apply(r,F_(e)):n.push(e)})||n},F_=function(e,t,n){return zh&&!t&&zh.selector?zh.selector(e):Jh(e)&&!n&&(hg||!mv())?M_.call((t||gg).querySelectorAll(e),0):rg(e)?P_(e,n):N_(e)?M_.call(e,0):e?[e]:[]},I_=function(e){return e=F_(e)[0]||Sg(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return F_(t,n.querySelectorAll?n:n===e?Sg(`Invalid scope`)||gg.createElement(`div`):e)}},L_=function(e){return e.sort(function(){return .5-Math.random()})},R_=function(e){if(Yh(e))return e;var t=Qh(e)?e:{each:e},n=Sv(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return Jh(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,Bh])[1],!S){for(b=-Bh;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===Bh?0:s?f*u/S-.5:r/S|0,b=0,x=Bh,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Gh(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&L_(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=A_(t.amount||t.each)||0,n=n&&f<0?xv(n):n}return f=(p[e]-p.min)/p.max||0,Hg(p.b+(n?n(f):f)*p.v)+p.u}},z_=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=Hg(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Xh(n)?0:A_(n))}},B_=function(e,t){var n=rg(e),r,i;return!n&&Qh(e)&&(r=n=e.radius||Bh,e.values?(e=F_(e.values),(i=!Xh(e[0]))&&(r*=r)):e=z_(e.increment)),O_(t,n?Yh(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=Bh,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||Xh(t)?s:s+A_(t)}:z_(e))},V_=function(e,t,n,r){return O_(rg(e)?!t:n===!0?!!(n=0):!r,function(){return rg(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},H_=function(){var e=[...arguments];return function(t){return e.reduce(function(e,t){return t(e)},t)}},U_=function(e,t){return function(n){return e(parseFloat(n))+(t||A_(n))}},W_=function(e,t,n){return Y_(e,t,0,1,n)},G_=function(e,t,n){return O_(n,function(n){return e[~~t(n)]})},K_=function e(t,n,r){var i=n-t;return rg(t)?G_(t,e(0,t.length),n):O_(r,function(e){return(i+(e-t)%i)%i+t})},q_=function e(t,n,r){var i=n-t,a=i*2;return rg(t)?G_(t,e(0,t.length-1),n):O_(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},J_=function(e){return e.replace(ig,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(ag);return V_(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Y_=function(e,t,n,r,i){var a=t-e,o=r-n;return O_(i,function(t){return n+((t-e)/a*o||0)})},X_=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=Jh(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(rg(t)&&!rg(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=Qg(rg(t)?[]:{},t));if(!u){for(c in n)jv.call(s,t,c,`get`,n[c]);a=function(e){return Qv(e,s)||(o?t.p:t)}}}return O_(r,a)},Z_=function(e,t,n){var r=e.labels,i=Bh,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},Q_=function(e,t,n){var r=e.vars,i=r[t],a=zh,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&kg.length&&Gg(),o&&(zh=o),l=s?i.apply(c,s):i.call(c),zh=a,l},$_=function(e){return a_(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Rh),e.progress()<1&&Q_(e,`onInterrupt`),e},ev,tv=[],nv=function(e){if(e)if(e=!e.name&&e.default||e,eg()||e.headless){var t=e.name,n=Yh(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:wg,render:Qv,add:jv,kill:ey,modifier:$v,rawVars:0},a={targetTest:0,get:0,getSetter:Jv,aliases:{},register:0};if(mv(),e!==r){if(Mg[t])return;Xg(r,Xg(e_(e,i),a)),Qg(r.prototype,Qg(i,e_(e,a))),Mg[r.prop=t]=r,e.targetTest&&(Fg.push(r),Og[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Cg(t,r),e.register&&e.register(_y,r,ry)}else tv.push(e)},rv=255,iv={aqua:[0,rv,rv],lime:[0,rv,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,rv],navy:[0,0,128],white:[rv,rv,rv],olive:[128,128,0],yellow:[rv,rv,0],orange:[rv,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[rv,0,0],pink:[rv,192,203],cyan:[0,rv,rv],transparent:[rv,rv,rv,0]},av=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*rv+.5|0},ov=function(e,t,n){var r=e?Xh(e)?[e>>16,e>>8&rv,e&rv]:0:iv.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),iv[e])r=iv[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&rv,r&rv,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&rv,e&rv]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(og),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=av(s+1/3,i,a),r[1]=av(s,i,a),r[2]=av(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(sg),n&&r.length<4&&(r[3]=1),r}else r=e.match(og)||iv.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/rv,a=r[1]/rv,o=r[2]/rv,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},sv=function(e){var t=[],n=[],r=-1;return e.split(lv).forEach(function(e){var i=e.match(cg)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},cv=function(e,t,n){var r=``,i=(e+r).match(lv),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=ov(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=sv(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(lv,`1`).split(cg),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(lv),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},lv=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in iv)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),uv=/hsl[a]?\(/,dv=function(e){var t=e.join(` `),n;if(lv.lastIndex=0,lv.test(t))return n=uv.test(t),e[1]=cv(e[1],n),e[0]=cv(e[0],n,sv(e[1])),!0},fv,pv=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){yg&&(!hg&&eg()&&(mg=hg=window,gg=mg.document||{},_g.gsap=_y,(mg.gsapVersions||=[]).push(_y.version),bg(vg||mg.GreenSockGlobals||!mg.gsap&&mg||{}),tv.forEach(nv)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},fv=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),fv=0,l=wg},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),mv(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),mv=function(){return!fv&&pv.wake()},hv={},gv=/^[\d.\-M][\d.\-,\s]/,_v=/["']/g,vv=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(_v,``).trim():+c,r=s.substr(o+1).trim();return t},yv=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},bv=function(e){var t=(e+``).split(`(`),n=hv[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[vv(t[1])]:yv(e).split(`,`).map(Jg)):hv._CE&&gv.test(e)?hv._CE(``,e):n},xv=function(e){return function(t){return 1-e(1-t)}},Sv=function(e,t){return e&&(Yh(e)?e:hv[e]||bv(e))||t},Cv=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return Bg(e,function(e){for(var t in hv[e]=_g[e]=i,hv[a=e.toLowerCase()]=n,i)hv[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=hv[e+`.`+t]=i[t]}),i},wv=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Tv=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Hh*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*qh((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:wv(s);return a=Hh/a,c.config=function(n,r){return e(t,n,r)},c},Ev=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:wv(r);return i.config=function(n){return e(t,n)},i};Bg(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;Cv(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),hv.Linear.easeNone=hv.none=hv.Linear.easeIn,Cv(`Elastic`,Tv(`in`),Tv(`out`),Tv()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};Cv(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),Cv(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),Cv(`Circ`,function(e){return-(Gh(1-e*e)-1)}),Cv(`Sine`,function(e){return e===1?1:-Kh(e*Uh)+1}),Cv(`Back`,Ev(`in`),Ev(`out`),Ev()),hv.SteppedEase=hv.steps=_g.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-Vh;return function(e){return((r*k_(0,a,e)|0)+i)*n}}},Ih.ease=hv[`quad.out`],Bg(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return Ig+=e+`,`+e+`Params,`});var Dv=function(e,t){this.id=Wh++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:zg,this.set=t?t.getSetter:Jv},Ov=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,C_(this,+e.duration,1,1),this.data=e.data,zh&&(this._ctx=zh,zh.data.push(this)),fv||pv.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,C_(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(mv(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(m_(this,e),!n._dp||n.parent||h_(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&g_(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===Vh||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),qg(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+u_(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+u_(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?d_(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-Vh?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?f_(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-Vh?0:this._rts,this.totalTime(k_(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),p_(this),s_(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(mv(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Vh&&(this._tTime-=Vh)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Hg(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&g_(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+($h(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?f_(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=Dg);var t=Rh;return Rh=e,Kg(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),Rh=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,w_(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,w_(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(E_(this,e),$h(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,$h(t)),this._dur||(this._zTime=-Vh),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-Vh:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-Vh,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-Vh)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=Yh(e)?e:Yg,a=function(){var e=t.then;t.then=null,n&&n(),Yh(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){$_(this)},e}();Xg(Ov.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Vh,_prom:0,_ps:!1,_rts:1});var kv=function(e){Ph(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=$h(t.sortChildren),pg&&g_(t.parent||pg,Nh(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&__(Nh(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return D_(0,arguments,this),this},n.from=function(e,t,n){return D_(1,arguments,this),this},n.fromTo=function(e,t,n,r){return D_(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,t_(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Uv(e,t,E_(this,n),1),this},n.call=function(e,t,n){return g_(this,Uv.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new Uv(e,n,E_(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,t_(n).immediateRender=$h(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,t_(r).immediateRender=$h(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:Hg(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==pg&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=Hg(o%f),o===i?(d=this._repeat,c=a):(_=Hg(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=d_(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:Hg(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&Q_(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=S_(this,Hg(r),Hg(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(Q_(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-Vh);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||Rh&&Kg(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-Vh:Vh);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-Vh)._zTime=c>=r?1:-1,this._ts))return this._start=g,p_(this),this.render(e,t,n);this._onUpdate&&!t&&Q_(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&a_(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Q_(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Xh(t)||(t=E_(this,t,e)),!(e instanceof Ov)){if(rg(e))return e.forEach(function(e){return n.add(e,t)}),this;if(Jh(e))return this.addLabel(e,t);if(Yh(e))e=Uv.delayedCall(0,e);else return this}return this===e?this:g_(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-Bh);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Uv?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return Jh(e)?this.removeLabel(e):Yh(e)?this.killTweensOf(e):(e.parent===this&&i_(this,e),e===this._recent&&(this._recent=this._last),o_(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Hg(pv.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=E_(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Uv.delayedCall(0,t||wg,n);return r.data=`isPause`,this._hasPause=1,g_(this,r,E_(this,e))},n.removePause=function(e){var t=this._first;for(e=E_(this,e);t;)t._start===e&&t.data===`isPause`&&a_(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Pv!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=F_(e),i=this._first,a=Xh(t),o;i;)i instanceof Uv?Wg(i._targets,r)&&(a?(!Pv||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=E_(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Uv.to(n,Xg({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||Vh,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&C_(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Xg({startAt:{time:E_(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Z_(this,E_(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Z_(this,E_(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+Vh)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=Hg(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return o_(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),o_(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=Bh,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,g_(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=Hg(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;C_(n,n===pg&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(pg._ts&&(qg(pg,f_(e,pg)),jg=pv.frame),pv.frame>=Pg){Pg+=Fh.autoSleep||120;var t=pg._first;if((!t||!t._ts)&&Fh.autoSleep&&pv._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||pv.sleep()}}},t}(Ov);Xg(kv.prototype,{_lock:0,_hasPause:0,_forcing:0});var Av=function(e,t,n,r,i,a,o){var s=new ry(this._pt,e,t,0,1,Zv,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=J_(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(lg)||[];u=lg.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?Ug(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=lg.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(ug.test(r)||g)&&(s.e=0),this._pt=s,s},jv=function(e,t,n,r,i,a,o,s,c,l){Yh(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?Yh(u)?c?e[t.indexOf(`set`)||!Yh(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=Yh(u)?c?Kv:Gv:Wv,p;if(Jh(r)&&(~r.indexOf(`random(`)&&(r=J_(r)),r.charAt(1)===`=`&&(p=Ug(d,r)+(A_(d)||0),(p||p===0)&&(r=p))),!l||d!==r||Fv)return!isNaN(d*r)&&r!==``?(p=new ry(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Xv:Yv,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&xg(t,r),Av.call(this,e,t,d,r,f,s||Fh.stringFilter,c))},Mv=function(e,t,n,r,i){if(Yh(e)&&(e=Bv(e,i,t,n,r)),!Qh(e)||e.style&&e.nodeType||rg(e)||ng(e))return Jh(e)?Bv(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=Bv(e[o],i,t,n,r);return a},Nv=function(e,t,n,r,i,a){var o,s,c,l;if(Mg[e]&&(o=new Mg[e]).init(i,o.rawVars?t[e]:Mv(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new ry(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==ev))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},Pv,Fv,Iv=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!Lh,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,N,P;if(b&&(!f||!a)&&(a=`none`),t._ease=Sv(a,Ih.ease),t._rEase=x&&(Sv(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?Rg(g[0]).harness:0,N=k&&i[k.prop],S=e_(i,Og),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?Eg:Tg),h._lazy=0),o){if(a_(t._startAt=Uv.set(g,Xg({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&$h(c),startAt:null,delay:0,onUpdate:l&&function(){return Q_(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Rh||!s&&!p)&&t._startAt.revert(Eg),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Xg({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&$h(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),a_(t._startAt=Uv.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(Rh?t._startAt.revert(Eg):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,Vh,Vh);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&$h(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||Lg(g)[C]._gsap,t._ptLookup[C]=j={},Ag[O.id]&&kg.length&&Gg(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new ry(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||N)for(w in S)Mg[w]&&(A=Nv(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=jv.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(Pv=t,pg.killTweensOf(E,j,t.globalTime(n)),P=!t.parent,Pv=0),t._pt&&c&&(Ag[O.id]=1)}D&&ny(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!P,f&&n<=0&&b.render(Bh,!0,!0)},Lv=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return Fv=1,e.vars[t]=`+=0`,Iv(e,o),Fv=0,s?Sg(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=Vg(n)+A_(u.e),u.b&&=l.s+A_(u.b)},Rv=function(e,t){var n=e[0]?Rg(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Qg({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},zv=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(rg(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},Bv=function(e,t,n,r,i){return Yh(e)?e.call(t,n,r,i):Jh(e)&&~e.indexOf(`random(`)?J_(e):e},Vv=Ig+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,Hv={};Bg(Vv+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return Hv[e]=1});var Uv=function(e){Ph(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:t_(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||pg,g=(rg(t)||ng(t)?Xh(t[0]):`length`in n)?[t]:F_(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?Lg(g):Sg(`GSAP target `+t+` not found. https://gsap.com`,!Fh.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||tg(s)||tg(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new kv({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=Nh(a),_._start=0,u||tg(s)||tg(c)){if(b=g.length,C=u&&R_(u),Qh(u))for(x in u)~Vv.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=e_(n,Hv),y.stagger=0,T&&(y.easeReverse=T),w&&Qg(y,w),S=g[v],y.duration=+Bv(s,Nh(a),v,S,g),y.delay=(+Bv(c,Nh(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=hv.none;_.duration()?s=c=0:a.timeline=0}else if(f){t_(Xg(_.vars.defaults,{ease:`none`})),_._ease=Sv(f.ease||n.ease||`none`);var E=0,D,O,k;if(rg(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||zv(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!Lh&&(Pv=Nh(a),pg.killTweensOf(g),Pv=0),g_(h,Nh(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Hg(h._time)&&$h(l)&&l_(Nh(a))&&h.data!==`nested`)&&(a._tTime=-Vh,a.render(Math.max(0,-c)||0)),m&&__(Nh(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-Vh&&!o?i:e<Vh?0:e,c,l,u,d,f,p,m,h;if(!a)x_(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=Hg(s%d),s===i?(u=this._repeat,c=a):(f=Hg(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=d_(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(Hg(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(v_(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(Q_(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&c_(this,e,t,n),Q_(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Q_(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&c_(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&a_(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Q_(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){fv||pv.wake(),this._ts||this.play();
vendor: 5,069 bytes, line 18
18var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||Iv(this,a),o=this._ease(a/this._dur),Lv(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(m_(this,0),this.parent||r_(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?$_(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Rh),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Pv&&Pv.vars.overwrite!==!0)._first||$_(this),this.parent&&n!==this.timeline.totalDuration()&&C_(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?F_(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&n_(r,i))return t===`all`&&(this._pt=0),$_(this);for(s=this._op=this._op||[],t!==`all`&&(Jh(t)&&(d={},Bg(t,function(e){return d[e]=1}),t=d),t=Rv(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&i_(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&$_(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return D_(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return D_(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return pg.killTweensOf(e,t,n)},t}(Ov);Xg(Uv.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Bg(`staggerTo,staggerFrom,staggerFromTo`,function(e){Uv[e]=function(){var t=new kv,n=M_.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var Wv=function(e,t,n){return e[t]=n},Gv=function(e,t,n){return e[t](n)},Kv=function(e,t,n,r){return e[t](r.fp,n)},qv=function(e,t,n){return e.setAttribute(t,n)},Jv=function(e,t){return Yh(e[t])?Gv:Zh(e[t])&&e.setAttribute?qv:Wv},Yv=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Xv=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Zv=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},Qv=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},$v=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},ey=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?i_(this,t,`_pt`):t.dep||(n=1),t=r;return!n},ty=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},ny=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},ry=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||Yv,this.d=o||this,this.set=s||Wv,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=ty,this.m=e,this.mt=n,this.tween=t},e}();Bg(Ig+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return Og[e]=1}),_g.TweenMax=_g.TweenLite=Uv,_g.TimelineLite=_g.TimelineMax=kv,pg=new kv({sortChildren:!1,defaults:Ih,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),Fh.stringFilter=dv;var iy=[],ay={},oy=[],sy=0,cy=0,ly=function(e){return(ay[e]||oy).map(function(e){return e()})},uy=function(){var e=Date.now(),t=[];e-sy>2&&(ly(`matchMediaInit`),iy.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=mg.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),ly(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),sy=e,ly(`matchMedia`))},dy=function(){function e(e,t){this.selector=t&&I_(t),this.data=[],this._r=[],this.isReverted=!1,this.id=cy++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){Yh(e)&&(n=t,t=e,e=Yh);var r=this,i=function(){var e=zh,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=I_(n)),zh=r,a=t.apply(r,arguments),Yh(a)&&r._r.push(a),zh=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===Yh?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=zh;zh=null,e(this),zh=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Uv&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEac
18h(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof kv?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof Uv)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=iy.length;r--;)iy[r].id===this.id&&iy.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),fy=function(){function e(e){this.contexts=[],this.scope=e,zh&&zh.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){Qh(e)||(e={matches:e});var r=new dy(0,n||this.scope),i=r.conditions={},a,o,s;for(o in zh&&!r.selector&&(r.selector=zh.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=mg.matchMedia(e[o]),a&&(iy.indexOf(r)<0&&iy.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(uy):a.addEventListener(`change`,uy)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})}
vendor: 11,196 bytes, line 18
18,t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),py={registerPlugin:function(){[...arguments].forEach(function(e){return nv(e)})},timeline:function(e){return new kv(e)},getTweensOf:function(e,t){return pg.getTweensOf(e,t)},getProperty:function(e,t,n,r){Jh(e)&&(e=F_(e)[0]);var i=Rg(e||{}).get,a=n?Yg:Jg;return n===`native`&&(n=``),e&&(t?a((Mg[t]&&Mg[t].get||i)(e,t,n,r)):function(t,n,r){return a((Mg[t]&&Mg[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=F_(e),e.length>1){var r=e.map(function(e){return _y.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Mg[t],o=Rg(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;ev._pt=0,r.init(e,n?t+n:t,ev,0,[e]),r.render(1,r),ev._pt&&Qv(1,ev)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=_y.to(e,Xg((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return pg.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Sv(e.ease,Ih.ease)),$g(Ih,e||{})},config:function(e){return $g(Fh,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Mg[e]&&!_g[e]&&Sg(t+` effect requires `+e+` plugin.`)}),Ng[t]=function(e,t,r){return n(F_(e),Xg(t||{},i),r)},a&&(kv.prototype[t]=function(e,n,r){return this.add(Ng[t](e,Qh(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){hv[e]=Sv(t)},parseEase:function(e,t){return arguments.length?Sv(e,t):hv},getById:function(e){return pg.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new kv(e),r,i;for(n.smoothChildTiming=$h(e.smoothChildTiming),pg.remove(n),n._dp=0,n._time=n._tTime=pg._time,r=pg._first;r;)i=r._next,(t||!(!r._dur&&r instanceof Uv&&r.vars.onComplete===r._targets[0]))&&g_(n,r,r._start-r._delay),r=i;return g_(pg,n,0),n},context:function(e,t){return e?new dy(e,t):zh},matchMedia:function(e){return new fy(e)},matchMediaRefresh:function(){return iy.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||uy()},addEventListener:function(e,t){var n=ay[e]||(ay[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=ay[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:K_,wrapYoyo:q_,distribute:R_,random:V_,snap:B_,normalize:W_,getUnit:A_,clamp:j_,splitColor:ov,toArray:F_,selector:I_,mapRange:Y_,pipe:H_,unitize:U_,interpolate:X_,shuffle:L_},install:bg,effects:Ng,ticker:pv,updateRoot:kv.updateRoot,plugins:Mg,globalTimeline:pg,core:{PropTween:ry,globals:Cg,Tween:Uv,Timeline:kv,Animation:Ov,getCache:Rg,_removeLinkedListItem:i_,reverting:function(){return Rh},context:function(e){return e&&zh&&(zh.data.push(e),e._ctx=zh),zh},suppressOverwrites:function(e){return Lh=e}}};Bg(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return py[e]=Uv[e]}),pv.add(kv.updateRoot),ev=py.to({},{duration:0});var my=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},hy=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=my(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},gy=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(Jh(n)&&(r={},Bg(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}hy(e,n)}}}},_y=py.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)Rh?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},gy(`roundProps`,z_),gy(`modifiers`),gy(`snap`,B_))||py;Uv.version=kv.version=_y.version=`3.15.0`,yg=1,eg()&&mv(),hv.Power0,hv.Power1,hv.Power2,hv.Power3,hv.Power4,hv.Linear,hv.Quad,hv.Cubic,hv.Quart,hv.Quint,hv.Strong,hv.Elastic,hv.Back,hv.SteppedEase,hv.Bounce,hv.Sine,hv.Expo,hv.Circ;var vy,yy,by,xy,Sy,Cy,wy,Ty=function(){return typeof window<`u`},Ey={},Dy=180/Math.PI,Oy=Math.PI/180,ky=Math.atan2,Ay=1e8,jy=/([A-Z])/g,My=/(left|right|width|margin|padding|x)/i,Ny=/[\s,\(]\S/,Py={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},Fy=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Iy=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Ly=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Ry=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},zy=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},By=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Vy=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},Hy=function(e,t,n){return e.style[t]=n},Uy=function(e,t,n){return e.style.setProperty(t,n)},Wy=function(e,t,n){return e._gsap[t]=n},Gy=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Ky=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},qy=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},Jy=`transform`,Yy=Jy+`Origin`,Xy=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in Ey&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=Py[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=hb(i,e)}):this.tfm[t]=o.x?o[t]:hb(i,t),t===Yy&&(this.tfm.zOrigin=o.zOrigin);else return Py.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(Jy)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Yy,n,``)),t=Jy}(a||n)&&this.props.push(t,n,a[t])},Zy=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},Qy=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(jy,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=wy(),(!i||!i.isStart)&&!n[Jy]&&(Zy(n),r.zOrigin&&n[Yy]&&(n[Yy]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},$y=function(e,t){var n={target:e,props:[],revert:Qy,save:Xy};return e._gsap||_y.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},eb,tb=function(e,t){var n=yy.createElementNS?yy.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):yy.createElement(e);return n&&n.style?n:yy.createElement(e)},nb=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(jy,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,ib(n)||n,1)||``},rb=`O,Moz,ms,Ms,Webkit`.split(`,`),ib=function(e,t,n){var r=(t||Sy).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(rb[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?rb[i]:``)+e},ab=function(){Ty()&&window.document&&(vy=window,yy=vy.document,by=yy.documentElement,Sy=tb(`div`)||{style:{}},tb(`div`),Jy=ib(Jy),Yy=Jy+`Origin`,Sy.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,eb=!!ib(`perspective`),wy=_y.core.reverting,xy=1)},ob=function(e){var t=e.ownerSVGElement,n=tb(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),by.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),by.removeChild(n),i},sb=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},cb=function(e){var t,n;try{t=e.getBBox()}catch{t=ob(e),n=1}return t&&(t.width||t.height)||n||(t=ob(e)),t&&!t.width&&!t.x&&!t.y?{x:+sb(e,[`x`,`cx`,`x1`])||0,y:+sb(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},lb=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&cb(e))},ub=function(e,t){if(t){var n=e.style,r;t in Ey&&t!==Yy&&(t=Jy),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(jy,`-$1`).toLowerCase())):n.removeAttribute(t)}},db=function(e,t,n,r,i,a){var o=new ry(e._pt,t,n,0,1,a?Vy:By);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},fb={deg:1,rad:1,turn:1},pb={grid:1,flex:1},mb=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=Sy.style,c=My.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||fb[i]||fb[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&lb(t),(p||o===`%`)&&(Ey[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],Vg(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===yy||!h.appendChild)&&(h=yy.body),g=h._gsap,g&&p&&g.width&&c&&g.time===pv.time&&!g.uncache)return Vg(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:ub(t,n)}else (p||o===`%`)&&!pb[nb(h,`display`)]&&(s.position=nb(t,`position`)),h===t&&(s.position=`static`),h.appendChild(Sy),m=Sy[u],h.removeChild(Sy),s.position=`absolute`;return c&&p&&(g=Rg(h),g.time=pv.time,g.width=h[u]),Vg(f?m*a/d:m&&a?d/m*a:0)},hb=function(e,t,n,r){var i;return xy||ab(),t in Py&&t!==`transform`&&(t=Py[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),Ey[t]&&t!==`transform`?(i=Db(e,r),i=t===`transformOrigin`?i.svg?i.origin:Ob(nb(e,Yy))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=bb[t]&&bb[t](e,t,n)||nb(e,t)||zg(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?mb(e,t,i,n)+n:i},gb=function(e,t,n,r){if(!n||n===`none`){var i=ib(t,e,1),a=i&&nb(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=nb(e,`borderTopColor`))}var o=new ry(this._pt,e.style,t,0,1,Zv),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=nb(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=nb(e,t)||r,m?e.style[t]=m:ub(e,t)),l=[n,r],dv(l),n=l[0],r=l[1],d=n.match(cg)||[],b=r.match(cg)||[],b.length){for(;u=cg.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=Ug(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=cg.lastIndex-v.length,v||(v=v||Fh.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=mb(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?Vy:By;return ug.test(r)&&(o.e=0),this._pt=o,o},_b={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},vb=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=_b[n]||n,t[1]=_b[r]||r,t.join(` `)}
vendor: 5,802 bytes, line 18
18,yb=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],Ey[o]&&(s=1,o=o===`transformOrigin`?Yy:Jy),ub(n,o);s&&(ub(n,Jy),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,Db(n,1),a.uncache=1,Zy(r)))}},bb={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new ry(e._pt,t,n,0,0,yb);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},xb=[1,0,0,1,0,0],Sb={},Cb=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},wb=function(e){var t=nb(e,Jy);return Cb(t)?xb:t.substr(7).match(sg).map(Vg)},Tb=function(e,t){var n=e._gsap||Rg(e),r=e.style,i=wb(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?xb:i):(i===xb&&!e.offsetParent&&e!==by&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,by.appendChild(e)),i=wb(e),s?r.display=s:ub(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):by.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Eb=function(e,t,n,r,i,a){var o=e._gsap,s=i||Tb(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==xb&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=cb(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Yy]=`0px 0px`,a&&(db(a,o,`xOrigin`,c,y),db(a,o,`yOrigin`,l,b),db(a,o,`xOffset`,u,o.xOffset),db(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},Db=function(e,t){var n=e._gsap||new Dv(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=nb(e,Yy)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,ee,te,ne,I,re;return n.svg=!!(e.getCTM&&lb(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[Jy]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[Jy]===`none`?``:s[Jy])),r.scale=r.rotate=r.translate=`none`),S=Tb(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),Eb(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==xb&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?ky(D,E)*Dy:0,_=O||k?ky(O,k)*Dy+m:0,_&&(p*=Math.abs(Math.cos(_*Oy))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(re=S[6],ne=S[7],F=S[8],ee=S[9],te=S[10],I=S[11],l=S[12],u=S[13],d=S[14],C=ky(re,te),h=C*Dy,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+F*T,N=j*w+ee*T,P=re*w+te*T,F=A*-T+F*w,ee=j*-T+ee*w,te=re*-T+te*w,I=ne*-T+I*w,A=M,j=N,re=P),C=ky(-O,te),g=C*Dy,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-F*T,N=D*w-ee*T,P=O*w-te*T,I=k*T+I*w,E=M,D=N,O=P),C=ky(D,E),m=C*Dy,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=Vg(Math.sqrt(E*E+D*D+O*O)),p=Vg(Math.sqrt(j*j+re*re)),C=ky(A,j),_=Math.abs(C)>2e-4?C*Dy:0,y=I?1/(I<0?-I:I):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Cb(nb(e,Jy)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=Vg(f),n.scaleY=Vg(p),n.rotation=Vg(m)+o,n.rotationX=Vg(h)+o,n.rotationY=Vg(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Yy]=Ob(c)),n.xOffset=n.yOffset=0,n.force3D=Fh.force3D,n.renderTransform=n.svg?Fb:eb?Pb:Ab,n.uncache=0,n},Ob=function(e){return(e=e.split(` `))[0]+` `+e[1]},kb=function(e,t,n){var r=A_(t);return Vg(parseFloat(t)+parseFloat(mb(e,`x`,n+`px`,r)))+r},Ab=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,Pb(e,t)},jb=`0deg`,Mb=`0px`,Nb=`) `,Pb=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==jb||l!==jb)){var x=parseFloat(l)*Oy,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*Oy,w=Math.cos(x),a=kb(_,a,S*w*-v),o=kb(_,o,-Math.sin(x)*-v),s=kb(_,s,C*w*-v+v)}h!==Mb&&(y+=`perspective(`+h+Nb),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Mb||o!==Mb||s!==Mb)&&(y+=s!==Mb||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+Nb),c!==jb&&(y+=`rotate(`+c+Nb),l!==jb&&(y+=`rotateY(`+l+Nb),u!==jb&&(y+=`rotateX(`+u+Nb),(d!==jb||f!==jb)&&(y+=`skew(`+d+`, `+f+Nb),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+Nb),_.style[Jy]=y||`translate(0, 0)`},Fb=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;
18s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=Oy,c*=Oy,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=Oy,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=Vg(b),x=Vg(x),S=Vg(S),C=Vg(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=mb(f,`x`,a,`px`),y=mb(f,`y`,o,`px`)),(p||m||h||g)&&(v=Vg(v+p-(p*b+m*S)+h),y=Vg(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=Vg(v+r/100*w.width),y=Vg(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[Jy]=w)},Ib=function(e,t,n,r,i){var a=360,o=Jh(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?Dy:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*Ay)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*Ay)%a-~~(s/a)*a)),e._pt=u=new ry(e._pt,t,n,r,s,Iy),u.e=c,u.u=`deg`,e._props.push(n),u},Lb=function(e,t){for(var n in t)e[n]=t[n];return e},Rb=function(e,t,n){var r=Lb({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[Jy]=t,o=Db(n,1),ub(n,Jy),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[Jy],a[Jy]=t,o=Db(n,1),a[Jy]=c),Ey)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=A_(c),p=A_(l),u=f===p?parseFloat(c):mb(n,s,c,p),d=parseFloat(l),e._pt=new ry(e._pt,o,s,u,d-u,Fy),e._pt.u=p||0,e._props.push(s));Lb(o,r)};Bg(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});bb[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return hb(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var zb={name:`css`,register:ab,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in xy||ab(),this.styles=this.styles||$y(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Mg[m]&&Nv(m,t,n,r,e,i)))){if(f=typeof l,p=bb[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=J_(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,lv.lastIndex=0,lv.test(c)||(h=A_(c),g=A_(l),g?h!==g&&(c=mb(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],Jh(c)&&~c.indexOf(`random(`)&&(c=J_(c)),A_(c+``)||c===`auto`||(c+=Fh.units[m]||A_(hb(e,m))||``),(c+``).charAt(1)===`=`&&(c=hb(e,m))):c=hb(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in Py&&(m===`autoAlpha`&&(d===1&&hb(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),db(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=Py[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in Ey,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=nb(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=nb(e,`perspective`),T?e.style.perspective=T:ub(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||Db(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new ry(this._pt,o,Jy,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new ry(this._pt,b,`scaleY`,b.scaleY,(_?Ug(b.scaleY,_+u):u)-b.scaleY||0,Fy),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Yy,0,o[Yy]),l=vb(l),b.svg?Eb(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&db(this,b,`zOrigin`,b.zOrigin,g),db(this,o,m,Ob(c),Ob(l)));continue}else if(m===`svgOrigin`){Eb(e,l,1,x,0,this);continue}else if(m in Sb){Ib(this,b,m,d,_?Ug(d,_+l):l);continue}else if(m===`smoothOrigin`){db(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){Rb(this,l,e);continue}}else m in o||(m=ib(m)||m);if(v||(u||u===0)&&(d||d===0)&&!Ny.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=A_(l)||(m in Fh.units?Fh.units[m]:h),h!==g&&(d=mb(e,m,c,g)),this._pt=new ry(this._pt,v?b:o,m,d,(_?Ug(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?zy:Fy),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=Ry):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=Ly);else if(m in o)gb.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){xg(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&ny(this)},render:function(e,t){if(t.tween._time||!wy())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:hb,aliases:Py,getSetter:function(e,t,n){var r=Py[t];return r&&r.indexOf(`,`)<0&&(t=r),t in Ey&&t!==Yy&&(e._gsap.x||hb(e,`x`))?n&&Cy===n?t===`scale`?Gy:Wy:(Cy=n||{})&&(t===`scale`?Ky:qy):e.style&&!Zh(e.style[t])?Hy:~t.indexOf(`-`)?Uy:Jv(e,t)},core:{_removeProperty:ub,_getMatrix:Tb}};_y.utils.checkPrefix=ib,_y.core.getStyleSaver=$y,(function(e,t,n,r){var i=Bg(e+`,`+t+`,`+n,function(e){Ey[e]=1});Bg(t,function(e){Fh.units[e]=`deg`,Sb[e]=1}),Py[i[13]]=e+`,`+t,Bg(r,function(e){var t=e.split(`:`);Py[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),Bg(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){Fh.units[e]=`px`}),_y.registerPlugin(zb);var G=_y.registerPlugin(zb)||_y;G.core.Tween;function Bb(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=e.current;if(!t)return;let n=t.getContext(`2d`);if(!n)return;let r=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,i=0,a=0,o=0,s=[],c=[],l=()=>{let e=Math.min(window.devicePixelRatio||1,2);i=t.offsetWidth,a=t.offsetHeight,t.width=i*e,t.height=a*e,n.setTransform(e,0,0,e,0,0);let r=Math.min(60,Math.floor(i*a/26e3));s=Array.from({length:r},(e,t)=>{let n=t%3;return{x:(n+.5)/3*i+(Math.random()-.5)*i*.28,y:Math.random()*a,vx:(Math.random()-.5)*.18,vy:(Math.random()-.5)*.22,r:1+Math.random()*1.8,band:n}}),c=[]},u=()=>{if(s.length<2||c.length>12)return;let e=s.filter(e=>e.band<2);if(!e.length)return;let t=e[Math.floor(Math.random()*e.length)],n=s.indexOf(t),r=-1,i=200;for(let e=0;e<s.length;e++){if(s[e].band!==t.band+1)continue;let n=Math.hypot(s[e].x-t.x,s[e].y-t.y);n<i&&(i=n,r=e)}r>
18=0&&c.push({a:n,b:r,t:0,speed:.007+Math.random()*.009})},d=()=>{n.clearRect(0,0,i,a);for(let e=0;e<s.length;e++)for(let t=e+1;t<s.length;t++){if(Math.abs(s[e].band-s[t].band)!==1)continue;let r=s[e].x-s[t].x,i=s[e].y-s[t].y,a=Math.hypot(r,i);a<200&&(n.strokeStyle=`rgba(169, 207, 184, ${(1-a/200)*.15})`,n.lineWidth=1,n.beginPath(),n.moveTo(s[e].x,s[e].y),n.lineTo(s[t].x,s[t].y),n.stroke())}for(let e of s)if(n.fillStyle=`rgba(169, 207, 184, 0.5)`,n.beginPath(),n.arc(e.x,e.y,e.r,0,Math.PI*2),n.fill(),!r){e.x+=e.vx,e.y+=e.vy;let t=(e.band+.5)/3*i;e.vx+=(t-e.x)*2e-5,e.y<-10&&(e.y=a+10),e.y>a+10&&(e.y=-10)}if(!r){for(let e=c.length-1;e>=0;e--){let t=c[e],r=s[t.a],i=s[t.b];if(!r||!i){c.splice(e,1);continue}if(t.t+=t.speed,t.t>=1){c.splice(e,1);continue}let a=r.x+(i.x-r.x)*t.t,o=r.y+(i.y-r.y)*t.t;n.fillStyle=`rgba(248, 237, 143, ${.85*Math.sin(t.t*Math.PI)})`,n.beginPath(),n.arc(a,o,2.2,0,Math.PI*2),n.fill()}Math.random()<.07&&u()}o=requestAnimationFrame(d)};return l(),d(),window.addEventListener(`resize`,l),()=>{cancelAnimationFrame(o),window.removeEventListener(`resize`,l)}},[]),(0,B.jsx)(`canvas`,{ref:e,className:`absolute inset-0 w-full h-full`,"aria-hidden":`true`})}var Vb=[{icon:Vm,source:`Email · Bella's Bistro`,body:`“for Friday: the usual plus 4 cases of limes, thanks!”`,result:`order drafted · 16 lines priced from contract · ready to approve`},{icon:pm,source:`Stock · Limes · 40 lb case`,body:`below reorder point — two days of cover left`,result:`replenishment PO to Fresh Point drafted · ready to send`},{icon:Gm,source:`Ask Arbia · 7:48 AM`,body:`“which accounts ordered less than usual this month?”`,result:`3 accounts down more than 20% · chart and account list ready`},{icon:Fm,source:`Donation · regional food bank`,body:`340 lb of produce offered by a connected grocer for Thursday`,result:`accepted · pickup scheduled · weighed & verified on receipt`}];function Hb(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=e.current;if(!t)return;let n=Array.from(t.children),r=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{let e=G.timeline({repeat:-1});n.forEach(t=>{let n=t.querySelector(`[data-result]`),r=t.querySelector(`[data-spinner]`);e.fromTo(t,{autoAlpha:0,y:24},{autoAlpha:1,y:0,duration:.5,ease:`power3.out`}).fromTo(r,{autoAlpha:0},{autoAlpha:1,duration:.2},`<0.3`).to(r,{autoAlpha:0,duration:.2},`+=0.9`).fromTo(n,{autoAlpha:0,y:6},{autoAlpha:1,y:0,duration:.4,ease:`power2.out`},`<`).to({},{duration:1.4}).to(t,{autoAlpha:.35,duration:.4})}),e.to({},{duration:1}).to(n,{autoAlpha:0,y:-10,duration:.5,stagger:.05})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(n,{autoAlpha:1}),G.set(t.querySelectorAll(`[data-result]`),{autoAlpha:1})})},t);return()=>r.revert()},[]),(0,B.jsxs)(`div`,{className:`relative rounded-3xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,B.jsxs)(`span`,{className:`relative flex h-2.5 w-2.5`,children:[(0,B.jsx)(`span`,{className:`animate-ping absolute inline-flex h-full w-full rounded-full bg-sage opacity-60`}),(0,B.jsx)(`span`,{className:`relative inline-flex rounded-full h-2.5 w-2.5 bg-sage`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm font-medium tracking-wide`,children:`Working alongside you`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/40 text-xs font-mono`,children:`live`})]}),(0,B.jsx)(`div`,{ref:e,className:`space-y-3 min-h-[330px] sm:min-h-[300px]`,children:Vb.map(e=>(0,B.jsxs)(`div`,{className:`rounded-2xl bg-evergreen/70 border border-white/10 p-4 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite/60 text-xs mb-1.5`,children:[(0,B.jsx)(e.icon,{className:`w-3.5 h-3.5 text-sage`}),(0,B.jsx)(`span`,{className:`truncate`,children:e.source})]}),(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm leading-snug mb-2`,children:e.body}),(0,B.jsxs)(`div`,{className:`relative h-5`,children:[(0,B.jsxs)(`span`,{"data-spinner":!0,className:`absolute inset-y-0 left-0 flex items-center gap-1.5 text-xs text-offwhite/50 opacity-0`,children:[(0,B.jsx)(ah,{className:`w-3 h-3 animate-spin`}),`reading & matching…`]}),(0,B.jsxs)(`span`,{"data-result":!0,className:`absolute inset-y-0 left-0 flex items-center gap-1.5 text-xs text-sage opacity-0`,children:[(0,B.jsx)(ym,{className:`w-3.5 h-3.5 shrink-0`}),e.result]})]})]},e.source))})]})}var Ub=[{value:`300+`,label:`organizations on the network`},{value:`<60s`,label:`email to priced order`},{value:`CA + US`,label:`across the food supply chain`}];function Wb(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.timeline({defaults:{ease:`power3.out`}}).fromTo(`[data-hero-eyebrow]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.7}).fromTo(`[data-hero-line]`,{yPercent:110,autoAlpha:0},{yPercent:0,autoAlpha:1,duration:.9,stagger:.12},`-=0.4`).fromTo(`[data-hero-sub]`,{autoAlpha:0,y:20},{autoAlpha:1,y:0,duration:.7},`-=0.5`).fromTo(`[data-hero-cta]`,{autoAlpha:0,y:16},{autoAlpha:1,y:0,duration:.6,stagger:.1},`-=0.4`).fromTo(`[data-hero-panel]`,{autoAlpha:0,y:32},{autoAlpha:1,y:0,duration:.9},`-=0.6`).fromTo(`[data-hero-stat]`,{autoAlpha:0,scale:.85},{autoAlpha:1,scale:1,duration:.5,stagger:.1,ease:`back.out(1.6)`},`-=0.5`)}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-hero-eyebrow], [data-hero-line], [data-hero-sub], [data-hero-cta], [data-hero-panel], [data-hero-stat]`,{autoAlpha:1,x:0,y:0,yPercent:0,scale:1})})},e);return()=>t.revert()},[]),(0,B.jsxs)(`section`,{ref:e,className:`relative min-h-screen bg-evergreen overflow-hidden flex flex-col`,children:[(0,B.jsx)(Bb,{}),(0,B.jsx)(`div`,{className:`absolute inset-0 bg-linear-to-b from-evergreen/30 via-trans
18parent to-evergreen pointer-events-none`}),(0,B.jsx)(`div`,{className:`container-custom relative z-10 flex-1 flex items-center pt-32 pb-12 md:pt-36`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-8 items-center w-full`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-7`,children:[(0,B.jsx)(`p`,{"data-hero-eyebrow":!0,className:`brand-line eyebrow text-sage mb-8 opacity-0`,children:`Built for Food. Powered by AI.`}),(0,B.jsxs)(`h1`,{className:`heading-xl text-offwhite mb-8`,children:[(0,B.jsx)(`span`,{className:`block overflow-hidden`,children:(0,B.jsx)(`span`,{"data-hero-line":!0,className:`block opacity-0`,children:`Run your business.`})}),(0,B.jsx)(`span`,{className:`block overflow-hidden`,children:(0,B.jsx)(`span`,{"data-hero-line":!0,className:`block opacity-0`,children:`See what's coming.`})}),(0,B.jsx)(`span`,{className:`block overflow-hidden`,children:(0,B.jsx)(`span`,{"data-hero-line":!0,className:`block text-sage opacity-0`,children:`Waste nothing.`})})]}),(0,B.jsx)(`p`,{"data-hero-sub":!0,className:`text-lg md:text-xl text-offwhite/70 max-w-xl leading-relaxed md:leading-7 mb-10 opacity-0`,children:`Arbia is the AI operating system for the food supply chain. It takes the admin off your desk and shows you how you're performing and where to grow. And it connects you to the buyers, suppliers and food banks around you, so surplus finds a home before it becomes waste.`}),(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 mb-14`,children:[(0,B.jsxs)(`a`,{"data-hero-cta":!0,href:`/#demo`,className:`btn-primary-dark group opacity-0`,children:[`Request a demo`,(0,B.jsx)(om,{className:`ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform`})]}),(0,B.jsxs)(`a`,{"data-hero-cta":!0,href:`/#ask-arbia`,className:`btn-outline-dark group opacity-0`,children:[`Meet Ask Arbia`,(0,B.jsx)(im,{className:`ml-2 w-4 h-4 group-hover:translate-y-0.5 transition-transform`})]})]}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-4 sm:gap-6`,children:Ub.map(e=>(0,B.jsxs)(`div`,{"data-hero-stat":!0,className:`brand-circle border-sage/30 text-offwhite w-28 h-28 sm:w-32 sm:h-32 p-2 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-lg sm:text-xl font-medium text-sage`,children:e.value}),(0,B.jsx)(`span`,{className:`text-2xs sm:text-xs text-offwhite/60 mt-1 leading-tight sm:leading-4 px-2`,children:e.label})]},e.label))})]}),(0,B.jsx)(`div`,{"data-hero-panel":!0,className:`lg:col-span-5 opacity-0`,children:(0,B.jsx)(Hb,{})})]})})]})}var Gb=[{name:`Klipper's Organic Acres`,width:120,url:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/org-logos/klippers.png`},{name:`Kootenay Co-op`,width:100,url:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/org-logos/kootenay+coop.png`},{name:`Jasmine Foods`,width:110,url:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/org-logos/jasmine_logo_bk.png`},{name:`Twin Berry Farms`,width:105,url:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/org-logos/twin+berry+farms.png`},{name:`Taves Estate Cidery`,width:95,url:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/org-logos/Taves+Estate+Cidery.png`},{name:`Row 14`,width:130,url:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/org-logos/row+14.png`},{name:`Untangled Craft Cider`,width:110,url:`https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRGkNPOhq6NW_I8oHRlOhXUCMhbQ1B6TLJUxw&s`},{name:`Canadian Valley Growers`,width:115,url:`https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT6tMexIaBRfr7b_8roYNOGi6OsSaxRGhHfGw&s`}];function Kb(){return(0,B.jsxs)(`section`,{className:`py-16 bg-white overflow-hidden border-y border-gray-100`,children:[(0,B.jsx)(`div`,{className:`container-custom mb-8`,children:(0,B.jsx)(U.p,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},className:`text-center text-sm font-medium text-gray-500 uppercase tracking-wider`,children:`Trusted by growers, distributors, makers and food banks across North America`})}),(0,B.jsxs)(`div`,{className:`relative`,children:[(0,B.jsx)(`div`,{className:`absolute left-0 top-0 bottom-0 w-32 bg-linear-to-r from-white to-transparent z-10`}),(0,B.jsx)(`div`,{className:`absolute right-0 top-0 bottom-0 w-32 bg-linear-to-l from-white to-transparent z-10`}),(0,B.jsxs)(`div`,{className:`flex animate-marquee`,children:[(0,B.jsx)(`div`,{className:`flex items-center gap-16 px-8`,children:Gb.map((e,t)=>(0,B.jsx)(`div`,{className:`flex items-center justify-center h-12 opacity-60 hover:opacity-100 transition-opacity grayscale hover:grayscale-0`,style:{minWidth:e.width},children:(0,B.jsx)(`img`,{src:e.url,alt:e.name,className:`h-full w-auto object-contain`,loading:`lazy`})},`first-${t}`))}),(0,B.jsx)(`div`,{className:`flex items-center gap-16 px-8`,children:Gb.map((e,t)=>(0,B.jsx)(`div`,{className:`flex items-center justify-center h-12 opacity-60 hover:opacity-100 transition-opacity grayscale hover:grayscale-0`,style:{minWidth:e.width},children:(0,B.jsx)(`img`,{src:e.url,alt:e.name,className:`h-full w-auto object-contain`,loading:`lazy`})},`second-${t}`))})]})]})]})}var qb=[{value:`Up to 40%`,label:`of food is lost or wasted between farm and fork`},{value:`8–10%`,label:`of global greenhouse gas emissions come from food loss and waste — almost five times aviation’s`},{value:`Nearly 1 in 4`,label:`people in Canada live in a household that struggles to afford food`}];function Jb(){return(0,B.jsx)(`section`,{className:`section-padding bg-offwhite`,children:(0,B.jsx)(`div`,{className:`container-custom`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`lg:col-span-5`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`Why we exist`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-black mb-6`,children:[`The food system isn't broken.`,(0,B.jsx)(`span`,{className:`block text-forest`,children:`It's disconnected.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-4`,children:`Every food business depends on another. A farm's harvest is a distributor's inventory is a grocer's shelf is a food bank's pantry. Yet each of them runs on its own inbox, spreadsheet and ph
18one, and nobody can see across the hand-offs — so surplus sits at one end of the food supply chain while shortfall shows up at the other.`}),(0,B.jsx)(`p`,{className:`text-body`,children:`Closing that gap is one of the highest-leverage climate and food-security opportunities. It doesn't need new trucks or new warehouses. It needs every link to run intelligently — and to run on the same connected system.`})]}),(0,B.jsxs)(`div`,{className:`lg:col-span-6 lg:col-start-7 flex flex-col justify-center gap-10`,children:[qb.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,x:24},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.6},transition:{duration:.5,delay:t*.12},className:`border-l border-clay pl-6`,children:[(0,B.jsx)(`p`,{className:`text-4xl sm:text-5xl font-medium tracking-tight text-black leading-[0.95] sm:leading-none mb-2`,children:e.value}),(0,B.jsx)(`p`,{className:`text-body-sm max-w-md`,children:e.label})]},e.value)),(0,B.jsx)(`p`,{className:`-mt-4 pl-6 text-xs text-neutral-500 leading-relaxed max-w-md`,children:`Sources: WWF-UK, Driven to Waste (2021) · UNEP, Food Waste Index Report (2024) · PROOF, University of Toronto (2025 data)`})]})]})})})}var Yb=[{icon:ph,tag:`Supply`,title:`Farms, growers & makers`,points:[`Family farms & orchards`,`Co-ops & food hubs`,`Craft & specialty producers`],detail:`Harvest, inventory, storefront and invoicing in one place — and buyers who can see what you have before you have to call them.`},{icon:Am,tag:`Distribution`,title:`Distributors, importers & processors`,points:[`Independent distributors`,`Importers & wholesalers`,`Value-added processors`],detail:`The order desk, procurement and reporting run with Ask Arbia — suppliers on one side, customers on the other, all on the same system.`},{icon:hm,tag:`Demand`,title:`Grocers, kitchens & food banks`,points:[`Independent & specialty grocers`,`Restaurants & institutional kitchens`,`Food banks & recovery networks`],detail:`Compare every supplier, order in one cart — and receive what the food supply chain has to spare, logged, weighed and verified.`}];function Xb(){return(0,B.jsx)(`section`,{id:`chain`,className:`section-padding bg-forest overflow-hidden`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`max-w-3xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage mb-6`,children:`The connected food supply chain`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-offwhite mb-6`,children:[`Every link runs its own business.`,(0,B.jsx)(`span`,{className:`block text-sage`,children:`Together, they run the same food supply chain.`})]}),(0,B.jsx)(`p`,{className:`text-lg text-offwhite/70 leading-relaxed`,children:`Arbia gives every food business its own operating system. Because your suppliers, buyers and recovery partners run on the same one, orders, availability, prices and surplus move between you without anyone re-keying a thing. The phone tag and the email threads simply disappear.`})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-3 gap-6 lg:gap-8 relative`,children:Yb.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.55,delay:t*.15},className:`relative`,children:[(0,B.jsxs)(`div`,{className:`h-full rounded-3xl border border-white/10 bg-evergreen/50 backdrop-blur-xs p-7`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-6`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-2xl bg-sage/15 flex items-center justify-center`,children:(0,B.jsx)(e.icon,{className:`w-6 h-6 text-sage`})}),(0,B.jsx)(`span`,{className:`eyebrow text-offwhite/50`,children:`0${t+1}`})]}),(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage/80 mb-3`,children:e.tag}),(0,B.jsx)(`h3`,{className:`text-xl font-medium text-offwhite mb-4`,children:e.title}),(0,B.jsx)(`ul`,{className:`space-y-2 mb-5`,children:e.points.map(e=>(0,B.jsxs)(`li`,{className:`text-sm text-offwhite/70 flex items-center gap-2`,children:[(0,B.jsx)(`span`,{className:`w-1 h-1 rounded-full bg-sage shrink-0`}),e]},e))}),(0,B.jsx)(`p`,{className:`text-sm text-offwhite/60 leading-relaxed border-t border-white/10 pt-4`,children:e.detail})]}),t<Yb.length-1&&(0,B.jsx)(`div`,{className:`hidden md:flex absolute top-1/2 -right-5 lg:-right-6 z-10 w-10 lg:w-12 items-center justify-center`,"aria-hidden":`true`,children:(0,B.jsx)(U.div,{initial:{opacity:0,x:-8},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.4+t*.2},children:(0,B.jsx)(om,{className:`w-6 h-6 text-sage`})})})]},e.tag))}),(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.6,delay:.3},className:`mt-6`,children:[(0,B.jsx)(`div`,{className:`flex justify-center mb-2`,"aria-hidden":`true`,children:(0,B.jsx)(im,{className:`w-5 h-5 text-sage/60`})}),(0,B.jsx)(`div`,{className:`rounded-3xl border border-sage/30 bg-evergreen p-6 sm:p-8`,children:(0,B.jsxs)(`div`,{className:`grid sm:grid-cols-3 gap-6 items-center`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,B.jsx)(`img`,{src:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/arbia-logos/SVG/Arbia_Logo_White.svg`,alt:`Arbia`,className:`h-8`}),(0,B.jsx)(`span`,{className:`hidden sm:block w-px h-10 bg-white/15`,"aria-hidden":`true`})]}),(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(nh,{className:`w-5 h-5 text-sage shrink-0 mt-0.5`}),(0,B.jsx)(`p`,{className:`text-sm text-offwhite/80 leading-relaxed`,children:`One shared record — a buyer's order is the supplier's order. Availability, prices, substitutions and delivery windows stay in sync across every partner.`})]}),(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(rh,{className:`w-5 h-5 text-sage shrink-0 mt-0.5`}),(0,B.jsx)(`p`,{className:`text-sm text-offwhite/80 leading-relaxed`,children:`Surplus has somewhere to go — when stock runs ahead of demand, the next buyer and the nearest food bank are already on the network.`})]})]})})]})]})})}var Zb=[{icon:Vm,step:`01`,title:`An order arrives however it arrives`,body:`An email, a PDF purchase order, a spreadsheet, a photo of a handwritten list, a text from the truck. Your customers don't change a thing.`},{icon:jm,step:`02`,title:`Arbia reads it into a real order`,body:`Products, quantities, pack sizes and prices resolved against your catalogue, the customer's history and their contract — in seconds. Correct a line once and the next one is read the way you fixed it.`},{icon:ym,step:`03`,title:`Approve, and the rest follows`,body:`Inventory reserved, invoice drafted, accounting synced — and when the order takes stock below its reorder point, the replenishment order to your supplier is already written.`}];function Qb(){return(0,B.jsx)(`section`,{className:`section-padding bg-offwhite`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`max-w-3xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`The admin, handled`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-black mb-6`,children:[`The work that fills your day`,(0,B.jsx)(`span`,{className:`block text-forest`,children:`is the work Arbia takes off it.`})]}),(0,B.jsx)(`p`,{className:`text-body max-w-2xl`,children:`Orders arrive as emails, PDFs, spreadsheets, photos and texts — and someone re-keys every one. Arbia reads them into orders, invoices and purchase orders you approve rather than type, and it remembers every correction so it never asks twice.`})]}),(0,B.jsxs)(`div`,{className:`grid md:grid-cols-2 lg:grid-cols-12 gap-10 items-center`,children:[(0,B.jsx)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6},className:`lg:col-span-5`,children:(0,B.jsxs)(`div`,{className:`space-y-4`,children:[(0,B.jsxs)(`div`,{className:`rounded-2xl bg-white border border-stone p-5 shadow-soft -rotate-1`,children:[(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mb-1.5 font-mono`,children:`Email · Bella's Bistro · 7:42 AM`}),(0,B.jsx)(`p`,{className:`text-black text-sm italic leading-relaxed`,children:`“Morning! For Friday: the usual plus 4 cases of limes, thanks”`})]}),(0,B.jsx)(`div`,{className:`flex justify-center`,"aria-hidden":`true`,children:(0,B.jsx)(`span`,{className:`text-forest text-xl leading-none`,children:`↓`})}),(0,B.jsxs)(`div`,{className:`rounded-2xl bg-white border border-sage p-5 shadow-soft rotate-[0.5deg]`,children:[(0,B.jsx)(`div`,{className:`inline-flex items-center rounded-full bg-sage/40 px-3 py-1 mb-3`,children:(0,B.jsx)(`span`,{className:`text-2xs font-medium tracking-wide text-black uppercase`,children:`Order drafted · ready to approve`})}),(0,B.jsxs)(`dl`,{className:`grid grid-cols-2 gap-x-4 gap-y-2 text-sm`,children:[(0,B.jsx)(`dt`,{className:`text-neutral-500`,children:`Customer`}),(0,B.jsx)(`dd`,{className:`text-black font-medium`,children:`Bella's Bistro`}),(0,B.jsx)(`dt`,{className:`text-neutral-500`,children:`Lines`}),(0,B.jsx)(`dd`,{className:`text-black font-medium`,children:`16 · priced from contract`}),(0,B.jsx)(`dt`,{className:`text-neutral-500`,children:`Added`}),(0,B.jsx)(`dd`,{className:`text-black font-medium`,children:`Limes · 4 × 40 lb case`}),(0,B.jsx)(`dt`,{className:`text-neutral-500`,children:`Delivery`}),(0,B.jsx)(`dd`,{className:`text-black font-medium`,children:`Friday`}),(0,B.jsx)(`dt`,{className:`text-neutral-500`,children:`On approval`}),(0,B.jsx)(`dd`,{className:`text-black font-medium`,children:`Invoice drafted · ready for QuickBooks`})]})]})]})}),(0,B.jsx)(`div`,{className:`lg:col-span-6 lg:col-start-7 space-y-8`,children:Zb.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,x:24},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:t*.12},className:`flex gap-5`,children:[(0,B.jsx)(`div`,{className:`shrink-0 w-12 h-12 rounded-2xl bg-white border border-stone flex items-center justify-center shadow-soft`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5 text-forest`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-2`,children:e.step}),(0,B.jsx)(`h3`,{className:`text-xl font-medium text-black mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm max-w-md`,children:e.body})]})]},e.step))})]})]})})}var $b=[{icon:oh,label:`Searched inbox · 3 order emails since 6 AM`},{icon:Nm,label:`Drafted 3 orders for review`},{icon:pm,label:`Checked stock · 2 products below reorder point`}],ex=[{product:`Limes`,unit:`40 lb case`,qty:`12`},{product:`Roma tomatoes`,unit:`25 lb case`,qty:`8`}],tx=[52,61,58,66,63,71,74],nx=[{icon:Vm,title:`Reads your inbox`,body:`Connect Gmail or forward to your Arbia address. Order emails and attached POs become orders, and when you ask for “the Harvest Market email”, it finds it.`},{icon:lh,title:`Proposes. You approve.`,body:`Every order, invoice email, payment and purchase order it prepares lands as a card you approve. Nothing is written to the business without you.`},{icon:lm,title:`Answers in numbers`,body:`Sales, stock, receivables, purchasing, waste, harvests — as tables and charts with the source cited. Ask once, or have it emailed every Monday.`},{icon:um,title:`Works while you don't`,body:`Overnight it watches your stock and receivables. Each morning, the reorders and reminders it recommends are waiting for you.`},{icon:Km,title:`Say it, don't type it`,body:`Dictate from the cooler or the truck. Arbia tidies the transcript into a clean request before you send it.`},{icon:Fm,title:`Speaks food bank too`,body:`For food banks it lists, accepts, schedules and verifies donations through the same conversation.`}],rx=[`Turn this email into an order`,`Repeat Harvest Market's Thursday order`,`What's below reorder point?`,`Which accounts are down 20% this quarter?`,`Email the three oldest unpaid invoices`,`Record the payment from Luca's Deli`,`How much did we waste last month?`,`Send me top customers every Monday`,`Accept Thursday's donation from Harvest Market`,`How do I set up a customer price list?`],ix={initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3}};function ax({children:e}){return(0,B.jsx)(`div`,{className:`flex justify-end`,children:(0,B.jsx)(`div`,{className:`max-w-[85%] rounded-2xl rounded-br-sm bg-forest text-offwhite px-4 py-3 text-sm leading-relaxed`,children:e})})}function ox(){return(0,B.jsxs)(`section`,{id:`ask-arbia`,className:`bg-white text-black overflow-hidden`,children:[(0,B.jsxs)(`div`,{className:`container-custom section-padding`,children:[(0,B.jsxs)(U.div,{...ix,transition:{duration:.6},className:`max-w-3xl mb-14`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`Ask Arbia`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6`,children:[`Ask Arbia knows the whole business.`,(0,B.jsx)(`span`,{className:`block text-forest`,children:`And runs it alongside you.`})]}),(0,B.jsx)(`p`,{className:`text-body`,children:`It knows your orders, inventory, customers, suppliers and inbox. Ask it a question and it answers in numbers. Ask it to do something, like turning an email into an order, sending a supplier the replenishment order or chasing an invoice, and it gets done. You stay in charge.`})]}),(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-10 lg:gap-12 items-start`,children:[(0,B.jsxs)(U.div,{...ix,transition:{duration:.6,delay:.1},className:`lg:col-span-7 rounded-3xl border border-stone/60 bg-offwhite p-4 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5 px-1`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,B.jsx)(`span`,{className:`w-7 h-7 rounded-full bg-evergreen text-sage flex items-center justify-center`,children:(0,B.jsx)(fh,{className:`w-3.5 h-3.5`})}),(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:`Ask Arbia`})]}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-400 font-mono`,children:`Tuesday · 7:46 AM`})]}),(0,B.jsxs)(`div`,{className:`space-y-4`,children:[(0,B.jsx)(ax,{children:`Turn this morning's order emails into orders, and tell me what's running low.`}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:$b.map(e=>(0,B.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 rounded-full bg-white border border-stone/60 px-3 py-1.5 text-xs text-neutral-600`,children:[(0,B.jsx)(e.icon,{className:`w-3.5 h-3.5 text-forest`}),e.label]},e.label))}),(0,B.jsxs)(`div`,{className:`rounded-2xl rounded-bl-sm bg-white border border-stone/60 p-4 sm:p-5`,children:[(0,B.jsx)(`p`,{className:`text-sm leading-relaxed text-neutral-800 mb-4`,children:`Three orders came in overnight — Bella's Bistro, Harvest Market and Luca's Deli — and I've drafted all three for your review. Two products are below their reorder point: limes and Roma tomatoes. Here's a replenishment order to Fresh Point Produce based on your last one.`}),(0,B.jsxs)(`div`,{className:`rounded-2xl border border-sage bg-offwhite overflow-hidden`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-4 py-3 bg-evergreen`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium text-offwhite`,children:`Repeat purchase order · Fresh Point Produce`}),(0,B.jsx)(`span`,{className:`text-2xs uppercase tracking-wider text-sage`,children:`needs approval`})]}
18),(0,B.jsx)(`div`,{className:`divide-y divide-stone/40`,children:ex.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center px-4 py-2.5 text-sm gap-3`,children:[(0,B.jsx)(`span`,{className:`font-medium`,children:e.product}),(0,B.jsx)(`span`,{className:`text-xs text-neutral-500`,children:e.unit}),(0,B.jsxs)(`span`,{className:`ml-auto text-neutral-700`,children:[`× `,e.qty]})]},e.product))}),(0,B.jsxs)(`div`,{className:`flex items-center gap-2 px-4 py-3 border-t border-stone/40`,children:[(0,B.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 rounded-full bg-sage text-black text-xs font-medium px-3.5 py-1.5`,children:[(0,B.jsx)(ym,{className:`w-3.5 h-3.5`}),`Approve`]}),(0,B.jsx)(`span`,{className:`inline-flex items-center rounded-full border border-stone text-xs text-neutral-600 px-3.5 py-1.5`,children:`Dismiss`}),(0,B.jsx)(`span`,{className:`ml-auto text-2xs text-neutral-400`,children:`delivery Thursday · $1,184.00`})]})]})]}),(0,B.jsx)(ax,{children:`How are sales tracking this month?`}),(0,B.jsxs)(`div`,{className:`rounded-2xl rounded-bl-sm bg-white border border-stone/60 p-4 sm:p-5`,children:[(0,B.jsx)(`p`,{className:`text-sm leading-relaxed text-neutral-800 mb-4`,children:`Revenue is up 6% on last month. Three accounts are ordering less than usual, and Harvest Market is down 32%. Worth a call this week.`}),(0,B.jsxs)(`div`,{className:`rounded-xl bg-offwhite border border-stone/50 p-4`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-xs text-neutral-500 mb-3`,children:[(0,B.jsx)(`span`,{className:`font-medium text-neutral-700`,children:`Revenue by week · last 7 weeks`}),(0,B.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-forest`,children:[(0,B.jsx)(lm,{className:`w-3.5 h-3.5`}),`sales by period`]})]}),(0,B.jsx)(`div`,{className:`flex items-end gap-2 h-20`,children:tx.map((e,t)=>(0,B.jsx)(`div`,{className:`flex-1 flex flex-col justify-end h-full`,children:(0,B.jsx)(`div`,{className:`rounded-t-md ${t===tx.length-1?`bg-forest`:`bg-sage`}`,style:{height:`${e}%`}})},t))})]}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2 mt-4`,children:[`Which accounts are slipping?`,`Who buys limes most often?`,`Email me this every Monday`].map(e=>(0,B.jsx)(`span`,{className:`rounded-full border border-forest/30 text-forest text-xs px-3 py-1.5`,children:e},e))})]})]})]}),(0,B.jsx)(`div`,{className:`lg:col-span-5 grid sm:grid-cols-2 lg:grid-cols-1 gap-4`,children:nx.map((e,t)=>(0,B.jsxs)(U.div,{...ix,transition:{duration:.5,delay:.1+t*.07},className:`flex gap-4 rounded-2xl border border-stone/50 bg-white p-5`,children:[(0,B.jsx)(`span`,{className:`shrink-0 w-10 h-10 rounded-xl bg-evergreen text-sage flex items-center justify-center`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{className:`text-base font-medium mb-1`,children:e.title}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-600 leading-relaxed`,children:e.body})]})]},e.title))})]})]}),(0,B.jsx)(`div`,{className:`pb-20 md:pb-28`,children:(0,B.jsx)(`div`,{className:`relative mask-fade-edges`,children:(0,B.jsx)(`div`,{className:`flex animate-marquee-slow w-max`,children:[0,1].map(e=>(0,B.jsx)(`div`,{className:`flex gap-3 px-1.5`,"aria-hidden":e===1,children:rx.map(e=>(0,B.jsxs)(`span`,{className:`whitespace-nowrap px-5 py-2.5 rounded-full border border-stone/60 text-sm text-neutral-600 bg-offwhite`,children:[`“`,e,`”`]},e))},e))})})})]})}var sx=[{icon:fh,word:`Intelligence.`,accent:`text-sage`,body:`An operating system that reads your inbox, your paperwork and your numbers and does the admin — orders, invoices, replenishment, reports — with you approving instead of re-keying.`},{icon:th,word:`Foresight.`,accent:`text-sun`,body:`Arbia sees the stock, the orders and the demand across the whole network — so it catches the reorder before the stockout, the account drifting before it churns, and the surplus before it becomes waste.`},{icon:yh,word:`Growth.`,accent:`text-amber`,body:`Clarity on how the business is really performing and where the margin is — and a network of connected buyers, suppliers and partners to grow into.`}];function cx(){return(0,B.jsx)(`section`,{className:`section-padding bg-evergreen`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`max-w-3xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage mb-6`,children:`What every food business gets`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-offwhite`,children:[(0,B.jsx)(`span`,{className:`text-sage`,children:`Intelligence.`}),` `,(0,B.jsx)(`span`,{className:`text-sun`,children:`Foresight.`}),` `,(0,B.jsx)(`span`,{className:`text-amber`,children:`Growth.`})]})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-3 gap-6 lg:gap-8`,children:sx.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.55,delay:t*.15},className:`rounded-3xl border border-white/10 bg-white/4 p-7`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-2xl bg-white/10 flex items-center justify-center mb-6`,children:(0,B.jsx)(e.icon,{className:`w-6 h-6 ${e.accent}`})}),(0,B.jsx)(`h3`,{className:`text-2xl font-medium mb-4 ${e.accent}`,children:e.word}),(0,B.jsx)(`p`,{className:`text-offwhite/70 leading-relaxed`,children:e.body})]},e.word))})]})})}var lx=[{icon:th,step:`01`,title:`Detect`,body:`Stock on hand, inbound purchase orders and the sales pattern behind them say what will be left over — and when it stops being sellable.`},{icon:hh,step:`02`,title:`Redirect`,body:`Arbia finds the buyer: a marketplace listing, a nearby customer who already buys that product, a price that moves it — and makes the offer.`},{icon:Fm,step:`03`,title:`Recover`,body:`What no buyer takes is routed to a connected food bank or recovery network before it expires — picked up, weighed and verified on receipt, so it counts.`}];function ux(){return(0,B.jsx)(`section`,{id:`foresight`,className:`section-padding bg-offwhite overflow-hidden`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`max-w-3xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`Foresight`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-black mb-6`,children:[`See the surplus`,(0,B.jsx)(`span`,{className:`block text-forest`,children:`before it becomes waste.`})]}),(0,B.jsx)(`p`,{className:`text-body max-w-2xl mb-4`,children:`Food is wasted when supply and demand are both known — just not to each other. Arbia runs the stock, the orders and the demand across the food supply chain, so it sees a business running ahead of what its customers will take — weeks out.`}),(0,B.jsx)(`p`,{className:`text-body max-w-2xl`,children:`Then it finds the next buyer, or a direct route to the people who need it, before it becomes waste.`})]}),(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-10 items-center`,children:[(0,B.jsx)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6},className:`lg:col-span-6`,children:(0,B.jsxs)(`div`,{className:`rounded-3xl bg-white border border-stone shadow-soft-lg overflow-hidden`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(vh,{className:`w-4 h-4 text-sun`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Surplus outlook · Roma tomatoes · 25 lb case`})]}),(0,B.jsx)(`span`,{className:`shrink-0 ml-3 whitespace-nowrap text-2xs uppercase tracking-wider text-sun`,children:`next 10 days`})]}),(0,B.jsxs)(`div`,{className:`p-5 space-y-4`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-xs mb-1.5`,children:[(0,B.jsx)(`span`,{className:`text-neutral-600`,children:`On hand + inbound`}),(0,B.jsx)(`span`,{className:`font-mono text-black`,children:`140 cases`})]}),(0,B.jsx)(`div`,{className:`h-2 rounded-full bg-stone/50 overflow-hidden`,children:(0,B.jsx)(`div`,{className:`h-full rounded-full bg-forest`,style:{width:`100%`}})})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-xs mb-1.5`,children:[(0,B.jsx)(`span`,{className:`text-neutral-600`,children:`Expected demand to Oct 17`}),(0,B.jsx)(`span`,{className:`font-mono text-black`,children:`80 cases`})]}),(0,B.jsx)(`div`,{className:`h-2 rounded-full bg-stone/50 overflow-hidden`,children:(0,B.jsx)(`div`,{className:`h-full rounded-full bg-sage`,style:{width:`57%`}})})]}),(0,B.jsxs)(`div`,{className:`rounded-xl bg-sun/40 px-4 py-3 text-sm text-black`,children:[(0,B.jsx)(`span`,{className:`font-medium`,children:`60 cases`}),` on course to pass their sell-by date unsold.`]}
18),(0,B.jsxs)(`div`,{className:`divide-y divide-stone/40 border-t border-stone/40`,children:[(0,B.jsxs)(`div`,{className:`flex items-start gap-3 py-3 text-sm`,children:[(0,B.jsx)(hh,{className:`w-4 h-4 text-forest mt-0.5 shrink-0`}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`font-medium`,children:`Offer 48 cases to two marketplace buyers nearby`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mt-0.5`,children:`both bought Romas in the last 30 days · offer ready to send`})]})]}),(0,B.jsxs)(`div`,{className:`flex items-start gap-3 py-3 text-sm`,children:[(0,B.jsx)(Fm,{className:`w-4 h-4 text-forest mt-0.5 shrink-0`}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`font-medium`,children:`Food bank pickup · Thursday · 12 cases`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mt-0.5`,children:`regional food bank connected · weighed & verified on receipt`})]})]})]})]})]})}),(0,B.jsx)(`div`,{className:`lg:col-span-5 lg:col-start-8 space-y-8`,children:lx.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,x:24},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:t*.12},className:`flex gap-5`,children:[(0,B.jsx)(`div`,{className:`shrink-0 w-12 h-12 rounded-2xl bg-white border border-stone flex items-center justify-center shadow-soft`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5 text-forest`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-2`,children:e.step}),(0,B.jsx)(`h3`,{className:`text-xl font-medium text-black mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm max-w-md`,children:e.body})]})]},e.step))})]})]})})}var dx=[{value:`Verified`,label:`every donation, weighed on receipt`},{value:`Every lot`,label:`traceable end to end, order by order`},{value:`CO₂e`,label:`averted, calculated with peer-reviewed data`}],fx=[{title:`Waste diverted`,body:`Surplus and seconds sold or donated before they become waste — tracked in pounds, by product, by season.`},{title:`Food recovered`,body:`Donations from connected donors logged at intake, pickup and receiving, weighed and verified by the food bank that took them in.`},{title:`Emissions averted`,body:`Food that gets eaten instead of thrown away is food nobody has to grow, ship and store a second time. Emissions averted are calculated from the pounds actually recovered, by food category, using peer-reviewed life-cycle data — built on the record of what moved, not a survey.`},{title:`Resilience built`,body:`Every producer, buyer and recovery partner added to the network is another route food can take when a link in the food supply chain fails.`}];function px(){return(0,B.jsx)(`section`,{id:`impact`,className:`section-padding bg-sage`,children:(0,B.jsx)(`div`,{className:`container-custom`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`lg:col-span-5`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-black mb-6`,children:`Impact`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-black mb-6`,children:[`Less waste isn't a side project.`,(0,B.jsx)(`span`,{className:`block`,children:`It's what a well-run food supply chain produces.`})]}),(0,B.jsx)(`p`,{className:`text-lg text-black/70 leading-relaxed mb-4`,children:`Because Arbia runs the actual movement of food, impact isn't a survey you fill in afterwards. Every order, every donation and every diverted case carries its own record — down to the lot.`}),(0,B.jsx)(`p`,{className:`text-lg text-black/70 leading-relaxed mb-10`,children:`For a food bank, a funder or a procurement officer, that's an impact report generated from the transactions themselves, auditable to the line.`}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-4 sm:gap-5`,children:dx.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,scale:.85},whileInView:{opacity:1,scale:1},viewport:{once:!0,amount:.6},transition:{duration:.45,delay:t*.12},className:`brand-circle border-black/25 text-black w-32 h-32 sm:w-36 sm:h-36 p-3`,children:[(0,B.jsx)(`span`,{className:`text-2xl font-medium`,children:e.value}),(0,B.jsx)(`span`,{className:`text-2xs sm:text-xs text-black/70 mt-1 leading-tight sm:leading-4 px-2`,children:e.label})]},e.label))})]}),(0,B.jsx)(`div`,{className:`lg:col-span-6 lg:col-start-7 grid sm:grid-cols-2 gap-5 content-center`,children:fx.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.5,delay:t*.1},className:`rounded-3xl bg-offwhite p-6`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium text-black mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-600 leading-relaxed`,children:e.body})]},e.title))})]})})})}var mx=[{icon:bh,title:`Distributors`,href:`/distributors`,body:`Ask Arbia runs the order desk and procurement: emails become orders, low stock becomes purchase orders, and the suppliers and customers you talk to every day are on the same system you are.`,highlight:`The operating system for the middle of the food supply chain`},{icon:ph,title:`Farmers & producers`,href:`/farmers`,body:`Harvest, inventory, storefront and invoicing in one place — and a network of buyers, from the café down the road to the institutions you could never reach alone.`,highlight:`Sell more of what you grow`},{icon:hh,title:`Grocers & buyers`,href:`/grocers`,body:`Every price list normalized, every supplier compared line by line, one cart split into purchase orders — with local producers sitting right beside the broadliners.`,highlight:`Buy smarter across every supplier`},{icon:Ym,title:`Manufacturers & processors`,href:`/manufacturers`,body:`Recipes, batches, true COGS and every channel's orders in one queue — with live supply upstream and live demand downstream of production.`,highlight:`Know your true cost. Sell on every channel.`}];function hx(){return(0,B.jsx)(`section`,{className:`section-padding bg-white`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`max-w-3xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`Who it's for`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-black mb-6`,children:[`One system.`,(0,B.jsx)(`span`,{className:`block text-forest`,children:`Every link in the food supply chain.`})]}),(0,B.jsx)(`p`,{className:`text-body max-w-2xl`,children:`Whatever you grow, move, make or sell, Arbia runs your business — and connects it to the ones it depends on. Every business that joins makes the network stronger for everyone already on it. Start where you sit in the food supply chain.`})]}),(0,B.jsx)(`div`,{className:`grid sm:grid-cols-2 gap-6`,children:mx.map((e,t)=>(0,B.jsx)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.5,delay:t*.08},children:(0,B.jsxs)(Nn,{to:e.href,className:`group flex flex-col h-full rounded-3xl border border-stone bg-offwhite p-7 hover:border-forest hover:shadow-soft-lg transition-all duration-300`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-6`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-2xl bg-white border border-stone flex items-center justify-center group-hover:bg-arbia-100 transition-colors`,children:(0,B.jsx)(e.icon,{className:`w-6 h-6 text-forest`})}),(0,B.jsx)(om,{className:`w-5 h-5 text-neutral-400 group-hover:text-forest group-hover:translate-x-1 transition-all`})]}),(0,B.jsx)(`h3`,{className:`text-2xl font-medium text-black mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-4`,children:e.highlight}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.body})]})}
18,e.title))}),(0,B.jsx)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.5},className:`mt-6 rounded-3xl bg-evergreen p-7 sm:p-8`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-6 items-center`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-8 flex gap-5`,children:[(0,B.jsx)(`div`,{className:`shrink-0 w-12 h-12 rounded-2xl bg-sage/15 flex items-center justify-center`,children:(0,B.jsx)(Fm,{className:`w-6 h-6 text-sage`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{className:`text-2xl font-medium text-offwhite mb-2`,children:`Food banks & recovery networks`}),(0,B.jsx)(`p`,{className:`text-offwhite/70 leading-relaxed`,children:`Accept, pick up, verify and report on donations from connected donors — on the same network where the surplus is found. Field workers log intake, pickup and receiving from a phone; Ask Arbia handles the rest of the admin.`})]})]}),(0,B.jsx)(`div`,{className:`lg:col-span-4 flex lg:justify-end`,children:(0,B.jsxs)(`a`,{href:`/#demo`,className:`btn-primary-dark group`,children:[`Talk to us`,(0,B.jsx)(om,{className:`ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform`})]})})]})})]})})}var gx=[{icon:gh,title:`Waste nothing`,description:`Every feature we ship has to help food reach someone who needs it.`},{icon:wh,title:`Start on the floor`,description:`We build on loading docks, farms and order desks, with the people who will use it.`},{icon:xh,title:`Partners, not vendors`,description:`We measure ourselves by our customers' growth, not our feature list.`}
18,{icon:Wm,title:`Plain speaking`,description:`No jargon, in the product or out of it.`}],_x=[{label:`Techstars-backed`,description:`Selected for the prestigious Techstars Future of Food program`},{label:`North America`,description:`Serving farms, distributors, and grocers across the US and Canada`},{label:`300+ organizations`,description:`Growers, distributors, grocers and food banks on one network`},{label:`Industry experts`,description:`Team with decades of combined agri-food and technology experience`}],vx=[{name:`Luke Scales`,role:`CEO & Co-Founder`,image:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/team/luke-headshot.jpg`,imageClass:`object-cover object-[center_15%]`,bio:`Luke joined Pointy early, before Google acquired it, and was a founding engineer at Nory. He has published research on demand forecasting for food supply chains and holds an MSc in AI Computing.`},{name:`Conor McKenna`,role:`COO & Co-Founder`,image:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/team/conor-mckenna.png`,imageClass:`object-cover object-top`,bio:`Conor is a generational farmer who ran hospitality operations for five years, then designed ERP and fintech systems for multinationals at FISPAN and Vodafone. Bachelor's in Computer Science & Digital Media.`}];function yx(){let e=(0,C.useRef)(null),t=Qp(e,{once:!0,amount:.3}),n=(0,C.useRef)(null),{scrollYProgress:r}=Vp({target:n,offset:[`start end`,`end start`]}),i=Jp(r,[0,1],[50,-50]);return(0,B.jsx)(`section`,{id:`about`,ref:n,className:`section-padding bg-gray-50 overflow-hidden`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`max-w-3xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`About us`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-gray-900 mb-4`,children:[`Making the food system`,` `,(0,B.jsx)(`span`,{className:`text-gradient`,children:`intelligent and connected`})]}),(0,B.jsx)(`p`,{className:`text-body`,children:`The people who grow, move, make and sell our food run the most complex operations in the economy — on the most disconnected tools. Arbia exists to change that.`})]}),(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-2 gap-16 items-center mb-20`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[(0,B.jsx)(`h3`,{className:`text-2xl md:text-3xl font-bold text-gray-900 mb-6`,children:`Our mission`}),(0,B.jsxs)(`div`,{className:`space-y-4 text-gray-600 leading-relaxed`,children:[(0,B.jsx)(`p`,{children:`The agri-food industry feeds the world, yet it's held together by phone calls, clipboards, and spreadsheets. Distributors juggle a dozen disconnected systems while a paper trail of orders moves between farmers, warehouses, and grocers — and nobody can see across the hand-offs.`}),(0,B.jsx)(`p`,{children:`We're here to change that. Arbia is an AI-powered operating system for food businesses: Ask Arbia takes the admin off the desk and gives owners real clarity on how the business is performing and where it can grow. And because suppliers, buyers and recovery partners run on the same system, the food supply chain between them starts to work as one.`}),(0,B.jsx)(`p`,{children:`The stakes are bigger than cost savings. Up to 40% of food is lost or wasted before it reaches a plate, while nearly one in four people in Canada struggles to afford food. A food supply chain that can see its own surplus coming can sell it, move it, or get it to a food bank first. That's Arbia.`})]})]}),(0,B.jsx)(U.div,{ref:e,initial:{opacity:0,x:30},animate:t?{opacity:1,x:0}:{},transition:{duration:.6},className:`relative`,children:(0,B.jsx)(U.div,{style:{y:i},className:`grid grid-cols-2 gap-4`,children:_x.map((e,n)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.4,delay:n*.1},className:`bg-white rounded-xl p-5 shadow-xs border border-gray-100`,children:[(0,B.jsx)(`div`,{className:`text-lg font-bold text-arbia-600 mb-2`,children:e.label}),(0,B.jsx)(`p`,{className:`text-gray-600 text-sm`,children:e.description})]},n))})})]}),(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,B.jsx)(`h3`,{className:`text-2xl md:text-3xl font-bold text-gray-900 text-center mb-4`,children:`Built by people who grew up in food`}),(0,B.jsx)(`p`,{className:`text-gray-600 text-center max-w-2xl mx-auto mb-12 leading-relaxed`,children:`Luke grew up in retail and meat processing, Conor on a generational farm. They spent the last decade building software while their families' businesses still ran on whiteboards, sticky notes and decade-old ERPs.`})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-2 gap-6 max-w-2xl mx-auto mb-20`,children:vx.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.15},className:`bg-white rounded-2xl overflow-hidden border border-gray-100 hover:shadow-lg transition-all duration-300`,children:[(0,B.jsx)(`div`,{className:`pt-6 pb-2 flex justify-center bg-linear-to-b from-gray-50 to-white`,children:(0,B.jsx)(`div`,{className:`w-48 h-48 rounded-full overflow-hidden ring-4 ring-white shadow-lg`,children:(0,B.jsx)(`img`,{src:e.image,alt:e.name,className:`w-full h-full ${e.imageClass}`,style:{imageRendering:`-webkit-optimize-contrast`,WebkitBackfaceVisibility:`hidden`,backfaceVisibility:`hidden`}})})}),(0,B.jsxs)(`div`,{className:`p-6 text-center`,children:[(0,B.jsx)(`h4`,{className:`text-xl font-bold text-gray-900`,children:e.name}),(0,B.jsx)(`p`,{className:`text-arbia-600 font-semibold mb-4`,children:e.role}),(0,B.jsx)(`p`,{className:`text-gray-600 text-sm leading-relaxed text-left`,children:e.bio})]})]},t))}),(0,B.jsx)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`mb-8`,children:(0,B.jsx)(`h3`,{className:`text-2xl md:text-3xl font-bold text-gray-900 text-center mb-12`,children:`Our values`})}),(0,B.jsx)(`div`,{className:`grid sm:grid-cols-2 lg:grid-cols-4 gap-6`,children:gx.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:`group bg-white rounded-2xl p-6 border border-gray-100 hover:border-arbia-200 hover:shadow-lg transition-all duration-300`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-xl bg-arbia-50 flex items-center justify-center mb-4 group-hover:bg-arbia-100 transition-colors`,children:(0,B.jsx)(e.icon,{className:`w-6 h-6 text-arbia-600`})}),(0,B.jsx)(`h4`,{className:`text-lg font-bold text-gray-900 mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-gray-600`,children:e.description})]},t))})]})})}var bx=`https://api.arbia.io`,xx=[{value:`farm`,label:`Farm`},{value:`importer-distributor`,label:`Importer/Distributor`},{value:`food-hub`,label:`Food Hub/Co-op`},{value:`processor`,label:`Processor/Manufacturer`},{value:`institution`,label:`Institutional Buyer (hospital, school, campus)`},{value:`food-relief`,label:`Food Bank/Relief Organization`},{value:`brewery-cidery`,label:`Brewery/Cidery`},{value:`winery-vineyard`,label:`Winery/Vineyard`},{value:`retail`,label:`Retail`}
18,{value:`hospitality`,label:`Hospitality`},{value:`cpg`,label:`CPG`},{value:`other`,label:`Other`}],Sx=[{value:`owner`,label:`Owner`},{value:`c-level`,label:`C-level Exec`},{value:`operations`,label:`Operations`},{value:`procurement`,label:`Procurement`},{value:`account-manager`,label:`Account Manager`},{value:`it-manager`,label:`IT Manager`},{value:`other`,label:`Other`}];function Cx(){let[e,t]=(0,C.useState)({firstName:``,lastName:``,email:``,phone:``,businessType:``,otherBusinessType:``,company:``,role:``,message:``}),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(null),u=(e,t)=>{l({type:e,message:t}),setTimeout(()=>l(null),5e3)},d=e=>{let{name:n,value:r}=e.target;t(e=>({...e,[n]:r}))};return(0,B.jsxs)(`section`,{id:`demo`,className:`section-padding bg-linear-to-br from-forest via-evergreen to-arbia-950 relative overflow-hidden`,children:[(0,B.jsxs)(`div`,{className:`absolute inset-0`,children:[(0,B.jsx)(`div`,{className:`absolute top-0 left-1/4 w-96 h-96 bg-sage/10 rounded-full blur-3xl animate-float`}),(0,B.jsx)(`div`,{className:`absolute bottom-0 right-1/4 w-96 h-96 bg-sky/10 rounded-full blur-3xl animate-float animation-delay-200`}),(0,B.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(to_right,#ffffff08_1px,transparent_1px),linear-gradient(to_bottom,#ffffff08_1px,transparent_1px)] bg-size-[40px_40px]`})]}),(0,B.jsx)(mr,{children:c&&(0,B.jsxs)(U.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:`fixed top-24 right-4 z-50 flex items-center gap-3 px-6 py-4 rounded-xl shadow-lg ${c.type===`success`?`bg-green-50 border border-green-200`:`bg-red-50 border border-red-200`}`,children:[c.type===`success`?(0,B.jsx)(ym,{className:`w-5 h-5 text-green-600`}):(0,B.jsx)(tm,{className:`w-5 h-5 text-red-600`}),(0,B.jsx)(`span`,{className:c.type===`success`?`text-green-800`:`text-red-800`,children:c.message}),(0,B.jsx)(`button`,{onClick:()=>l(null),className:`ml-2 text-gray-400 hover:text-gray-600`,children:(0,B.jsx)(Th,{className:`w-4 h-4`})})]})}),(0,B.jsx)(mr,{children:o&&(0,B.jsx)(U.div,{initial:{opacity:0}
18,animate:{opacity:1},exit:{opacity:0},className:`fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4`,onClick:()=>s(!1),children:(0,B.jsxs)(U.div,{initial:{scale:.95},animate:{scale:1},exit:{scale:.95},onClick:e=>e.stopPropagation(),className:`bg-white rounded-2xl shadow-2xl max-w-lg w-full p-6`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-4`,children:[(0,B.jsx)(`h3`,{className:`text-xl font-bold text-gray-900`,children:`Demo request terms`}),(0,B.jsx)(`button`,{onClick:()=>s(!1),className:`p-2 hover:bg-gray-100 rounded-full transition-colors`,children:(0,B.jsx)(Th,{className:`w-5 h-5 text-gray-500`})})]}),(0,B.jsxs)(`p`,{className:`text-gray-600 leading-relaxed`,children:[`By requesting a demo, you agree to allow Arbia to retain your email and other provided data for the purpose of following up on your request and for other business-related purposes. This may include, but is not limited to, sending you updates, promotional materials, and other communications related to our services. We are committed to protecting your privacy and will handle your data in accordance with our privacy policy. If you wish to have your data removed from our records, please contact us at`,` `,(0,B.jsx)(`a`,{href:`mailto:[email protected]`,className:`text-arbia-600 hover:underline`,children:`[email protected]`}),`.`]}),(0,B.jsx)(`button`,{onClick:()=>s(!1),className:`mt-6 w-full py-3 bg-arbia-600 text-white rounded-xl font-semibold hover:bg-arbia-700 transition-colors`,children:`I understand`})]})})}),(0,B.jsx)(`div`,{className:`container-custom relative z-10`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-2 gap-12 lg:gap-20 items-start`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage mb-6`,children:`Get started`}),(0,B.jsx)(`h2`,{className:`text-4xl md:text-5xl font-bold text-white mb-6`,children:`Request a demo`}),(0,B.jsx)(`p`,{className:`text-lg text-white/80 mb-8`,children:`See Arbia on your own operation: this morning's emails becoming orders, Ask Arbia answering questions about your business, and your suppliers, customers and food bank on the same network. We'll tailor the walkthrough to where you sit in the food supply chain.`}),(0,B.jsx)(`div`,{className:`space-y-4`,children:(0,B.jsxs)(`div`,{className:`flex items-center gap-4 p-4 bg-white/10 rounded-xl border border-white/20 backdrop-blur-xs`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-xl bg-white/20 flex items-center justify-center`,children:(0,B.jsx)(Vm,{className:`w-6 h-6 text-white`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-sm text-white/60`,children:`Email us directly`}),(0,B.jsx)(`a`,{href:`mailto:[email protected]`,className:`text-white font-semibold hover:text-arbia-200 transition-colors`,children:`[email protected]`})]})]})}),(0,B.jsxs)(`div`,{className:`mt-8 p-6 bg-white/10 rounded-2xl border border-white/20 backdrop-blur-xs`,children:[(0,B.jsx)(`h3`,{className:`font-semibold text-white mb-3`,children:`What to expect`}),(0,B.jsxs)(`ul`,{className:`space-y-2 text-white/80`,children:[(0,B.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(ym,{className:`w-5 h-5 text-arbia-300`}),(0,B.jsx)(`span`,{children:`A walkthrough built around your business`})]}),(0,B.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(ym,{className:`w-5 h-5 text-arbia-300`}),(0,B.jsx)(`span`,{children:`Your questions, answered by the people who built it`})]}),(0,B.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(ym,{className:`w-5 h-5 text-arbia-300`}),(0,B.jsx)(`span`,{children:`A straight answer on pricing`})]}),(0,B.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(ym,{className:`w-5 h-5 text-arbia-300`}),(0,B.jsx)(`span`,{children:`No commitment`})]})]})]})]}),(0,B.jsx)(U.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:(0,B.jsx)(`form`,{onSubmit:async i=>{if(i.preventDefault(),!e.businessType){u(`error`,`Please select your business type.`);return}if(e.businessType===`other`&&!e.otherBusinessType){u(`error`,`Please provide details for 'Other' business type.`);return}if(!n){u(`error`,`Please accept the terms to proceed.`);return}if(!e.firstName){u(`error`,`Please provide your first name.`);return}if(!e.lastName){u(`error`,`Please provide your last name.`);return}if(!e.email){u(`error`,`Please provide your email.`);return}if(!e.phone){u(`error`,`Please provide your phone number.`);return}if(!e.company){u(`error`,`Please provide your company name.`);return}if(!e.role){u(`error`,`Please select your role.`);return}a(!0);try{if(!(await fetch(`${bx}/demo-request`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({first_name:e.firstName,last_name:e.lastName,email:e.email,phone:e.phone,company:e.company,company_type:e.businessType===`other`?e.otherBusinessType:e.businessType,role:e.role,message:`[From arbia.io] ${e.message}`.trim()})})).ok)throw Error(`Failed to submit`);u(`success`,`Your request has been submitted successfully. We'll be in touch soon!`),t({firstName:``,lastName:``,email:``,phone:``,businessType:``,otherBusinessType:``,company:``,role:``,message:``}),r(!1)}catch{u(`error`,`An error occurred. Please try again.`)}finally{a(!1)}},className:`bg-white rounded-2xl shadow-xl border border-gray-100 p-6 md:p-8`,children:(0,B.jsxs)(`div`,{className:`space-y-5`,children:[(0,B.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`firstName`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`First name *`}),(0,B.jsx)(`input`,{type:`text`,id:`firstName`,name:`firstName`,value:e.firstName,onChange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all`,placeholder:`John`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`lastName`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Last name *`}),(0,B.jsx)(`input`,{type:`text`,id:`lastName`,name:`lastName`,value:e.lastName,onChange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all`,placeholder:`Doe`})]})]}),(0,B.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-4`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`email`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Email *`}),(0,B.jsx)(`input`,{type:`email`,id:`email`,name:`email`,value:e.email,onChange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all`,placeholder:`[email protected]`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`phone`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Phone number *`}),(0,B.jsx)(`input`,{type:`tel`,id:`phone`,name:`phone`,value:e.phone,onChange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all`,placeholder:`+1 (555) 000-0000`})]})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`businessType`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Type of business *`}),(0,B.jsxs)(`select`,{id:`businessType`,name:`businessType`,value:e.businessType,onCh
18ange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all bg-white`,children:[(0,B.jsx)(`option`,{value:``,children:`Select one...`}),xx.map(e=>(0,B.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),e.businessType===`other`&&(0,B.jsxs)(U.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:`auto`},exit:{opacity:0,height:0},children:[(0,B.jsx)(`label`,{htmlFor:`otherBusinessType`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Please specify *`}),(0,B.jsx)(`input`,{type:`text`,id:`otherBusinessType`,name:`otherBusinessType`,value:e.otherBusinessType,onChange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all`,placeholder:`Describe your business type`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`company`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Company name *`}),(0,B.jsx)(`input`,{type:`text`,id:`company`,name:`company`,value:e.company,onChange:d,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all`,placeholder:`Your company name`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{className:`block text-sm font-medium text-gray-700 mb-3`,children:`Your role *`}),(0,B.jsx)(`div`,{className:`grid grid-cols-2 gap-2`,children:Sx.map(t=>(0,B.jsxs)(`label`,{className:`flex items-center gap-2 p-3 rounded-xl border cursor-pointer transition-all ${e.role===t.value?`border-arbia-500 bg-arbia-50 text-arbia-700`:`border-gray-200 hover:border-gray-300`}`,children:[(0,B.jsx)(`input`,{type:`radio`,name:`role`,value:t.value,checked:e.role===t.value,onChange:d,className:`sr-only`}),(0,B.jsx)(`div`,{className:`w-4 h-4 rounded-full border-2 flex items-center justify-center ${e.role===t.value?`border-arbia-500`:`border-gray-300`}`,children:e.role===t.value&&(0,B.jsx)(`div`,{className:`w-2 h-2 rounded-full bg-arbia-500`})}),(0,B.jsx)(`span`,{className:`text-sm`,children:t.label})]},t.value))})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`label`,{htmlFor:`message`,className:`block text-sm font-medium text-gray-700 mb-2`,children:`Message (optional)`}),(0,B.jsx)(`textarea`,{id:`message`,name:`message`,value:e.message,onChange:d,rows:4,className:`w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-arbia-500 focus:ring-2 focus:ring-arbia-500/20 outline-hidden transition-all resize-none`,placeholder:`Tell us about your needs...`})]}),(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(`input`,{type:`checkbox`,id:`terms`,checked:n,onChange:e=>r(e.target.checked),className:`mt-1 w-4 h-4 rounded-sm border-gray-300 text-arbia-600 focus:ring-arbia-500`}),(0,B.jsxs)(`label`,{htmlFor:`terms`,className:`text-sm text-gray-600`,children:[`I accept the`,` `,(0,B.jsx)(`button`,{type:`button`,onClick:()=>s(!0),className:`text-arbia-600 hover:underline font-medium`,children:`Terms`}),` `,`and agree to be contacted about Arbia's products and services.`]})]}),(0,B.jsx)(`button`,{type:`submit`,disabled:i,className:`w-full py-4 bg-field text-white rounded-xl font-semibold hover:bg-arbia-700 transition-all shadow-lg hover:shadow-xl disabled:opacity-70 disabled:cursor-not-allowed flex items-center justify-center gap-2`,children:i?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(zm,{className:`w-5 h-5 animate-spin`}),`Submitting...`]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(sh,{className:`w-5 h-5`}),`Submit request`]})})]})})})]})})]})}var wx={solutions:[{name:`For distributors`,href:`/distributors`},{name:`For farmers & producers`,href:`/farmers`},{name:`For grocers & buyers`,href:`/grocers`},{name:`For manufacturers`,href:`/manufacturers`}],product:[{name:`Ask Arbia`,href:`/#ask-arbia`},{name:`The connected food supply chain`,href:`/#chain`},{name:`Surplus foresight`,href:`/#foresight`},{name:`Impact`,href:`/#impact`},{name:`Email to order`,href:`/distributors#sales-orders`},{name:`Gmail integration`,href:`/integrations/gmail`}],company:[{name:`About us`,href:`/#about`},{name:`Careers`,href:`/careers`},{name:`Blog`,href:`/blog`},{name:`Press`,href:`/press`}],legal:[{name:`Privacy policy`,href:`/privacy-policy`},{name:`Terms of service`,href:`/terms-of-service`}]},Tx=[{name:`LinkedIn`,icon:Rm,href:`https://www.linkedin.com/company/arbia-ai`}];function Ex({links:e}){return(0,B.jsx)(`ul`,{className:`space-y-3`,children:e.map(e=>{let t=`text-gray-400 hover:text-arbia-400 transition-colors`,n=e.href.startsWith(`/`)&&!e.href.includes(`#`),r=e.href.startsWith(`http`);return(0,B.jsx)(`li`,{children:n?(0,B.jsx)(Nn,{to:e.href,className:t,children:e.name}):(0,B.jsx)(`a`,{href:e.href,...r?{target:`_blank`,rel:`noopener noreferrer`}:{},className:t,children:e.name})},e.name)})})}function Dx(){return(0,B.jsx)(`footer`,{id:`contact`,className:`bg-evergreen text-offwhite`,children:(0,B.jsxs)(`div`,{className:`container-custom section-padding`,children:[(0,B.jsxs)(`div`,{className:`grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-8 lg:gap-12 mb-12`,children:[(0,B.jsxs)(`div`,{className:`col-span-2 md:col-span-4 lg:col-span-2`,children:[(0,B.jsx)(Nn,{to:`/`,className:`flex items-center mb-6`,children:(0,B.jsx)(`img`,{src:`https://stocky-ai-public.s3.us-west-2.amazonaws.com/arbia-logos/SVG/Arbia_Logo_White.svg`,alt:`Arbia`,className:`h-10`})}),(0,B.jsx)(`p`,{className:`text-gray-400 mb-6 max-w-sm`,children:`Built for Food. Powered by AI. Arbia is the AI operating system for the food supply chain — running the admin for the businesses that grow, move, make and sell food, and connecting them so less of it goes to waste.`}),(0,B.jsxs)(`div`,{className:`space-y-3 text-gray-400`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,B.jsx)(Hm,{className:`w-5 h-5 text-arbia-500`}),(0,B.jsx)(`span`,{children:`2015 Main St #2, Vancouver, BC V5T 3C2`})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,B.jsx)(Vm,{className:`w-5 h-5 text-arbia-500`}),(0,B.jsx)(`a`,{href:`mailto:[email protected]`,className:`hover:text-arbia-400 transition-colors`,children:`[email protected]`})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,B.jsx)(Zm,{className:`w-5 h-5 text-arbia-500`}),(0,B.jsx)(`a`,{href:`tel:+12368680865`,className:`hover:text-arbia-400 transition-colors`,children:`+1 (236) 868-0865`})]})]}),(0,B.jsx)(`div`,{className:`flex gap-4 mt-6`,children:Tx.map(e=>(0,B.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:`w-10 h-10 rounded-lg bg-white/10 hover:bg-arbia-600 flex items-center justify-center transition-colors`,"aria-label":e.name,children:(0,B.jsx)(e.icon,{className:`w-5 h-5`})},e.name))})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{className:`font-semibold text-white mb-4`,children:`Solutions`}),(0,B.jsx)(Ex,{links:wx.solutions})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{className:`font-semibold text-white mb-4`,children:`Product`}),(0,B.jsx)(Ex,{links:wx.product})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{className:`font-semibold text-white mb-4`,children:`Company`}),(0,B.jsx)(Ex,{links:wx.company})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h3`,{className:`font-semibold text-white mb-4`,children:`Legal`}),(0,B.jsx)(Ex,{links:wx.legal})]})]}),(0,B.jsxs)(`div`,{className:`pt-8 border-t border-white/10`,children:[(0,B.jsxs)(`div`,{className:`flex flex-col md:flex-row justify-between items-center gap-4 mb-6`,children:[(0,B.jsxs)(`p`,{className:`text-gray-500 text-sm`,children:[new Date().getFullYear(),` Arbia. All rights reserved.`]}),(0,B.jsx)(`p`,{className:`text-gray-500 text-sm`,children:`Made with care in Vancouver, Canada`})]}),(0,B.jsx)(`p`,{className:`text-gray-500 text-xs text-center`,children:`We respectfully acknowledge that we are located on the traditional, ancestral and unceded territories of the xÊ·məθkʷəy̓əm (Musqueam), Sḵwx̱wú7mesh (Squamish), and səl̓ilwətaɁɬ / sel̓íl̓witulh (Tsleil-Waututh) Nations.`})]})]})})}function Ox(){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(Wb,{}),(0,B.jsx)(Kb,{}),(0,B.jsx)(Qb,{}),(0,B.jsx)(ox,{}),(0,B.jsx)(cx,{}),(0,B.jsx)(Jb,{}),(0,B.jsx)(Xb,{}),(0,B.jsx)(ux,{}),(0,B.jsx)(px,{}),(0,B.jsx)(hx,{}),(0,B.jsx)(yx,{}),(0,B.jsx)(Cx,{})]}),(0,B.jsx)(Dx,{})]})}function kx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ax(e,t,n){return t&&kx(e.prototype,t),n&&kx(e,n),e}var jx,Mx,Nx,Px,Fx,Ix,Lx,Rx,zx,Bx,Vx,Hx,Ux,Wx=function(){return jx||typeof window<`u`&&(jx=window.gsap)&&jx.registerPlugin&&jx},Gx=1,Kx=[],K=[],qx=[],Jx=Date.now,Yx=function(e,t){return t},Xx=function(){var e=zx.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,K),r.push.apply(r,qx),K=n,qx=r,Yx=function(e,n){return t[e](n)}},Zx=function(e,t){return~qx.indexOf(e)&&qx[qx.indexOf(e)+1][t]},Qx=function(e){return!!~Bx.indexOf(e)},$x=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:r!==!1,capture:!!i})},eS=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},tS=`scrollLeft`,nS=`scrollTop`,rS=function(){return Vx&&Vx.isPressed||K.cache++},iS=function(e,t){var n=function n(r){if(r||r===0){Gx&&(Nx.history.scrollRestoration=`manual`);var i=Vx&&Vx.isPressed;r=n.v=Math.round(r)||(Vx&&Vx.iOS?1:0),e(r),n.cacheID=K.cache,i&&Yx(`ss`,r)}else (t||K.cache!==n.cacheID||Yx(`ref`))&&(n.cacheID=K.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},aS={s:tS,p:`left`,p2:`Left`,os:`right`,os2:`Right`,d:`width`,d2:`W
18idth`,a:`x`,sc:iS(function(e){return arguments.length?Nx.scrollTo(e,oS.sc()):Nx.pageXOffset||Px[tS]||Fx[tS]||Ix[tS]||0})},oS={s:nS,p:`top`,p2:`Top`,os:`bottom`,os2:`Bottom`,d:`height`,d2:`Height`,a:`y`,op:aS,sc:iS(function(e){return arguments.length?Nx.scrollTo(aS.sc(),e):Nx.pageYOffset||Px[nS]||Fx[nS]||Ix[nS]||0})},sS=function(e,t){return(t&&t._ctx&&t._ctx.selector||jx.utils.toArray)(e)[0]||(typeof e==`string`&&jx.config().nullTargetWarn!==!1?console.warn(`Element not found:`,e):null)},cS=function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1},lS=function(e,t){var n=t.s,r=t.sc;Qx(e)&&(e=Px.scrollingElement||Fx);var i=K.indexOf(e),a=r===oS.sc?1:2;!~i&&(i=K.push(e)-1),K[i+a]||$x(e,`scroll`,rS);var o=K[i+a],s=o||(K[i+a]=iS(Zx(e,n),!0)||(Qx(e)?r:iS(function(t){return arguments.length?e[n]=t:e[n]})));return s.target=e,o||(s.smooth=jx.getProperty(e,`scrollBehavior`)===`smooth`),s},uS=function(e,t,n){var r=e,i=e,a=Jx(),o=a,s=t||50,c=Math.max(500,s*3),l=function(e,t){var c=Jx();t||c-a>s?(i=r,r=e,o=a,a=c):n?r+=e:r=i+(e-i)/(c-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,s=i,u=Jx();return(e||e===0)&&e!==r&&l(e),a===o||u-o>c?0:(r+(n?s:-s))/((n?u:a)-t)*1e3}}},dS=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},fS=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},pS=function(){zx=jx.core.globals().ScrollTrigger,zx&&zx.core&&Xx()},mS=function(e){return jx=e||Wx(),!Mx&&jx&&typeof document<`u`&&document.body&&(Nx=window,Px=document,Fx=Px.documentElement,Ix=Px.body,Bx=[Nx,Px,Fx,Ix],jx.utils.clamp,Ux=jx.core.context||function(){},Rx=`onpointerenter`in Ix?`pointer`:`mouse`,Lx=hS.isTouch=Nx.matchMedia&&Nx.matchMedia(`(hover: none), (pointer: coarse)`).matches?1:`ontouchstart`in Nx||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Hx=hS.eventTypes=(`ontouchstart`in Fx?`touchstart,touchmove,touchcancel,touchend`:`onpointerdown`in Fx?`pointerdown,pointermove,pointercancel,pointerup`:`mousedown,mousemove,mouseup,mouseup`).split(`,`),setTimeout(function(){return Gx=0},500),Mx=1),zx||pS(),Mx};aS.op=oS,K.cache=0;var hS=function(){function e(e){this.init(e)}var t=e.prototype;return t.init=function(e){Mx||mS(jx)||console.warn(`Please gsap.registerPlugin(Observer)`),zx||pS();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,o=e.debounce,s=e.preventDefault,c=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,p=e.onDragStart,m=e.onDragEnd,h=e.onDrag,g=e.onPress,_=e.onRelease,v=e.onRight,y=e.onLeft,b=e.onUp,x=e.onDown,S=e.onChangeX,C=e.onChangeY,w=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,O=e.onHoverEnd,k=e.onMove,A=e.ignoreCheck,j=e.isNormalizer,M=e.onGestureStart,N=e.onGestureEnd,P=e.onWheel,F=e.onEnable,ee=e.onDisable,te=e.onClick,ne=e.scrollSpeed,I=e.capture,re=e.allowClicks,ie=e.lockAxis,ae=e.onLockAxis;this.target=i=sS(i)||Fx,this.vars=e,u&&=jx.utils.toArray(u),t||=1e-9,n||=0,d||=1,ne||=1,r||=`wheel,touch,pointer`,o=o!==!1,a||=parseFloat(Nx.getComputedStyle(Ix).lineHeight)||22;var oe,se,ce,le,L,ue,de,R=this,fe=0,pe=0,me=e.passive||!s&&e.passive!==!1,he=lS(i,aS),ge=lS(i,oS),_e=he(),ve=ge(),ye=~r.indexOf(`touch`)&&!~r.indexOf(`pointer`)&&Hx[0]===`pointerdown`,be=Qx(i),z=i.ownerDocument||Px,xe=[0,0,0],Se=[0,0,0],Ce=0,we=function(){return Ce=Jx()},Te=function(e,t){return(R.event=e)&&u&&cS(e.target,u)||t&&ye&&e.pointerType!==`touch`||A&&A(e,t)},Ee=function(){R._vx.reset(),R._vy.reset(),se.pause(),c&&c(R)},De=function(){var e=R.deltaX=fS(xe),n=R.deltaY=fS(Se),r=Math.abs(e)>=t,i=Math.abs(n)>=t;w&&(r||i)&&w(R,e,n,xe,Se),r&&(v&&R.deltaX>0&&v(R),y&&R.deltaX<0&&y(R),S&&S(R),T&&R.deltaX<0!=fe<0&&T(R),fe=R.deltaX,xe[0]=xe[1]=xe[2]=0),i&&(x&&R.deltaY>0&&x(R),b&&R.deltaY<0&&b(R),C&&C(R),E&&R.deltaY<0!=pe<0&&E(R),pe=R.deltaY,Se[0]=Se[1]=Se[2]=0),(le||ce)&&(k&&k(R),ce&&=(p&&ce===1&&p(R),h&&h(R),0),le=!1),ue&&!(ue=!1)&&ae&&ae(R),L&&=(P(R),!1),oe=0},Oe=function(e,t,n){xe[n]+=e,Se[n]+=t,R._vx.update(e),R._vy.update(t),o?oe||=requestAnimationFrame(De):De()},ke=function(e,t){ie&&!de&&(R.axis=de=Math.abs(e)>Math.abs(t)?`x`:`y`,ue=!0),de!==`y`&&(xe[2]+=e,R._vx.update(e,!0)),de!==`x`&&(Se[2]+=t,R._vy.update(t,!0)),o?oe||=requestAnimationFrame(De):De()},Ae=function(e){if(!Te(e,1)){e=dS(e,s);var t=e.clientX,r=e.clientY,i=t-R.x,a=r-R.y,o=R.isDragging;R.x=t,R.y=r,(o||(i||a)&&(Math.abs(R.startX-t)>=n||Math.abs(R.startY-r)>=n))&&(ce||=o?2:1,o||(R.isDragging=!0),ke(i,a))}},je=R.onPress=function(e){Te(e,1)||e&&e.button||(R.axis=de=null,se.pause(),R.isPressed=!0,e=dS(e),fe=pe=0,R.startX=R.x=e.clientX,R.startY=R.y=e.clientY,R._vx.reset(),R._vy.reset(),$x(j?i:z,Hx[1],Ae,me,!0),R.deltaX=R.deltaY=0,g&&g(R))}
vendor: 4,652 bytes, line 18
18,Me=R.onRelease=function(e){if(!Te(e,1)){eS(j?i:z,Hx[1],Ae,!0);var t=!isNaN(R.y-R.startY),n=R.isDragging,r=n&&(Math.abs(R.x-R.startX)>3||Math.abs(R.y-R.startY)>3),a=dS(e);!r&&t&&(R._vx.reset(),R._vy.reset(),s&&re&&jx.delayedCall(.08,function(){if(Jx()-Ce>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(z.createEvent){var t=z.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,Nx,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),R.isDragging=R.isGesturing=R.isPressed=!1,c&&n&&!j&&se.restart(!0),ce&&De(),m&&n&&m(R),_&&_(R,r)}},Ne=function(e){return e.touches&&e.touches.length>1&&(R.isGesturing=!0)&&M(e,R.isDragging)},Pe=function(){return(R.isGesturing=!1)||N(R)},Fe=function(e){if(!Te(e)){var t=he(),n=ge();Oe((t-_e)*ne,(n-ve)*ne,1),_e=t,ve=n,c&&se.restart(!0)}},Ie=function(e){if(!Te(e)){e=dS(e,s),P&&(L=!0);var t=(e.deltaMode===1?a:e.deltaMode===2?Nx.innerHeight:1)*d;Oe(e.deltaX*t,e.deltaY*t,0),c&&!j&&se.restart(!0)}},Le=function(e){if(!Te(e)){var t=e.clientX,n=e.clientY,r=t-R.x,i=n-R.y;R.x=t,R.y=n,le=!0,c&&se.restart(!0),(r||i)&&ke(r,i)}},Re=function(e){R.event=e,D(R)},ze=function(e){R.event=e,O(R)},Be=function(e){return Te(e)||dS(e,s)&&te(R)};se=R._dc=jx.delayedCall(l||.25,Ee).pause(),R.deltaX=R.deltaY=0,R._vx=uS(0,50,!0),R._vy=uS(0,50,!0),R.scrollX=he,R.scrollY=ge,R.isDragging=R.isGesturing=R.isPressed=!1,Ux(this),R.enable=function(e){return R.isEnabled||($x(be?z:i,`scroll`,rS),r.indexOf(`scroll`)>=0&&$x(be?z:i,`scroll`,Fe,me,I),r.indexOf(`wheel`)>=0&&$x(i,`wheel`,Ie,me,I),(r.indexOf(`touch`)>=0&&Lx||r.indexOf(`pointer`)>=0)&&($x(i,Hx[0],je,me,I),$x(z,Hx[2],Me),$x(z,Hx[3],Me),re&&$x(i,`click`,we,!0,!0),te&&$x(i,`click`,Be),M&&$x(z,`gesturestart`,Ne),N&&$x(z,`gestureend`,Pe),D&&$x(i,Rx+`enter`,Re),O&&$x(i,Rx+`leave`,ze),k&&$x(i,Rx+`move`,Le)),R.isEnabled=!0,R.isDragging=R.isGesturing=R.isPressed=le=ce=!1,R._vx.reset(),R._vy.reset(),_e=he(),ve=ge(),e&&e.type&&je(e),F&&F(R)),R},R.disable=function(){R.isEnabled&&(Kx.filter(function(e){return e!==R&&Qx(e.target)}).length||eS(be?z:i,`scroll`,rS),R.isPressed&&(R._vx.reset(),R._vy.reset(),eS(j?i:z,Hx[1],Ae,!0)),eS(be?z:i,`scroll`,Fe,I),eS(i,`wheel`,Ie,I),eS(i,Hx[0],je,I),eS(z,Hx[2],Me),eS(z,Hx[3],Me),eS(i,`click`,we,!0),eS(i,`click`,Be),eS(z,`gesturestart`,Ne),eS(z,`gestureend`,Pe),eS(i,Rx+`enter`,Re),eS(i,Rx+`leave`,ze),eS(i,Rx+`move`,Le),R.isEnabled=R.isPressed=R.isDragging=!1,ee&&ee(R))},R.kill=R.revert=function(){R.disable();var e=Kx.indexOf(R);e>=0&&Kx.splice(e,1),Vx===R&&(Vx=0)},Kx.push(R),j&&Qx(i)&&(Vx=R),R.enable(f)},Ax(e,[{key:`velocityX`,get:function(){return this._vx.getVelocity()}},{key:`velocityY`,get:function(){return this._vy.getVelocity()}}]),e}();hS.version=`3.15.0`,hS.create=function(e){return new hS(e)},hS.register=mS,hS.getAll=function(){return Kx.slice()},hS.getById=function(e){return Kx.filter(function(t){return t.vars.id===e})[0]},Wx()&&jx.registerPlugin(hS);var q,gS,J,_S,vS,yS,bS,xS,SS,CS,wS,TS,ES,DS,OS,kS,AS,jS,MS,NS,PS,FS,IS,LS,RS,zS,BS,VS,HS,US,WS,GS,KS,qS,JS=1,YS=Date.now,XS=YS(),ZS=0,QS=0,$S=function(e,t,n){var r=hC(e)&&(e.substr(0,6)===`clamp(`||e.indexOf(`max`)>-1);return n[`_`+t+`Clamp`]=r,r?e.substr(6,e.length-7):e},eC=function(e,t){return t&&(!hC(e)||e.substr(0,6)!==`clamp(`)?`clamp(`+e+`)`:e},tC=function e(){return QS&&requestAnimationFrame(e)},nC=function(){return DS=1},rC=function(){return DS=0},iC=function(e){return e},aC=function(e){return Math.round(e*1e5)/1e5||0},oC=function(){return typeof window<`u`},sC=function(){return q||oC()&&(q=window.gsap)&&q.registerPlugin&&q},cC=function(e){return!!~bS.indexOf(e)},lC=function(e){return(e===`Height`?WS:J[`inner`+e])||vS[`client`+e]||yS[`client`+e]},uC=function(e){return Zx(e,`getBoundingClientRect`)||(cC(e)?function(){return Iw.width=J.innerWidth,Iw.height=WS,Iw}:function(){return BC(e)})},dC=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=Zx(e,`getBoundingClientRect`))?function(){return a()[r]}:function(){return(t?lC(i):e[`client`+i])||0}},fC=function(e,t){return!t||~qx.indexOf(e)?uC(e):function(){return Iw}},pC=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n=`scroll`+r)&&(a=Zx(e,n))?a()-uC(e)()[i]:cC(e)?(vS[n]||yS[n])-lC(r):e[n]-e[`offset`+r])},mC=function(e,t){for(var n=0;n<MS.length;n+=3)(!t||~t.indexOf(MS[n+1]))&&e(MS[n],MS[n+1],MS[n+2])},hC=function(e){return typeof e==`string`},gC=function(e){return typeof e==`function`},_C=function(e){return typeof e==`number`},vC=function(e){return typeof e==`object`},yC=function(e,t,n){return e&&e.progress(+!t)&&n&&e.pause()},bC=function(e,t,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);
vendor: 4,072 bytes, line 18
18r&&r.totalTime&&(e.callbackAnimation=r)}},xC=Math.abs,SC=`left`,CC=`top`,wC=`right`,TC=`bottom`,EC=`width`,DC=`height`,OC=`Right`,kC=`Left`,AC=`Top`,jC=`Bottom`,MC=`padding`,NC=`margin`,PC=`Width`,FC=`Height`,IC=`px`,LC=function(e){return J.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},RC=function(e){var t=LC(e).position;e.style.position=t===`absolute`||t===`fixed`?t:`relative`},zC=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},BC=function(e,t){var n=t&&LC(e)[OS]!==`matrix(1, 0, 0, 1, 0, 0)`&&q.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),r},VC=function(e,t){var n=t.d2;return e[`offset`+n]||e[`client`+n]||0},HC=function(e){var t=[],n=e.labels,r=e.duration(),i;for(i in n)t.push(n[i]/r);return t},UC=function(e){return function(t){return q.utils.snap(HC(e),t)}},WC=function(e){var t=q.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,r,i){i===void 0&&(i=.001);var a;if(!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}else for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){i===void 0&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0==r<0?a:t(r<0?n-e:n+e)}},GC=function(e){return function(t,n){return WC(HC(e))(t,n.direction)}},KC=function(e,t,n,r){return n.split(`,`).forEach(function(n){return e(t,n,r)})},qC=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},JC=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},YC=function(e,t,n){n&&=n.wheelHandler,n&&(e(t,`wheel`,n),e(t,`touchmove`,n))},XC={startColor:`green`,endColor:`red`,indent:0,fontSize:`16px`,fontWeight:`normal`},ZC={toggleActions:`play`,anticipatePin:0},QC={top:0,left:0,center:.5,bottom:1,right:1},$C=function(e,t){if(hC(e)){var n=e.indexOf(`=`),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf(`%`)>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in QC?QC[e]*t:~e.indexOf(`%`)?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ew=function(e,t,n,r,i,a,o,s){var c=i.startColor,l=i.endColor,u=i.fontSize,d=i.indent,f=i.fontWeight,p=_S.createElement(`div`),m=cC(n)||Zx(n,`pinType`)===`fixed`,h=e.indexOf(`scroller`)!==-1,g=m?yS:n.tagName===`IFRAME`?n.contentDocument.body:n,_=e.indexOf(`start`)!==-1,v=_?c:l,y=`border-color:`+v+`;font-size:`+u+`;color:`+v+`;font-weight:`+f+`;pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;`;return y+=`position:`+((h||s)&&m?`fixed;`:`absolute;`),(h||s||!m)&&(y+=(r===oS?wC:TC)+`:`+(a+parseFloat(d))+`px;`),o&&(y+=`box-sizing:border-box;text-align:left;width:`+o.offsetWidth+`px;`),p._isStart=_,p.setAttribute(`class`,`gsap-marker-`+e+(t?` marker-`+t:``)),p.style.cssText=y,p.innerText=t||t===0?e+`-`+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p[`offset`+r.op.d2],tw(p,0,r,_),p},tw=function(e,t,n,r){var i={display:`block`},a=n[r?`os2`:`p2`],o=n[r?`p2`:`os2`];e._isFlipped=r,i[n.a+`Percent`]=r?-100:0,i[n.a]=r?`1px`:0,i[`border`+a+PC]=1,i[`border`+o+PC]=0,i[n.p]=t+`px`,q.set(e,i)},Y=[],nw={},rw,iw=function(){return YS()-ZS>34&&(rw||=requestAnimationFrame(Dw))},aw=function(){(!IS||!IS.isPressed||IS.startX>yS.clientWidth)&&(K.cache++,IS?rw||=requestAnimationFrame(Dw):Dw(),ZS||dw(`scrollStart`),ZS=YS())},ow=function(){zS=J.innerWidth,RS=J.innerHeight},sw=function(e){K.cache++,(e===!0||!ES&&!FS&&!_S.fullscreenElement&&!_S.webkitFullscreenElement&&(!LS||zS!==J.innerWidth||Math.abs(J.innerHeight-RS)>J.innerHeight*.25))&&xS.restart(!0)},cw={},lw=[],uw=function e(){return JC(X,`scrollEnd`,e)||Cw(!0)},dw=function(e){return cw[e]&&cw[e].map(function(e){return e()})||lw},fw=[],pw=function(e){for(var t=0;t<fw.length;t+=5)(!e||fw[t+4]&&fw[t+4].query===e)&&(fw[t].style.cssText=fw[t+1],fw[t].getBBox&&fw[t].setAttribute(`transform`,fw[t+2]||``),fw[t+3].uncache=1)}
vendor: 4,417 bytes, line 18
18,mw=function(){return K.forEach(function(e){return gC(e)&&++e.cacheID&&(e.rec=e())})},hw=function(e,t){var n;for(kS=0;kS<Y.length;kS++)n=Y[kS],n&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));GS=!0,t&&pw(t),t||dw(`revert`)},gw=function(e,t){K.cache++,(t||!_w)&&K.forEach(function(e){return gC(e)&&e.cacheID++&&(e.rec=0)}),hC(e)&&(J.history.scrollRestoration=HS=e)},_w,vw=0,yw,bw=function(){if(yw!==vw){var e=yw=vw;requestAnimationFrame(function(){return e===vw&&Cw(!0)})}},xw=function(){yS.appendChild(US),WS=!IS&&US.offsetHeight||J.innerHeight,yS.removeChild(US)},Sw=function(e){return SS(`.gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end`).forEach(function(t){return t.style.display=e?`none`:`block`})},Cw=function(e,t){if(vS=_S.documentElement,yS=_S.body,bS=[J,_S,vS,yS],ZS&&!e&&!GS){qC(X,`scrollEnd`,uw);return}xw(),_w=X.isRefreshing=!0,GS||mw();var n=dw(`refreshInit`);NS&&X.sort(),t||hw(),K.forEach(function(e){gC(e)&&(e.smooth&&(e.target.style.scrollBehavior=`auto`),e(0))}),Y.slice(0).forEach(function(e){return e.refresh()}),GS=!1,Y.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?`offsetWidth`:`offsetHeight`,n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),KS=1,Sw(!0),Y.forEach(function(e){var t=pC(e.scroller,e._dir),n=e.vars.end===`max`||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),Sw(!1),KS=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),K.forEach(function(e){gC(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior=`smooth`}),e.rec&&e(e.rec))}),gw(HS,1),xS.pause(),vw++,_w=2,Dw(2),Y.forEach(function(e){return gC(e.vars.onRefresh)&&e.vars.onRefresh(e)}),_w=X.isRefreshing=!1,dw(`refresh`)},ww=0,Tw=1,Ew,Dw=function(e){if(e===2||!_w&&!GS){X.isUpdating=!0,Ew&&Ew.update(0);var t=Y.length,n=YS(),r=n-XS>=50,i=t&&Y[0].scroll();if(Tw=ww>i?-1:1,_w||(ww=i),r&&(ZS&&!DS&&n-ZS>200&&(ZS=0,dw(`scrollEnd`)),wS=XS,XS=n),Tw<0){for(kS=t;kS-- >0;)Y[kS]&&Y[kS].update(0,r);Tw=1}else for(kS=0;kS<t;kS++)Y[kS]&&Y[kS].update(0,r);X.isUpdating=!1}rw=0},Ow=[SC,CC,TC,wC,NC+jC,NC+OC,NC+AC,NC+kC,`display`,`flexShrink`,`float`,`zIndex`,`gridColumnStart`,`gridColumnEnd`,`gridRowStart`,`gridRowEnd`,`gridArea`,`justifySelf`,`alignSelf`,`placeSelf`,`order`],kw=Ow.concat([EC,DC,`boxSizing`,`max`+PC,`max`+FC,`position`,NC,MC,MC+AC,MC+OC,MC+jC,MC+kC]),Aw=function(e,t,n){Nw(n);var r=e._gsap;if(r.spacerIsNative)Nw(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},jw=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i=Ow.length,a=t.style,o=e.style,s;i--;)s=Ow[i],a[s]=n[s];a.position=n.position===`absolute`?`absolute`:`relative`,n.display===`inline`&&(a.display=`inline-block`),o[TC]=o[wC]=`auto`,a.flexBasis=n.flexBasis||`auto`,a.overflow=`visible`,a.boxSizing=`border-box`,a[EC]=VC(e,aS)+IC,a[DC]=VC(e,oS)+IC,a[MC]=o[NC]=o[CC]=o[SC]=`0`,Nw(r),o[EC]=o[`max`+PC]=n[EC],o[DC]=o[`max`+FC]=n[DC],o[MC]=n[MC],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Mw=/([A-Z])/g,Nw=function(e){if(e){var t=e.t.style,n=e.length,r=0,i,a;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;r<n;r+=2)a=e[r+1],i=e[r],a?t[i]=a:t[i]&&t.removeProperty(i.replace(Mw,`-$1`).toLowerCase())}},Pw=function(e){for(var t=kw.length,n=e.style,r=[],i=0;i<t;i++)r.push(kw[i],n[kw[i]]);return r.t=e,r},Fw=function(e,t,n){for(var r=[],i=e.length,a=n?8:0,o;a<i;a+=2)o=e[a],r.push(o,o in t?t[o]:e[a+1]);return r.t=e.t,r},Iw={left:0,top:0},Lw=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p){gC(e)&&(e=e(s)),hC(e)&&e.substr(0,3)===`max`&&(e=d+(e.charAt(4)===`=`?$C(`0`+e.substr(3),n):0));var m=f?f.time():0,h,g,_;if(f&&f.seek(0),isNaN(e)||(e=+e),_C(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),o&&tw(o,n,r,!0);else{gC(t)&&(t=t(s));var v=(e||`0`).split(` `),y,b,x,S;_=sS(t,s)||yS,y=BC(_)||{},(!y||!y.left&&!y.top)&&LC(_).display===`none`&&(S=_.style.display,_.style.display=`block`,y=BC(_),S?_.style.display=S:_.style.removeProperty(`display`)),b=$C(v[0],y[r.d]),x=$C(v[1]||`0`,n),e=y[r.p]-c[r.p]-l+b+i-x,o&&tw(o,x,r,n-x<20||o._isStart&&x>20),n-=n-x}if(p&&(s[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,w=a._isStart;h=`scroll`+r.d2,tw(a,C,r,w&&C>20||!w&&(u?Math.max(yS[h],vS[h]):a.parentNode[h])<=C+1),u&&(c=BC(o),u&&(
vendor: 8,479 bytes, line 18
18a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+IC))}return f&&_&&(h=BC(_),f.seek(d),g=BC(_),f._caScrollDist=h[r.p]-g[r.p],e=e/f._caScrollDist*d),f&&f.seek(m),f?e:Math.round(e)},Rw=/(webkit|moz|length|cssText|inset)/i,zw=function(e,t,n,r){if(e.parentNode!==t){var i=e.style,a,o;if(t===yS){for(a in e._stOrig=i.cssText,o=LC(e),o)!+a&&!Rw.test(a)&&o[a]&&typeof i[a]==`string`&&a!==`0`&&(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},Bw=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=Math.round(t),r}},Vw=function(e,t,n){var r={};r[t.p]=`+=`+n,q.set(e,r)},Hw=function(e,t){var n=lS(e,t),r=`_scroll`+t.p2,i=function t(i,a,o,s,c){var l=t.tween,u=a.onComplete,d={};o||=n();var f=Bw(n,o,function(){l.kill(),t.tween=0});return c=s&&c||0,s||=i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=d,d[r]=function(){return f(o+s*l.ratio+c*l.ratio*l.ratio)},a.onUpdate=function(){K.cache++,t.tween&&Dw()},a.onComplete=function(){t.tween=0,u&&u.call(l)},l=t.tween=q.to(e,a),l};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},qC(e,`wheel`,n.wheelHandler),X.isTouch&&qC(e,`touchmove`,n.wheelHandler),i},X=function(){function e(t,n){gS||e.register(q)||console.warn(`Please gsap.registerPlugin(ScrollTrigger)`),VS(this),this.init(t,n)}var t=e.prototype;return t.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!QS){this.update=this.refresh=this.kill=iC;return}t=zC(hC(t)||_C(t)||t.nodeType?{trigger:t}:t,ZC);var r=t,i=r.onUpdate,a=r.toggleClass,o=r.id,s=r.onToggle,c=r.onRefresh,l=r.scrub,u=r.trigger,d=r.pin,f=r.pinSpacing,p=r.invalidateOnRefresh,m=r.anticipatePin,h=r.onScrubComplete,g=r.onSnapComplete,_=r.once,v=r.snap,y=r.pinReparent,b=r.pinSpacer,x=r.containerAnimation,S=r.fastScrollEnd,C=r.preventOverlaps,w=t.horizontal||t.containerAnimation&&t.horizontal!==!1?aS:oS,T=!l&&l!==0,E=sS(t.scroller||J),D=q.core.getCache(E),O=cC(E),k=(`pinType`in t?t.pinType:Zx(E,`pinType`)||O&&`fixed`)===`fixed`,A=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=T&&t.toggleActions.split(` `),M=`markers`in t?t.markers:ZC.markers,N=O?0:parseFloat(LC(E)[`border`+w.p2+PC])||0,P=this,F=t.onRefreshInit&&function(){return t.onRefreshInit(P)},ee=dC(E,O,w),te=fC(E,O),ne=0,I=0,re=0,ie=lS(E,w),ae,oe,se,ce,le,L,ue,de,R,fe,pe,me,he,ge,_e,ve,ye,be,z,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be;if(P._startClamp=P._endClamp=!1,P._dir=w,m*=45,P.scroller=E,P.scroll=x?x.time.bind(x):ie,ce=ie(),P.vars=t,n||=t.animation,`refreshPriority`in t&&(NS=1,t.refreshPriority===-9999&&(Ew=P)),D.tweenScroll=D.tweenScroll||{top:Hw(E,oS),left:Hw(E,aS)},P.tweenTo=ae=D.tweenScroll[w.p],P.scrubDuration=function(e){Pe=_C(e)&&e,Pe?Ne?Ne.duration(e):Ne=q.to(n,{ease:`expo`,totalProgress:`+=0`,inherit:!1,duration:Pe,paused:!0,onComplete:function(){return h&&h(P)}}):(Ne&&Ne.progress(1).kill(),Ne=0)},n&&(n.vars.lazy=!1,n._initted&&!P.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),P.animation=n.pause(),n.scrollTrigger=P,P.scrubDuration(l),je=0,o||=n.vars.id),v&&((!vC(v)||v.push)&&(v={snapTo:v}),`scrollBehavior`in yS.style&&q.set(O?[yS,vS]:E,{scrollBehavior:`auto`}),K.forEach(function(e){return gC(e)&&e.target===(O?_S.scrollingElement||vS:E)&&(e.smooth=!1)}),se=gC(v.snapTo)?v.snapTo:v.snapTo===`labels`?UC(n):v.snapTo===`labelsDirectional`?GC(n):v.directional===!1?q.utils.snap(v.snapTo):function(e,t){return WC(v.snapTo)(e,YS()-I<500?0:t.direction)},Fe=v.duration||{min:.1,max:2},Fe=vC(Fe)?CS(Fe.min,Fe.max):CS(Fe,Fe),Ie=q.delayedCall(v.delay||Pe/2||.1,function(){var e=ie(),t=YS()-I<500,r=ae.tween;if((t||Math.abs(P.getVelocity())<10)&&!r&&!DS&&ne!==e){var i=(e-L)/ge,a=n&&!T?n.totalProgress():i,o=t?0:(a-Me)/(YS()-wS)*1e3||0,s=q.utils.clamp(-i,1-i,xC(o/2)*o/.185),c=i+(v.inertia===!1?0:s),l,u,d=v,f=d.onStart,p=d.onInterrupt,m=d.onComplete;if(l=se(c,P),_C(l)||(l=c),u=Math.max(0,Math.round(L+l*ge)),e<=ue&&e>=L&&u!==e){if(r&&!r._initted&&r.data<=xC(u-e))return;v.inertia===!1&&(s=l-i),ae(u,{duration:Fe(xC(Math.max(xC(c-a),xC(l-a))*.185/o/.05||0)),ease:v.ease||`power3`,data:xC(u-e),onInterrupt:function(){return Ie.restart(!0)&&p&&bC(P,p)},onComplete:function(){P.update(),ne=ie(),n&&!T&&(Ne?Ne.resetTo(`totalProgress`,l,n._tTime/n._tDur):n.progress(l)),je=Me=n&&!T?n.totalProgress():P.progress,g&&g(P),m&&bC(P,m)}},e,s*ge,u-e-s*ge),f&&bC(P,f,ae.tween)}}else P.isActive&&ne!==e&&Ie.restart(!0)}).pause()),o&&(nw[o]=P),u=P.trigger=sS(u||d!==!0&&d),Be=u&&u._gsap&&u._gsap.stRevert,Be&&=Be(P),d=d===!0?u:sS(d),hC(a)&&(a={targets:u,className:a}),d&&(f===!1||f===NC||(f=!f&&d.parentNode&&d.parentNode.style&&LC(d.parentNode).display===`flex`?!1:MC),P.pin=d,oe=q.core.getCache(d),oe.spacer?_e=oe.pinState:(b&&(b=sS(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),oe.spacerIsNative=!!b,b&&(oe.spacerState=Pw(b))),oe.spacer=be=b||_S.createElement(`div`),be.classList.add(`pin-spacer`),o&&be.classList.add(`pin-spacer-`+o),oe.pinState=_e=Pw(d)),t.force3D!==!1&&q.set(d,{force3D:!0}),P.spacer=be=oe.spacer,Ae=LC(d),Te=Ae[f+w.os2],xe=q.getProperty(d),Se=q.quickSetter(d,w.a,IC),jw(d,be,Ae),ye=Pw(d)),M){me=vC(M)?zC(M,XC):XC,fe=ew(`scroller-start`,o,E,w,me,0),pe=ew(`scroller-end`,o,E,w,me,0,fe),z=fe[`offset`+w.op.d2];var Ve=sS(Zx(E,`content`)||E);de=this.markerStart=ew(`start`,o,Ve,w,me,z,0,x),R=this.markerEnd=ew(`end`,o,Ve,w,me,z,0,x),x&&(ze=q.quickSetter([de,R],w.a,IC)),!k&&!(qx.length&&Zx(E,`fixedMarkers`)===!0)&&(RC(O?yS:E),q.set([fe,pe],{force3D:!0}),De=q.quickSetter(fe,w.a,IC),ke=q.quickSetter(pe,w.a,IC))}if(x){var He=x.vars.onUpdate,Ue=x.vars.onUpdateParams;x.eventCallback(`onUpdate`,function(){P.update(0,0,1),He&&He.apply(x,Ue||[])})}if(P.previous=function(){return Y[Y.indexOf(P)-1]},P.next=function(){return Y[Y.indexOf(P)+1]},P.revert=function(e,t){if(!t)return P.kill(!0);var r=e!==!1||!P.enabled,i=ES;r!==P.isReverted&&(r&&(Le=Math.max(ie(),P.scroll.rec||0),re=P.progress,Re=n&&n.progress()),de&&[de,R,fe,pe].forEach(function(e){return e.style.display=r?`none`:`block`}),r&&(ES=P,P.update(r)),d&&(!y||!P.isActive)&&(r?Aw(d,be,_e):jw(d,be,LC(d),Ee)),r||P.update(r),ES=i,P.isReverted=r)},P.refresh=function(r,i,a,o){if(!((ES||!P.enabled)&&!i)){if(d&&r&&ZS){qC(e,`scrollEnd`,uw);return}!_w&&F&&F(P),ES=P,ae.tween&&!a&&(ae.tween.kill(),ae.tween=0),Ne&&Ne.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),P.isReverted||P.revert(!0,!0),P._subPinOffset=!1;var s=ee(),l=te(),m=x?x.duration():pC(E,w),h=ge<=.01||!ge,g=0,_=o||0,v=vC(a)?a.end:t.end,b=t.endTrigger||u,S=vC(a)?a.start:t.start||(t.start===0||!u?0:d?`0 0`:`0 100%`),C=P.pinnedContainer=t.pinnedContainer&&sS(t.pinnedContainer,P),D=u&&Math.max(0,Y.indexOf(P))||0,A=D,j,oe,se,me,z,Se,Te,De,ke,Ae,je,Me,Pe;for(M&&vC(a)&&(Me=q.getProperty(fe,w.p),Pe=q.getProperty(pe,w.p));A-- >0;)Se=Y[A],Se.end||Se.refresh(0,1)||(ES=P),Te=Se.pin,Te&&(Te===u||Te===d||Te===C)&&!Se.isReverted&&(Ae||=[],Ae.unshift(Se),Se.revert(!0,!0)),Se!==Y[A]&&(D--,A--);for(gC(S)&&(S=S(P)),S=$S(S,`start`,P),L=Lw(S,u,s,w,ie(),de,fe,P,l,N,k,m,x,P._startClamp&&`_startClamp`)||(d?-.001:0),gC(v)&&(v=v(P)),hC(v)&&!v.indexOf(`+=`)&&(~v.indexOf(` `)?v=(hC(S)?S.split(` `)[0]:``)+v:(g=$C(v.substr(2),s),v=hC(S)?S:(x?q.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,L):L)+g,b=u)),v=$S(v,`end`,P),ue=Math.max(L,Lw(v||(b?`100% 0`:m),b,s,w,ie()+g,R,pe,P,l,N,k,m,x,P._endClamp&&`_endClamp`))||-.001,g=0,A=D;A--;)Se=Y[A]||{},Te=Se.pin,Te&&Se.start-Se._pinPush<=L&&!x&&Se.end>0&&(j=Se.end-(P._startClamp?Math.max(0,Se.start):Se.start),(Te===u&&Se.start-Se._pinPush<L||Te===C)&&isNaN(S)&&(g+=j*(1-Se.progress)),Te===d&&(_+=j));if(L+=g,ue+=g,P._startClamp&&(P._startClamp+=g),P._endClamp&&!_w&&(P._endClamp=ue||-.001,ue=Math.min(ue,pC(E,w))),ge=ue-L||(L-=.01)&&.001,h&&(re=q.utils.clamp(0,1,q.utils.normalize(L,ue,Le))),P._pinPush=_,de&&g&&(j={},j[w.a]=`+=`+g,C&&(j[w.p]=`-=`+ie()),q.set([de,R],j)),d&&!(KS&&P.end>=pC(E,w)))j=LC(d),me=w===oS,se=ie(),Ce=parseFloat(xe(w.a))+_,!m&&ue>1&&(je=(O?_S.scrollingElement||vS:E).style,je={style:je,value:je[`overflow`+w.a.toUpperCase()]},O&&LC(yS)[`overflow`+w.a.toUpperCase()]!==`scroll`&&(je.style[`overflow`+w.a.toUpperCase()]=`scroll`)),jw(d,be,j),ye=Pw(d),oe=BC(d,!0),De=k&&lS(E,me?aS:oS)(),f?(Ee=[f+w.os2,ge+_+
vendor: 4,539 bytes, line 18
18IC],Ee.t=be,A=f===MC?VC(d,w)+ge+_:0,A&&(Ee.push(w.d,A+IC),be.style.flexBasis!==`auto`&&(be.style.flexBasis=A+IC)),Nw(Ee),C&&Y.forEach(function(e){e.pin===C&&e.vars.pinSpacing!==!1&&(e._subPinOffset=!0)}),k&&ie(Le)):(A=VC(d,w),A&&be.style.flexBasis!==`auto`&&(be.style.flexBasis=A+IC)),k&&(z={top:oe.top+(me?se-L:De)+IC,left:oe.left+(me?De:se-L)+IC,boxSizing:`border-box`,position:`fixed`},z[EC]=z[`max`+PC]=Math.ceil(oe.width)+IC,z[DC]=z[`max`+FC]=Math.ceil(oe.height)+IC,z[NC]=z[NC+AC]=z[NC+OC]=z[NC+jC]=z[NC+kC]=`0`,z[MC]=j[MC],z[MC+AC]=j[MC+AC],z[MC+OC]=j[MC+OC],z[MC+jC]=j[MC+jC],z[MC+kC]=j[MC+kC],ve=Fw(_e,z,y),_w&&ie(0)),n?(ke=n._initted,PS(1),n.render(n.duration(),!0,!0),we=xe(w.a)-Ce+ge+_,Oe=Math.abs(ge-we)>1,k&&Oe&&ve.splice(ve.length-2,2),n.render(0,!0,!0),ke||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),PS(0)):we=ge,je&&(je.value?je.style[`overflow`+w.a.toUpperCase()]=je.value:je.style.removeProperty(`overflow-`+w.a));else if(u&&ie()&&!x)for(oe=u.parentNode;oe&&oe!==yS;)oe._pinOffset&&(L-=oe._pinOffset,ue-=oe._pinOffset),oe=oe.parentNode;Ae&&Ae.forEach(function(e){return e.revert(!1,!0)}),P.start=L,P.end=ue,ce=le=_w?Le:ie(),!x&&!_w&&(ce<Le&&ie(Le),P.scroll.rec=0),P.revert(!1,!0),I=YS(),Ie&&(ne=-1,Ie.restart(!0)),ES=0,n&&T&&(n._initted||Re)&&n.progress()!==Re&&n.progress(Re||0,!0).render(n.time(),!0,!0),(h||re!==P.progress||x||p||n&&!n._initted)&&(n&&!T&&(n._initted||re||n.vars.immediateRender!==!1)&&n.totalProgress(x&&L<-.001&&!re?q.utils.normalize(L,ue,0):re,!0),P.progress=h||(ce-L)/ge===re?0:re),d&&f&&(be._pinOffset=Math.round(P.progress*we)),Ne&&Ne.invalidate(),isNaN(Me)||(Me-=q.getProperty(fe,w.p),Pe-=q.getProperty(pe,w.p),Vw(fe,w,Me),Vw(de,w,Me-(o||0)),Vw(pe,w,Pe),Vw(R,w,Pe-(o||0))),h&&!_w&&P.update(),c&&!_w&&!he&&(he=!0,c(P),he=!1)}},P.getVelocity=function(){return(ie()-le)/(YS()-wS)*1e3||0},P.endAnimation=function(){yC(P.callbackAnimation),n&&(Ne?Ne.progress(1):n.paused()?T||yC(n,P.direction<0,1):yC(n,n.reversed()))},P.labelToScroll=function(e){return n&&n.labels&&(L||P.refresh()||L)+n.labels[e]/n.duration()*ge||0},P.getTrailing=function(e){var t=Y.indexOf(P),n=P.direction>0?Y.slice(0,t).reverse():Y.slice(t+1);return(hC(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return P.direction>0?e.end<=L:e.start>=ue})},P.update=function(e,t,r){if(!(x&&!r&&!e)){var o=_w===!0?Le:P.scroll(),c=e?0:(o-L)/ge,u=c<0?0:c>1?1:c||0,p=P.progress,h,g,b,D,O,M,N,F;if(t&&(le=ce,ce=x?ie():o,v&&(Me=je,je=n&&!T?n.totalProgress():u)),m&&d&&!ES&&!JS&&ZS&&(!u&&L<o+(o-le)/(YS()-wS)*m?u=1e-4:u===1&&ue>o+(o-le)/(YS()-wS)*m&&(u=.9999)),u!==p&&P.enabled){if(h=P.isActive=!!u&&u<1,g=!!p&&p<1,M=h!==g,O=M||!!u!=!!p,P.direction=u>p?1:-1,P.progress=u,O&&!ES&&(b=u&&!p?0:u===1?1:p===1?2:3,T&&(D=!M&&j[b+1]!==`none`&&j[b+1]||j[b],F=n&&(D===`complete`||D===`reset`||D in n))),C&&(M||F)&&(F||l||!n)&&(gC(C)?C(P):P.getTrailing(C).forEach(function(e){return e.endAnimation()})),T||(Ne&&!ES&&!JS?(Ne._dp._time-Ne._start!==Ne._time&&Ne.render(Ne._dp._time-Ne._start),Ne.resetTo?Ne.resetTo(`totalProgress`,u,n._tTime/n._tDur):(Ne.vars.totalProgress=u,Ne.invalidate().restart())):n&&n.totalProgress(u,!!(ES&&(I||e)))),d){if(e&&f&&(be.style[f+w.os2]=Te),!k)Se(aC(Ce+we*u));else if(O){if(N=!e&&u>p&&ue+1>o&&o+1>=pC(E,w),y)if(!e&&(h||N)){var ee=BC(d,!0),te=o-L;zw(d,yS,ee.top+(w===oS?te:0)+IC,ee.left+(w===oS?0:te)+IC)}else zw(d,be);Nw(h||N?ve:ye),Oe&&u<1&&h||Se(Ce+(u===1&&!N?we:0))}}v&&!ae.tween&&!ES&&!JS&&Ie.restart(!0),a&&(M||_&&u&&(u<1||!qS))&&SS(a.targets).forEach(function(e){return e.classList[h||_?`add`:`remove`](a.className)}),i&&!T&&!e&&i(P),O&&!ES?(T&&(F&&(D===`complete`?n.pause().totalProgress(1):D===`reset`?n.restart(!0).pause():D===`restart`?n.restart(!0):n[D]()),i&&i(P)),(M||!qS)&&(s&&M&&bC(P,s),A[b]&&bC(P,A[b]),_&&(u===1?P.kill(!1,1):A[b]=0),M||(b=u===1?1:3,A[b]&&bC(P,A[b]))),S&&!h&&Math.abs(P.getVelocity())>(_C(S)?S:2500)&&(yC(P.callbackAnimation),Ne?Ne.progress(1):yC(n,D===`reverse`?1:!u,1))):T&&i&&!ES&&i(P)}if(ke){var ne=x?o/x.duration()*(x._caScrollDist||0):o;De(ne+ +!!fe._isFlipped),ke(ne)}ze&&ze(-o/x.duration()*(x._caScrollDist||0))}},P.enable=function(t,n){P.enabled||(P.enabled=!0,qC(E,`resize`,sw),O||qC(E,`scroll`,aw),F&&qC(e,`refreshInit`,F),t!==!1&&(P.progress=re=0,ce=le=ne=ie()),n!==!1&&P.refresh())},P.getTween=function(e){return e&&ae?ae.tween:Ne},P.setPositions=function(e,t,n,r){if(x){var i=x.scrollTrigger,a=x.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}P.refresh(!1,!1,{start:eC(e,n&&!!P._startClamp),end:eC(t,n&&!!P._endClamp)}
vendor: 4,299 bytes, line 18
18,r),P.update()},P.adjustPinSpacing=function(e){if(Ee&&e){var t=Ee.indexOf(w.d)+1;Ee[t]=parseFloat(Ee[t])+e+IC,Ee[1]=parseFloat(Ee[1])+e+IC,Nw(Ee)}},P.disable=function(t,n){if(t!==!1&&P.revert(!0,!0),P.enabled&&(P.enabled=P.isActive=!1,n||Ne&&Ne.pause(),Le=0,oe&&(oe.uncache=1),F&&JC(e,`refreshInit`,F),Ie&&(Ie.pause(),ae.tween&&ae.tween.kill()&&(ae.tween=0)),!O)){for(var r=Y.length;r--;)if(Y[r].scroller===E&&Y[r]!==P)return;JC(E,`resize`,sw),O||JC(E,`scroll`,aw)}},P.kill=function(e,r){P.disable(e,r),Ne&&!r&&Ne.kill(),o&&delete nw[o];var i=Y.indexOf(P);i>=0&&Y.splice(i,1),i===kS&&Tw>0&&kS--,i=0,Y.forEach(function(e){return e.scroller===P.scroller&&(i=1)}),i||_w||(P.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),de&&[de,R,fe,pe].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),Ew===P&&(Ew=0),d&&(oe&&(oe.uncache=1),i=0,Y.forEach(function(e){return e.pin===d&&i++}),i||(oe.spacer=0)),t.onKill&&t.onKill(P)},Y.push(P),P.enable(!1,!1),Be&&Be(P),n&&n.add&&!ge){var We=P.update;P.update=function(){P.update=We,K.cache++,L||ue||P.refresh()},q.delayedCall(.01,P.update),ge=.01,L=ue=0}else P.refresh();d&&bw()},e.register=function(t){return gS||=(q=t||sC(),oC()&&window.document&&e.enable(),QS),gS},e.defaults=function(e){if(e)for(var t in e)ZC[t]=e[t];return ZC},e.disable=function(e,t){QS=0,Y.forEach(function(n){return n[t?`kill`:`disable`](e)}),JC(J,`wheel`,aw),JC(_S,`scroll`,aw),clearInterval(TS),JC(_S,`touchcancel`,iC),JC(yS,`touchstart`,iC),KC(JC,_S,`pointerdown,touchstart,mousedown`,nC),KC(JC,_S,`pointerup,touchend,mouseup`,rC),xS.kill(),mC(JC);for(var n=0;n<K.length;n+=3)YC(JC,K[n],K[n+1]),YC(JC,K[n],K[n+2])},e.enable=function(){if(J=window,_S=document,vS=_S.documentElement,yS=_S.body,q)if(SS=q.utils.toArray,CS=q.utils.clamp,VS=q.core.context||iC,PS=q.core.suppressOverwrites||iC,HS=J.history.scrollRestoration||`auto`,ww=J.pageYOffset||0,q.core.globals(`ScrollTrigger`,e),yS){QS=1,US=document.createElement(`div`),US.style.height=`100vh`,US.style.position=`absolute`,xw(),tC(),hS.register(q),e.isTouch=hS.isTouch,BS=hS.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),LS=hS.isTouch===1,qC(J,`wheel`,aw),bS=[J,_S,vS,yS],q.matchMedia?(e.matchMedia=function(e){var t=q.matchMedia(),n;for(n in e)t.add(n,e[n]);return t},q.addEventListener(`matchMediaInit`,function(){mw(),hw()}),q.addEventListener(`matchMediaRevert`,function(){return pw()}),q.addEventListener(`matchMedia`,function(){Cw(0,1),dw(`matchMedia`)}),q.matchMedia().add(`(orientation: portrait)`,function(){return ow(),ow})):console.warn(`Requires GSAP 3.11.0 or later`),ow(),qC(_S,`scroll`,aw);var t=yS.hasAttribute(`style`),n=yS.style,r=n.borderTopStyle,i=q.core.Animation.prototype,a,o;for(i.revert||Object.defineProperty(i,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle=`solid`,a=BC(yS),oS.m=Math.round(a.top+oS.sc())||0,aS.m=Math.round(a.left+aS.sc())||0,r?n.borderTopStyle=r:n.removeProperty(`border-top-style`),t||(yS.setAttribute(`style`,``),yS.removeAttribute(`style`)),TS=setInterval(iw,250),q.delayedCall(.5,function(){return JS=0}),qC(_S,`touchcancel`,iC),qC(yS,`touchstart`,iC),KC(qC,_S,`pointerdown,touchstart,mousedown`,nC),KC(qC,_S,`pointerup,touchend,mouseup`,rC),OS=q.utils.checkPrefix(`transform`),kw.push(OS),gS=YS(),xS=q.delayedCall(.2,Cw).pause(),MS=[_S,`visibilitychange`,function(){var e=J.innerWidth,t=J.innerHeight;_S.hidden?(AS=e,jS=t):(AS!==e||jS!==t)&&sw()},_S,`DOMContentLoaded`,Cw,J,`load`,Cw,J,`resize`,sw],mC(qC),Y.forEach(function(e){return e.enable(0,1)}),o=0;o<K.length;o+=3)YC(JC,K[o],K[o+1]),YC(JC,K[o],K[o+2])}else _S&&_S.addEventListener(`DOMContentLoaded`,function t(){e.enable(),_S.removeEventListener(`DOMContentLoaded`,t)})},e.config=function(t){`limitCallbacks`in t&&(qS=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(TS)||(TS=n)&&setInterval(iw,n),`ignoreMobileResize`in t&&(LS=e.isTouch===1&&t.ignoreMobileResize),`autoRefreshEvents`in t&&(mC(JC)||mC(qC,t.autoRefreshEvents||`none`),FS=(t.autoRefreshEvents+``).indexOf(`resize`)===-1)},e.scrollerProxy=function(e,t){var n=sS(e),r=K.indexOf(n),i=cC(n);~r&&K.splice(r,i?6:2),t&&(i?qx.unshift(J,t,yS,t,vS,t):qx.unshift(n,t))},e.clearMatchMedia=function(e){Y.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})}
vendor: 3,600 bytes, line 18
18,e.isInViewport=function(e,t,n){var r=(hC(e)?sS(e):e).getBoundingClientRect(),i=r[n?EC:DC]*t||0;return n?r.right-i>0&&r.left+i<J.innerWidth:r.bottom-i>0&&r.top+i<J.innerHeight},e.positionInViewport=function(e,t,n){hC(e)&&(e=sS(e));var r=e.getBoundingClientRect(),i=r[n?EC:DC],a=t==null?i/2:t in QC?QC[t]*i:~t.indexOf(`%`)?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/J.innerWidth:(r.top+a)/J.innerHeight},e.killAll=function(e){if(Y.slice(0).forEach(function(e){return e.vars.id!==`ScrollSmoother`&&e.kill()}),e!==!0){var t=cw.killAll||[];cw={},t.forEach(function(e){return e()})}},e}();X.version=`3.15.0`,X.saveStyles=function(e){return e?SS(e).forEach(function(e){if(e&&e.style){var t=fw.indexOf(e);t>=0&&fw.splice(t,5),fw.push(e,e.style.cssText,e.getBBox&&e.getAttribute(`transform`),q.core.getCache(e),VS())}}):fw},X.revert=function(e,t){return hw(!e,t)},X.create=function(e,t){return new X(e,t)},X.refresh=function(e){return e?sw(!0):(gS||X.register())&&Cw(!0)},X.update=function(e){return++K.cache&&Dw(e===!0?2:0)},X.clearScrollMemory=gw,X.maxScroll=function(e,t){return pC(e,t?aS:oS)},X.getScrollFunc=function(e,t){return lS(sS(e),t?aS:oS)},X.getById=function(e){return nw[e]},X.getAll=function(){return Y.filter(function(e){return e.vars.id!==`ScrollSmoother`})},X.isScrolling=function(){return!!ZS},X.snapDirectional=WC,X.addEventListener=function(e,t){var n=cw[e]||(cw[e]=[]);~n.indexOf(t)||n.push(t)},X.removeEventListener=function(e,t){var n=cw[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},X.batch=function(e,t){var n=[],r={},i=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var n=[],r=[],o=q.delayedCall(i,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),a<=n.length&&o.progress(1)}},s;for(s in t)r[s]=s.substr(0,2)===`on`&&gC(t[s])&&s!==`onRefreshInit`?o(s,t[s]):t[s];return gC(a)&&(a=a(),qC(X,`refresh`,function(){return a=t.batchMax()})),SS(e).forEach(function(e){var t={};for(s in r)t[s]=r[s];t.trigger=e,n.push(X.create(t))}),n};var Uw=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},Ww=function e(t,n){n===!0?t.style.removeProperty(`touch-action`):t.style.touchAction=n===!0?`auto`:n?`pan-`+n+(hS.isTouch?` pinch-zoom`:``):`none`,t===vS&&e(yS,n)},Gw={auto:1,scroll:1},Kw=function(e){var t=e.event,n=e.target,r=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,a=i._gsap||q.core.getCache(i),o=YS(),s;if(!a._isScrollT||o-a._isScrollT>2e3){for(;i&&i!==yS&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Gw[(s=LC(i)).overflowY]||Gw[s.overflowX]));)i=i.parentNode;a._isScroll=i&&i!==n&&!cC(i)&&(Gw[(s=LC(i)).overflowY]||Gw[s.overflowX]),a._isScrollT=o}(a._isScroll||r===`x`)&&(t.stopPropagation(),t._gsapAllow=!0)},qw=function(e,t,n,r){return hS.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r&&=Kw,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&qC(_S,hS.eventTypes[0],Xw,!1,!0)},onDisable:function(){return JC(_S,hS.eventTypes[0],Xw,!0)}})},Jw=/(input|label|select|textarea)/i,Yw,Xw=function(e){var t=Jw.test(e.target.tagName);(t||Yw)&&(e._gsapAllow=!0,Yw=t)},Zw=function(e){vC(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||=`wheel,touch`,e.debounce=!!e.debounce,e.id=e.id||`normalizer`;var t=e,n=t.normalizeScrollX,r=t.momentum,i=t.allowNestedScroll,a=t.onRelease,o,s,c=sS(e.target)||vS,l=q.core.globals().ScrollSmoother,u=l&&l.get(),d=BS&&(e.content&&sS(e.content)||u&&e.content!==!1&&!u.smooth()&&u.content()),f=lS(c,oS),p=lS(c,aS),m=1,h=(hS.isTouch&&J.visualViewport?J.visualViewport.scale*J.visualVie
vendor: 1,041 bytes, line 18
18wport.width:J.outerWidth)/J.innerWidth,g=0,_=gC(r)?function(){return r(o)}:function(){return r||2.8},v,y,b=qw(c,e.type,!0,i),x=function(){return y=!1},S=iC,C=iC,w=function(){s=pC(c,oS),C=CS(+!!BS,s),n&&(S=CS(0,pC(c,aS))),v=vw},T=function(){d._gsap.y=aC(parseFloat(d._gsap.y)+f.offset)+`px`,d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+parseFloat(d._gsap.y)+`, 0, 1)`,f.offset=f.cacheID=0},E=function(){if(y){requestAnimationFrame(x);var e=aC(o.deltaY/2),t=C(f.v-e);if(d&&t!==f.v+f.offset){f.offset=t-f.v;var n=aC((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+n+`, 0, 1)`,d._gsap.y=n+`px`,f.cacheID=K.cache,Dw()}return!0}f.offset&&T(),y=!0},D,O,k,A,j=function(){w(),D.isActive()&&D.vars.scrollY>s&&(f()>s?D.progress(1)&&f(s):D.resetTo(`scrollY`,s))};return d&&q.set(d,{y:`+=0`}),e.ignoreCheck=function(e){return BS&&e.type===`touchmove`&&E(e)||m>1.05&&e.type!==`touchstart`||o.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){y=!1;var e=m;
18m=aC((J.visualViewport&&J.visualViewport.scale||1)/h),D.pause(),e!==m&&Ww(c,m>1.01?!0:n?!1:`x`),O=p(),k=f(),w(),v=vw},e.onRelease=e.onGestureStart=function(e,t){if(f.offset&&T(),!t)A.restart(!0);else{K.cache++;var r=_(),i,o;n&&(i=p(),o=i+r*.05*-e.velocityX/.227,r*=Uw(p,i,o,pC(c,aS)),D.vars.scrollX=S(o)),i=f(),o=i+r*.05*-e.velocityY/.227,r*=Uw(f,i,o,pC(c,oS)),D.vars.scrollY=C(o),D.invalidate().duration(r).play(.01),(BS&&D.vars.scrollY>=s||i>=s-1)&&q.to({},{onUpdate:j,duration:r})}a&&a(e)},e.onWheel=function(){D._ts&&D.pause(),YS()-g>1e3&&(v=0,g=YS())},e.onChange=function(e,t,r,i,a){if(vw!==v&&w(),t&&n&&p(S(i[2]===t?O+(e.startX-e.x):p()+t-i[1])),r){f.offset&&T();var o=a[2]===r,s=o?k+e.startY-e.y:f()+r-a[1],c=C(s);o&&s!==c&&(k+=c-s),f(c)}(r||t)&&Dw()},e.onEnable=function(){Ww(c,n?!1:`x`),X.addEventListener(`refresh`,j),qC(J,`resize`,j),f.smooth&&=(f.target.style.scrollBehavior=`auto`,p.smooth=!1),b.enable()},e.onDisable=function(){Ww(c,!0),JC(J,`resize`,j),X.removeEventListener(`refresh`,j),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new hS(e),o.iOS=BS,BS&&!f()&&f(1),BS&&q.ticker.add(iC),A=o._dc,D=q.to(o,{ease:`power4`,paused:!0,inherit:!1,scrollX:n?`+=0.1`:`+=0`,scrollY:`+=0.1`,modifiers:{scrollY:Bw(f,f(),function(){return D.pause()})},onUpdate:Dw,onComplete:A.vars.onComplete}),o};X.sort=function(e){if(gC(e))return Y.sort(e);var t=J.pageYOffset||0;return X.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+J.innerHeight}),Y.sort(e||function(e,t){return(e.vars.refreshPriority||0)*-1e6+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})},X.observe=function(e){return new hS(e)},X.normalizeScroll=function(e){if(e===void 0)return IS;if(e===!0&&IS)return IS.enable();if(e===!1){IS&&IS.kill(),IS=e;return}var t=e instanceof hS?e:Zw(e);return IS&&IS.target===t.target&&IS.kill(),cC(t.target)&&(IS=t),t},X.core={_getVelocityProp:uS,_inputObserver:qw,_scrollers:K,_proxies:qx,bridge:{ss:function(){ZS||dw(`scrollStart`),ZS=YS()},ref:function(){return ES}}},sC()&&q.registerPlugin(X);var Qw=[{quote:`Arbia has transformed how we manage our organic farm operations. The streamlined ordering system has made working with our customers so much easier.`,author:`Kevin Klippenstein`,company:`Klippers Organic Acres`,avatar:`KK`,rating:5},{quote:`Managing inventory and orders used to take hours every day. With Arbia, we've automated so much of our workflow that we can focus on what matters most - our customers.`,author:`Moussa Mohaidly`,company:`Jasmine Foods`,avatar:`MM`,rating:5},{quote:`As a co-op, we work with many suppliers and members. Arbia consolidated everything into one platform and made our operations so much more efficient.`,author:`Sam Allum`,company:`Kootenay Coop`,avatar:`SA`,rating:5}];function $w(){return(0,B.jsx)(`section`,{className:`section-padding bg-white overflow-hidden`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`text-center max-w-3xl mx-auto mb-16`,children:[(0,B.jsx)(`span`,{className:`inline-block px-4 py-1.5 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-sm mb-4`,children:`Testimonials`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-gray-900 mb-4`,children:[`Loved by`,` `,(0,B.jsx)(`span`,{className:`text-gradient`,children:`food operators`})]}),(0,B.jsx)(`p`,{className:`text-body`,children:`Distributors, producers, and grocers are running their operations on Arbia — and seeing the spreadsheets disappear.`})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-2 lg:grid-cols-3 gap-6`,children:Qw.map((e,t)=>(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:`group relative bg-white rounded-2xl p-6 border border-gray-100 hover:border-arbia-200 hover:shadow-xl transition-all duration-300`,children:[(0,B.jsx)(eh,{className:`w-10 h-10 text-arbia-200 mb-4`}),(0,B.jsx)(`div`,{className:`flex gap-1 mb-4`,children:[...Array(e.rating)].map((e,t)=>(0,B.jsx)(mh,{className:`w-5 h-5 fill-autumn text-autumn`},t))}),(0,B.jsxs)(`p`,{className:`text-gray-700 mb-6 leading-relaxed`,children:[`"`,e.quote,`"`]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-full bg-linear-to-br from-arbia-400 to-arbia-600 flex items-center justify-center text-white font-bold`,children:e.avatar}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`div`,{className:`font-semibold text-gray-900`,children:e.author}),(0,B.jsx)(`div`,{className:`text-sm text-gray-500`,children:e.company})]})]}),(0,B.jsx)(`div`,{className:`absolute inset-0 bg-linear-to-br from-arbia-500/5 to-transparent opacity-0 group-hover:opacity-100 rounded-2xl transition-opacity duration-300 pointer-events-none`})]},t))}),(0,B.jsx)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`mt-16 max-w-4xl mx-auto`,children:(0,B.jsx)(`div`,{className:`relative aspect-video rounded-2xl overflow-hidden border border-gray-100 shadow-xl`,children:(0,B.jsx)(`iframe`,{src:`https://www.youtube-nocookie.com/embed/6GnCxAHYv8k`,title:`Arbia customer story`,className:`absolute inset-0 w-full h-full`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,referrerPolicy:`strict-origin-when-cross-origin`,allowFullScreen:!0})})})]})})}
18function eT({audience:e,partners:t,example:n}){return(0,B.jsx)(`section`,{className:`section-padding bg-sage`,children:(0,B.jsx)(`div`,{className:`container-custom`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-10 items-center`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6},className:`lg:col-span-7`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-black mb-6`,children:`Stronger together`}),(0,B.jsxs)(`h2`,{className:`heading-lg text-black mb-6`,children:[`You don't join software.`,(0,B.jsx)(`span`,{className:`block`,children:`You join a food supply chain.`})]}),(0,B.jsxs)(`p`,{className:`text-lg text-black/70 leading-relaxed mb-4`,children:[`Arbia isn't a tool that stops at your four walls. When `,e,` `,`come onto the network, the `,t,` they work with every day coordinate on the same live data — availability, prices, substitutions, delivery windows — without changing how any of them work. And when one of you has more than the others need, the network is where it finds a buyer or a food bank.`]}),(0,B.jsx)(`p`,{className:`text-lg text-black/70 leading-relaxed`,children:n})]}),(0,B.jsx)(U.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.6,delay:.15},className:`lg:col-span-4 lg:col-start-9`,children:(0,B.jsxs)(`div`,{className:`rounded-3xl bg-offwhite p-7`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-2xl bg-arbia-100 flex items-center justify-center mb-5`,children:(0,B.jsx)(nh,{className:`w-5 h-5 text-forest`})}),(0,B.jsx)(`h3`,{className:`text-lg font-medium text-black mb-2`,children:`See the whole picture`}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-600 leading-relaxed mb-5`,children:`Explore how the connected food supply chain works — from the farm to the food bank — and where your partners fit.`}),(0,B.jsxs)(Nn,{to:`/#chain`,className:`inline-flex items-center text-forest font-medium text-sm group`,children:[`The connected food supply chain`,(0,B.jsx)(om,{className:`ml-1.5 w-4 h-4 group-hover:translate-x-1 transition-transform`})]})]})})]})})})}function tT({eyebrow:e,lines:t,sub:n,stats:r,exploreHref:i,exploreLabel:a,visual:o}){let s=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let e=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.timeline({defaults:{ease:`power3.out`}}).fromTo(`[data-hero-eyebrow]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.7}).fromTo(`[data-hero-line]`,{yPercent:110,autoAlpha:0},{yPercent:0,autoAlpha:1,duration:.9,stagger:.12},`-=0.4`).fromTo(`[data-hero-sub]`,{autoAlpha:0,y:20},{autoAlpha:1,y:0,duration:.7},`-=0.5`).fromTo(`[data-hero-cta]`,{autoAlpha:0,y:16},{autoAlpha:1,y:0,duration:.6,stagger:.1},`-=0.4`).fromTo(`[data-hero-panel]`,{autoAlpha:0,y:32},{autoAlpha:1,y:0,duration:.9},`-=0.6`).fromTo(`[data-hero-stat]`,{autoAlpha:0,scale:.85},{autoAlpha:1,scale:1,duration:.5,stagger:.1,ease:`back.out(1.6)`},`-=0.5`)}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-hero-eyebrow], [data-hero-line], [data-hero-sub], [data-hero-cta], [data-hero-panel], [data-hero-stat]`,{autoAlpha:1,x:0,y:0,yPercent:0,scale:1})})},s);return()=>e.revert()},[]),(0,B.jsxs)(`section`,{ref:s,className:`relative min-h-screen bg-evergreen overflow-hidden flex flex-col`,children:[(0,B.jsx)(`div`,{className:`absolute inset-0 bg-radial from-forest/70 via-transparent to-transparent pointer-events-none`}),(0,B.jsx)(`div`,{className:`absolute inset-0 bg-linear-to-b from-evergreen/30 via-transparent to-evergreen pointer-events-none`}),(0,B.jsx)(`div`,{className:`container-custom relative z-10 flex-1 flex items-center pt-32 pb-16 md:pt-36`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-8 items-center w-full`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-7`,children:[(0,B.jsx)(`p`,{"data-hero-eyebrow":!0,className:`brand-line eyebrow text-sage mb-8 opacity-0`,children:e}),(0,B.jsx)(`h1`,{className:`heading-xl text-offwhite mb-8`,children:t.map(e=>(0,B.jsx)(`span`,{className:`block overflow-hidden`,children:(0,B.jsx)(`span`,{"data-hero-line":!0,className:`block opacity-0 ${e.accent?`text-sage`:``}`,children:e.text})},e.text))}),(0,B.jsx)(`p`,{"data-hero-sub":!0,className:`text-lg md:text-xl text-offwhite/70 max-w-xl leading-relaxed md:leading-7 mb-10 opacity-0`,children:n}),(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 mb-14`,children:[(0,B.jsxs)(`a`,{"data-hero-cta":!0,href:`#demo`,className:`btn-primary-dark group opacity-0`,children:[`Request a demo`,(0,B.jsx)(om,{className:`ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform`})]}),(0,B.jsxs)(`a`,{"data-hero-cta":!0,href:i,className:`btn-outline-dark group opacity-0`,children:[a,(0,B.jsx)(im,{className:`ml-2 w-4 h-4 group-hover:translate-y-0.5 transition-transform`})]})]}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-4 sm:gap-6`,children:r.map(e=>(0,B.jsxs)(`div`,{"data-hero-stat":!0,className:`brand-circle border-sage/30 text-offwhite w-28 h-28 sm:w-32 sm:h-32 p-2 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-xl sm:text-2xl font-medium text-sage`,children:e.value}),(0,B.jsx)(`span`,{className:`text-2xs sm:text-xs text-offwhite/60 mt-1 leading-tight sm:leading-4`,children:e.label})]},e.label))})]}),(0,B.jsx)(`div`,{"data-hero-panel":!0,className:`lg:col-span-5 opacity-0`,children:o})]})})]})}G.registerPlugin(X);function nT({id:e,eyebrow:t,title:n,sub:r,features:i}){let a=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let e=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-grid-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-grid-header]`,start:`top 80%`}}),G.fromTo(`[data-grid-card]`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.55,stagger:.1,ease:`power3.out`,scrollTrigger:{trigger:`[data-grid-cards]`,start:`top 80%`}})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-grid-header] > *, [data-grid-card]`,{autoAlpha:1,y:0})})},a);return()=>e.revert()},[]),(0,B.jsx)(`section`,{ref:a,id:e,className:`bg-offwhite text-black`,children:(0,B.jsxs)(`div`,{className:`container-custom section-padding`,children:[(0,B.jsxs)(`div`,{"data-grid-header":!0,className:`max-w-3xl mb-14`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:t}),(0,B.jsx)(`h2`,{className:`heading-md mb-5 opacity-0`,children:n}),(0,B.jsx)(`p`,{className:`text-body opacity-0`,children:r})]}),(0,B.jsx)(`div`,{"data-grid-cards":!0,className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5`,children:i.map(e=>e.highlight?(0,B.jsxs)(`div`,{"data-grid-card":!0,className:`group rounded-2xl bg-evergreen p-6 hover:shadow-glow transition-all duration-300 opacity-0`,children:[(0,B.jsx)(`span`,{className:`w-10 h-10 rounded-xl bg-sage text-evergreen flex items-center justify-center mb-4`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5`})}),(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2 text-offwhite`,children:e.title}),(0,B.jsx)(`p`,{className:`text-base text-offwhite/70 leading-relaxed`,children:e.description})]},e.title):(0,B.jsxs)(`div`,{"data-grid-card":!0,className:`group rounded-2xl border border-stone/50 bg-white p-6 hover:border-sage hover:shadow-soft transition-all duration-300 opacity-0`,children:[(0,B.jsx)(`span`,{className:`w-10 h-10 rounded-xl bg-evergreen text-sage flex items-center justify-center mb-4 group-hover:bg-field group-hover:text-white transition-colors duration-300`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5`})}),(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]},e.title))})]})})}G.registerPlugin(X);function rT({eyebrow:e,title:t,sub:n,ctaLabel:r,metrics:i}){let a=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let e=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-band-item]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.8,stagger:.15,ease:`power3.out`,scrollTrigger:{trigger:a.current,start:`top 70%`}}
18),G.utils.toArray(`[data-count]`,a.current??void 0).forEach(e=>{let t=Number(e.dataset.count),n=e.dataset.prefix??``,r=e.dataset.suffix??``,i={value:0};G.to(i,{value:t,duration:1.6,ease:`power2.out`,scrollTrigger:{trigger:e,start:`top 85%`},onUpdate:()=>{e.textContent=`${n}${Math.round(i.value)}${r}`}})})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-band-item]`,{autoAlpha:1,y:0}),G.utils.toArray(`[data-count]`,a.current??void 0).forEach(e=>{e.textContent=`${e.dataset.prefix??``}${e.dataset.count}${e.dataset.suffix??``}`})})},a);return()=>e.revert()},[]),(0,B.jsx)(`section`,{ref:a,className:`bg-evergreen text-offwhite overflow-hidden`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 items-center`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-7`,children:[(0,B.jsx)(`p`,{"data-band-item":!0,className:`brand-line eyebrow text-sage mb-6 opacity-0`,children:e}),(0,B.jsx)(`h2`,{"data-band-item":!0,className:`heading-lg mb-6 opacity-0`,children:t}),(0,B.jsx)(`p`,{"data-band-item":!0,className:`text-lg text-offwhite/70 leading-relaxed max-w-xl mb-8 opacity-0`,children:n}),(0,B.jsxs)(`a`,{"data-band-item":!0,href:`#demo`,className:`btn-primary-dark group opacity-0`,children:[r,(0,B.jsx)(om,{className:`ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform`})]})]}),(0,B.jsx)(`div`,{className:`lg:col-span-5`,children:(0,B.jsx)(`div`,{className:`flex flex-wrap lg:flex-col gap-5 lg:items-end`,children:i.map((e,t)=>(0,B.jsxs)(`div`,{"data-band-item":!0,className:`brand-circle border-sage/30 w-40 h-40 sm:w-44 sm:h-44 p-5 opacity-0 ${t===1?`lg:mr-24`:``}`,children:[(0,B.jsx)(`span`,{"data-count":e.value,"data-prefix":e.prefix??``,"data-suffix":e.suffix??``,className:`text-3xl sm:text-4xl font-medium text-sage`,children:`0`}),(0,B.jsx)(`span`,{className:`text-xs text-offwhite/60 mt-2 leading-snug max-w-34`,children:e.label})]},e.label))})})]})})})}G.registerPlugin(X);var iT=[{icon:Vm,title:`Bella's Bistro emailed their Friday order`,detail:`SO-3120 · 16 line items · synced to NetSuite`},{icon:Sh,title:`Voicemail from Harvest Market transcribed`,detail:`“usual thursday plus 4 cs limes” → standing order updated`},{icon:sh,title:`PO-8841 sent to Fresh Point Produce`,detail:`delivery confirmed for Thursday · no phone tag`},{icon:uh,title:`Container TCLU-882140 cleared customs`,detail:`freight & duty allocated · landed COGS updated`}];function aT(){return(0,B.jsxs)(`div`,{className:`relative rounded-3xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,B.jsxs)(`span`,{className:`relative flex h-2.5 w-2.5`,children:[(0,B.jsx)(`span`,{className:`animate-ping absolute inline-flex h-full w-full rounded-full bg-sage opacity-60`}),(0,B.jsx)(`span`,{className:`relative inline-flex rounded-full h-2.5 w-2.5 bg-sage`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm font-medium tracking-wide`,children:`Ask Arbia, working the desk`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/40 text-xs font-mono`,children:`5:52 AM`})]}),(0,B.jsx)(`div`,{className:`space-y-3`,children:iT.map(e=>(0,B.jsx)(`div`,{className:`rounded-2xl bg-evergreen/70 border border-white/10 p-4`,children:(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(`span`,{className:`w-8 h-8 rounded-lg bg-sage/15 text-sage flex items-center justify-center shrink-0`,children:(0,B.jsx)(e.icon,{className:`w-4 h-4`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm leading-snug`,children:e.title}),(0,B.jsx)(`p`,{className:`text-offwhite/50 text-xs mt-1`,children:e.detail})]})]})},e.title))})]})}var oT=[{number:`01`,title:`Every channel, captured`,description:`Email, text, WhatsApp, voicemail, PDF purchase orders — your customers keep ordering however they like, and Arbia reads it all the moment it arrives. Day or night.`},{number:`02`,title:`Shorthand becomes line items`,description:`“The usual plus 4 cs limes” resolves against the customer’s history, your catalogue, and their contract prices — units normalized, nothing re-keyed, nothing missed.`},{number:`03`,title:`Straight into your ERP`,description:`Priced, allocated, and ready to pick in QuickBooks, NetSuite, Sage, or Xero. Your order desk stops transcribing and starts selling.`}],sT=[{product:`Limes`,qty:`4`,unit:`40lb case`,price:`$38.00`},{product:`Roma Tomatoes`,qty:`6`,unit:`25lb case`,price:`$28.50`},{product:`Avocados`,qty:`2`,unit:`48ct case`,price:`$56.20`},{product:`Cilantro`,qty:`3`,unit:`30ct case`,price:`$19.80`}],cT=[`QuickBooks`,`NetSuite`,`Sage`,`Xero`];function lT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-sales-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-sales-header]`,start:`top 80%`}}),G.fromTo(`[data-sales-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-sales-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-sales-stage]`,start:`top 70%`}}).fromTo(`[data-inbox-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.55,stagger:.18,ease:`power3.out`}).fromTo(`[data-sales-highlight]`,{backgroundSize:`0% 100%`},{backgroundSize:`100% 100%`,duration:.5,stagger:.15}).fromTo(`[data-sales-connector="0"]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-so-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-so-line]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.4,stagger:.15,ease:`power2.out`}).fromTo(`[data-so-unit]`,{scale:.6,autoAlpha:0},{scale:1,autoAlpha:1,duration:.3,stagger:.1,ease:`back.out(2)`}).fromTo(`[data-sales-connector="1"]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-erp-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-erp-chip]`,{autoAlpha:0,scale:.7},{autoAlpha:1,scale:1,duration:.35,stagger:.1,ease:`back.out(1.8)`}).fromTo(`[data-erp-synced]`,{autoAlpha:0,scale:.8},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-sales-header] > *, [data-sales-step], [data-inbox-card], [data-so-card], [data-so-line], [data-so-unit], [data-erp-card], [data-erp-chip], [data-erp-synced]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-sales-connector="0"], [data-sales-connector="1"]`,{scaleY:1}
18),G.set(`[data-sales-highlight]`,{backgroundSize:`100% 100%`})})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`sales-orders`,className:`bg-offwhite text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-sales-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`The order desk`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`The order desk drowning in email, text & voicemail? `,(0,B.jsx)(`span`,{className:`text-forest`,children:`Covered.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Hundreds of orders a day arrive as messages — and someone has to re-key every one. Arbia reads them all and turns them into ERP-ready orders.`})]}),(0,B.jsx)(`div`,{"data-sales-steps":!0,className:`space-y-8`,children:oT.map(e=>(0,B.jsxs)(`div`,{"data-sales-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-sales-stage":!0,className:`lg:col-span-7`,children:[(0,B.jsxs)(`div`,{className:`grid sm:grid-cols-3 gap-4`,children:[(0,B.jsxs)(`div`,{"data-inbox-card":!0,className:`bg-white rounded-2xl shadow-soft p-4 border border-stone/40 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2.5`,children:[(0,B.jsx)(Vm,{className:`w-4 h-4 text-forest shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`Bella's Bistro`}),(0,B.jsx)(`span`,{className:`ml-auto shrink-0`,children:`5:48 AM`})]}),(0,B.jsxs)(`p`,{className:`text-sm leading-relaxed text-neutral-700`,children:[`For Friday:`,` `,(0,B.jsx)(`mark`,{"data-sales-highlight":!0,className:`bg-linear-to-r from-sage to-sage bg-no-repeat rounded-sm px-0.5 text-black`,style:{backgroundSize:`0% 100%`,backgroundColor:`transparent`},children:`6 cs romas`}),` `,`and`,` `,(0,B.jsx)(`mark`,{"data-sales-highlight":!0,className:`bg-linear-to-r from-sage to-sage bg-no-repeat rounded-sm px-0.5 text-black`,style:{backgroundSize:`0% 100%`,backgroundColor:`transparent`},children:`2 cs avos`}),` `,`please!`]})]}),(0,B.jsxs)(`div`,{"data-inbox-card":!0,className:`bg-white rounded-2xl shadow-soft p-4 border border-stone/40 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2.5`,children:[(0,B.jsx)(Gm,{className:`w-4 h-4 text-forest shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`SMS · Harvest Market`}),(0,B.jsx)(`span`,{className:`ml-auto shrink-0`,children:`5:51 AM`})]}),(0,B.jsx)(`div`,{className:`inline-block bg-offwhite rounded-2xl rounded-bl-sm px-3.5 py-2`,children:(0,B.jsxs)(`p`,{className:`text-sm text-neutral-700`,children:[`usual thursday plus`,` `,(0,B.jsx)(`mark`,{"data-sales-highlight":!0,className:`bg-linear-to-r from-sage to-sage bg-no-repeat rounded-sm px-0.5 text-black`,style:{backgroundSize:`0% 100%`,backgroundColor:`transparent`},children:`4 cs limes`})]})})]}),(0,B.jsxs)(`div`,{"data-inbox-card":!0,className:`bg-white rounded-2xl shadow-soft p-4 border border-stone/40 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2.5`,children:[(0,B.jsx)(Sh,{className:`w-4 h-4 text-forest shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`Voicemail · Luca's Deli`}),(0,B.jsx)(`span`,{className:`ml-auto shrink-0`,children:`5:54 AM`})]}),(0,B.jsxs)(`p`,{className:`text-sm leading-relaxed text-neutral-700 italic`,children:[`“Hey it's Luca — add`,` `,(0,B.jsx)(`mark`,{"data-sales-highlight":!0,className:`bg-linear-to-r from-sage to-sage bg-no-repeat rounded-sm px-0.5 text-black not-italic`,style:{backgroundSize:`0% 100%`,backgroundColor:`transparent`},children:`3 cs cilantro`}),` `,`to tomorrow…”`]}),(0,B.jsx)(`p`,{className:`text-2xs text-neutral-400 mt-1.5`,children:`transcribed automatically`})]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-sales-connector":`0`,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-so-card":!0,className:`bg-white rounded-2xl shadow-soft-lg border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(Nm,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Sales Order SO-3120`})]}),(0,B.jsxs)(`span`,{className:`text-xs text-sage flex items-center gap-1.5`,children:[(0,B.jsx)(Eh,{className:`w-3.5 h-3.5`}),`extracted by Arbia Agent`]})]}
18),(0,B.jsxs)(`div`,{className:`divide-y divide-stone/30`,children:[(0,B.jsxs)(`div`,{className:`grid grid-cols-12 px-5 py-2.5 text-2xs uppercase tracking-wider text-neutral-400`,children:[(0,B.jsx)(`span`,{className:`col-span-5`,children:`Product`}),(0,B.jsx)(`span`,{className:`col-span-2 text-right`,children:`Qty`}),(0,B.jsx)(`span`,{className:`col-span-3 text-right`,children:`Unit`}),(0,B.jsx)(`span`,{className:`col-span-2 text-right`,children:`Price`})]}),sT.map(e=>(0,B.jsxs)(`div`,{"data-so-line":!0,className:`grid grid-cols-12 items-center px-5 py-3 text-sm`,children:[(0,B.jsx)(`span`,{className:`col-span-5 font-medium`,children:e.product}),(0,B.jsx)(`span`,{className:`col-span-2 text-right text-neutral-600`,children:e.qty}),(0,B.jsx)(`span`,{className:`col-span-3 text-right`,children:(0,B.jsx)(`span`,{"data-so-unit":!0,className:`inline-block bg-sage/40 text-evergreen text-xs px-2 py-0.5 rounded-full`,children:e.unit})}),(0,B.jsx)(`span`,{className:`col-span-2 text-right text-neutral-600`,children:e.price})]},e.product))]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-sales-connector":`1`,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsx)(`div`,{"data-erp-card":!0,className:`bg-white rounded-2xl shadow-soft border border-stone/40 p-5 opacity-0`,children:(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:cT.map(e=>(0,B.jsx)(`span`,{"data-erp-chip":!0,className:`px-3 py-1.5 rounded-full border border-stone/60 text-sm text-neutral-700 bg-offwhite`,children:e},e))}),(0,B.jsxs)(`span`,{"data-erp-synced":!0,className:`ml-auto flex items-center gap-2 text-forest font-medium text-sm`,children:[(0,B.jsx)(ym,{className:`w-5 h-5`}),`Synced · 0 keystrokes`]})]})})]})]})})})}var uT=[{number:`01`,title:`One agent across 1,000 suppliers`,description:`Price lists, availability, lead times, and contacts tracked for every supplier — from national broadliners to the farm that only answers texts. No more spreadsheet of spreadsheets.`},{number:`02`,title:`POs drafted, sent & chased`,description:`Arbia drafts replenishment POs from demand, sends them, confirms delivery dates, and follows up when a supplier goes quiet — instead of your buyers playing phone tag.`},{number:`03`,title:`Only exceptions reach a human`,description:`Shorted lines, price jumps, and late trucks get flagged for review with a suggested fix. Everything routine just happens.`}],dT=[{icon:sh,text:`PO-8841 · Fresh Point Produce — sent 6:02 AM`,status:`delivery confirmed · Thursday`,flagged:!1},{icon:dm,text:`PO-8842 · Valley Organics — no reply in 48h`,status:`follow-up sent · escalates at noon`,flagged:!1},{icon:nm,text:`Citrus +14% at Coastal Fruit Co.`,status:`cheaper alternative found · swap suggested`,flagged:!0}];function fT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let t=G.matchMedia();t.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-proc-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-proc-header]`,start:`top 80%`}}),G.fromTo(`[data-proc-step]`,{autoAlpha:0,x:24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-proc-steps]`,start:`top 75%`}});let t=G.timeline({scrollTrigger:{trigger:`[data-proc-stage]`,start:`top 70%`}});t.fromTo(`[data-supplier-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`});let n={value:0};t.to(n,{value:1240,duration:1.2,ease:`power2.out`,onUpdate:()=>{let t=e.current?.querySelector(`[data-supplier-count]`);t&&(t.textContent=Math.round(n.value).toLocaleString())}}).fromTo(`[data-proc-connector]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-po-feed]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-po-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.45,stagger:.2,ease:`power2.out`}).fromTo(`[data-exception-note]`,{autoAlpha:0,scale:.85},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),t.add(`(prefers-reduced-motion: reduce)`,()=>
18{G.set(`[data-proc-header] > *, [data-proc-step], [data-supplier-card], [data-po-feed], [data-po-row], [data-exception-note]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-proc-connector]`,{scaleY:1});let t=e.current?.querySelector(`[data-supplier-count]`);t&&(t.textContent=`1,240`)})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`procurement`,className:`bg-white text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{"data-proc-stage":!0,className:`lg:col-span-7 order-2 lg:order-1`,children:[(0,B.jsx)(`div`,{"data-supplier-card":!0,className:`bg-offwhite rounded-2xl shadow-soft border border-stone/40 p-5 opacity-0`,children:(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-8 gap-y-3`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-3xl font-medium text-forest`,children:(0,B.jsx)(`span`,{"data-supplier-count":!0,children:`0`})}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mt-0.5`,children:`suppliers under management`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-3xl font-medium`,children:`96`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mt-0.5`,children:`POs open right now`})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-3xl font-medium`,children:`31`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mt-0.5`,children:`price lists read today`})]})]})}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-proc-connector":!0,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-po-feed":!0,className:`bg-offwhite rounded-2xl shadow-soft-lg border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(dm,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Procurement · this morning`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`live`})]}),(0,B.jsx)(`div`,{className:`divide-y divide-stone/30`,children:dT.map(e=>(0,B.jsxs)(`div`,{"data-po-row":!0,className:`flex items-start gap-3 px-5 py-3.5 text-sm`,children:[(0,B.jsx)(`span`,{className:`w-8 h-8 rounded-lg flex items-center justify-center shrink-0 ${e.flagged?`bg-amber/20 text-amber`:`bg-evergreen text-sage`}`,children:(0,B.jsx)(e.icon,{className:`w-4 h-4`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`font-medium`,children:e.text}),(0,B.jsx)(`p`,{className:`text-xs mt-0.5 ${e.flagged?`text-amber`:`text-neutral-500`}`,children:e.status})]})]},e.text))}),(0,B.jsx)(`div`,{className:`px-5 py-3.5 border-t border-stone/30`,children:(0,B.jsxs)(`span`,{"data-exception-note":!0,className:`flex items-center gap-2 text-forest font-medium text-sm`,children:[(0,B.jsx)(ym,{className:`w-5 h-5`}),`93 supplier touchpoints handled · 1 waiting on you`]})})]})]}),(0,B.jsxs)(`div`,{className:`lg:col-span-5 order-1 lg:order-2`,children:[(0,B.jsxs)(`div`,{"data-proc-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`Procurement`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`Hundreds of suppliers. `,(0,B.jsx)(`span`,{className:`text-forest`,children:`One agent on all of them.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Coordinating 100s to 1,000s of suppliers means endless calls, emails, and chasing. Arbia runs that whole loop — and only escalates what matters.`})]}),(0,B.jsx)(`div`,{"data-proc-steps":!0,className:`space-y-8`,children:uT.map(e=>(0,B.jsxs)(`div`,{"data-proc-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]})]})})})}var pT=[{number:`01`,title:`Track every container`,description:`Milestones, ETAs, and documents for every shipment — so allocation, customer promises, and cash flow are planned around facts, not guesses.`},{number:`02`,title:`Landed costs allocated automatically`,description:`Ocean freight, duty, brokerage, and drayage are spread across the pallets inside the moment the container is received. No month-end spreadsheet archaeology.`}
18,{number:`03`,title:`True COGS on every quote`,description:`Imported items carry their real landed cost into pricing, margin reports, and rep dashboards. Quote against the real number — by item, route, and customer.`}],mT=[{label:`Departed Veracruz`,done:!0},{label:`On water`,done:!0},{label:`Customs cleared`,done:!0},{label:`Received · Jun 18`,done:!1}],hT=[{label:`Product (invoice)`,value:`$84,000`,width:`100%`},{label:`Ocean freight`,value:`$9,400`,width:`11%`},{label:`Duty & tariffs`,value:`$4,850`,width:`6%`},{label:`Brokerage & drayage`,value:`$1,120`,width:`1.5%`}];function gT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-import-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-import-header]`,start:`top 80%`}}),G.fromTo(`[data-import-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-import-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-import-stage]`,start:`top 70%`}}).fromTo(`[data-container-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-milestone]`,{autoAlpha:0,scale:.7},{autoAlpha:1,scale:1,duration:.35,stagger:.12,ease:`back.out(1.8)`}).fromTo(`[data-landed-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-cost-bar]`,{scaleX:0},{scaleX:1,duration:.6,stagger:.12,ease:`power3.out`,transformOrigin:`left center`}).fromTo(`[data-landed-total]`,{autoAlpha:0,scale:.85},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-import-header] > *, [data-import-step], [data-container-card], [data-milestone], [data-landed-card], [data-landed-total]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-cost-bar]`,{scaleX:1})})},e);return()=>t.revert()}
18,[]),(0,B.jsx)(`section`,{ref:e,id:`imports`,className:`bg-evergreen text-offwhite overflow-hidden`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-import-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage mb-6 opacity-0`,children:`Imports & landed cost`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`True COGS — `,(0,B.jsx)(`span`,{className:`text-sage`,children:`containers included.`})]}),(0,B.jsx)(`p`,{className:`text-lg text-offwhite/70 leading-relaxed mb-12 max-w-md opacity-0`,children:`For importer-distributors, the invoice price is fiction. Track every container and let freight, duty, and brokerage flow into the real cost of every imported item.`})]}),(0,B.jsx)(`div`,{"data-import-steps":!0,className:`space-y-8`,children:pT.map(e=>(0,B.jsxs)(`div`,{"data-import-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-sage pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-offwhite/20 pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2 text-offwhite`,children:e.title}),(0,B.jsx)(`p`,{className:`text-base text-offwhite/60 leading-relaxed`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-import-stage":!0,className:`lg:col-span-7 space-y-5`,children:[(0,B.jsxs)(`div`,{"data-container-card":!0,className:`rounded-2xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(uh,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium text-offwhite`,children:`Container TCLU-882140 · limes & avocados`})]}),(0,B.jsx)(`span`,{className:`text-xs text-offwhite/50`,children:`ETA Port of Vancouver · Jun 18`})]}),(0,B.jsx)(`div`,{className:`grid grid-cols-2 sm:grid-cols-4 gap-2.5`,children:mT.map(e=>(0,B.jsx)(`div`,{"data-milestone":!0,className:`rounded-xl px-3 py-2.5 text-xs text-center border opacity-0 ${e.done?`border-sage/40 bg-sage/10 text-sage`:`border-white/10 bg-white/3 text-offwhite/50`}`,children:(0,B.jsxs)(`span`,{className:`flex items-center justify-center gap-1.5`,children:[e.done&&(0,B.jsx)(ym,{className:`w-3.5 h-3.5 shrink-0`}),e.label]})},e.label))})]}),(0,B.jsxs)(`div`,{"data-landed-card":!0,className:`rounded-2xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 opacity-0`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium text-offwhite mb-5`,children:`Landed cost allocation`}),(0,B.jsx)(`div`,{className:`space-y-4`,children:hT.map(e=>(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-xs mb-1.5`,children:[(0,B.jsx)(`span`,{className:`text-offwhite/70`,children:e.label}),(0,B.jsx)(`span`,{className:`text-offwhite/90 font-mono`,children:e.value})]}),(0,B.jsx)(`div`,{className:`h-1.5 rounded-full bg-white/10 overflow-hidden`,children:(0,B.jsx)(`div`,{"data-cost-bar":!0,className:`h-full rounded-full bg-sage`,style:{width:e.width}})})]},e.label))}),(0,B.jsxs)(`div`,{"data-landed-total":!0,className:`mt-5 rounded-xl bg-sage px-4 py-3 flex items-center gap-3 opacity-0`,children:[(0,B.jsx)(gm,{className:`w-5 h-5 text-evergreen shrink-0`}),(0,B.jsxs)(`p`,{className:`text-sm text-black`,children:[`True landed cost: `,(0,B.jsx)(`span`,{className:`font-medium`,children:`$31.18/case`}),` — 18% above the invoice price your quotes were built on.`]})]})]})]})]})})})}var _T=[{icon:vh,title:`Churn & sales performance`,description:`See which accounts are ordering less before they leave, rank reps, routes, and customers by margin — and let Arbia draft the win-back.`,highlight:!0},{icon:Lm,title:`AI demand forecasting`,description:`Stock the right SKUs in the right quantities. Fewer stockouts, less shrink, protected margin across every product line.`}
18,{icon:Ch,title:`Order-to-cash, on autopilot`,description:`From pick to invoice to payment, every order moves through the cycle — and the receivables get chased for you.`},{icon:lh,title:`Traceability & recalls`,description:`Every lot, every move, every transaction traceable end to end. One lot code in, every customer out — recall-ready in seconds.`},{icon:$m,title:`ERP & EDI sync`,description:`Two-way sync with QuickBooks, NetSuite, Sage, and Xero — and EDI-ready for your largest retail accounts. No rip-and-replace.`},{icon:Mm,title:`Goodbye pen, paper & spreadsheets`,description:`Replace the clipboards, sticky notes, and Excel files holding your operation together — without retraining the team.`}];function vT(){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(tT,{eyebrow:`Arbia for Distributors`,lines:[{text:`Orders from everywhere.`},{text:`Suppliers by the hundreds.`},{text:`One agent on all of it.`,accent:!0}],sub:`Email, text and voicemail orders become ERP-ready sales orders. 1,000+ suppliers stay coordinated. True landed COGS on every container. And Ask Arbia runs all of it. Built for food distributors.`,stats:[{value:`<60s`,label:`email to order`},{value:`1000s`,label:`of suppliers handled`},{value:`0`,label:`orders re-keyed by hand`}],exploreHref:`#sales-orders`,exploreLabel:`See it work`,visual:(0,B.jsx)(aT,{})}),(0,B.jsx)(lT,{}),(0,B.jsx)(fT,{}),(0,B.jsx)(gT,{}),(0,B.jsx)(ox,{}),(0,B.jsx)(nT,{eyebrow:`Beyond the order desk`,title:(0,B.jsxs)(B.Fragment,{children:[`Everything between first call `,(0,B.jsx)(`span`,{className:`text-forest`,children:`and final payment.`})]}),sub:`The order desk is the headline — but the platform underneath runs the whole distribution operation, end to end.`,features:_T}),(0,B.jsx)(rT,{eyebrow:`Built for food distributors`,title:(0,B.jsxs)(B.Fragment,{children:[`The order desk of the next decade `,(0,B.jsx)(`span`,{className:`text-sage`,children:`isn’t a desk at all.`})]}),sub:`Margins in food distribution are too thin for re-keyed orders, supplier phone tag, and landed costs discovered at month-end. Put Ask Arbia on it — and let your people do the work only people can do.`,ctaLabel:`See it on your own orders`,metrics:[{value:85,suffix:`%`,label:`of order admin handled by Arbia`},{value:12,suffix:`hrs`,label:`back per rep, every week`},{value:1e3,suffix:`+`,label:`suppliers coordinated`}]}),(0,B.jsx)(eT,{audience:`distributors`,partners:`farms, food hubs, and grocers`,example:`A grower's morning text becomes live availability your reps can sell against. A customer's late substitution flows back to the packhouse before the truck is loaded. That's the difference between software and a coordinated food supply chain.`}),(0,B.jsx)($w,{}),(0,B.jsx)(Cx,{})]}),(0,B.jsx)(Dx,{})]})}G.registerPlugin(X);var yT=[{icon:Am,title:`Batch B-2406-12 completed · 1,440 units`,detail:`LOT-HS-0611 · COGS $3.37/unit · ingredient lots consumed`},{icon:dh,title:`14 new orders pulled into the queue`,detail:`Shopify (6) · Faire (5) · Amazon (3) · one inventory`},{icon:uh,title:`Container MSCU-481209 cleared customs`,detail:`freight & duty allocated · landed COGS updated`},{icon:Lm,title:`Churn alert: Cascade Market down 40%`,detail:`win-back email drafted · ready to send`}];function bT(){return(0,B.jsxs)(`div`,{className:`relative rounded-3xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,B.jsxs)(`span`,{className:`relative flex h-2.5 w-2.5`,children:[(0,B.jsx)(`span`,{className:`animate-ping absolute inline-flex h-full w-full rounded-full bg-sage opacity-60`}),(0,B.jsx)(`span`,{className:`relative inline-flex rounded-full h-2.5 w-2.5 bg-sage`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm font-medium tracking-wide`,children:`Today on the production floor`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/40 text-xs font-mono`,children:`2:48 PM`})]}),(0,B.jsx)(`div`,{className:`space-y-3`,children:yT.map(e=>(0,B.jsx)(`div`,{className:`rounded-2xl bg-evergreen/70 border border-white/10 p-4`,children:(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(`span`,{className:`w-8 h-8 rounded-lg bg-sage/15 text-sage flex items-center justify-center shrink-0`,children:(0,B.jsx)(e.icon,{className:`w-4 h-4`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm leading-snug`,children:e.title}),(0,B.jsx)(`p`,{className:`text-offwhite/50 text-xs mt-1`,children:e.detail})]})]})}
18,e.title))})]})}var xT=[{number:`01`,title:`Recipes and BOMs that update themselves`,description:`Every recipe knows its ingredients, yields, and current input costs — packaging and labour included. Change a supplier price and the recipe cost updates itself.`},{number:`02`,title:`Every batch, lot-coded`,description:`Production runs consume ingredient lots and stamp a new lot code on finished goods. Any jar on any shelf traces back to every input that went into it.`},{number:`03`,title:`COGS that’s actually current`,description:`COGS per product is calculated from what inputs cost now — not last quarter’s spreadsheet. Price with confidence, channel by channel.`}],ST=[{ingredient:`Red fresno peppers`,lot:`LOT-FP-0608`,cost:`$1.42`},{ingredient:`Apple cider vinegar`,lot:`LOT-ACV-0601`,cost:`$0.31`},{ingredient:`Garlic, fresh`,lot:`LOT-GA-0529`,cost:`$0.18`},{ingredient:`Bottle, cap & label`,lot:null,cost:`$0.62`},{ingredient:`Labour & overhead`,lot:null,cost:`$0.84`}],CT=[`Ingredient lots consumed`,`Finished goods in stock`],wT=[{channel:`Wholesale · Faire & B2B`,price:`$7.50`,margin:`55%`},{channel:`DTC · Shopify`,price:`$12.00`,margin:`72%`}];function TT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let t=G.matchMedia();t.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-prod-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-prod-header]`,start:`top 80%`}}),G.fromTo(`[data-prod-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-prod-steps]`,start:`top 75%`}});let t=G.timeline({scrollTrigger:{trigger:`[data-prod-stage]`,start:`top 70%`}});t.fromTo(`[data-recipe-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-recipe-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.35,stagger:.1,ease:`power2.out`});let n={value:0};t.to(n,{value:3.37,duration:.9,ease:`power2.out`,onUpdate:()=>{let t=e.current?.querySelector(`[data-cogs-value]`);t&&(t.textContent=`$${n.value.toFixed(2)}`)}}).fromTo(`[data-prod-connector="0"]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-batch-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-batch-lot]`,{scale:.6,autoAlpha:0},{scale:1,autoAlpha:1,duration:.4,ease:`back.out(2)`}).fromTo(`[data-batch-status]`,{autoAlpha:0,scale:.7},{autoAlpha:1,scale:1,duration:.4,stagger:.15,ease:`back.out(1.8)`}).fromTo(`[data-prod-connector="1"]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-margin-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-margin-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.4,stagger:.15,ease:`power2.out`})}),t.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-prod-header] > *, [data-prod-step], [data-recipe-card], [data-recipe-row], [data-batch-card], [data-batch-lot], [data-batch-status], [data-margin-card], [data-margin-row]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-prod-connector="0"], [data-prod-connector="1"]`,{scaleY:1});let t=e.current?.querySelector(`[data-cogs-value]`);t&&(t.textContent=`$3.37`)})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`production`,className:`bg-offwhite text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-prod-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`Production management`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`Recipes, batches, and `,(0,B.jsx)(`span`,{className:`text-forest`,children:`COGS to the penny.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Track every recipe, every run, and every lot code — and know exactly what each product costs to make, in real time.`})]}),(0,B.jsx)(`div`,{"data-prod-steps":!0,className:`space-y-8`,children:xT.map(e=>(0,B.jsxs)(`div`,{"data-prod-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-prod-stage":!0,className:`lg:col-span-7`,children:[(0,B.jsxs)(`div`,{"data-recipe-card":!0,className:`bg-white rounded-2xl shadow-soft border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(Pm,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Recipe · Small-Batch Hot Sauce 250ml`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`costs live`})]}
18),(0,B.jsx)(`div`,{className:`divide-y divide-stone/30`,children:ST.map(e=>(0,B.jsxs)(`div`,{"data-recipe-row":!0,className:`flex items-center px-5 py-2.5 text-sm gap-3`,children:[(0,B.jsx)(`span`,{className:`font-medium`,children:e.ingredient}),e.lot&&(0,B.jsx)(`span`,{className:`inline-block bg-sage/40 text-evergreen text-2xs font-mono px-2 py-0.5 rounded-full`,children:e.lot}),(0,B.jsx)(`span`,{className:`ml-auto text-neutral-600`,children:e.cost})]},e.ingredient))}),(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-offwhite border-t border-stone/30`,children:[(0,B.jsx)(`span`,{className:`text-sm text-neutral-500`,children:`COGS per unit · updates with every input price`}),(0,B.jsx)(`span`,{"data-cogs-value":!0,className:`text-lg font-medium text-forest`,children:`$0.00`})]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-prod-connector":`0`,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-batch-card":!0,className:`bg-white rounded-2xl shadow-soft border border-stone/40 p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 mb-3`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(Jm,{className:`w-4 h-4 text-forest`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Production run · B-2406-12`})]}),(0,B.jsx)(`span`,{"data-batch-lot":!0,className:`inline-block bg-sage/40 text-evergreen text-xs font-mono px-2.5 py-1 rounded-full`,children:`LOT-HS-0611`}),(0,B.jsx)(`span`,{className:`ml-auto text-xs text-neutral-400`,children:`1,440 units · 2:40 PM`})]}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:CT.map(e=>(0,B.jsxs)(`span`,{"data-batch-status":!0,className:`flex items-center gap-1.5 text-xs text-forest font-medium bg-offwhite border border-stone/40 px-3 py-1.5 rounded-full`,children:[(0,B.jsx)(ym,{className:`w-3.5 h-3.5`}),e]},e))})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-prod-connector":`1`,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-margin-card":!0,className:`bg-evergreen rounded-2xl shadow-soft-lg p-5 opacity-0`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium text-offwhite mb-4`,children:`True margin, right now`}),(0,B.jsx)(`div`,{className:`space-y-2.5`,children:wT.map(e=>(0,B.jsxs)(`div`,{"data-margin-row":!0,className:`flex items-center gap-3 text-sm`,children:[(0,B.jsx)(`span`,{className:`text-offwhite/80`,children:e.channel}),(0,B.jsx)(`span`,{className:`ml-auto text-offwhite/60`,children:e.price}),(0,B.jsx)(`span`,{className:`inline-block bg-sage/20 text-sage font-medium text-xs px-2.5 py-1 rounded-full w-14 text-center`,children:e.margin})]},e.channel))})]})]})]})})})}var ET=[{number:`01`,title:`Connect your marketplaces`,description:`Shopify, Faire, Amazon — plus your own B2B storefront and EDI accounts. Connect once and stop logging into five seller dashboards.`},{number:`02`,title:`One queue, every order`,description:`Wholesale and DTC orders land in a single queue, allocated against the same inventory. No oversells, no channel maths.`},{number:`03`,title:`Fulfill, invoice, sync`,description:`Pick lists, shipping docs, invoices, and the accounting entry all happen from one place — whatever channel the order came from.`}],DT=[`Shopify`,`Faire`,`Amazon`,`B2B Storefront`],OT=[{customer:`The Pantry Co.`,items:`24 × Hot Sauce 250ml`,channel:`Faire`},{customer:`DTC · J. Moreno`,items:`3 × Gift Pack`,channel:`Shopify`},{customer:`FBA replenishment`,items:`144 × Hot Sauce 250ml`,channel:`Amazon`},{customer:`Cascade Market`,items:`12 cases · mixed`,channel:`Storefront`}];function kT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-chan-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-chan-header]`,start:`top 80%`}}),G.fromTo(`[data-chan-step]`,{autoAlpha:0,x:24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-chan-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-chan-stage]`,start:`top 70%`}}).fromTo(`[data-channel-chip]`,{autoAlpha:0,scale:.7,y:-10},{autoAlpha:1,scale:1,y:0,duration:.45,stagger:.12,ease:`back.out(1.8)`}).fromTo(`[data-chan-connector]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-queue-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-queue-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.4,stagger:.15,ease:`power2.out`}).fromTo(`[data-queue-note]`,{autoAlpha:0,scale:.8},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>
18{G.set(`[data-chan-header] > *, [data-chan-step], [data-channel-chip], [data-queue-card], [data-queue-row], [data-queue-note]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-chan-connector]`,{scaleY:1})})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`channels`,className:`bg-white text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{"data-chan-stage":!0,className:`lg:col-span-7 order-2 lg:order-1`,children:[(0,B.jsx)(`div`,{className:`grid grid-cols-2 sm:grid-cols-4 gap-3`,children:DT.map(e=>(0,B.jsx)(`div`,{"data-channel-chip":!0,className:`rounded-2xl border border-stone/50 bg-offwhite px-3 py-4 text-center text-sm font-medium opacity-0`,children:e},e))}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-chan-connector":!0,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-queue-card":!0,className:`bg-offwhite rounded-2xl shadow-soft-lg border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(dh,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Order queue · today`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`all channels`})]}),(0,B.jsx)(`div`,{className:`divide-y divide-stone/30`,children:OT.map(e=>(0,B.jsxs)(`div`,{"data-queue-row":!0,className:`flex items-center px-5 py-3 text-sm gap-3`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`font-medium`,children:e.customer}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500`,children:e.items})]}),(0,B.jsx)(`span`,{className:`ml-auto inline-block bg-sage/40 text-evergreen text-xs px-2.5 py-1 rounded-full`,children:e.channel})]},e.customer))}),(0,B.jsx)(`div`,{className:`px-5 py-3.5 border-t border-stone/30`,children:(0,B.jsxs)(`span`,{"data-queue-note":!0,className:`flex items-center gap-2 text-forest font-medium text-sm`,children:[(0,B.jsx)(ym,{className:`w-5 h-5`}),`One inventory across every channel · zero oversells`]})})]})]}),(0,B.jsxs)(`div`,{className:`lg:col-span-5 order-1 lg:order-2`,children:[(0,B.jsxs)(`div`,{"data-chan-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`Every channel, one place`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`Shopify, Faire, Amazon — `,(0,B.jsx)(`span`,{className:`text-forest`,children:`all orders in one queue.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Stop reconciling marketplaces by hand. Arbia pulls every channel into one order queue, one inventory, and one set of numbers.`})]}),(0,B.jsx)(`div`,{"data-chan-steps":!0,className:`space-y-8`,children:ET.map(e=>(0,B.jsxs)(`div`,{"data-chan-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]})]})})})}var AT=[{number:`01`,title:`Track the container, not just the PO`,description:`Milestones, ETAs, and documents for every shipment in one place — so production isn’t planned around a guess.`},{number:`02`,title:`Allocate every landed cost`,description:`Ocean freight, duty, brokerage, and drayage are spread across the items inside the container — automatically, the moment it’s received.`},{number:`03`,title:`Import COGS you can price from`,description:`Imported inputs carry their true landed cost into recipes, margins, and reports. The invoice price was never the real price.`}],jT=[{label:`Departed Ningbo`,done:!0},{label:`On water`,done:!0},{label:`Customs cleared`,done:!0},{label:`Received · Jun 18`,done:!1}],MT=[{label:`Product (invoice)`,value:`$42,000`,width:`100%`},{label:`Ocean freight`,value:`$5,800`,width:`14%`},{label:`Duty & tariffs`,value:`$3,150`,width:`8%`},{label:`Brokerage & drayage`,value:`$640`,width:`2%`}];function NT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-import-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-import-header]`,start:`top 80%`}}),G.fromTo(`[data-import-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-import-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-import-stage]`,start:`top 70%`}}).fromTo(`[data-container-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-milestone]`,{autoAlpha:0,scale:.7},{autoAlpha:1,scale:1,duration:.35,stagger:.12,ease:`back.out(1.8)`}).fromTo(`[data-landed-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-cost-bar]`,{scaleX:0},{scaleX:1,duration:.6,stagger:.12,ease:`power3.out`,transformOrigin:`left center`}).fromTo(`[data-landed-total]`,{autoAlpha:0,scale:.85},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-import-header] > *, [data-import-step], [data-container-card], [data-milestone], [data-landed-card], [data-landed-total]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-cost-bar]`,{scaleX:1})})},e);return()=>t.revert()}
18,[]),(0,B.jsx)(`section`,{ref:e,id:`imports`,className:`bg-evergreen text-offwhite overflow-hidden`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-import-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage mb-6 opacity-0`,children:`Imports & landed cost`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`True COGS — `,(0,B.jsx)(`span`,{className:`text-sage`,children:`even when it crosses an ocean.`})]}),(0,B.jsx)(`p`,{className:`text-lg text-offwhite/70 leading-relaxed mb-12 max-w-md opacity-0`,children:`Track every container from departure to your dock, and let freight, duty, and brokerage flow into the real cost of every imported item.`})]}),(0,B.jsx)(`div`,{"data-import-steps":!0,className:`space-y-8`,children:AT.map(e=>(0,B.jsxs)(`div`,{"data-import-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-sage pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-offwhite/20 pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2 text-offwhite`,children:e.title}),(0,B.jsx)(`p`,{className:`text-base text-offwhite/60 leading-relaxed`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-import-stage":!0,className:`lg:col-span-7 space-y-5`,children:[(0,B.jsxs)(`div`,{"data-container-card":!0,className:`rounded-2xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(uh,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium text-offwhite`,children:`Container MSCU-481209`})]}),(0,B.jsx)(`span`,{className:`text-xs text-offwhite/50`,children:`ETA Port of Vancouver · Jun 18`})]}),(0,B.jsx)(`div`,{className:`grid grid-cols-2 sm:grid-cols-4 gap-2.5`,children:jT.map(e=>(0,B.jsx)(`div`,{"data-milestone":!0,className:`rounded-xl px-3 py-2.5 text-xs text-center border opacity-0 ${e.done?`border-sage/40 bg-sage/10 text-sage`:`border-white/10 bg-white/3 text-offwhite/50`}`,children:(0,B.jsxs)(`span`,{className:`flex items-center justify-center gap-1.5`,children:[e.done&&(0,B.jsx)(ym,{className:`w-3.5 h-3.5 shrink-0`}),e.label]})},e.label))})]}),(0,B.jsxs)(`div`,{"data-landed-card":!0,className:`rounded-2xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 opacity-0`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium text-offwhite mb-5`,children:`Landed cost allocation`}),(0,B.jsx)(`div`,{className:`space-y-4`,children:MT.map(e=>(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-xs mb-1.5`,children:[(0,B.jsx)(`span`,{className:`text-offwhite/70`,children:e.label}),(0,B.jsx)(`span`,{className:`text-offwhite/90 font-mono`,children:e.value})]}),(0,B.jsx)(`div`,{className:`h-1.5 rounded-full bg-white/10 overflow-hidden`,children:(0,B.jsx)(`div`,{"data-cost-bar":!0,className:`h-full rounded-full bg-sage`,style:{width:e.width}})})]},e.label))}),(0,B.jsxs)(`div`,{"data-landed-total":!0,className:`mt-5 rounded-xl bg-sage px-4 py-3 flex items-center gap-3 opacity-0`,children:[(0,B.jsx)(gm,{className:`w-5 h-5 text-evergreen shrink-0`}),(0,B.jsxs)(`p`,{className:`text-sm text-black`,children:[`True landed cost: `,(0,B.jsx)(`span`,{className:`font-medium`,children:`$4.92/unit`}),` — 19% above the invoice price your spreadsheet was using.`]})]})]})]})]})})})}var PT=[{icon:Lm,title:`Customer churn analysis`,description:`See which accounts are ordering less before they disappear. Arbia flags the slide, quantifies it, and drafts the win-back email.`,highlight:!0},{icon:gm,title:`Full COGS reporting`,description:`COGS by product, batch, channel, and customer — labour, packaging, and freight included. Know which SKUs actually make money.`},{icon:dh,title:`B2B ordering`,description:`Wholesale buyers order online at their negotiated prices, with case minimums, standing orders, and credit terms handled.`},{icon:lh,title:`Recall-ready traceability`,description:`One lot code in, every batch and customer out. Run a recall report in seconds — not days on the phone.`},{icon:$m,title:`ERP & accounting sync`,description:`Orders, invoices, and COGS post to QuickBooks, NetSuite, Sage, or Xero automatically. One source of truth, everywhere.`},{icon:fh,title:`Ask Arbia`,description:`Ask for any report — margin by channel, ingredient price trends, slowest movers — and get it on demand or on a schedule. Ask it to reorder an ingredient or chase an invoice, and it’s done.`}];function FT(){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(tT,{eyebrow:`Arbia for Manufacturers`,lines:[{text:`Know your true cost.`},{text:`Track every lot.`},{text:`Sell on every channel.`,accent:!0}],sub:`Recipe-level production management, COGS to the penny, lot codes from ingredient to shelf, and every marketplace order in one queue — built for food & beverage makers.`,stats:[{value:`live`,label:`COGS per product`},{value:`100%`,label:`batches lot-coded`},{value:`1`,label:`queue for all orders`}],exploreHref:`#production`,exploreLabel:`See how it works`,visual:(0,B.jsx)(bT,{})}),(0,B.jsx)(TT,{}),(0,B.jsx)(kT,{}),(0,B.jsx)(NT,{}),(0,B.jsx)(nT,{eyebrow:`The numbers behind the brand`,title:(0,B.jsxs)(B.Fragment,{children:[`Margins are made `,(0,B.jsx)(`span`,{className:`text-forest`,children:`in the details.`})]}),sub:`From churn you can see coming to costs you can finally trust — the reporting layer your spreadsheets were standing in for.`,features:PT}),(0,B.jsx)(rT,{eyebrow:`Built for food & beverage makers`,title:(0,B.jsxs)(B.Fragment,{children:[`The brands that know their numbers `,(0,B.jsx)(`span`,{className:`text-sage`,children:`outlast the ones that guess.`})]}),sub:`Food margins don’t forgive guesswork. When COGS is live, lots are traceable, and every channel feeds one system, you can grow without losing the plot — or the margin.`,ctaLabel:`See it on your own products`,metrics:[{value:100,suffix:`%`,label:`of batches lot-coded & traceable`},{value:3,suffix:`+`,label:`marketplaces in one order queue`},{value:12,suffix:`hrs`,label:`of admin back every week`}]}),(0,B.jsx)(eT,{audience:`manufacturers and processors`,partners:`growers upstream and distributors downstream`,example:`Inbound ingredient availability and outbound demand meet in the middle — your production schedule — so surplus becomes a processing run instead of waste, and your region gains the value-ad
18ded capacity it's missing.`}),(0,B.jsx)(Cx,{})]}),(0,B.jsx)(Dx,{})]})}G.registerPlugin(X);var IT=[{icon:ph,title:`Harvest logged · 240 lb heirloom tomatoes`,detail:`LOT-TOM-0611-A · inventory & storefront updated`},{icon:hh,title:`The Green Table Café ordered 3 items`,detail:`$121.00 · Thursday delivery · invoice drafted`},{icon:fm,title:`18 CSA boxes built for Week 24`,detail:`2 holds applied · route sheet ready`},{icon:Vm,title:`Availability email drafted`,detail:`142 subscribers · ready to send`}];function LT(){return(0,B.jsxs)(`div`,{className:`relative rounded-3xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,B.jsxs)(`span`,{className:`relative flex h-2.5 w-2.5`,children:[(0,B.jsx)(`span`,{className:`animate-ping absolute inline-flex h-full w-full rounded-full bg-sage opacity-60`}),(0,B.jsx)(`span`,{className:`relative inline-flex rounded-full h-2.5 w-2.5 bg-sage`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm font-medium tracking-wide`,children:`This morning on the farm`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/40 text-xs font-mono`,children:`7:04 AM`})]}),(0,B.jsx)(`div`,{className:`space-y-3`,children:IT.map(e=>(0,B.jsx)(`div`,{className:`rounded-2xl bg-evergreen/70 border border-white/10 p-4`,children:(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(`span`,{className:`w-8 h-8 rounded-lg bg-sage/15 text-sage flex items-center justify-center shrink-0`,children:(0,B.jsx)(e.icon,{className:`w-4 h-4`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm leading-snug`,children:e.title}),(0,B.jsx)(`p`,{className:`text-offwhite/50 text-xs mt-1`,children:e.detail})]})]})},e.title))})]})}var RT=[{number:`01`,title:`Log the harvest in seconds`,description:`A crew member taps in crop, quantity, and field from the truck. A lot code is created automatically — no binder, no clipboard, no end-of-day data entry.`},{number:`02`,title:`Inventory updates itself`,description:`Digital harvest records flow straight into live inventory, so your storefront, CSA, and market lists only ever sell what you actually have.`},{number:`03`,title:`Pass audits without the panic`,description:`Every lot traces back to a field, a day, and a crew. When the auditor — or a recall — arrives, the records are already organized.`}],zT=[{label:`Crop`,value:`Heirloom Tomatoes`},{label:`Field`,value:`North Field · Block 3`},{label:`Quantity`,value:`240 lb`},{label:`Crew`,value:`Maria T.`}],BT=[{product:`Heirloom Tomatoes`,count:`312 lb`,delta:`+240`},{product:`Rainbow Chard`,count:`85 bunches`,delta:null},{product:`Garlic`,count:`120 lb`,delta:null}],VT=[`Harvest & field logs`,`Lot-level traceability`,`Wash & pack records`,`Cold chain & temp logs`];function HT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-trace-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-trace-header]`,start:`top 80%`}}),G.fromTo(`[data-trace-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-trace-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-trace-stage]`,start:`top 70%`}}).fromTo(`[data-harvest-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-harvest-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.4,stagger:.12,ease:`power2.out`}).fromTo(`[data-lot-chip]`,{scale:.6,autoAlpha:0},{scale:1,autoAlpha:1,duration:.4,ease:`back.out(2)`}).fromTo(`[data-trace-connector="0"]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-inv-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-inv-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.4,stagger:.12,ease:`power2.out`}).fromTo(`[data-inv-delta]`,{scale:.6,autoAlpha:0},{scale:1,autoAlpha:1,duration:.35,ease:`back.out(2)`}).fromTo(`[data-trace-connector="1"]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-audit-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-audit-item]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.35,stagger:.1,ease:`power2.out`}).fromTo(`[data-audit-pass]`,{autoAlpha:0,scale:.8},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-trace-header] > *, [data-trace-step], [data-harvest-card], [data-harvest-row], [data-lot-chip], [data-inv-card], [data-inv-row], [data-inv-delta], [data-audit-card], [data-audit-item], [data-audit-pass]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-trace-connector="0"], [data-trace-connector="1"]`,{scaleY:1}
18)})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`traceability`,className:`bg-offwhite text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-trace-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`Traceability, end to end`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`From field to invoice, `,(0,B.jsx)(`span`,{className:`text-forest`,children:`every lot accounted for.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Digital harvest records keep your inventory honest, your channels in sync, and your compliance audits boring — exactly how audits should be.`})]}),(0,B.jsx)(`div`,{"data-trace-steps":!0,className:`space-y-8`,children:RT.map(e=>(0,B.jsxs)(`div`,{"data-trace-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-trace-stage":!0,className:`lg:col-span-7`,children:[(0,B.jsxs)(`div`,{"data-harvest-card":!0,className:`bg-white rounded-2xl shadow-soft border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(ph,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Harvest Record · HR-0412`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`logged from the field · 6:48 AM`})]}),(0,B.jsxs)(`div`,{className:`p-5`,children:[(0,B.jsx)(`div`,{className:`grid grid-cols-2 gap-x-6 gap-y-3`,children:zT.map(e=>(0,B.jsxs)(`div`,{"data-harvest-row":!0,className:`text-sm`,children:[(0,B.jsx)(`p`,{className:`text-2xs uppercase tracking-wider text-neutral-400 mb-0.5`,children:e.label}),(0,B.jsx)(`p`,{className:`font-medium`,children:e.value})]},e.label))}),(0,B.jsxs)(`div`,{className:`mt-4 pt-4 border-t border-stone/30 flex items-center gap-2`,children:[(0,B.jsx)(`span`,{className:`text-xs text-neutral-500`,children:`Lot code created automatically`}),(0,B.jsx)(`span`,{"data-lot-chip":!0,className:`ml-auto inline-block bg-sage/40 text-evergreen text-xs font-mono px-2.5 py-1 rounded-full`,children:`LOT-TOM-0611-A`})]})]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-trace-connector":`0`,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-inv-card":!0,className:`bg-white rounded-2xl shadow-soft border border-stone/40 p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-4`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(pm,{className:`w-4 h-4 text-forest`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Live Inventory`})]}),(0,B.jsx)(`span`,{className:`text-xs text-neutral-400`,children:`synced just now`})]}),(0,B.jsx)(`div`,{className:`divide-y divide-stone/30`,children:BT.map(e=>(0,B.jsxs)(`div`,{"data-inv-row":!0,className:`flex items-center py-2.5 text-sm`,children:[(0,B.jsx)(`span`,{className:`font-medium`,children:e.product}),e.delta&&(0,B.jsxs)(`span`,{"data-inv-delta":!0,className:`ml-2.5 inline-block bg-sage/40 text-evergreen text-2xs px-2 py-0.5 rounded-full`,children:[e.delta,` today`]}),(0,B.jsx)(`span`,{className:`ml-auto text-neutral-600`,children:e.count})]},e.product))}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500 mt-3`,children:`Storefront, CSA, and market availability all pull from these counts.`})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-trace-connector":`1`,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-audit-card":!0,className:`bg-white rounded-2xl shadow-soft-lg border border-stone/40 p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 mb-4`,children:[(0,B.jsx)(wm,{className:`w-4 h-4 text-forest`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Audit binder — always ready`})]}),(0,B.jsx)(`div`,{className:`grid sm:grid-cols-2 gap-2.5 mb-4`,children:VT.map(e=>(0,B.jsxs)(`div`,{"data-audit-item":!0,className:`flex items-center gap-2 text-sm text-neutral-700`,children:[(0,B.jsx)(ym,{className:`w-4 h-4 text-forest shrink-0`}),e]},e))}),(0,B.jsxs)(`div`,{"data-audit-pass":!0,className:`rounded-xl bg-evergreen px-4 py-3 flex items-center gap-3`,children:[(0,B.jsx)(lh,{className:`w-5 h-5 text-sage shrink-0`}),(0,B.jsxs)(`p`,{className:`text-sm text-offwhite/90`,children:[`Mock recall drill: lot traced back to field, day & crew in `,(0,B.jsx)(`span`,{className:`text-sage font-medium`,children:`28 seconds`}),`.`]})]})]})]})]})})})}var UT=[{number:`01`,title:`Your own wholesale storefront`,description:`Chefs, grocers, and other business customers browse your real availability and order online — at the prices you negotiated with each of them.`},{number:`02`,title:`Prices per customer, set once`,description:`Customer-specific price lists and volume tiers live in one place. No more quoting over text or honouring a price you forgot you gave.`},{number:`03`,title:`Orders land in the same system`,description:`Confirmed orders reserve live inventory, generate pick lists, and draft the invoice — before you walk back from the field.`}],WT=[{product:`Heirloom Tomatoes`,unit:`25lb case`,price:`$62.00`},{product:`Rainbow Chard`,unit:`12 bunch case`,price:`$18.00`},{product:`Garlic`,unit:`10lb box`,price:`$41.00`}],GT=[`Inventory reserved`,`Pick list created`,`Invoice drafted`];function KT(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-shop-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-shop-header]`,start:`top 80%`}}),G.fromTo(`[data-shop-step]`,{autoAlpha:0,x:24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-shop-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-shop-stage]`,start:`top 70%`}}).fromTo(`[data-shop-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-shop-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.4,stagger:.15,ease:`power2.out`}).fromTo(`[data-price-chip]`,{scale:.6,autoAlpha:0},{scale:1,autoAlpha:1,duration:.35,stagger:.1,ease:`back.out(2)`}).fromTo(`[data-shop-connector]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-shop-order]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-shop-status]`,{autoAlpha:0,scale:.7},{autoAlpha:1,scale:1,duration:.4,stagger:.15,ease:`back.out(1.8)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-shop-header] > *, [data-shop-step], [data-shop-card], [data-shop-row], [data-price-chip], [data-shop-order], [data-shop-status]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-shop-connector]`,{scaleY:1}
18)})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`storefront`,className:`bg-white text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{"data-shop-stage":!0,className:`lg:col-span-7 order-2 lg:order-1`,children:[(0,B.jsxs)(`div`,{"data-shop-card":!0,className:`bg-offwhite rounded-2xl shadow-soft border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(hh,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`greenfieldfarm · wholesale storefront`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`open 24/7`})]}),(0,B.jsxs)(`div`,{className:`divide-y divide-stone/30`,children:[(0,B.jsxs)(`div`,{className:`px-5 py-2.5 text-2xs uppercase tracking-wider text-neutral-400 flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`This week's availability`}),(0,B.jsx)(`span`,{children:`The Green Table Café's prices`})]}),WT.map(e=>(0,B.jsxs)(`div`,{"data-shop-row":!0,className:`flex items-center px-5 py-3 text-sm gap-3`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`font-medium`,children:e.product}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-500`,children:e.unit})]}),(0,B.jsx)(`span`,{"data-price-chip":!0,className:`ml-auto inline-block bg-sage/40 text-evergreen text-xs px-2.5 py-1 rounded-full`,children:e.price})]},e.product))]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-shop-connector":!0,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-shop-order":!0,className:`bg-offwhite rounded-2xl shadow-soft-lg border border-stone/40 p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:`New order · The Green Table Café`}),(0,B.jsx)(`span`,{className:`text-xs text-neutral-400`,children:`7:02 AM`})]}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-600 mb-4`,children:`3 items · $121.00 · Thursday delivery`}),(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:GT.map(e=>(0,B.jsxs)(`span`,{"data-shop-status":!0,className:`flex items-center gap-1.5 text-xs text-forest font-medium bg-white border border-stone/40 px-3 py-1.5 rounded-full`,children:[(0,B.jsx)(ym,{className:`w-3.5 h-3.5`}),e]},e))})]})]}),(0,B.jsxs)(`div`,{className:`lg:col-span-5 order-1 lg:order-2`,children:[(0,B.jsxs)(`div`,{"data-shop-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`B2B ecommerce`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`A storefront for your `,(0,B.jsx)(`span`,{className:`text-forest`,children:`business customers.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Restaurants, grocers, and distributors order from you online — and every order flows into the same inventory, pick lists, and invoices.`})]}),(0,B.jsx)(`div`,{"data-shop-steps":!0,className:`space-y-8`,children:UT.map(e=>(0,B.jsxs)(`div`,{"data-shop-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]})]})})})}var qT=[{icon:_m,title:`Farmers market planning`,description:`Build pack lists per market, log what sold, and let last week’s numbers decide what goes on the truck next Saturday.`},{icon:fm,title:`CSA management`,description:`Subscriptions, box builds, skips and holds, pickup sites and delivery routes — all running off the same live inventory.`},{icon:Vm,title:`Mailing lists & marketing`,description:`Every order grows your mailing list. Send availability emails, market reminders, and campaigns your customers actually open.`},{icon:dm,title:`Orders from any message`,description:`Order texts and emails become confirmed orders automatically — your customers never have to learn a portal.`},{icon:fh,title:`Ask Arbia`,description:`“What did we sell at Trout Lake market last month?” Ask in plain English and get the report back — once, or every Monday. Ask it to repeat an order or chase an invoice, and it’s done.`},{icon:lh,title:`Compliance, covered`,description:`CanadaGAP- and FSMA-style records build themselves as your team works. Audit day becomes a formality, not a fire drill.`}];function JT(){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(tT,{eyebrow:`Arbia for Farmers`,lines:[{text:`Sell everywhere.`},{text:`Track everything.`},{text:`Run it from the field.`,accent:!0}],sub:`Digital harvest records, live inventory, a wholesale storefront, CSA and market tools, and Ask Arbia to handle the admin — one platform from field to invoice.`,stats:[{value:`<60s`,label:`to log a harvest`},{value:`100%`,label:`lot traceability`},{value:`24/7`,label:`storefront open`}],exploreHref:`#traceability`,exploreLabel:`See how it works`,visual:(0,B.jsx)(LT,{})}),(0,B.jsx)(HT,{}),(0,B.jsx)(KT,{}),(0,B.jsx)(nT,{eyebrow:`The whole farm business`,title:(0,B.jsxs)(B.Fragment,{children:[`Markets, CSA, marketing — `,(0,B.jsx)(`span`,{className:`text-forest`,children:`one system, not five.`})]}),sub:`Everything that used to live in spreadsheets, group texts, and a binder in the truck — running off the same inventory and customer list.`,features:qT}),(0,B.jsx)(rT,{eyebrow:`Built for the farms that sell direct`,title:(0,B.jsxs)(B.Fragment,{children:[`Farms that own their channels `,(0,B.jsx)(`span`,{className:`text-sage`,children:`own their margin.`})]}),sub:`Direct sales only pay off if the admin doesn't eat the upside. Put the record-keeping, ordering, and follow-ups on autopilot — and keep your people growing food.`,ctaLabel:`See it on your own farm`,metrics:[{value:10,suffix:`hrs`,label:`of admin back every week`},{value:100,suffix:`%`,label:`of lots traceable to field & day`},{value:4,label:`sales channels, one live inventory`}]}),(0,B.jsx)(eT,{audience:`farmers and producers`,partners:`food hubs, distributors, grocers and institutional kitchens`,example:`The availability you text in the morning is matched against live demand from buyers you could never reach alone — and when the field gives you more than they take, the network knows who is short and which food bank can collect.`}),(0,B.jsx)(Cx,{})]}),(0,B.jsx)(Dx,{})]})}G.registerPlugin(X);var YT=[{icon:Im,title:`3 price lists read before 7 AM`,detail:`National Foodservice · Westland · Riverbend Farm — 4,212 prices normalized`},{icon:vh,title:`Avocados 48ct down 9% at Westland`,detail:`margin recalculated · suggested retail updated`},{icon:dh,title:`Cart split into 3 POs across suppliers`,detail:`$1,240 saved vs. ordering from one distributor`}
18,{icon:$m,title:`POS sync complete`,detail:`sales data pulled · 214 shelf prices updated`}];function XT(){return(0,B.jsxs)(`div`,{className:`relative rounded-3xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,B.jsxs)(`span`,{className:`relative flex h-2.5 w-2.5`,children:[(0,B.jsx)(`span`,{className:`animate-ping absolute inline-flex h-full w-full rounded-full bg-sage opacity-60`}),(0,B.jsx)(`span`,{className:`relative inline-flex rounded-full h-2.5 w-2.5 bg-sage`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm font-medium tracking-wide`,children:`This morning in procurement`})]}),(0,B.jsx)(`p`,{className:`text-offwhite/40 text-xs font-mono`,children:`7:11 AM`})]}),(0,B.jsx)(`div`,{className:`space-y-3`,children:YT.map(e=>(0,B.jsx)(`div`,{className:`rounded-2xl bg-evergreen/70 border border-white/10 p-4`,children:(0,B.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,B.jsx)(`span`,{className:`w-8 h-8 rounded-lg bg-sage/15 text-sage flex items-center justify-center shrink-0`,children:(0,B.jsx)(e.icon,{className:`w-4 h-4`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-offwhite/90 text-sm leading-snug`,children:e.title}),(0,B.jsx)(`p`,{className:`text-offwhite/50 text-xs mt-1`,children:e.detail})]})]})},e.title))})]})}var ZT=[{number:`01`,title:`Every list, read`,description:`PDF attachments, spreadsheet exports, portal downloads, even a farmer’s text — Arbia reads every price list the morning it arrives, at any size.`},{number:`02`,title:`Matched & normalized`,description:`The same case of avocados has five names and three pack sizes across your suppliers. Arbia matches the items and normalizes the units so prices are actually comparable.`},{number:`03`,title:`A real-time view of cost`,description:`Know the moment any price moves, what it does to your margin, and which supplier wins on every single item — before you place a thing.`}],QT=[{product:`Avocados · 48ct case`,best:`$56.20`,supplier:`Westland`,note:`−9% today`,down:!0},{product:`Roma Tomatoes · 25lb`,best:`$21.60`,supplier:`Riverbend Farm`,note:`3 suppliers matched`,down:!1},{product:`Strawberries · flat 8×1lb`,best:`$29.80`,supplier:`National`,note:`+4% today`,down:!1}];function $T(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let t=G.matchMedia();t.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-price-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-price-header]`,start:`top 80%`}}),G.fromTo(`[data-price-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-price-steps]`,start:`top 75%`}});let t=G.timeline({scrollTrigger:{trigger:`[data-price-stage]`,start:`top 70%`}});t.fromTo(`[data-source-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,stagger:.2,ease:`power3.out`}).fromTo(`[data-price-connector]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-norm-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-norm-row]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.4,stagger:.15,ease:`power2.out`}).fromTo(`[data-norm-chip]`,{scale:.6,autoAlpha:0},{scale:1,autoAlpha:1,duration:.35,stagger:.1,ease:`back.out(2)`});let n={value:0};t.to(n,{value:4212,duration:1.4,ease:`power2.out`,onUpdate:()=>
18{let t=e.current?.querySelector(`[data-price-count]`);t&&(t.textContent=Math.round(n.value).toLocaleString())}})}),t.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-price-header] > *, [data-price-step], [data-source-card], [data-norm-card], [data-norm-row], [data-norm-chip]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-price-connector]`,{scaleY:1});let t=e.current?.querySelector(`[data-price-count]`);t&&(t.textContent=`4,212`)})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`price-lists`,className:`bg-offwhite text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-price-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`Price intelligence`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`Ever-changing price lists, `,(0,B.jsx)(`span`,{className:`text-forest`,children:`tamed every morning.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Your distributors send thousands of prices a week in whatever format they like. Arbia reads and normalizes all of them — so you see cost in real time.`})]}),(0,B.jsx)(`div`,{"data-price-steps":!0,className:`space-y-8`,children:ZT.map(e=>(0,B.jsxs)(`div`,{"data-price-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-price-stage":!0,className:`lg:col-span-7`,children:[(0,B.jsxs)(`div`,{className:`grid sm:grid-cols-3 gap-4`,children:[(0,B.jsxs)(`div`,{"data-source-card":!0,className:`bg-white rounded-2xl shadow-soft p-4 border border-stone/40 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2`,children:[(0,B.jsx)(Im,{className:`w-4 h-4 text-forest shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`National Foodservice`})]}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-700`,children:`pricelist_jun_w2.pdf`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-400 mt-1`,children:`1,400 items · emailed 6:02 AM`})]}),(0,B.jsxs)(`div`,{"data-source-card":!0,className:`bg-white rounded-2xl shadow-soft p-4 border border-stone/40 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2`,children:[(0,B.jsx)(Mm,{className:`w-4 h-4 text-forest shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`Westland Wholesale`})]}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-700`,children:`weekly_export.xlsx`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-400 mt-1`,children:`2,180 items · portal 6:15 AM`})]}),(0,B.jsxs)(`div`,{"data-source-card":!0,className:`bg-white rounded-2xl shadow-soft p-4 border border-stone/40 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2`,children:[(0,B.jsx)(Gm,{className:`w-4 h-4 text-forest shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`Riverbend Farm`})]}),(0,B.jsx)(`p`,{className:`text-sm text-neutral-700`,children:`“romas $21.60 a case this wk”`}),(0,B.jsx)(`p`,{className:`text-xs text-neutral-400 mt-1`,children:`SMS · 6:40 AM`})]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-price-connector":!0,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-norm-card":!0,className:`bg-white rounded-2xl shadow-soft-lg border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(km,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Live price view · normalized`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`units & SKUs matched`})]}
18),(0,B.jsxs)(`div`,{className:`divide-y divide-stone/30`,children:[(0,B.jsxs)(`div`,{className:`grid grid-cols-12 px-5 py-2.5 text-2xs uppercase tracking-wider text-neutral-400`,children:[(0,B.jsx)(`span`,{className:`col-span-5`,children:`Product`}),(0,B.jsx)(`span`,{className:`col-span-2 text-right`,children:`Best`}),(0,B.jsx)(`span`,{className:`col-span-2 text-right`,children:`Supplier`}),(0,B.jsx)(`span`,{className:`col-span-3 text-right`,children:`Today`})]}),QT.map(e=>(0,B.jsxs)(`div`,{"data-norm-row":!0,className:`grid grid-cols-12 items-center px-5 py-3 text-sm`,children:[(0,B.jsx)(`span`,{className:`col-span-5 font-medium`,children:e.product}),(0,B.jsx)(`span`,{className:`col-span-2 text-right text-neutral-600`,children:e.best}),(0,B.jsx)(`span`,{className:`col-span-2 text-right text-neutral-500 text-xs`,children:e.supplier}),(0,B.jsx)(`span`,{className:`col-span-3 text-right`,children:(0,B.jsx)(`span`,{"data-norm-chip":!0,className:`inline-block text-xs px-2 py-0.5 rounded-full ${e.down?`bg-sage/40 text-evergreen`:`bg-offwhite border border-stone/40 text-neutral-600`}`,children:e.note})})]},e.product))]}),(0,B.jsxs)(`div`,{className:`px-5 py-3.5 border-t border-stone/30 text-sm text-neutral-500`,children:[(0,B.jsx)(`span`,{"data-price-count":!0,className:`font-medium text-forest`,children:`0`}),` `,`prices updated this morning — before you finished your coffee.`]})]})]})]})})})}var eE=[{number:`01`,title:`Compare across every supplier`,description:`Big broadliners and the farm down the road, side by side on normalized units. The best price on every line is highlighted before you order.`},{number:`02`,title:`One cart, the best of each`,description:`Pick the winning price line by line — or let Arbia optimize the whole basket against price, freight minimums, and delivery days.`},{number:`03`,title:`Multiple POs in one click`,description:`The cart splits into separate purchase orders per supplier, sent and tracked automatically. Three orders placed in the time one used to take.`}],tE=[{product:`Avocados · 48ct`,prices:[`$58.50`,`$56.20`,`—`],best:1},{product:`Roma Tomatoes · 25lb`,prices:[`$23.10`,`$24.00`,`$21.60`],best:2},{product:`Spinach · 4×2.5lb`,prices:[`$18.40`,`$19.20`,`—`],best:0},{product:`Strawberries · flat`,prices:[`$31.50`,`$33.00`,`$29.80`],best:2}],nE=[`National`,`Westland`,`Riverbend`],rE=[{po:`PO-1182`,supplier:`National Foodservice`,items:`12 items`},{po:`PO-1183`,supplier:`Westland Wholesale`,items:`9 items`},{po:`PO-1184`,supplier:`Riverbend Farm`,items:`5 items`}];function iE(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let t=G.matchMedia();t.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-order-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-order-header]`,start:`top 80%`}}),G.fromTo(`[data-order-step]`,{autoAlpha:0,x:24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-order-steps]`,start:`top 75%`}});let t=G.timeline({scrollTrigger:{trigger:`[data-order-stage]`,start:`top 70%`}});t.fromTo(`[data-comp-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-comp-row]`,{autoAlpha:0,y:16},{autoAlpha:1,y:0,duration:.4,stagger:.15,ease:`power2.out`}).fromTo(`[data-best]`,{boxShadow:`0 0 0 0px rgba(168, 207, 184, 0)`,backgroundColor:`rgba(168, 207, 184, 0)`},{boxShadow:`0 0 0 1.5px rgba(168, 207, 184, 0.9)`,backgroundColor:`rgba(168, 207, 184, 0.15)`,duration:.5,stagger:.12}).fromTo(`[data-order-connector]`,{scaleY:0},{scaleY:1,duration:.4,ease:`none`}).fromTo(`[data-po-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-po-chip]`,{autoAlpha:0,scale:.7},{autoAlpha:1,scale:1,duration:.4,stagger:.15,ease:`back.out(1.8)`});let n={value:0};t.to(n,{value:1240,duration:1.2,ease:`power2.out`,onUpdate:()=>
18{let t=e.current?.querySelector(`[data-po-savings]`);t&&(t.textContent=`$${Math.round(n.value).toLocaleString()}`)}})}),t.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-order-header] > *, [data-order-step], [data-comp-card], [data-comp-row], [data-po-card], [data-po-chip]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-best]`,{boxShadow:`0 0 0 1.5px rgba(168, 207, 184, 0.9)`,backgroundColor:`rgba(168, 207, 184, 0.15)`}),G.set(`[data-order-connector]`,{scaleY:1});let t=e.current?.querySelector(`[data-po-savings]`);t&&(t.textContent=`$1,240`)})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`ordering`,className:`bg-white text-black`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{"data-order-stage":!0,className:`lg:col-span-7 order-2 lg:order-1`,children:[(0,B.jsxs)(`div`,{"data-comp-card":!0,className:`bg-offwhite rounded-2xl shadow-soft-lg border border-stone/40 overflow-hidden opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-3.5 bg-evergreen`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(dh,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Thursday order · 26 items`})]}),(0,B.jsx)(`span`,{className:`text-xs text-sage`,children:`best price highlighted`})]}),(0,B.jsxs)(`div`,{className:`divide-y divide-stone/30`,children:[(0,B.jsxs)(`div`,{className:`grid grid-cols-12 px-5 py-2.5 text-2xs uppercase tracking-wider text-neutral-400`,children:[(0,B.jsx)(`span`,{className:`col-span-6`,children:`Product`}),nE.map(e=>(0,B.jsxs)(`span`,{className:`col-span-2 text-right`,children:[e,e===`Riverbend`&&(0,B.jsxs)(`span`,{className:`flex items-center justify-end gap-1 normal-case tracking-normal text-forest`,children:[(0,B.jsx)(_h,{className:`w-3 h-3`}),`local farm`]})]},e))]}),tE.map(e=>(0,B.jsxs)(`div`,{"data-comp-row":!0,className:`grid grid-cols-12 items-center px-5 py-3 text-sm`,children:[(0,B.jsx)(`span`,{className:`col-span-6 font-medium`,children:e.product}),e.prices.map((t,n)=>(0,B.jsx)(`span`,{className:`col-span-2 text-right`,children:(0,B.jsx)(`span`,{...e.best===n?{"data-best":``}:{},className:`inline-block px-2 py-0.5 rounded-md ${t===`—`?`text-neutral-300`:`text-neutral-600`}`,children:t})},n))]},e.product))]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{"data-order-connector":!0,className:`w-px h-10 bg-field origin-top`})}),(0,B.jsxs)(`div`,{"data-po-card":!0,className:`bg-offwhite rounded-2xl shadow-soft border border-stone/40 p-5 opacity-0`,children:[(0,B.jsx)(`div`,{className:`flex flex-wrap items-center gap-2 mb-4`,children:rE.map(e=>(0,B.jsxs)(`span`,{"data-po-chip":!0,className:`flex items-center gap-1.5 text-xs font-medium bg-white border border-stone/40 px-3 py-1.5 rounded-full`,children:[(0,B.jsx)(ym,{className:`w-3.5 h-3.5 text-forest`}),e.po,` · `,e.supplier,` · `,e.items]},e.po))}),(0,B.jsxs)(`p`,{className:`text-sm text-neutral-600`,children:[`One cart, three purchase orders —`,` `,(0,B.jsx)(`span`,{"data-po-savings":!0,className:`font-medium text-forest`,children:`$0`}),` `,`saved vs. single-supplier ordering.`]})]})]}),(0,B.jsxs)(`div`,{className:`lg:col-span-5 order-1 lg:order-2`,children:[(0,B.jsxs)(`div`,{"data-order-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6 opacity-0`,children:`Smarter buying`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`Many suppliers. One cart. `,(0,B.jsx)(`span`,{className:`text-forest`,children:`Multiple orders at once.`})]}),(0,B.jsx)(`p`,{className:`text-body mb-12 max-w-md opacity-0`,children:`Compare large distributors against local farms on every line, then place all the winning orders in a single click — with Arbia handling the legwork.`})]}),(0,B.jsx)(`div`,{"data-order-steps":!0,className:`space-y-8`,children:eE.map(e=>(0,B.jsxs)(`div`,{"data-order-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-stone pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]})]},e.number))})]})]})})})}
18var aE=[{number:`01`,title:`Plug into your POS & EDI`,description:`Sales data flows in item by item; cost and price updates flow back out. Your systems finally agree with each other — without double entry.`},{number:`02`,title:`Margins that defend themselves`,description:`When a distributor cost moves, you see the margin impact instantly — with suggested retails that protect it, pushed back to the shelf.`},{number:`03`,title:`Know what the shelf is doing`,description:`Sales price analysis by item and department shows what’s moving, at what margin, and where you’re leaving money on the shelf.`}],oE=[{label:`Deli & kitchen`,value:`54%`,width:`54%`},{label:`Produce`,value:`31%`,width:`31%`},{label:`Grocery`,value:`24%`,width:`24%`}];function sE(){let e=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let t=G.context(()=>{let e=G.matchMedia();e.add(`(prefers-reduced-motion: no-preference)`,()=>{G.fromTo(`[data-sync-header] > *`,{autoAlpha:0,y:30},{autoAlpha:1,y:0,duration:.7,stagger:.12,ease:`power3.out`,scrollTrigger:{trigger:`[data-sync-header]`,start:`top 80%`}}),G.fromTo(`[data-sync-step]`,{autoAlpha:0,x:-24},{autoAlpha:1,x:0,duration:.6,stagger:.2,ease:`power3.out`,scrollTrigger:{trigger:`[data-sync-steps]`,start:`top 75%`}}),G.timeline({scrollTrigger:{trigger:`[data-sync-stage]`,start:`top 70%`}}).fromTo(`[data-sync-card]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-sync-flow]`,{autoAlpha:0,x:-16},{autoAlpha:1,x:0,duration:.45,stagger:.2,ease:`power2.out`}).fromTo(`[data-margin-panel]`,{autoAlpha:0,y:40},{autoAlpha:1,y:0,duration:.6,ease:`power3.out`}).fromTo(`[data-dept-bar]`,{scaleX:0},{scaleX:1,duration:.6,stagger:.15,ease:`power3.out`,transformOrigin:`left center`}).fromTo(`[data-sync-note]`,{autoAlpha:0,scale:.85},{autoAlpha:1,scale:1,duration:.5,ease:`back.out(2)`})}),e.add(`(prefers-reduced-motion: reduce)`,()=>{G.set(`[data-sync-header] > *, [data-sync-step], [data-sync-card], [data-sync-flow], [data-margin-panel], [data-sync-note]`,{autoAlpha:1,x:0,y:0,scale:1}),G.set(`[data-dept-bar]`,{scaleX:1})})},e);return()=>t.revert()},[]),(0,B.jsx)(`section`,{ref:e,id:`store-sync`,className:`bg-evergreen text-offwhite overflow-hidden`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-start`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-5`,children:[(0,B.jsxs)(`div`,{"data-sync-header":!0,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-sage mb-6 opacity-0`,children:`POS & EDI integrations`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6 opacity-0`,children:[`Your back office and your shelf, `,(0,B.jsx)(`span`,{className:`text-sage`,children:`finally in sync.`})]}),(0,B.jsx)(`p`,{className:`text-lg text-offwhite/70 leading-relaxed mb-12 max-w-md opacity-0`,children:`Arbia connects to the POS and EDI you already run — pulling sales data in and pushing price updates out, so margins are managed, not discovered.`})]}),(0,B.jsx)(`div`,{"data-sync-steps":!0,className:`space-y-8`,children:aE.map(e=>(0,B.jsxs)(`div`,{"data-sync-step":!0,className:`flex gap-5 opacity-0`,children:[(0,B.jsx)(`span`,{className:`text-sm font-mono text-sage pt-1 shrink-0`,children:e.number}),(0,B.jsxs)(`div`,{className:`border-l border-offwhite/20 pl-5`,children:[(0,B.jsx)(`h3`,{className:`text-lg font-medium mb-2 text-offwhite`,children:e.title}),(0,B.jsx)(`p`,{className:`text-base text-offwhite/60 leading-relaxed`,children:e.description})]})]},e.number))})]}),(0,B.jsxs)(`div`,{"data-sync-stage":!0,className:`lg:col-span-7 space-y-5`,children:[(0,B.jsxs)(`div`,{"data-sync-card":!0,className:`rounded-2xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 mb-5`,children:[(0,B.jsx)($m,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium text-offwhite`,children:`Two-way sync · last run 6:00 AM`})]}),(0,B.jsxs)(`div`,{className:`space-y-3`,children:[(0,B.jsxs)(`div`,{"data-sync-flow":!0,className:`flex items-center gap-3 rounded-xl bg-evergreen/70 border border-white/10 px-4 py-3 opacity-0`,children:[(0,B.jsx)(rm,{className:`w-4 h-4 text-sage shrink-0`}),(0,B.jsxs)(`p`,{className:`text-sm text-offwhite/80`,children:[(0,B.jsx)(`span`,{className:`text-offwhite font-medium`,children:`Sales data in`}),` — 12,400 POS transactions pulled overnight, by item and department`]})]}),(0,B.jsxs)(`div`,{"data-sync-flow":!0,className:`flex items-center gap-3 rounded-xl bg-evergreen/70 border border-white/10 px-4 py-3 opacity-0`,children:[(0,B.jsx)(sm,{className:`w-4 h-4 text-sage shrink-0`}),(0,B.jsxs)(`p`,{className:`text-sm text-offwhite/80`,children:[(0,B.jsx)(`span`,{className:`text-offwhite font-medium`,children:`Prices out`}),` — 214 shelf prices updated from this morning’s cost changes`]})]})]})]}),(0,B.jsxs)(`div`,{"data-margin-panel":!0,className:`rounded-2xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 opacity-0`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 mb-5`,children:[(0,B.jsx)(Xm,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium text-offwhite`,children:`Margin by department · this week`})]}),(0,B.jsx)(`div`,{className:`space-y-4`,children:oE.map(e=>(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-xs mb-1.5`,children:[(0,B.jsx)(`span`,{className:`text-offwhite/70`,children:e.label}),(0,B.jsx)(`span`,{className:`text-offwhite/90 font-mono`,children:e.value})]}),(0,B.jsx)(`div`,{className:`h-1.5 rounded-full bg-white/10 overflow-hidden`,children:(0,B.jsx)(`div`,{"data-dept-bar":!0,className:`h-full rounded-full bg-sage`,style:{width:e.width}})})]},e.label))}),(0,B.jsxs)(`div`,{"data-sync-note":!0,className:`mt-5 rounded-xl bg-sage px-4 py-3 flex items-center gap-3 opacity-0`,children:[(0,B.jsx)(bm,{className:`w-5 h-5 text-evergreen shrink-0`}),(0,B.jsxs)(`p`,{className:`text-sm text-black`,children:[`Deli margin up `,(0,B.jsx)(`span`,{className:`font-medium`,children:`6 points`}),` since recipe costing went live in the kitchen.`]})]})]})]})]})})})}var cE=[{icon:dm,title:`Procurement, run for you`,description:`Reordering, price watching, PO drafting, and supplier follow-ups — run by Arbia, which knows your shelves, your suppliers, and your margins.`,highlight:!0},{icon:$m,title:`POS & EDI integrations`,description:`Works with the systems you already run. Sales data in, cost and price updates out — no rip-and-replace, no double entry.`},{icon:Xm,title:`Margin & price analysis`,description:`Margin by item, department, and supplier — with suggested retails the moment a cost moves, before it eats your week.`},{icon:bm,title:`Recipes for kitchens & delis`,description:`Cost recipes for in-house prepared items, track yields, and price the hot case and grab-and-go with real numbers.`},{icon:pm,title:`Inventory across departments`,description:`Produce, grocery, deli, and the kitchen on one inventory — with transfers between departments tracked, not guessed.`},{icon:_h,title:`Local suppliers, first-class`,description:`Farmers and small suppliers sit right beside the broadliners — same price comparisons, same one-click purchase orders.`}];function lE(){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(tT,{eyebrow:`Arbia for Grocers`,lines:[{text:`Every price list.`},{text:`Every supplier.`},{text:`One live view.`,accent:!0}],sub:`Thousands of distributor prices read and normalized in real time, orders compared and placed across every supplier at once, and Ask Arbia running procurement — synced with your PO
18S.`,stats:[{value:`1000s`,label:`of prices, normalized daily`},{value:`2-way`,label:`POS & EDI sync`},{value:`0`,label:`prices re-keyed by hand`}],exploreHref:`#price-lists`,exploreLabel:`See how it works`,visual:(0,B.jsx)(XT,{})}),(0,B.jsx)($T,{}),(0,B.jsx)(iE,{}),(0,B.jsx)(sE,{}),(0,B.jsx)(nT,{eyebrow:`The whole store`,title:(0,B.jsxs)(B.Fragment,{children:[`From the loading dock `,(0,B.jsx)(`span`,{className:`text-forest`,children:`to the hot case.`})]}),sub:`Procurement is half the story — Arbia runs margins, recipes, and inventory across every department of the store.`,features:cE}),(0,B.jsx)(rT,{eyebrow:`Built for independent & specialty grocers`,title:(0,B.jsxs)(B.Fragment,{children:[`Your suppliers reprice every week. `,(0,B.jsx)(`span`,{className:`text-sage`,children:`Now, so can you.`})]}),sub:`Grocery is won and lost on cents per item. When every price list lands normalized, every order is comparison-shopped, and the shelf reprices itself, those cents land on your side.`,ctaLabel:`See it on your own price lists`,metrics:[{value:4,suffix:`k+`,label:`prices normalized every morning`},{value:3,label:`purchase orders from a single cart`},{value:15,suffix:`hrs`,label:`of buying admin back weekly`}]}),(0,B.jsx)(eT,{audience:`grocers and buyers`,partners:`local farms, food hubs, and distributors`,example:`When a supplier runs short, you see it before the truck leaves — with a substitution already proposed from live supply nearby. Local sourcing stops being a spreadsheet exercise and becomes how the network simply works.`}),(0,B.jsx)(Cx,{})]}),(0,B.jsx)(Dx,{})]})}function uE(e){let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r)}function dE(e,t={month:`short`,day:`numeric`,year:`numeric`}){return uE(e).toLocaleDateString(`en-US`,t)}function fE({post:e}){return(0,B.jsx)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:(0,B.jsx)(Nn,{to:`/blog/${e.slug}`,className:`group block rounded-2xl overflow-hidden border border-gray-100 hover:border-arbia-200 transition-all duration-300`,children:(0,B.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-0`,children:[(0,B.jsx)(`div`,{className:`aspect-video md:aspect-auto overflow-hidden`,children:(0,B.jsx)(`img`,{src:e.coverImage,alt:e.title,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-500`})}),(0,B.jsxs)(`div`,{className:`p-8 md:p-10 flex flex-col justify-center bg-white`,children:[(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2 mb-4`,children:e.tags.map(e=>(0,B.jsx)(`span`,{className:`inline-block px-3 py-1 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-xs`,children:e},e))}),(0,B.jsx)(`h2`,{className:`heading-md text-gray-900 mb-4 group-hover:text-arbia-600 transition-colors`,children:e.title}),(0,B.jsx)(`p`,{className:`text-gray-600 leading-relaxed mb-6`,children:e.excerpt}),(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsxs)(`div`,{className:`text-sm text-gray-500`,children:[(0,B.jsx)(`span`,{className:`font-medium text-gray-700`,children:e.author.name}),(0,B.jsx)(`span`,{className:`mx-2`,children:`·`}),(0,B.jsx)(`time`,{dateTime:e.date,children:dE(e.date)})]}),(0,B.jsxs)(`span`,{className:`inline-flex items-center text-arbia-600 font-semibold text-sm group-hover:gap-2 gap-1 transition-all`,children:[`Read More`,(0,B.jsx)(om,{className:`w-4 h-4`})]})]})]})]})})})}var pE={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.22,1,.36,1]}}};function mE({post:e}){return(0,B.jsx)(U.div,{variants:pE,children:(0,B.jsxs)(Nn,{to:`/blog/${e.slug}`,className:`group block rounded-2xl border border-gray-100 hover:border-arbia-200 bg-white hover:bg-gray-50/50 transition-all duration-300 overflow-hidden`,children:[(0,B.jsx)(`div`,{className:`aspect-video overflow-hidden`,children:(0,B.jsx)(`img`,{src:e.coverImage,alt:e.title,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-500`,loading:`lazy`})}),(0,B.jsxs)(`div`,{className:`p-6`,children:[(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2 mb-3`,children:e.tags.map(e=>(0,B.jsx)(`span`,{className:`inline-block px-3 py-1 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-xs`,children:e},e))}),(0,B.jsx)(`h3`,{className:`text-xl font-bold text-gray-900 mb-2 group-hover:text-arbia-600 transition-colors line-clamp-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-gray-600 leading-relaxed mb-4 line-clamp-2`,children:e.excerpt}),(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-sm text-gray-500`,children:[(0,B.jsx)(`span`,{children:e.author.name}),(0,B.jsx)(`time`,{dateTime:e.date,children:dE(e.date)})]})]})]})})}var hE=[{title:`From Stocky AI to Arbia: A New Name, The Same Mission, A Deeper Meaning`,slug:`introducing-arbia`,date:`2026-03-31`,author:{name:`Luke Scales & Conor McKenna`,role:`Co-Founders`},excerpt:`Stocky AI is now officially Arbia — an Irish word meaning "our food." A message from our founders on the rebrand, what it means, and what comes next.`,coverImage:`https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1200&h=630&fit=crop`,tags:[`Company News`,`Product`],featured:!0,content:`*A message from our founders*
19
20---
21
22Change is rarely easy, but sometimes it is necessary — and sometimes, it is simply right.
23
24Today, we are excited to share something we have been working on for some time: Stocky AI is now officially **Arbia**.
25
26This is more than a new name and a new logo. It is a statement of who we are, where we come from, and the deeper purpose that drives everything we do.
27
28---
29
30## Why the Change?
31
32When we first launched, we were focused on building something that worked — a platform that could genuinely help farmers, grocers, food producers, and small to medium businesses get a handle on their inventory, manage their invoices, process their sales and purchases, and ultimately, reduce food waste. That mission has never changed, and it never will.
33
34But as the product grew, as our community grew, we felt that the name we were operating under did not fully capture what Arbia truly is. It did not tell our story. It did not reflect the heart behind what we are building.
35
36So we went back to our roots — quite literally.
37
38To bring this new identity to life, we partnered with [Eoghan McMahon](http://eoghanmcmahon.com/), an incredibly talented Irish designer who understood our vision from the very first conversation. Eoghan crafted a brand that feels authentic to who we are — from the wordmark to the symbol, which cleverly combines a lowercase 'á' with a fada into the universal image of a plate, knife, and fork. It is a piece of design we are genuinely proud of, and it would not exist without his skill and dedication.
39
40---
41
42## What Does Arbia Mean?
43
44Arbia is an Irish word. It translates simply as **"our food."**
45
46For our co-founders, Luke Scales and Conor McKenna — two Irish men shaped by backgrounds in farming and the food industry — those two words carry enormous weight. Growing up in Ireland, food is not merely a commodity. It is a source of pride, of identity, of community. There is a culture of care in the way Irish farmers and food producers approach their craft — an attention to quality, a respect for the land, and a genuine sense of responsibility to the people who will ultimately eat what they produce.
47
48That culture is something Luke and Conor carry with them every day. And it is the culture they set out to build Arbia around.
49
50*Our food.* Not a product on a shelf. Not a line on a spreadsheet. **Ours.** Something that belongs to all of us, something worth protecting, something worth doing right.
51
52---
53
54## What Does This Mean for You?
55
56In practical terms, the transition is straightforward — and for many of you, it is already well underway. At the start of this quarter, we quietly soft-launched a completely revamped and rebuilt platform to our early adopters. Over the past weeks, we have been testing it, listening carefully to feedback, and iterating. The response has been overwhelmingly positive.
57
58Since then, we have been onboarding more and more users directly onto this new platform — and if you are joining us now, this is the Arbia you will know from day one.
59
60Under the hood, everything you rely on is still there. The same features, the same database, the same reliability you have come to depend on. What has changed is the experience of using it. We have invested heavily in rebuilding the platform with a much sharper focus on UX and UI — making it faster to navigate, more intuitive to use, and genuinely enjoyable to work in day to day.
61
62Arbia exists for the people who grow food, process food, sell food, and care deeply about doing it well. We exist to give those people the tools they need to manage their businesses with confidence — to reduce waste, to stay on top of their numbers, and to spend less time buried in administration and more time doing what they do best.
63
64We believe that when the people who produce and sell our food are supported properly, everyone benefits. Less waste. Better businesses. Stronger communities. A food system that works the way it should.
65
66---
67
68## A Note From Luke and Conor
69
70> *"Arbia is personal to us. It comes from who we are and where we come from. We grew up around farmers and food — we understand the work, the pressure, and the passion that goes into it. Building this company has always been about giving something back to an industry that gives so much. The name Arbia says that out loud for the first time. It says this is our food — and we take that seriously."*
71
72---
73
74## Looking Ahead
75
76The rebrand marks the beginning of a new chapter, and we could not be more excited about what is ahead. New features, new partnerships, and a deeper commitment to the community that has supported us from the beginning.
77
78If you are a farmer, grocer, producer, or food business owner — Arbia was built for you. It was built with care, with understanding, and with the belief that the right tools can make a real difference.
79
80Thank you for being part of this journey. We are only getting started.
81
82---
83
84**Welcome to Arbia. *Ar mbia.* Our food.**
85
86*— Luke Scales & Conor McKenna, Co-Founders of Arbia*
87
88---
89
90*To learn more about what Arbia can do for your business, explore our platform or [get in touch](/demo) with our team.*`},{title:`How Dynamic Pricing Helps Distributors Maximize Margins`,slug:`dynamic-pricing-distributors`,date:`2026-03-01`,author:{name:`Conor McKenna`,role:`Co-Founder`},excerpt:`Learn how Arbia's dynamic pricing engine helps distributors set smarter prices, protect margins, and respond to market changes in real time.`,coverImage:`https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1200&h=630&fit=crop`,tags:[`Product`,`Supply Chain`],content:`## The Challenge of Pricing in Agri-Food Distribution
91
92Pricing in the agri-food industry is notoriously complex. Costs fluctuate daily based on seasonality, weather, fuel prices, and market demand. Yet most distributors still manage pricing through static spreadsheets that are outdated the moment they're created.
93
94### Why Static Pricing Falls Short
95
96Traditional pricing approaches have several critical flaws:
97
981. **Slow to update** — By the time a new price list is distributed, costs have already changed
992. **One-size-fits-all** — The same price for every customer regardless of volume or relationship
1003. **Margin blind spots** — Hard to see which products and customers are actually profitable
1014. **Error-prone** — Manual calculations lead to costly mistakes
102
103### How Arbia's Dynamic Pricing Works
104
105Arbia's pricing engine gives distributors the flexibility to set intelligent pricing rules that adapt automatically:
106
107- **Tiered pricing** based on customer segments, volume, and order frequency
108- **Cost-plus rules** that automatically adjust when your input costs change
109- **Time-based pricing** for perishable goods approaching expiry
110- **Promotional pricing** with scheduled start and end dates
111
112### Real Results
113
114Early adopters of Arbia's dynamic pricing have seen:
115
116- **12% average margin improvement** across their product catalog
117- **3x faster** price list updates
118- **60% reduction** in pricing errors and disputes
119
120### Getting Started
121
122Dynamic pricing is available to all Arbia customers on the Growth plan and above. Contact your account manager or [request a demo](/#demo) to learn more.`},{title:`5 Ways to Reduce Food Waste in Your Supply Chain`,slug:`reduce-food-waste-supply-chain`,date:`2026-02-15`,author:{name:`Luke Scales`,role:`Co-Founder`},excerpt:`Food waste is a $1 trillion global problem. Here are five practical strategies — powered by technology — that can help your business reduce waste and improve sustainability.`,coverImage:`https://images.unsplash.com/photo-1542838132-92c53300491e?w=1200&h=630&fit=crop`,tags:[`Industry`,`Sustainability`],content:`## The Scale of the Problem
123
124Roughly one-third of all food produced globally is lost or wasted. In North America alone, food waste costs the industry over $200 billion annually. Beyond the financial impact, food waste is a major contributor to greenhouse gas emissions.
125
126The good news? Technology is making it easier than ever to tackle this problem at every stage of the supply chain.
127
128### 1. Improve Demand Forecasting
129
130The most effective way to reduce waste is to avoid over-ordering in the first place. AI-powered demand forecasting analyzes historical sales data, seasonality, and external factors to predict what you'll actually need.
131
132**Impact:** Businesses using demand forecasting typically see a 20-30% reduction in overstock waste.
133
134### 2. Implement FIFO Inventory Management
135
136First In, First Out (FIFO) ensures that older stock is sold before newer inventory. While the concept is simple, enforcing it consistently requires real-time inventory visibility.
137
138**Impact:** Proper FIFO management can reduce spoilage by up to 40%.
139
140### 3. Use Dynamic Pricing for Short-Dated Products
141
142Rather than discarding products approaching their best-before date, dynamic pricing allows you to offer time-sensitive discounts that move inventory quickly while still recovering value.
143
144**Impact:** Recover 50-70% of value from products that would otherwise be written off.
145
146### 4. Optimize Delivery Routes and Timing
147
148Delays in the cold chain are a leading cause of spoilage. Route optimization ensures products reach their destination faster and in better condition.
149
150**Impact:** Optimized routes can reduce transit-related spoilage by 15-25%.
151
152### 5. Track and Measure Waste
153
154You can't improve what you don't measure. Implementing waste tracking at every stage — from receiving to storage to sales — gives you the data needed to identify problem areas and take action.
155
156**Impact:** Companies that actively track waste reduce it by an average of 25% within the first year.
157
158### How Arbia Helps
159
160Arbia's platform addresses all five of these strategies through integrated inventory management, demand forecasting, dynamic pricing, route optimization, and comprehensive analytics. [Learn more about our features](/#features).`},{title:`Seamless QuickBooks Integration: Automate Your Financial Workflows`,slug:`quickbooks-integration`,date:`2026-01-20`,author:{name:`Arbia Team`,role:`Product`},excerpt:`Arbia now integrates seamlessly with QuickBooks Online, automating invoicing, payment tracking, and financial reconciliation for agri-food businesses.`,coverImage:`https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1200&h=630&fit=crop`,tags:[`Product Update`,`Integrations`],content:`## Say Goodbye to Double Entry
161
162If you're running an agri-food business, chances are you're spending hours every week manually transferring data between your ordering system and QuickBooks. Duplicate invoices, missed payments, and reconciliation headaches are all too common.
163
164Today, we're excited to announce Arbia's native integration with QuickBooks Online.
165
166### What's Included
167
168Our QuickBooks integration syncs the following data automatically:
169
170- **Invoices** — Every order in Arbia automatically generates a corresponding invoice in QuickBooks
171- **Payments** — Payment status syncs in real time, so your books are always up to date
172- **Customer records** — New customers in Arbia are automatically created in QuickBooks
173- **Products and pricing** — Your product catalog stays in sync across both platforms
174
175### How It Works
176
177Setting up the integration takes less than five minutes:
178
1791. Navigate to **Settings > Integrations** in your Arbia dashboard
1802. Click **Connect QuickBooks**
1813. Authorize the connection with your QuickBooks credentials
1824. Map your accounts and tax codes
1835. You're done — data starts syncing immediately
184
185### The Results
186
187Businesses using our QuickBooks integration report:
188
189- **5+ hours saved** per week on manual data entry
190- **95% fewer** invoicing errors
191- **Real-time visibility** into accounts receivable
192
193### Get Started
194
195The QuickBooks integration is available on all Arbia plans at no additional cost. Head to your integrations settings to connect today, or [request a demo](/#demo) to see it in action.`}],gE={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}};function _E(){let[e,t]=(0,C.useState)(null),n=(0,C.useRef)(null),r=Qp(n,{once:!0,amount:.1}),i=[...hE].sort((e,t)=>uE(t.date).getTime()-uE(e.date).getTime()),a=i.find(e=>e.featured)||i[0],o=i.filter(e=>e.slug!==a.slug),s=Array.from(new Set(hE.flatMap(e=>e.tags))),c=e?o.filter(t=>t.tags.includes(e)):o;return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsx)(`main`,{className:`pt-28`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:`text-center max-w-3xl mx-auto mb-12`,children:[(0,B.jsx)(`span`,{className:`inline-block px-4 py-1.5 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-sm mb-4`,children:`Blog`}),(0,B.jsx)(`h1`,{className:`heading-lg text-gray-900 mb-4`,children:`Insights & updates`}),(0,B.jsx)(`p`,{className:`text-gray-600 text-lg`,children:`The latest from the Arbia team — product updates, industry insights, and stories from the food supply chain.`})]}),(0,B.jsx)(`div`,{className:`mb-16`,children:(0,B.jsx)(fE,{post:a})}),(0,B.jsxs)(`div`,{className:`flex flex-wrap gap-2 mb-8`,children:[(0,B.jsx)(`button`,{onClick:()=>t(null),className:`px-4 py-2 rounded-full text-sm font-medium transition-colors ${e===null?`bg-arbia-600 text-white`:`bg-gray-100 text-gray-600 hover:bg-gray-200`}`,children:`All`}),s.map(n=>(0,B.jsx)(`button`,{onClick:()=>t(n===e?null:n),className:`px-4 py-2 rounded-full text-sm font-medium transition-colors ${e===n?`bg-arbia-600 text-white`:`bg-gray-100 text-gray-600 hover:bg-gray-200`}`,children:n},n))]}),(0,B.jsx)(U.div,{ref:n,variants:gE,initial:`hidden`,animate:r?`visible`:`hidden`,className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-20`,children:c.map(e=>(0,B.jsx)(mE,{post:e},e.slug))}),c.length===0&&(0,B.jsx)(`div`,{className:`text-center py-16 mb-20`,children:(0,B.jsx)(`p`,{className:`text-gray-500 text-lg`,children:`No posts found for this tag.`})})]})}),(0,B.jsx)(Dx,{})]})}function vE(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var yE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xE={};function SE(e,t){return((t||xE).jsx?bE:yE).test(e)}var CE=/[ \t\n\f\r]/g;function wE(e){return typeof e==`object`?e.type===`text`?TE(e.value):!1:TE(e)}function TE(e){return e.replace(CE,``)===``}var EE=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};EE.prototype.normal={},EE.prototype.property={},EE.prototype.space=void 0;function DE(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new EE(n,r,t)}function OE(e){return e.toLowerCase()}var kE=class{constructor(e,t){this.attribute=t,this.property=e}};kE.prototype.attribute=``,kE.prototype.booleanish=!1,kE.prototype.boolean=!1,kE.prototype.commaOrSpaceSeparated=!1,kE.prototype.commaSeparated=!1,kE.prototype.defined=!1,kE.prototype.mustUseProperty=!1,kE.prototype.number=!1,kE.prototype.overloadedBoolean=!1,kE.prototype.property=``,kE.prototype.spaceSeparated=!1,kE.prototype.space=void 0;var AE=c({boolean:()=>Z,booleanish:()=>ME,commaOrSpaceSeparated:()=>IE,commaSeparated:()=>FE,number:()=>Q,overloadedBoolean:()=>NE,spaceSeparated:()=>PE}),jE=0,Z=LE(),ME=LE(),NE=LE(),Q=LE(),PE=LE(),FE=LE(),IE=LE();function LE(){return 2**++jE}var RE=Object.keys(AE),zE=class extends kE{constructor(e,t,n,r){let i=-1;if(super(e,t),BE(this,`space`,r),typeof n==`number`)for(;++i<RE.length;){let e=RE[i];BE(this,RE[i],(n&AE[e])===AE[e])}}};zE.prototype.defined=!0;function BE(e,t,n){n&&(e[t]=n)}function VE(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new zE(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[OE(r)]=r,n[OE(a.attribute)]=r}return new EE(t,n,e.space)}var HE=VE({properties:{ariaActiveDescendant:null,ariaAtomic:ME,ariaAutoComplete:null,ariaBusy:ME,ariaChecked:ME,ariaColCount:Q,ariaColIndex:Q,ariaColSpan:Q,ariaControl
vendor: 5,359 bytes, line 195
195s:PE,ariaCurrent:null,ariaDescribedBy:PE,ariaDetails:null,ariaDisabled:ME,ariaDropEffect:PE,ariaErrorMessage:null,ariaExpanded:ME,ariaFlowTo:PE,ariaGrabbed:ME,ariaHasPopup:null,ariaHidden:ME,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:PE,ariaLevel:Q,ariaLive:null,ariaModal:ME,ariaMultiLine:ME,ariaMultiSelectable:ME,ariaOrientation:null,ariaOwns:PE,ariaPlaceholder:null,ariaPosInSet:Q,ariaPressed:ME,ariaReadOnly:ME,ariaRelevant:null,ariaRequired:ME,ariaRoleDescription:PE,ariaRowCount:Q,ariaRowIndex:Q,ariaRowSpan:Q,ariaSelected:ME,ariaSetSize:Q,ariaSort:null,ariaValueMax:Q,ariaValueMin:Q,ariaValueNow:Q,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function UE(e,t){return t in e?e[t]:t}function WE(e,t){return UE(e,t.toLowerCase())}var GE=VE({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:FE,acceptCharset:PE,accessKey:PE,action:null,allow:null,allowFullScreen:Z,allowPaymentRequest:Z,allowUserMedia:Z,alt:null,as:null,async:Z,autoCapitalize:null,autoComplete:PE,autoFocus:Z,autoPlay:Z,blocking:PE,capture:null,charSet:null,checked:Z,cite:null,className:PE,cols:Q,colSpan:null,content:null,contentEditable:ME,controls:Z,controlsList:PE,coords:Q|FE,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Z,defer:Z,dir:null,dirName:null,disabled:Z,download:NE,draggable:ME,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Z,formTarget:null,headers:PE,height:Q,hidden:NE,high:Q,href:null,hrefLang:null,htmlFor:PE,httpEquiv:PE,id:null,imageSizes:null,imageSrcSet:null,inert:Z,inputMode:null,integrity:null,is:null,isMap:Z,itemId:null,itemProp:PE,itemRef:PE,itemScope:Z,itemType:PE,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Z,low:Q,manifest:null,max:null,maxLength:Q,media:null,method:null,min:null,minLength:Q,multiple:Z,muted:Z,name:null,nonce:null,noModule:Z,noValidate:Z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Z,optimum:Q,pattern:null,ping:PE,placeholder:null,playsInline:Z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Z,referrerPolicy:null,rel:PE,required:Z,reversed:Z,rows:Q,rowSpan:Q,sandbox:PE,scope:null,scoped:Z,seamless:Z,selected:Z,shadowRootClonable:Z,shadowRootDelegatesFocus:Z,shadowRootMode:null,shape:null,size:Q,sizes:null,slot:null,span:Q,spellCheck:ME,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Q,step:null,style:null,tabIndex:Q,target:null,title:null,translate:null,type:null,typeMustMatch:Z,useMap:null,value:ME,width:Q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:PE,axis:null,background:null,bgColor:null,border:Q,borderColor:null,bottomMargin:Q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Z,declare:Z,event:null,face:null,frame:null,frameBorder:null,hSpace:Q,leftMargin:Q,link:null,longDesc:null,lowSrc:null,marginHeight:Q,marginWidth:Q,noResize:Z,noHref:Z,noShade:Z,noWrap:Z,object:null,profile:null,prompt:null,rev:null,rightMargin:Q,rules:null,scheme:null,scrolling:ME,standby:null,summary:null,text:null,topMargin:Q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Q,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Z,disableRemotePlayback:Z,prefix:null,property:null,results:Q,security:null,unselectable:null},space:`html`,transform:WE}),KE=VE({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRen
195dering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:IE,accentHeight:Q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Q,amplitude:Q,arabicForm:null,ascent:Q,attributeName:null,attributeType:null,azimuth:Q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Q,by:null,calcMode:null,capHeight:Q,className:PE,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
195dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Q,diffuseConstant:Q,direction:null,display:null,dur:null,divisor:Q,dominantBaseline:null,download:Z,dx:null,dy:null,edgeMode:null,editable:null,elevation:Q,enableBackground:null,end:null,event:null,exponent:Q,externalResourcesRequired:null,fill:null,fillOpacity:Q,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:FE,g2:FE,glyphName:FE,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Q,horizOriginX:Q,horizOriginY:Q,id:null,ideographic:Q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Q,k:Q,k1:Q,k2:Q,k3:Q,k4:Q,kernelMatrix:IE,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Q,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Q,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Q,overlineThickness:Q,paintOrder:null,panose1:null,path:null,pathLength:Q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:PE,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Q,pointsAtY:Q,pointsAtZ:Q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:IE,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:IE,rev:IE,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:IE,requiredFeatures:IE,requiredFonts:IE,requiredFormats:IE,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Q,specularExponent:Q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Q,strikethroughThickness:Q,string:null,stroke:null,strokeDashArray:IE,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Q,strokeOpacity:Q,strokeWidth:null,style:null,surfaceScale:Q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:IE,tabIndex:Q,tableValues:null,target:null,targetX:Q,targetY:Q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:IE,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Q,underlineThickness:Q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Q,values:null,vAlphabetic:Q,vMathematical:Q,vectorEffect:null,vHanging:Q,vIdeographic:Q,version:null,vertAdvY:Q,vertOriginX:Q,vertOriginY:Q,viewB
vendor: 16,733 bytes, lines 195-196
195ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:UE}),qE=VE({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),JE=VE({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:WE}),YE=VE({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),XE={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`},ZE=/[A-Z]/g,QE=/-[a-z]/g,$E=/^data[-\w.:]+$/i;function eD(e,t){let n=OE(t),r=t,i=kE;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&$E.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(QE,nD);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!QE.test(e)){let n=e.replace(ZE,tD);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=zE}return new i(r,t)}function tD(e){return`-`+e.toLowerCase()}function nD(e){return e.charAt(1).toUpperCase()}var rD=DE([HE,GE,qE,JE,YE],`html`),iD=DE([HE,KE,qE,JE,YE],`svg`);function aD(e){return e.join(` `).trim()}var oD=s(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
196`,d=`/`,f=`*`,p=``,m=`comment`,h=`declaration`;function g(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,g=1;function v(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(u);g=~n?e.length-n:g+e.length}function y(){var e={line:l,column:g};return function(t){return t.position=new b(e),C(),t}}function b(e){this.start=e,this.end={line:l,column:g},this.source=t.source}b.prototype.content=e;function x(n){var r=Error(t.source+`:`+l+`:`+g+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=g,r.source=e,!t.silent)throw r}function S(t){var n=t.exec(e);if(n){var r=n[0];return v(r),e=e.slice(r.length),n}}function C(){S(i)}function w(e){var t;for(e||=[];t=T();)t!==!1&&e.push(t);return e}function T(){var t=y();if(!(d!=e.charAt(0)||f!=e.charAt(1))){for(var n=2;p!=e.charAt(n)&&(f!=e.charAt(n)||d!=e.charAt(n+1));)++n;if(n+=2,p===e.charAt(n-1))return x(`End of comment missing`);var r=e.slice(2,n-2);return g+=2,v(r),e=e.slice(n),g+=2,t({type:m,comment:r})}}function E(){var e=y(),t=S(a);if(t){if(T(),!S(o))return x(`property missing ':'`);var r=S(s),i=e({type:h,property:_(t[0].replace(n,p)),value:r?_(r[0].replace(n,p)):p});return S(c),i}}function D(){var e=[];w(e);for(var t;t=E();)t!==!1&&(e.push(t),w(e));return e}return C(),D()}function _(e){return e?e.replace(l,p):p}t.exports=g})),sD=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var n=t(oD());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r||={},r[n]=i)}),r}})),cD=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),lD=s(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(sD()),r=cD();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i})),uD=fD(`end`),dD=fD(`start`);function fD(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function pD(e){let t=dD(e),n=uD(e);if(t&&n)return{start:t,end:n}}function mD(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?gD(e.position):`start`in e||`end`in e?gD(e):`line`in e||`column`in e?hD(e):``}function hD(e){return _D(e&&e.line)+`:`+_D(e&&e.column)}function gD(e){return hD(e&&e.start)+`-`+hD(e&&e.end)}function _D(e){return e&&typeof e==`number`?e:1}var vD=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=mD(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};vD.prototype.file=``,vD.prototype.name=``,vD.prototype.reason=``,vD.prototype.message=``,vD.prototype.stack=``,vD.prototype.column=void 0,vD.prototype.line=void 0,vD.prototype.ancestors=void 0,vD.prototype.cause=void 0,vD.prototype.fatal=void 0,vD.prototype.place=void 0,vD.prototype.ruleId=void 0,vD.prototype.source=void 0;var yD=u(lD(),1),bD={}.hasOwnProperty,xD=new Map,SD=/[A-Z]/g,CD=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),wD=new Set([`td`,`th`]);function TD(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=ID(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=FD(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?iD:rD,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=ED(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function ED(e,t,n){if(t.type===`element`)return DD(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return OD(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return AD(e,t,n);if(t.type===`mdxjsEsm`)return kD(e,t);if(t.type===`root`)return jD(e,t,n);if(t.type===`text`)return MD(e,t)}function DD(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=iD,e.schema=i),e.ancestors.push(t);let a=HD(e,t.tagName,!1),o=LD(e,t),s=zD(e,t);return CD.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!wE(e):!0})),ND(e,o,a,t),PD(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function OD(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}UD(e,t.position)}function kD(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);UD(e,t.position)}function AD(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=iD,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:HD(e,t.name,!0),o=RD(e,t),s=zD(e,t);return ND(e,o,a,t),PD(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function jD(e,t,n){let r={};return PD(r,zD(e,t)),e.create(t,e.Fragment,r,n)}function MD(e,t){return t.value}function ND(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function PD(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function FD(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function ID(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=dD(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function LD(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&bD.call(t.properties,i)){let a=BD(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&wD.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||={};t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function RD(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else UD(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else UD(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function zD(e,t){let n=[],r=-1,i=e.passKeys?new Map:xD;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=ED(e,a,o);s!==void 0&&n.push(s)}return n}function BD(e,t,n){let r=eD(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?vE(n):aD(n)),r.property===`style`){let t=typeof n==`object`?n:VD(e,String(n));return e.stylePropertyNameCase===`css`&&(t=WD(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?XE[r.property]||r.property:r.attribute,n]}}function VD(e,t){try{return(0,yD.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new vD("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=`https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-parse-style-attribute`,r}}function HD(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=SE(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=SE(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return bD.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);UD(e)}function UD(e,t){let n=new vD("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=`https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-handle-mdx-estrees-without-createevaluater`,n}function WD(e){let t={},n;for(n in e)bD.call(e,n)&&(t[GD(n)]=e[n]);return t}function GD(e){let t=e.replace(SD,KD);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function KD(e){return`-`+e.toLowerCase()}var qD={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},JD={};function YD(e,t){let n=t||JD;return XD(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function XD(e,t,n){if(QD(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return ZD(e.children,t,n)}return Array.isArray(e)?ZD(e,t,n):``}function ZD(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=XD(e[i],t,n);return r.join(``)}function QD(e){return!!(e&&typeof e==`object`)}var $D=document.createElement(`i`);function eO(e){let t=`&`+e+`;`;$D.innerHTML=t;let n=$D.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}function tO(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function nO(e,t){return e.length>0?(tO(e,e.length,0,t),e):t}var rO={}.hasOwnProperty;function iO(e){let t={},n=-1;for(;++n<e.length;)aO(t,e[n]);return t}function aO(e,t){let n;for(n in t){let r=(rO.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){rO.call(r,a)||(r[a]=[]);let e=i[a];oO(r[a],Array.isArray(e)?e:e?[e]:[])}}}function oO(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);tO(e,0,0,r)}function sO(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}function cO(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var lO=bO(/[A-Za-z]/),uO=bO(/[\dA-Za-z]/),dO=bO(/[#-'*+\--9=?A-Z^-~]/);function fO(e){return e!==null&&(e<32||e===127)}var pO=bO(/\d/),mO=bO(/[\dA-Fa-f]/),hO=bO(/[!-/:-@[-`{-~]/);function $(e){return e!==null&&e<-2}function gO(e){return e!==null&&(e<0||e===32)}function _O(e){return e===-2||e===-1||e===32}var vO=bO(/\p{P}|\p{S}/u),yO=bO(/\s/);function bO(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function xO(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&uO(e.charCodeAt(n+1))&&uO(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function SO(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return _O(r)?(e.enter(n),s(r)):t(r)}function s(r){return _O(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var CO={tokenize:wO};function wO(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),SO(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return $(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var TO={tokenize:DO},EO={tokenize:OO};function DO(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return tO(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(EO,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m
vendor: 5,097 bytes, line 196
196(e)}function f(n){return t.containerState={},e.attempt(EO,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return $(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;tO(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function OO(e,t,n){return SO(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function kO(e){if(e===null||gO(e)||yO(e))return 1;if(vO(e))return 2}function AO(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var jO={name:`attention`,resolveAll:MO,tokenize:NO};function MO(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};PO(d,-c),PO(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=nO(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=nO(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=nO(l,AO(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=nO(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=nO(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,tO(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function NO(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=kO(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=kO(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function PO(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var FO={name:`autolink`,tokenize:IO};function IO(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return lO(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||uO(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||uO(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||fO(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):dO(t)?(e.consume(t),l):n(t)}function u(e){return uO(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||uO(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var LO={partial:!0,tokenize:RO};function RO(e,t,n){return r;function r(t){return _O(t)?SO(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||$(e)?t(e):n(e)}}var zO={continuation:{tokenize:VO},exit:HO,name:`blockQuote`,tokenize:BO};function BO(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}
vendor: 18,914 bytes, line 196
196return n(t)}function a(n){return _O(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function VO(e,t,n){let r=this;return i;function i(t){return _O(t)?SO(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(zO,t,n)(r)}}function HO(e){e.exit(`blockQuote`)}var UO={name:`characterEscape`,tokenize:WO};function WO(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return hO(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var GO={name:`characterReference`,tokenize:KO};function KO(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=uO,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=mO,u):(e.enter(`characterReferenceValue`),a=7,o=pO,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===uO&&!eO(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var qO={partial:!0,tokenize:XO},JO={concrete:!0,name:`codeFenced`,tokenize:YO};function YO(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),_O(t)?SO(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||$(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(qO,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||$(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):_O(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),SO(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||$(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||$(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&_O(t)?SO(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||$(t)?e.check(qO,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||$(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),_O(t)?SO(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),_O(t)?SO(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||$(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function XO(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var ZO={name:`codeIndented`,tokenize:$O},QO={partial:!0,tokenize:ek};function $O(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),SO(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):$(t)?e.attempt(QO,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||$(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function ek(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):$(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):SO(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):$(e)?i(e):n(e)}}var tk={name:`codeText`,previous:rk,resolve:nk,tokenize:ik};function nk(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function rk(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function ik(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):$(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||$(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var ak=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&ok(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),ok(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ok(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);ok(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);ok(this.left,t.reverse())}}};function ok(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function sk(e){let t={},n=-1,r,i,a,o,s,c,l,u=new ak(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,ck(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return tO(e,0,1/0,u.slice(0)),!l}function ck(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var lk={resolve:dk,tokenize:fk},uk={partial:!0,tokenize:pk};function dk(e){return sk(e),e}function fk(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):$(t)?e.check(uk,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function pk(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),SO(e,a,`linePrefix`)}function a(i){if(i===null||$(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function mk(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||fO(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||$(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||gO(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||fO(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function hk(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):$(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||$(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!_O(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function gk(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):$(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),SO(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||$(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function _k(e,t){let n;return r;function r(i){return $(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):_O(i)?SO(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var vk={name:`definition`,tokenize:bk},yk={partial:!0,tokenize:xk};function bk(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return hk.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=cO(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return gO(t)?_k(e,l)(t):l(t)}function l(t){return mk(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(yk,d,d)(t)}function d(t){return _O(t)?SO(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||$(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function xk(e,t,n){return r;function r(t){return gO(t)?_k(e,i)(t):n(t)}function i(t){return gk(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return _O(t)?SO(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||$(e)?t(e):n(e)}}var Sk={name:`hardBreakEscape`,tokenize:Ck};function Ck(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return $(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var wk={name:`headingAtx`,resolve:Tk,tokenize:Ek};function Tk(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},tO(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function Ek(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||gO(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||$(n)?(e.exit(`atxHeading`),t(n)):_O(n)?SO(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||gO(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var Dk=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Ok=[`pre`,`script`,`style`,`textarea`],kk={concrete:!0,name:`htmlFlow`,resolveTo:Mk,tokenize:Nk},Ak={partial:!0,tokenize:Fk},jk={partial:!0,tokenize:Pk};function Mk(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Nk(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:ee):lO(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):lO(a)?(e.consume(a),i=4,r.interrupt?t:ee):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:ee):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:O:m):n(i)}function h(t){return lO(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||gO(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&Ok.includes(l)?(i=1,r.interrupt?t(s):O(s)):Dk.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):O(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||uO(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:O):n(i)}function v(t){return _O(t)?(e.consume(t),v):E(t)}function y(t){return t===47?(e.consume(t),E):t===58||t===95||lO(t)?(e.consume(t),b):_O(t)?(e.consume(t),y):E(t)}function b(t){return t===45||t===46||t===58||t===95||uO(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):_O(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):_O(t)?(e.consume(t),S):w(t)}function C(t){return t===c?(e.consume(t),c=null,T):t===null||$(t)?n(t):(e.consume(t),C)}function w(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||gO(t)?x(t):(e.consume(t),w)}function T(e){return e===47||e===62||_O(e)?y(e):n(e)}function E(t){return t===62?(e.consume(t),D):n(t)}function D(t){return t===null||$(t)?O(t):_O(t)?(e.consume(t),D):n(t)}function O(t){return t===45&&i===2?(e.consume(t),M):t===60&&i===1?(e.consume(t),N):t===62&&i===4?(e.consume(t),te):t===63&&i===3?(e.consume(t),ee):t===93&&i===5?(e.consume(t),F):$(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(Ak,ne,k)(t)):t===null||$(t)?(e.exit(`htmlFlowData`),k(t)):(e.consume(t),O)}function k(t){return e.check(jk,A,ne)(t)}function A(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),j}function j(t){return t===null||$(t)?k(t):(e.enter(`htmlFlowData`),O(t))}function M(t){return t===45?(e.consume(t),ee):O(t)}function N(t){return t===47?(e.consume(t),o=``,P):O(t)}function P(t){if(t===62){let n=o.toLowerCase();return Ok.includes(n)?(e.consume(t),te):O(t)}return lO(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):O(t)}function F(t){return t===93?(e.consume(t),ee):O(t)}function ee(t){return t===62?(e.consume(t),te):t===45&&i===2?(e.consume(t),ee):O(t)}function te(t){return t===null||$(t)?(e.exit(`htmlFlowData`),ne(t)):(e.consume(t),te)}function ne(n){return e.exit(`htmlFlow`),t(n)}}
vendor: 17,452 bytes, lines 196-198
196function Pk(e,t,n){let r=this;return i;function i(t){return $(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Fk(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(LO,t,n)}}var Ik={name:`htmlText`,tokenize:Lk};function Lk(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):lO(t)?(e.consume(t),w):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):lO(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):$(t)?(o=d,N(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?M(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):$(t)?(o=h,N(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?M(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?M(t):$(t)?(o=v,N(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):$(t)?(o=y,N(t)):(e.consume(t),y)}function b(e){return e===62?M(e):y(e)}function x(t){return lO(t)?(e.consume(t),S):n(t)}function S(t){return t===45||uO(t)?(e.consume(t),S):C(t)}function C(t){return $(t)?(o=C,N(t)):_O(t)?(e.consume(t),C):M(t)}function w(t){return t===45||uO(t)?(e.consume(t),w):t===47||t===62||gO(t)?T(t):n(t)}function T(t){return t===47?(e.consume(t),M):t===58||t===95||lO(t)?(e.consume(t),E):$(t)?(o=T,N(t)):_O(t)?(e.consume(t),T):M(t)}function E(t){return t===45||t===46||t===58||t===95||uO(t)?(e.consume(t),E):D(t)}function D(t){return t===61?(e.consume(t),O):$(t)?(o=D,N(t)):_O(t)?(e.consume(t),D):T(t)}function O(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,k):$(t)?(o=O,N(t)):_O(t)?(e.consume(t),O):(e.consume(t),A)}function k(t){return t===i?(e.consume(t),i=void 0,j):t===null?n(t):$(t)?(o=k,N(t)):(e.consume(t),k)}function A(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||gO(t)?T(t):(e.consume(t),A)}function j(e){return e===47||e===62||gO(e)?T(e):n(e)}function M(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function N(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),P}function P(t){return _O(t)?SO(e,F,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):F(t)}function F(t){return e.enter(`htmlTextData`),o(t)}}var Rk={name:`labelEnd`,resolveAll:Hk,resolveTo:Uk,tokenize:Wk},zk={tokenize:Gk},Bk={tokenize:Kk},Vk={tokenize:qk};function Hk(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&tO(e,0,e.length,n),e}function Uk(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=nO(s,e.slice(a+1,a+r+3)),s=nO(s,[[`enter`,u,t]]),s=nO(s,AO(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=nO(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=nO(s,e.slice(o+1)),s=nO(s,[[`exit`,c,t]]),tO(e,a,e.length,s),e}function Wk(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(cO(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(zk,u,o?u:d)(t):t===91?e.attempt(Bk,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Vk,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function Gk(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return gO(t)?_k(e,a)(t):a(t)}function a(t){return t===41?u(t):mk(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return gO(t)?_k(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?gk(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return gO(t)?_k(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Kk(e,t,n){let r=this;return i;function i(t){return hk.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(cO(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function qk(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var Jk={name:`labelStartImage`,resolveAll:Rk.resolveAll,tokenize:Yk};function Yk(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Xk={name:`labelStartLink`,resolveAll:Rk.resolveAll,tokenize:Zk};function Zk(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Qk={name:`lineEnding`,tokenize:$k};function $k(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),SO(e,t,`linePrefix`)}}var eA={name:`thematicBreak`,tokenize:tA};function tA(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||$(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),_O(t)?SO(e,s,`whitespace`)(t):s(t))}}var nA={continuation:{tokenize:oA},exit:cA,name:`list`,tokenize:aA},rA={partial:!0,tokenize:lA},iA={partial:!0,tokenize:sA};function aA(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:pO(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(eA,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return pO(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(LO,r.interrupt?n:u,e.attempt(rA,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return _O(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function oA(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(LO,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,SO(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!_O(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(iA,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,SO(e,e.attempt(nA,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function sA(e,t,n){let r=this;return SO(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function cA(e){e.exit(this.containerState.type)}function lA(e,t,n){let r=this;return SO(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!_O(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var uA={name:`setextUnderline`,resolveTo:dA,tokenize:fA};function dA(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function fA(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),_O(t)?SO(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||$(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var pA={tokenize:mA};function mA(e){let t=this,n=e.attempt(LO,r,e.attempt(this.parser.constructs.flowInitial,i,SO(e,e.attempt(this.parser.constructs.flow,i,e.attempt(lk,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var hA={resolveAll:yA()},gA=vA(`string`),_A=vA(`text`);function vA(e){return{resolveAll:yA(e===`text`?bA:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function yA(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function bA(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var xA=c({attentionMarkers:()=>kA,contentInitial:()=>CA,disable:()=>AA,document:()=>SA,flow:()=>TA,flowInitial:()=>wA,insideSpan:()=>OA,string:()=>EA,text:()=>DA}),SA={42:nA,43:nA,45:nA,48:nA,49:nA,50:nA,51:nA,52:nA,53:nA,54:nA,55:nA,56:nA,57:nA,62:zO},CA={91:vk},wA={[-2]:ZO,[-1]:ZO,32:ZO},TA={35:wk,42:eA,45:[uA,eA],60:kk,61:uA,95:eA,96:JO,126:JO},EA={38:GO,92:UO},DA={[-5]:Qk,[-4]:Qk,[-3]:Qk,33:Jk,38:GO,42:jO,60:[FO,Ik],91:Xk,92:[Sk,UO],93:Rk,95:jO,96:tk},OA={null:[jO,hA]},kA={null:[42,95]},AA={null:[]};function jA(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=nO(o,e),g(),o[o.length-1]===null?(w(t,0),l.events=AO(a,l.events,l),l.events):[]}function f(e,t){return NA(p(e),t)}function p(e){return MA(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,E()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){$(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,E()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){w(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=T(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function w(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&tO(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function T(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,E()}}function E(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function MA(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function NA(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
197`;break;case-3:o=`\r
198`;break;case-2:o=t?` `:`	`;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function PA(e){let t={constructs:iO([xA,...(e||{}).extensions||[]]),content:n(CO),defined:[],document:n(TO),flow:n(pA),lazy:{},string:n(gA),text:n(_A)};return t;function n(e){return n;function n(n){return jA(t,e,n)}}}function FA(e){for(;!sk(e););return e}var IA=/[\0\t\n\r]/g;function LA(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(IA.lastIndex=u,c=IA.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}
vendor: 11,424 bytes, lines 198-200
198var RA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function zA(e){return e.replace(RA,BA)}function BA(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return sO(n.slice(t?2:1),t?16:10)}return eO(n)||e}var VA={}.hasOwnProperty;function HA(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),UA(n)(FA(PA(n).document().write(LA()(e,t,!0))))}function UA(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(ge),autolinkProtocol:T,autolinkEmail:T,atxHeading:a(fe),blockQuote:a(le),characterEscape:T,characterReference:T,codeFenced:a(L),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(L,o),codeText:a(ue,o),codeTextData:T,data:T,codeFlowValue:T,definition:a(de),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(R),hardBreakEscape:a(pe),hardBreakTrailing:a(pe),htmlFlow:a(me,o),htmlFlowData:T,htmlText:a(me,o),htmlTextData:T,image:a(he),label:o,link:a(ge),listItem:a(ve),listItemValue:f,listOrdered:a(_e,d),listUnordered:a(_e),paragraph:a(ye),reference:I,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(fe),strong:a(be),thematicBreak:a(xe)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:ce,autolinkProtocol:se,blockQuote:c(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ie,characterReferenceMarkerNumeric:ie,characterReferenceValue:ae,characterReference:oe,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:E,codeIndented:c(_),codeText:c(j),codeTextData:E,data:E,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(O),hardBreakTrailing:c(O),htmlFlow:c(k),htmlFlowData:E,htmlText:c(A),htmlTextData:E,image:c(N),label:F,labelText:P,lineEnding:D,link:c(M),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:re,resourceDestinationString:ee,resourceTitleString:te,resource:ne,setextHeading:c(w),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};GA(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];VA.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||qA).call(a,void 0,e[0])}for(r.position={start:WA(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:WA(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:WA(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||qA).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+mD({start:e.start,end:e.end})+`): it’s not open`);n.position.end=WA(e.end)}function u(){return YD(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cO(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function w(){this.data.setextHeadingSlurpLineEnding=void 0}function T(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=z(),n.position={start:WA(e.start),end:void 0},t.push(n)),this.stack.push(n)}function E(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=WA(e.end)}function D(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=WA(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(T.call(this,e),E.call(this,e))}function O(){this.data.atHardBreak=!0}function k(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function A(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function j(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function M(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function P(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=zA(t),n.identifier=cO(t).toLowerCase()}function F(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function ee(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function te(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function ne(){this.data.inReference=void 0}function I(){this.data.referenceType=`collapsed`}function re(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cO(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function ie(e){this.data.characterReferenceType=e.type}function ae(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=sO(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=eO(t);let i=this.stack[this.stack.length-1];i.value+=r}function oe(e){let t=this.stack.pop();t.position.end=WA(e.end)}function se(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ce(e){E.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function le(){return{type:`blockquote`,children:[]}}function L(){return{type:`code`,lang:null,meta:null,value:``}}function ue(){return{type:`inlineCode`,value:``}}function de(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function R(){return{type:`emphasis`,children:[]}}function fe(){return{type:`heading`,depth:0,children:[]}}function pe(){return{type:`break`}}function me(){return{type:`html`,value:``}}function he(){return{type:`image`,title:null,url:``,alt:null}}function ge(){return{type:`link`,title:null,url:``,children:[]}}function _e(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function ve(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function ye(){return{type:`paragraph`,children:[]}}function be(){return{type:`strong`,children:[]}}function z(){return{type:`text`,value:``}}function xe(){return{type:`thematicBreak`}}}function WA(e){return{line:e.line,column:e.column,offset:e.offset}}function GA(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?GA(e,r):KA(e,r)}}function KA(e,t){let n;for(n in t)if(VA.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function qA(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+mD({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+mD({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+mD({start:t.start,end:t.end})+`) is still open`)}function JA(e){let t=this;t.parser=n;function n(n){return HA(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function YA(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function XA(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
199`}]}function ZA(e,t){let n=t.value?t.value+`
200`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function QA(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $A(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
vendor: 6,737 bytes, lines 200-202
200function ej(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=xO(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function tj(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function nj(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function rj(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function ij(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return rj(e,t);let i={src:xO(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function aj(e,t){let n={src:xO(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function oj(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function sj(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return rj(e,t);let i={href:xO(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function cj(e,t){let n={href:xO(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function lj(e,t,n){let r=e.all(t),i=n?uj(n):dj(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
201`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
202`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function uj(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=dj(n[r])}return t}function dj(e){return e.spread??e.children.length>1}function fj(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function pj(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mj(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function hj(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gj(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=dD(t.children[1]),o=uD(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function _j(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function vj(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var yj=9,bj=32;function xj(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(Sj(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(Sj(t.slice(i),i>0,!1)),a.join(``)}function Sj(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===yj||t===bj;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===yj||t===bj;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function Cj(e,t){let n={type:`text`,value:xj(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function wj(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var Tj={blockquote:YA,break:XA,code:ZA,delete:QA,emphasis:$A,footnoteReference:ej,heading:tj,html:nj,imageReference:ij,image:aj,inlineCode:oj,linkReference:sj,link:cj,listItem:lj,list:fj,paragraph:pj,root:mj,strong:hj,table:gj,tableCell:vj,tableRow:_j,text:Cj,thematicBreak:wj,toml:Ej,yaml:Ej,definition:Ej,footnoteDefinition:Ej};function Ej(){}var Dj=typeof self==`object`?self:globalThis,Oj=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}
vendor: 18,937 bytes, lines 202-208
202case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new Dj[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new Dj[a](o),i)};return r},kj=e=>Oj(new Map,e)(0),Aj=``,{toString:jj}={},{keys:Mj}=Object,Nj=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=jj.call(e).slice(8,-1);switch(n){case`Array`:return[1,Aj];case`Object`:return[2,Aj];case`Date`:return[3,Aj];case`RegExp`:return[4,Aj];case`Map`:return[5,Aj];case`Set`:return[6,Aj];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},Pj=([e,t])=>e===0&&(t===`function`||t===`symbol`),Fj=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=Nj(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of Mj(r))(e||!Pj(Nj(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(Pj(Nj(n))||Pj(Nj(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!Pj(Nj(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},Ij=(e,{json:t,lossy:n}={})=>{let r=[];return Fj(!(t||n),!!t,new Map,r)(e),r},Lj=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?kj(Ij(e,t)):structuredClone(e):(e,t)=>kj(Ij(e,t));function Rj(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function zj(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function Bj(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||Rj,r=e.options.footnoteBackLabel||zj,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=xO(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...Lj(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
203`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
204`}]}}var Vj=(function(e){if(e==null)return Kj;if(typeof e==`function`)return Gj(e);if(typeof e==`object`)return Array.isArray(e)?Hj(e):Uj(e);if(typeof e==`string`)return Wj(e);throw Error(`Expected function, string, or object as test`)});function Hj(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Vj(e[n]);return Gj(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Uj(e){let t=e;return Gj(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Wj(e){return Gj(t);function t(t){return t&&t.type===e}}function Gj(e){return t;function t(t,n,r){return!!(qj(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Kj(){return!0}function qj(e){return typeof e==`object`&&!!e&&`type`in e}function Jj(e){return e}var Yj=[];function Xj(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Vj(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Jj(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Yj,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Zj(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Zj(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Yj:[e]}function Qj(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Xj(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var $j={}.hasOwnProperty,eM={};function tM(e,t){let n=t||eM,r=new Map,i=new Map,a={all:s,applyData:rM,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...Tj,...n.handlers},one:o,options:n,patch:nM,wrap:aM};return Qj(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if($j.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=Lj(n);return r.children=a.all(e),r}return Lj(e)}return(a.options.unknownHandler||iM)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=oM(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=oM(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function nM(e,t){e.position&&(t.position=pD(e))}function rM(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,Lj(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function iM(e,t){let n=t.data||{},r=`value`in t&&!($j.call(n,`hProperties`)||$j.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function aM(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
205`});++r<e.length;)r&&n.push({type:`text`,value:`
206`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
207`}),n}function oM(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function sM(e,t){let n=tM(e,t),r=n.one(e,void 0),i=Bj(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
208`},i)),a}function cM(e,t){return e&&`run`in e?async function(n,r){let i=sM(n,{file:r,...t});await e.run(i,r)}:function(n,r){return sM(n,{file:r,...e||t})}}function lM(e){if(e)throw e}var uM=s(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function dM(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function fM(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?pM(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function pM(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var mM={basename:hM,dirname:gM,extname:_M,join:vM,sep:`/`};function hM(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);xM(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function gM(e){if(xM(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function _M(e){xM(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function vM(...e){let t=-1,n;for(;++t<e.length;)xM(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:yM(n)}function yM(e){xM(e);let t=e.codePointAt(0)===47,n=bM(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function bM(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function xM(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var SM={cwd:CM};function CM(){return`/`}function wM(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function TM(e){if(typeof e==`string`)e=new URL(e);else if(!wM(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return EM(e)}function EM(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var DM=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],OM=class{constructor(e){let t;t=e?wM(e)?{path:e}:typeof e==`string`||MM(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:SM.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<DM.length;){let e=DM[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)DM.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?mM.basename(this.path):void 0}set basename(e){AM(e,`basename`),kM(e,`basename`),this.path=mM.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?mM.dirname(this.path):void 0}set dirname(e){jM(this.basename,`dirname`),this.path=mM.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?mM.extname(this.path):void 0}set extname(e){if(kM(e,`extname`),jM(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=mM.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){wM(e)&&(e=TM(e)),AM(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?mM.basename(this.path,this.extname):void 0}set stem(e){AM(e,`stem`),kM(e,`stem`),this.path=mM.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new vD(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function kM(e,t){if(e&&e.includes(mM.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+mM.sep+"`")}function AM(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function jM(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function MM(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var NM=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),PM=u(uM(),1),FM={}.hasOwnProperty,IM=new class e extends NM{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=fM()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,PM.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(zM(`data`,this.frozen),this.namespace[e]=t,this):FM.call(this.namespace,e)&&this.namespace[e]||void 0:e?(zM(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=HM(e),n=this.parser||this.Parser;return LM(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),LM(`process`,this.parser||this.Parser),RM(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=HM(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);WM(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),LM(`processSync`,this.parser||this.Parser),RM(`processSync`,this.compiler||this.Compiler),this.process(e,r),VM(`processSync`,`process`,t),n;function r(e,r){t=!0,lM(e),n=r}}run(e,t,n){BM(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=HM(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),VM(`runSync`,`run`,n),r;function i(e,t){lM(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=HM(t),r=this.compiler||this.Compiler;return RM(`stringify`,r),BM(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(zM(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,PM.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];dM(o)&&dM(r)&&(r=(0,PM.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function LM(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function RM(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function zM(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}
vendor: 9,257 bytes, lines 208-209
208function BM(e){if(!dM(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function VM(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function HM(e){return UM(e)?e:new OM(e)}function UM(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function WM(e){return typeof e==`string`||GM(e)}function GM(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var KM=[],qM={allowDangerousHtml:!0},JM=/^(https?|ircs?|mailto|xmpp)$/i,YM=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function XM(e){let t=ZM(e),n=QM(e);return $M(t.runSync(t.parse(n),n),e)}function ZM(e){let t=e.rehypePlugins||KM,n=e.remarkPlugins||KM,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...qM}:qM;return IM().use(JA).use(n).use(cM,r).use(t)}function QM(e){let t=e.children||``,n=new OM;return typeof t==`string`?n.value=t:``+t,n}function $M(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||eN;for(let e of YM)Object.hasOwn(t,e.from)&&``+e.from+(e.to?"use `"+e.to+"` instead":`remove it`)+e.id;return Qj(e,l),TD(e,{Fragment:B.Fragment,components:i,ignoreInvalidStyle:!0,jsx:B.jsx,jsxs:B.jsxs,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in qD)if(Object.hasOwn(qD,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=qD[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function eN(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||JM.test(e.slice(0,t))?e:``}function tN(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function nN(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function rN(e,t,n){let r=Vj((n||{}).ignore||[]),i=iN(t),a=-1;for(;++a<i.length;)Xj(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function iN(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([aN(e[0]),oN(e[1])])}return t}function aN(e){return typeof e==`string`?new RegExp(nN(e),`g`):e}function oN(e){return typeof e==`function`?e:function(){return e}}var sN=`phrasing`,cN=[`autolink`,`link`,`image`,`label`];function lN(){return{transforms:[_N],enter:{literalAutolink:dN,literalAutolinkEmail:fN,literalAutolinkHttp:fN,literalAutolinkWww:fN},exit:{literalAutolink:gN,literalAutolinkEmail:hN,literalAutolinkHttp:pN,literalAutolinkWww:mN}}}function uN(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:sN,notInConstruct:cN},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:sN,notInConstruct:cN},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:sN,notInConstruct:cN}]}}function dN(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function fN(e){this.config.enter.autolinkProtocol.call(this,e)}function pN(e){this.config.exit.autolinkProtocol.call(this,e)}function mN(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function hN(e){this.config.exit.autolinkEmail.call(this,e)}function gN(e){this.exit(e)}function _N(e){rN(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,vN],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,yN]],{ignore:[`link`,`linkReference`]})}function vN(e,t,n,r,i){let a=``;if(!SN(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!bN(n)))return!1;let o=xN(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function yN(e,t,n,r){return!SN(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function bN(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function xN(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=tN(e,`(`),a=tN(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function SN(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||yO(n)||vO(n))&&(!t||n!==47)}MN.peek=jN;function CN(){this.buffer()}function wN(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function TN(){this.buffer()}function EN(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function DN(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=cO(this.sliceSerialize(e)).toLowerCase(),n.label=t}function ON(e){this.exit(e)}function kN(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=cO(this.sliceSerialize(e)).toLowerCase(),n.label=t}function AN(e){this.exit(e)}function jN(){return`[`}function MN(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function NN(){return{enter:{gfmFootnoteCallString:CN,gfmFootnoteCall:wN,gfmFootnoteDefinitionLabelString:TN,gfmFootnoteDefinition:EN},exit:{gfmFootnoteCallString:DN,gfmFootnoteCall:ON,gfmFootnoteDefinitionLabelString:kN,gfmFootnoteDefinition:AN}}}function PN(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:MN},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
209`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?IN:FN))),s(),o}}function FN(e,t,n){return t===0?e:IN(e,t,n)}function IN(e,t,n){return(n?``:`    `)+e}var LN=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];HN.peek=UN;function RN(){return{canContainEols:[`delete`],enter:{strikethrough:BN},exit:{strikethrough:VN}}}function zN(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:LN}],handlers:{delete:HN}}}function BN(e){this.enter({type:`delete`,children:[]},e)}function VN(e){this.exit(e)}function HN(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function UN(){return`~`}function WN(e){return e.length}function GN(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||WN,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=KN(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}
vendor: 8,243 bytes, lines 209-221
209o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=qN(r[d]);else{let e=qN(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
210`)}function KN(e){return e==null?``:String(e)}function qN(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function JN(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),YN);return i(),o}function YN(e,t,n){return`>`+(n?``:` `)+e}function XN(e,t){return ZN(e,t.inConstruct,!0)&&!ZN(e,t.notInConstruct,!1)}function ZN(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function QN(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
211`&&XN(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
212`}function $N(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function eP(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function tP(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function nP(e,t,n,r){let i=tP(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(eP(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,rP);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max($N(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
213`,encode:["`"],...s.current()})),t()}return u+=s.move(`
214`),a&&(u+=s.move(a+`
215`)),u+=s.move(c),l(),u}function rP(e,t,n){return(n?``:`    `)+e}function iP(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function aP(e,t,n,r){let i=iP(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
216`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function oP(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function sP(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function cP(e,t,n){let r=kO(e),i=kO(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}lP.peek=uP;function lP(e,t,n,r){let i=oP(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=cP(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=sP(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=cP(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+sP(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function uP(e,t,n){return n.options.emphasis||`*`}function dP(e,t){let n=!1;return Qj(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&YD(e)&&(t.options.setext||n))}function fP(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(dP(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
217`,after:`
218`});return r(),t(),o+`
219`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
220`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
221`,...a.current()});return/^[\t ]/.test(l)&&(l=sP(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}pP.peek=mP;function pP(e){return e.value||``}function mP(){return`<`}hP.peek=gP;function hP(e,t,n,r){let i=iP(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function gP(){return`!`}_P.peek=vP;function _P(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function vP(){return`!`}yP.peek=bP;function yP(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function bP(){return"`"}function xP(e,t){let n=YD(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}SP.peek=CP;function SP(e,t,n,r){let i=iP(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(xP(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}
vendor: 11,886 bytes, lines 221-223
221))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function CP(e,t,n){return xP(e,n)?`<`:`[`}wP.peek=TP;function wP(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function TP(){return`[`}function EP(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function DP(e){let t=EP(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function OP(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function kP(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function AP(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?OP(n):EP(n),s=e.ordered?o===`.`?`)`:`.`:DP(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),kP(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function jP(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function MP(e,t,n,r){let i=jP(n),a=n.bulletCurrent||EP(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function NP(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var PP=Vj([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function FP(e,t,n,r){return(e.children.some(function(e){return PP(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function IP(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}LP.peek=RP;function LP(e,t,n,r){let i=IP(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=cP(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=sP(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=cP(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+sP(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function RP(e,t,n){return n.options.strong||`*`}function zP(e,t,n,r){return n.safe(e.value,r)}function BP(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function VP(e,t,n){let r=(kP(n)+(n.options.ruleSpaces?` `:``)).repeat(BP(n));return n.options.ruleSpaces?r.slice(0,-1):r}var HP={blockquote:JN,break:QN,code:nP,definition:aP,emphasis:lP,hardBreak:QN,heading:fP,html:pP,image:hP,imageReference:_P,inlineCode:yP,link:SP,linkReference:wP,list:AP,listItem:MP,paragraph:NP,root:FP,strong:LP,text:zP,thematicBreak:VP};function UP(){return{enter:{table:WP,tableData:JP,tableHeader:JP,tableRow:KP},exit:{codeText:YP,table:GP,tableData:qP,tableHeader:qP,tableRow:qP}}}function WP(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function GP(e){this.exit(e),this.data.inTable=void 0}function KP(e){this.enter({type:`tableRow`,children:[]},e)}function qP(e){this.exit(e)}function JP(e){this.enter({type:`tableCell`,children:[]},e)}function YP(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,XP));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function XP(e,t){return t===`|`?t:e}function ZP(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
222`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[	 :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
223`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return GN(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=HP.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function QP(){return{exit:{taskListCheckValueChecked:eF,taskListCheckValueUnchecked:eF,paragraph:tF}}}function $P(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:nF}}}function eF(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function tF(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function nF(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=HP.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function rF(){return[lN(),NN(),RN(),UP(),QP()]}function iF(e){return{extensions:[uN(),PN(e),zN(),ZP(e),$P()]}}var aF={tokenize:yF,partial:!0},oF={tokenize:bF,partial:!0},sF={tokenize:xF,partial:!0},cF={tokenize:SF,partial:!0},lF={tokenize:CF,partial:!0},uF={name:`wwwAutolink`,tokenize:_F,previous:wF},dF={name:`protocolAutolink`,tokenize:vF,previous:TF},fF={name:`emailAutolink`,tokenize:gF,previous:EF},pF={};function mF(){return{text:pF}}for(var hF=48;hF<123;)pF[hF]=fF,hF++,hF===58?hF=65:hF===91&&(hF=97);pF[43]=fF,pF[45]=fF,pF[46]=fF,pF[95]=fF,pF[72]=[fF,dF],pF[104]=[fF,dF],pF[87]=[fF,uF],pF[119]=[fF,uF];function gF(e,t,n){let r=this,i,a;return o;function o(t){return!DF(t)||!EF.call(r,r.previous)||OF(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return DF(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(lF,u,l)(t):t===45||t===95||uO(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&lO(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function _F(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!wF.call(r,r.previous)||OF(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(aF,e.attempt(oF,e.attempt(sF,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function vF(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&TF.call(r,r.previous)&&!OF(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(lO(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||fO(t)||gO(t)||yO(t)||vO(t)?n(t):e.attempt(oF,e.attempt(sF,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function yF(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function bF(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(cF,c,s)(t):t===null||gO(t)||yO(t)||t!==45&&vO(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function xF(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(cF,t,a)(o):o===null||gO(o)||yO(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function SF(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||gO(o)||yO(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||gO(e)||yO(e)?t(e):r(e)}function a(e){return lO(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):lO(t)?(e.consume(t),o):n(t)}}function CF(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return uO(e)?n(e):t(e)}}function wF(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||gO(e)}function TF(e){return!lO(e)}function EF(e){return!(e===47||DF(e))}function DF(e){return e===43||e===45||e===46||e===95||uO(e)}function OF(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var kF={tokenize:LF,partial:!0};function AF(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:PF,continuation:{tokenize:FF},exit:IF}},text:{91:{name:`gfmFootnoteCall`,tokenize:NF},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:jF,resolveTo:MF}}}}
vendor: 6,374 bytes, line 223
223function jF(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=cO(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function MF(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function NF(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||gO(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(cO(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return gO(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function PF(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||gO(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=cO(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return gO(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),SO(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function FF(e,t,n){return e.check(LO,t,e.attempt(kF,t,n))}function IF(e){e.exit(`gfmFootnoteDefinition`)}function LF(e,t,n){let r=this;return SO(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function RF(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&tO(o,o.length,0,AO(s,e.slice(r+1,n),t)),tO(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),tO(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=kO(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=kO(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var zF=class{constructor(){this.map=[]}add(e,t,n){BF(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function BF(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function VF(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function HF(){return{flow:{null:{name:`table`,tokenize:UF,resolveAll:WF}}}}
vendor: 4,642 bytes, line 223
223function UF(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):$(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):_O(t)?SO(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||gO(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,_O(t)?SO(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return _O(t)?SO(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||$(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return _O(t)?SO(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||$(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||$(n)?(e.exit(`tableRow`),t(n)):_O(n)?SO(e,C,`whitespace`)(n):(e.enter(`data`),w(n))}function w(t){return t===null||t===124||gO(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?T:w)}function T(t){return t===92||t===124?(e.consume(t),w):w(t)}}function WF(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new zF;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(KF(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=GF(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=GF(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=GF(f,t,o,i,n,d)):(o[0]=o[1],d=GF(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&KF(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=VF(t.events,n))}return e}function GF(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},qF(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=qF(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=qF(t.events,n[2]),a=qF(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},qF(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function KF(e,t,n,r,i){let a=[],o=qF(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function qF(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var JF={name:`tasklistCheck`,tokenize:XF};function YF(){return{text:{91:JF}}}
223function XF(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return gO(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return $(r)?t(r):_O(r)?e.check({tokenize:ZF},t,n)(r):n(r)}}function ZF(e,t,n){return SO(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function QF(e){return iO([mF(),AF(),RF(e),HF(),YF()])}var $F={};function eI(e){let t=this,n=e||$F,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(QF(n)),a.push(rF()),o.push(iF(n))}function tI({content:e}){return(0,B.jsx)(`div`,{className:`prose prose-lg max-w-none prose-headings:text-gray-900 prose-a:text-arbia-600 prose-a:hover:text-arbia-700 prose-strong:text-gray-900`,children:(0,B.jsx)(XM,{remarkPlugins:[eI],children:e})})}function nI(){let{slug:e}=gt(),t=hE.find(t=>t.slug===e);if(!t)return(0,B.jsx)(Bt,{to:`/blog`,replace:!0});let n=hE.filter(e=>e.slug!==t.slug&&e.tags.some(e=>t.tags.includes(e))).slice(0,3);return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsx)(`main`,{className:`pt-28`,children:(0,B.jsxs)(`article`,{className:`container-custom`,children:[(0,B.jsx)(U.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.4},className:`mb-8`,children:(0,B.jsxs)(Nn,{to:`/blog`,className:`inline-flex items-center gap-2 text-gray-500 hover:text-arbia-600 font-medium transition-colors`,children:[(0,B.jsx)(am,{className:`w-4 h-4`}),`Back to Blog`]})}),(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:`max-w-3xl mx-auto mb-10`,children:[(0,B.jsx)(`div`,{className:`flex flex-wrap gap-2 mb-4`,children:t.tags.map(e=>(0,B.jsx)(`span`,{className:`inline-block px-3 py-1 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-xs`,children:e},e))}),(0,B.jsx)(`h1`,{className:`heading-lg text-gray-900 mb-4`,children:t.title}),(0,B.jsxs)(`div`,{className:`flex items-center gap-4 text-gray-500`,children:[(0,B.jsx)(`span`,{className:`font-medium text-gray-700`,children:t.author.name}),(0,B.jsx)(`span`,{children:`·`}),(0,B.jsx)(`span`,{children:t.author.role}),(0,B.jsx)(`span`,{children:`·`}),(0,B.jsx)(`time`,{dateTime:t.date,children:dE(t.date,{month:`long`,day:`numeric`,year:`numeric`})})]})]}),(0,B.jsx)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:`mb-12`,children:(0,B.jsx)(`img`,{src:t.coverImage,alt:t.title,className:`w-full max-h-[480px] object-cover rounded-2xl`})}),(0,B.jsx)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:`max-w-3xl mx-auto mb-20`,children:(0,B.jsx)(tI,{content:t.content})}),n.length>0&&(0,B.jsxs)(`div`,{className:`border-t border-gray-100 pt-16 mb-20`,children:[(0,B.jsx)(`h2`,{className:`heading-md text-gray-900 mb-8 text-center`,children:`More from the Blog`}),(0,B.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6`,children:n.map(e=>(0,B.jsx)(mE,{post:e},e.slug))})]})]})}),(0,B.jsx)(Dx,{})]})}var rI=[{publication:`Forbes`,title:`These Are The Latest AI Trends Transforming The Food Industry`,date:`2025-03-18`,url:`https://www.forbes.com/sites/daphneewingchow/2025/03/18/these-are-the-latest-ai-trends-transforming-the-food-industry/`,excerpt:`Arbia (fka Stocky AI) is featured in Forbes' coverage of the latest AI trends transforming the food industry, highlighting how AI-powered platforms are reshaping food supply chains.`,type:`article`},{publication:`MaRS Discovery District`,title:`Clean Plate: Innovations That Can Help Shrink the Food Industry's Carbon Footprint`,date:`2025-12-11`,url:`https://www.marsdd.com/our-story/clean-plate-innovations-that-can-help-shrink-the-food-industrys-carbon-footprint/`,excerpt:`MaRS profiles Arbia as a platform where farmers, distributors, and growers can coordinate orders, track inventory, and transfer payments — eliminating 15 to 20 hours of manual admin work weekly and driving up to 20% revenue growth.`,type:`article`}
223,{publication:`Techcouver`,title:`Innovation Booster Awards Four B.C. Firms with Capital to Advance Food-Tech Solutions`,date:`2025-07-23`,url:`https://techcouver.com/2025/07/23/innovation-booster-awards-four-b-c-firms-with-capital-to-their-advance-food-tech-solutions/`,excerpt:`Stocky AI (now Arbia) is recognized as one of four B.C. companies awarded CFIN Innovation Booster funding for its AI-powered procurement platform helping independent food retailers compete with larger chains.`,type:`article`},{publication:`CFIN (Canadian Food Innovation Network)`,title:`Arbia & Jasmine Foods: Scaling Innovation in Traditional Food Sectors`,date:`2026-02-09`,url:`https://www.youtube.com/watch?v=6GnCxAHYv8k`,excerpt:`CFIN spotlights how Jasmine Foods, a B.C.-based Mediterranean food distributor, is using Arbia's platform to automate procurement, ordering, and fulfilment — expanding into new regions without additional staff.`,type:`video`},{publication:`Techstars`,title:`Techstars Future of Food 2025 Demo Day`,date:`2025-12-12`,url:`https://www.linkedin.com/feed/update/urn:li:activity:7420162469832232962/`,excerpt:`Arbia presents at the Techstars Future of Food 2025 Demo Day, showcasing its unified commerce platform for the agri-food supply chain.`,type:`social`}],iI={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},aI={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.22,1,.36,1]}}};function oI(){let e=(0,C.useRef)(null),t=Qp(e,{once:!0,amount:.1}),n=[...rI].sort((e,t)=>uE(t.date).getTime()-uE(e.date).getTime());return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsx)(`main`,{className:`pt-28`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:`text-center max-w-3xl mx-auto mb-16`,children:[(0,B.jsx)(`span`,{className:`inline-block px-4 py-1.5 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-sm mb-4`,children:`Press`}),(0,B.jsx)(`h1`,{className:`heading-lg text-gray-900 mb-4`,children:`Press & media`}),(0,B.jsx)(`p`,{className:`text-gray-600 text-lg`,children:`Arbia in the news — coverage, mentions, and media features from publications across Canada and beyond.`})]}),(0,B.jsx)(U.div,{ref:e,variants:iI,initial:`hidden`,animate:t?`visible`:`hidden`,className:`grid grid-cols-1 md:grid-cols-2 gap-6 mb-20`,children:n.map(e=>(0,B.jsxs)(U.a,{variants:aI,href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:`group block p-6 rounded-2xl border border-gray-100 hover:border-arbia-200 bg-white hover:bg-gray-50/50 transition-all duration-300`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-3 mb-4`,children:[(0,B.jsx)(`div`,{className:`w-10 h-10 rounded-lg bg-gray-100 group-hover:bg-arbia-100 flex items-center justify-center transition-colors`,children:e.type===`video`?(0,B.jsx)(Qm,{className:`w-5 h-5 text-gray-500 group-hover:text-arbia-600 transition-colors`}):e.type===`social`?(0,B.jsx)(ch,{className:`w-5 h-5 text-gray-500 group-hover:text-arbia-600 transition-colors`}):(0,B.jsx)(qm,{className:`w-5 h-5 text-gray-500 group-hover:text-arbia-600 transition-colors`})}),(0,B.jsx)(`span`,{className:`font-semibold text-gray-700 group-hover:text-arbia-600 transition-colors`,children:e.publication}),e.type&&e.type!==`article`&&(0,B.jsx)(`span`,{className:`inline-block px-2 py-0.5 rounded-full bg-gray-100 text-gray-500 text-xs font-medium capitalize`,children:e.type})]}),(0,B.jsx)(`h3`,{className:`text-xl font-bold text-gray-900 mb-3 group-hover:text-arbia-600 transition-colors`,children:e.title}),(0,B.jsx)(`p`,{className:`text-gray-600 leading-relaxed mb-4`,children:e.excerpt}),(0,B.jsxs)(`div`,{className:`flex items-center justify-between text-sm`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-gray-500`,children:[(0,B.jsx)(vm,{className:`w-4 h-4`}),(0,B.jsx)(`time`,{dateTime:e.date,children:dE(e.date)})]}),(0,B.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-arbia-600 font-medium opacity-0 group-hover:opacity-100 transition-opacity`,children:[`Read Article`,(0,B.jsx)(Dm,{className:`w-3.5 h-3.5`})]})]})]},e.title))}),(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`text-center py-16 mb-20 bg-gray-50 rounded-2xl`,children:[(0,B.jsx)(`h2`,{className:`heading-md text-gray-900 mb-4`,children:`Media Inquiries`}),(0,B.jsx)(`p`,{className:`text-gray-600 text-lg mb-6 max-w-lg mx-auto`,children:`For press inquiries, interviews, or media assets, please reach out to our communications team.`}),(0,B.jsx)(`a`,{href:`mailto:[email protected]`,className:`btn-primary inline-flex items-center`,children:`Contact Us`})]})]})}),(0,B.jsx)(Dx,{})]})}
223var sI=[{id:`senior-software-engineer`,title:`Senior Software Engineer`,department:`Engineering`,location:`Vancouver, BC (Hybrid)`,type:`Full-time`,salary:`$140,000 - $180,000 CAD`,description:`We are looking for a Senior Software Engineer to join our growing engineering team and help build the AI operating system for the food supply chain. You will design and develop core platform features, mentor junior engineers, and drive technical decisions that shape our product. This is an opportunity to work on challenging problems at the intersection of the food supply chain, AI, and enterprise SaaS.`,responsibilities:[`Design, build, and maintain scalable backend services and APIs that power the Arbia platform`,`Collaborate with product, design, and data teams to translate business requirements into robust technical solutions`,`Lead code reviews and establish engineering best practices across the team`,`Architect systems for high availability, performance, and security`,`Mentor junior and intermediate engineers through pairing, reviews, and knowledge sharing`,`Contribute to technical roadmap planning and help prioritize engineering initiatives`,`Identify and resolve performance bottlenecks and production issues`],requirements:[`5+ years of professional software engineering experience`,`Strong proficiency in TypeScript and/or Python`,`Experience building and operating production web applications and RESTful APIs`,`Solid understanding of relational databases (PostgreSQL preferred) and data modeling`,`Experience with cloud platforms (AWS, GCP, or Azure) and containerized deployments`,`Familiarity with CI/CD pipelines, infrastructure-as-code, and DevOps practices`,`Strong problem-solving skills and ability to work independently in a fast-paced environment`,`Excellent communication skills and a collaborative mindset`],niceToHave:[`Experience with React and modern frontend frameworks`,`Familiarity with AI/ML workflows or integrating LLM-based features`,`Background in supply chain, logistics, or B2B marketplace platforms`,`Experience working at an early-stage or high-growth startup`,`Contributions to open-source projects`],benefits:[`Competitive salary and equity options`,`Comprehensive health, dental, and vision benefits`,`Flexible hybrid work model — collaborate in our Vancouver office and work remotely`,`Generous PTO and paid holidays`,`Professional development budget for conferences, courses, and learning`,`Home office stipend to set up your ideal workspace`,`Team offsites and social events`,`Opportunity to make a meaningful impact in the agri-food industry`]},{id:`customer-success-manager`,title:`Customer Success Manager`,department:`Customer Success`,location:`Vancouver, BC (preferred) · Remote across Canada`,type:`Full-time`,salary:`$50,000 - $72,000 CAD + equity`,description:`As Arbia's first Customer Success hire, you'll be the voice of our customers and the architect of their experience — from the moment they sign, through every milestone that follows. You'll own onboarding and support end-to-end, working closely with farmers, agri-businesses, and food producers of all sizes across North America. This role is ideal for someone who thrives in ambiguity, loves working directly with customers, and is excited by the challenge of defining processes that will scale alongside the company. A genuine interest in food systems and agriculture is a big plus.`,responsibilities:[`Lead structured onboarding for new customers — from small independent operators to larger enterprise accounts — ensuring fast time-to-value`,`Be the primary point of contact for inbound support, triaging issues, troubleshooting with empathy, and escalating when needed`,`Build and document repeatable onboarding playbooks, help centre content, and support workflows from the ground up`,`Partner closely with Product and Engineering to surface customer feedback, bugs, and feature requests`,`Track customer health indicators and proactively identify accounts that need extra attention`,`Represent the customer's voice in internal discussions — advocating for usability, clarity, and reliability`],requirements:[`2–4 years in a CS, implementation, or support role at a SaaS company`,`Deeply empathetic and patient, with excellent written and verbal communication`,`Love solving ambiguous problems with limited resources`,`Comfortable working with a diverse customer base — from small producers to enterprise agri-businesses`,`Highly organized and can juggle multiple accounts without dropping the ball`,`A bias toward building systems and documentation, not just resolving one-off tickets`],niceToHave:[`Experience as a first CS hire or in a pre/early-PM
223F startup`,`Background in food, agriculture, agri-tech, or supply chain`,`Familiarity with tools like Intercom, HubSpot, Linear, or Notion`,`Technical curiosity — comfortable exploring APIs, logs, or basic SQL`,`Experience working with enterprise or co-op buyers`],benefits:[`C$50,000 – C$72,000 base salary, commensurate with experience, plus meaningful early-stage equity`,`Direct access to leadership and real ownership of your function from day one`,`Vancouver-based team (preferred) — remote across Canada considered for the right candidate`,`Flexible, async-friendly working environment`,`Health, dental, and vision coverage`,`A team that believes great customer experience is a competitive advantage, not an afterthought`],note:`We're a small team and this is an early-stage role — meaning the scope will evolve quickly. If you want a defined job description that stays the same year over year, this probably isn't the right fit. If you want to help shape what Customer Success looks like at a company building for the future of food and agriculture, we'd love to hear from you.`}];function cI({job:e}){let[t,n]=(0,C.useState)(!1);return(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:`rounded-2xl border border-gray-100 bg-white overflow-hidden`,children:[(0,B.jsx)(`div`,{className:`p-6 md:p-8 cursor-pointer group`,onClick:()=>n(!t),children:(0,B.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-center md:justify-between gap-4`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`span`,{className:`inline-block px-3 py-1 rounded-full bg-arbia-100 text-arbia-700 text-xs font-semibold mb-3`,children:e.department}),(0,B.jsx)(`h3`,{className:`text-2xl font-bold text-gray-900 group-hover:text-arbia-600 transition-colors`,children:e.title}),(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 mt-3 text-sm text-gray-500`,children:[(0,B.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,B.jsx)(Hm,{className:`w-4 h-4`}),e.location]}),(0,B.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,B.jsx)(Tm,{className:`w-4 h-4`}),e.type]}),(0,B.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,B.jsx)(Em,{className:`w-4 h-4`}),e.salary]})]})]}),(0,B.jsx)(`div`,{className:`flex items-center gap-2 text-arbia-600 font-medium shrink-0`,children:t?(0,B.jsxs)(B.Fragment,{children:[`Collapse `,(0,B.jsx)(Cm,{className:`w-5 h-5`})]}):(0,B.jsxs)(B.Fragment,{children:[`View Details `,(0,B.jsx)(xm,{className:`w-5 h-5`})]})})]})}),t&&(0,B.jsxs)(U.div,{initial:{opacity:0}
223,animate:{opacity:1},transition:{duration:.3},className:`px-6 md:px-8 pb-8 border-t border-gray-100 pt-6`,children:[(0,B.jsx)(`p`,{className:`text-gray-600 leading-relaxed mb-8`,children:e.description}),(0,B.jsxs)(`div`,{className:`space-y-8`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h4`,{className:`text-lg font-semibold text-gray-900 mb-4`,children:`What you'll do`}),(0,B.jsx)(`ul`,{className:`space-y-3`,children:e.responsibilities.map((e,t)=>(0,B.jsxs)(`li`,{className:`flex gap-3 text-gray-600`,children:[(0,B.jsx)(om,{className:`w-4 h-4 text-arbia-500 shrink-0 mt-1`}),(0,B.jsx)(`span`,{children:e})]},t))})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h4`,{className:`text-lg font-semibold text-gray-900 mb-4`,children:`What we're looking for`}),(0,B.jsx)(`ul`,{className:`space-y-3`,children:e.requirements.map((e,t)=>(0,B.jsxs)(`li`,{className:`flex gap-3 text-gray-600`,children:[(0,B.jsx)(om,{className:`w-4 h-4 text-arbia-500 shrink-0 mt-1`}),(0,B.jsx)(`span`,{children:e})]},t))})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h4`,{className:`text-lg font-semibold text-gray-900 mb-4`,children:`Nice to have`}),(0,B.jsx)(`ul`,{className:`space-y-3`,children:e.niceToHave.map((e,t)=>(0,B.jsxs)(`li`,{className:`flex gap-3 text-gray-600`,children:[(0,B.jsx)(om,{className:`w-4 h-4 text-arbia-500 shrink-0 mt-1`}),(0,B.jsx)(`span`,{children:e})]},t))})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h4`,{className:`text-lg font-semibold text-gray-900 mb-4`,children:`What we offer`}),(0,B.jsx)(`ul`,{className:`space-y-3`,children:e.benefits.map((e,t)=>(0,B.jsxs)(`li`,{className:`flex gap-3 text-gray-600`,children:[(0,B.jsx)(om,{className:`w-4 h-4 text-arbia-500 shrink-0 mt-1`}),(0,B.jsx)(`span`,{children:e})]},t))})]})]}),e.note&&(0,B.jsx)(`div`,{className:`mt-8 p-5 rounded-xl bg-arbia-50 border border-arbia-100`,children:(0,B.jsx)(`p`,{className:`text-sm text-gray-700 italic leading-relaxed`,children:e.note})}),(0,B.jsxs)(`div`,{className:`mt-8 pt-6 border-t border-gray-100`,children:[(0,B.jsxs)(`a`,{href:`mailto:[email protected]?subject=Application%20-%20${encodeURIComponent(e.title)}`,className:`btn-primary inline-flex items-center`,children:[`Apply Now`,(0,B.jsx)(om,{className:`w-4 h-4 ml-2`})]}),(0,B.jsx)(`p`,{className:`text-sm text-gray-500 mt-3`,children:`Send your resume and a brief introduction to [email protected]`})]})]})]})}function lI(){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsx)(`main`,{className:`pt-28`,children:(0,B.jsxs)(`div`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:`text-center max-w-3xl mx-auto mb-16`,children:[(0,B.jsx)(`span`,{className:`inline-block px-4 py-1.5 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-sm mb-4`,children:`Careers`}),(0,B.jsx)(`h1`,{className:`heading-lg text-gray-900 mb-4`,children:`Join the team`}),(0,B.jsx)(`p`,{className:`text-gray-600 text-lg`,children:`Help us build the AI operating system for the food supply chain. We're looking for passionate people who want to make a real impact.`})]}),(0,B.jsx)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`grid grid-cols-1 md:grid-cols-3 gap-6 mb-16`,children:[{icon:mm,title:`Meaningful work`,text:`Tackle real-world problems in the food supply chain that affect how food gets from farm to table.`},{icon:Hm,title:`Vancouver-based`,text:`Work from our office in the heart of Vancouver with flexible hybrid arrangements.`},{icon:Tm,title:`Early-stage impact`,text:`Join at a stage where your contributions directly shape the product, culture, and direction of the company.`}].map(e=>(0,B.jsxs)(`div`,{className:`p-6 rounded-2xl border border-gray-100 bg-white text-center`,children:[(0,B.jsx)(`div`,{className:`w-12 h-12 rounded-xl bg-arbia-100 flex items-center justify-center mx-auto mb-4`,children:(0,B.jsx)(e.icon,{className:`w-6 h-6 text-arbia-600`})}),(0,B.jsx)(`h3`,{className:`text-lg font-semibold text-gray-900 mb-2`,children:e.title}),(0,B.jsx)(`p`,{className:`text-gray-600 text-sm`,children:e.text})]},e.title))}),(0,B.jsxs)(`div`,{className:`mb-20`,children:[(0,B.jsx)(U.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`heading-md text-gray-900 mb-8`,children:`Open Positions`}),(0,B.jsx)(`div`,{className:`space-y-6`,children:sI.map(e=>(0,B.jsx)(cI,{job:e},e.id))})]}),(0,B.jsxs)(U.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`text-center py-16 mb-20 bg-gray-50 rounded-2xl`,children:[(0,B.jsx)(`h2`,{className:`heading-md text-gray-900 mb-4`,children:`Don't see your role?`}),(0,B.jsx)(`p`,{className:`text-gray-600 text-lg mb-6 max-w-lg mx-auto`,children:`We're always looking for talented people. Send us your resume and tell us how you'd like to contribute.`}),(0,B.jsx)(`a`,{href:`mailto:[email protected]?subject=General%20Application`,className:`btn-primary inline-flex items-center`,children:`Get in Touch`})]})]})}),(0,B.jsx)(Dx,{})]})}function uI({document:e}){return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsx)(`main`,{className:`pt-28`,children:(0,B.jsxs)(`article`,{className:`container-custom`,children:[(0,B.jsxs)(U.div,{initial:{opacity:0,y:20}
223,animate:{opacity:1,y:0},transition:{duration:.6},className:`max-w-3xl mx-auto mb-10`,children:[(0,B.jsx)(`span`,{className:`inline-block px-4 py-1.5 rounded-full bg-arbia-100 text-arbia-700 font-semibold text-sm mb-4`,children:`Legal`}),(0,B.jsx)(`h1`,{className:`heading-lg text-gray-900 mb-3`,children:e.title}),(0,B.jsxs)(`p`,{className:`text-gray-500`,children:[`Last revised: `,e.lastUpdated]})]}),(0,B.jsx)(U.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:`max-w-3xl mx-auto mb-24`,children:(0,B.jsx)(`div`,{className:`prose prose-lg max-w-none prose-headings:text-gray-900 prose-a:text-arbia-600 prose-a:hover:text-arbia-700 prose-strong:text-gray-900`,children:(0,B.jsx)(XM,{remarkPlugins:[eI],children:e.content})})})]})}),(0,B.jsx)(Dx,{})]})}var dI={title:`Privacy Policy`,lastUpdated:`February 11, 2026`,content:`By accepting these Terms, you agree to be bound by the following Privacy Policy.
224
225**Websites covered:** [www.arbia.io](https://www.arbia.io/) (collectively, the "Websites").
226
227Techneo Ventures Ltd. (also referred to herein as "Arbia", "us", "we", or "our") is committed to protecting the privacy and security of your personal information. This Privacy Policy explains the types of personal information we collect, how we use it, and the steps we take to ensure your personal information is handled appropriately. Our policies and practices have been designed to comply with applicable privacy laws, including Canada's Personal Information Protection and Electronic Documents Act (PIPEDA), and—where applicable—the EU/UK General Data Protection Regulation (GDPR) and certain U.S. state privacy laws.
228
229By accessing or otherwise using any of the Websites or any applications or services operated by us (the "Services"), you agree to be bound by this Privacy Policy. This Privacy Policy applies to personal information collected, used and maintained by us in conjunction with the use of our Services and Websites and to personal information that you otherwise provide to us.
230
231## 1) Information We Collect
232
233We may collect the following categories of personal information (depending on how you interact with us):
234
235- **Account and contact details** (e.g., name, email address, phone number, business name).
236- **Transaction and billing information** (e.g., orders, invoices, payment method details processed by our payment processor).
237- **Support and communications** (e.g., messages, feedback, and communications with us).
238- **Usage, device and technical information** (e.g., IP address, cookie identifiers, device/browser type, pages viewed, links clicked, referring/exit pages, date/time stamps, and similar diagnostic data).
239- **Inference and preference information** derived from other data (e.g., product interests).
240
241We may combine information we collect from you with information we obtain from other sources (e.g., service providers) in accordance with this Privacy Policy.
242
243## 2) How We Use Personal Information (Purposes)
244
245We use personal information for the following purposes: to provide, operate and maintain the Services; to create and manage accounts; to process transactions and send related information; to communicate with you (including responding to inquiries and sending administrative or service-related messages); to personalize and improve the Services; to provide customer support; to perform analytics and measure performance; to detect, prevent and address security or technical issues and fraud; to comply with legal obligations; and to protect our rights.
246
247## 3) Cookies, Advertising, and Analytics
248
249We and our service providers use cookies and similar technologies (e.g., pixels, local storage) to enable core functionality (such as authentication and preferences), understand how the Services are used, improve performance, and—where permitted—deliver and measure advertising, including cross-context behavioral advertising (also called targeted advertising). We display a cookie notice that links to this Privacy Policy; it does not currently provide per-category cookie preferences. You can control cookies through your browser settings.
250
251When you visit or log in to our website, cookies and similar technologies may be used by our online data partners or vendors to associate these activities with other personal information they or others have about you, including by association with your email. We (or service providers on our behalf) may then send communications and marketing to these email. You may opt out of receiving this advertising by unsubscribing at the bottom of any of our emails. You also have the option to opt out of the collection of your personal data in compliance with GDPR. To exercise this option, please email us at [[email protected]](mailto:[email protected]).
252
253### Datadog (Real User Monitoring & Session Replay)
254
255We use Datadog's Real User Monitoring (RUM) and Session Replay to help us understand how visitors use our Websites, diagnose errors, and improve performance. These tools capture usage information such as pages viewed and user interactions (e.g., clicks and scrolls), together with browser/device details, approximate location, and performance metrics. Datadog provides privacy controls (including masking) designed to help prevent sensitive data from being collected. Session Replay data is stored on Datadog-managed cloud infrastru
255cture with encryption at rest. For more information, please see Datadog's privacy and RUM documentation.
256
257### Advertising and Remarketing
258
259Where we use advertising or remarketing tools (for example, to show ads to visitors who have previously interacted with our Websites), these tools may set or read cookies and similar technologies on your device. You can opt out of our email marketing via the unsubscribe link in those emails and manage browser cookie settings as described above. Depending on your jurisdiction, you may also have additional rights to opt out of the sale or sharing of personal information or targeted advertising (see the "U.S. State Privacy Notice" below).
260
261## 4) GDPR/UK GDPR — Lawful Bases & Your EU/UK Rights
262
263Where the GDPR/UK GDPR applies, we process personal data only where we have a lawful basis: to perform a contract (e.g., to provide the Services); with your consent (e.g., marketing, non-essential cookies); for our legitimate interests (e.g., to improve and secure our Services) provided those interests are not overridden by your rights; and to comply with legal obligations.
264
265**International transfers:** Where we transfer personal data outside the EEA/UK, we use appropriate safeguards such as European Commission/UK-approved Standard Contractual Clauses or other legally valid transfer mechanisms.
266
267**Your rights** include the right to access, correct, delete, restrict or object to processing, and data portability, and to withdraw consent at any time where processing is based on consent. You also have the right to lodge a complaint with your local supervisory authority.
268
269## 5) U.S. State Privacy Notice
270
271This section provides additional disclosures for residents of certain U.S. states (including California, Colorado, Connecticut, Texas, Virginia and others) whose laws grant specific privacy rights.
272
273### Categories, Purposes, Recipients, and Retention
274
275We collect the categories of personal information described in Section 1 for the business and commercial purposes described in Section 2. We may disclose personal information to service providers and other recipients as necessary to provide and improve the Services, for compliance, and for other purposes described in this Privacy Policy. We retain personal information for as long as needed to fulfill the purposes for which it was collected, to comply with legal obligations, resolve disputes, and enforce our agreements.
276
277### Sale/Share and Targeted Advertising
278
279We may process personal information for cross-context behavioral advertising (targeted advertising). California law also defines certain data practices as a "sale" or "sharing" of personal information. Residents may have the right to opt out of targeted advertising and/or the sale or sharing of personal information.
280
281- **Opt-Out:** Use our opt-out page at [https://www.arbia.io/opt-out](https://www.arbia.io/opt-out) or email [[email protected]](mailto:[email protected]) with your request.
282- **Global Privacy Control (GPC):** Where required by law, we will honor GPC signals as an opt-out preference.
283
284### Your Rights and How to Exercise Them
285
286Depending on your state, you may have the right to request access, correction, deletion, portability, and to opt out of targeted advertising, sale/sharing, and certain profiling. To exercise your rights, contact us using the methods in the "Contact us" section below and state your request and jurisdiction. We will take steps to verify your identity and respond within the timelines required by applicable law. If we deny your request, you may have the right to appeal—please respond to our decision indicating you wish to appeal.
287
288## 6) Retention
289
290We retain personal information for as long as necessary to provide the Services, comply with legal and reporting obligations, resolve disputes, protect our rights, and enforce agreements. We determine retention periods based on factors such as the nature of the data, the purposes of processing, and legal requirements.
291
292## 7) Security
293
294We employ administrative, organizational, and technical measures designed to protect personal information against unauthorized access, disclosure, alteration, and destruction. No method of transmission over the Internet or method of electronic storage is completely secure.
295
296## 8) International Transfers
297
298Our service providers may be located outside of your province, state, or country, and your personal information may be transferred to and processed in those jurisdictions, which may have different data protection rules than your jurisdiction.
299
300## 9) Access, Corrections, and Choices
301
302You may request access to or correction of your personal information in our custody or control by contacting us as described below. You can opt out of receiving marketing emails at any time by using the unsubscribe link in those emails. Depending on your location, you may have additional rights described in Sections 4 and 5.
303
304## 10) Children's Privacy
305
306Our Services are not directed to children. We do not knowingly collect personal information from children under 13 (or under 16 in the EEA/UK). If you believe a child has provided us personal information, please contact us and we will take appropriate steps to delete such information.
307
308## 11) Customer Data (Processor/Service Provider) vs. Our Own Data (Controller)
309
310When a customer (e.g., a farm or buyer) submits personal information to our platform, we generally process that information on the customer's behalf as a processor/service provider under our agreement with that customer. This Privacy Policy describes how we process personal information as a controller for our Websites, accounts, and marketing activities; it does not apply to our processing as a processor/service provider.
311
312## 12) Changes to This Privacy Policy
313
314We may update this Privacy Policy from time to time. If we make material changes, we will provide a prominent notice (e.g., in-app banner or email) before the changes take effect where required by law. The "Last Revised" date at the top indicates when this Privacy Policy was last updated.
315
316## 13) Contact Us
317
318**Email:** [[email protected]](mailto:[email protected])`},fI={title:`Software-as-a-Service Agreement`,lastUpdated:`January 22, 2026`,content:`This Arbia Software-as-a-Service Agreement ("**Software-As-A-Service Agreement**", together with any Order Forms, attachments and exhibits, collectively the "**Agreement**") forms an agreement between the customer (such customer, the "**Customer**") accessing, downloading, installing or otherwise using the Arbia Offering and Techneo Ventures Ltd. ("**Arbia**"), the supplier of the Arbia Offering. This Agreement is entered into on the earlier of the date Customer first uses any part of the Arbia Offering and the date Customer agrees to be bound by this Agreement (the "**Effective Date**"). Arbia and Customer will be referred to together as the "**Parties**" and each a "**Party**".
319
320This Agreement sets forth the terms and conditions that govern the provision and use of the Arbia Offering.
321
322**BY USING THE ARBIA OFFERING (INCLUDING THE WEBSITE), CUSTOMER ACKNOWLEDGES THAT CUSTOMER HAS READ, ACCEPTS AND AGREES TO BE BOUND BY AND COMPLY WITH THE TERMS AND CONDITIONS SET OUT IN THIS AGREEMENT, AS AMENDED FROM TIME TO TIME IN ACCORDANCE WITH SECTION 16(k). IF CUSTOMER DOES NOT ACCEPT AND AGREE TO BE BOUND BY THIS AGREEMENT, CUSTOMER WILL IMMEDIATELY CEASE ANY FURTHER USE OF THE ARBIA OFFERING. CUSTOMER REPRESENTS AND WARRANTS TO ARBIA THAT CUSTOMER HAS THE CAPACITY TO ENTER INTO THIS LEGALLY BINDING AGREEMENT. IF CUSTOMER IS USING THE ARBIA OFFERING ON BEHALF OF ANOTHER PERSON, CUSTOMER HEREBY REPRESENTS AND WARRANTS TO ARBIA THAT CUSTOMER HAS THE AUTHORITY TO BIND SUCH PERSON TO THIS AGREEMENT.**
323
324## 1. Definitions
325
326(a) **"Administrator User Account"** means the administrator account for use by an Administrator User.
327
328(b) **"Administrator User(s)"** means those employees of Customer that are authorized by Customer to create Customer User Accounts on Customer's behalf through an Administrator User Account.
329
330(c) **"Affiliate"** means, with respect to a Party, any corporation or other legal entity which is directly or indirectly controlling or controlled by, or under common control with that Party. As used in this definition, "control" means the possession, directly or indirectly, of the power to direct or cause the direction of the management and policies of a corporation or legal entity.
331
332(d) **"Anonymous Data"** means data that is non-identifiable as to any individual and otherwise does not constitute "personal information" under Privacy Law.
333
334(e) **"Applicable Law"** means applicable statutes, by-laws, rules, regulations, orders, ordinances or judgments, in each case of any Governmental or Regulatory Authority.
335
336(f) **"Arbia Downloadable Software"** means: (i) the Arbia App for Android; (ii) the Arbia App for iOS; (iii) any other Arbia software component installed on Customer Systems in order to access the Arbia SaaS Services, Professional Services or Support Services, as described in an Order Form; and (iv) any component or Modification of the software referred to in (i) to (iii).
337
338(g) **"Arbia Offering"** means the Arbia SaaS Services and the Arbia Downloadable Software, and any part of them. Arbia Offering does not include Third Party Products.
339
340(h) **"Arbia SaaS Services"** means the services through: (i) which Arbia hosts and makes available Arbia's B2B platform for agri-food procurement as described in an Order Form; and (ii) any component or Modification of the services referred to in (i). The term "Arbia SaaS Services" does not include Professional Services and Support Services.
341
342(i) **"Claim"** means any actual, threatened or potential civil, criminal, administrative, regulatory, arbitral or investigative demand, allegation, action, suit, investigation or proceeding or any other claim or demand.
343
344(j) **"Customer Data"** means any data (other than Anonymous Data and Usage Data), information, content, records, and files that Customer or any of its Permitted Users loads or enters into, transmits to, or makes available to the Arbia Offering.
345
346(k) **"Customer Personal Information"** means Customer Data that is Personal Information.
347
348(l) **"Customer User Accounts"** means: (i) each user account created by an Administrator User for those active employees or consultants of Customer that are permitted by Customer to access and use the Arbia Offering; and (ii) Administrator User Accounts.
349
350(m) **"Documentation"** means Arbia's manuals, instructions or other documents or materials listed in an Order Form that Arbia provides or makes available to Customer in any form or medium and which describe the functionality, components, features or requirements of the Arbia Offering, including any aspect of the installation, configuration, integration, operation, use, support or maintenance of them.
351
352(n) **"Excluded Downtime"** means any of the following: (i) periods when Arbia is performing scheduled maintenance; (ii) any downtime resulting from outages of third party connections or utilities or other reasons beyond Arbia's control, including Internet access problems; (iii) any downtime resulting from Arbia's suspension of the Arbia Offering in accordance with this Agreement; (iv) any downtime resulting from a Force Majeure Event; (v) any downtime resulting from Customer's breach of this Agreement; (vi) any downtime for emergency maintenance; or (vii) any downtime resulting from Arbia's blocking of data communications or other aspects of the Arbia Offering in accordance with its policies.
353
354(o) **"Governmental or Regulatory Authority"** means any national, provincial, state, county, municipal, quasi-governmental, or self-regulatory department, authority, organization, agency, commission, board, tribunal, regulatory authority, dispute settlement panel or body, bureau, official, minister, Crown corporation, court or other law, rule or regulation-making entity having or purporting to have jurisdiction over any person or matter related to this Agreement.
355
356(p) **"Intellectual Property Rights"** means any and all registered and unregistered rights granted, applied for or otherwise now or hereafter in existence under or related to any patent, copyright, trademark, trade secret, database protection or other intellectual property rights laws, and all similar or equivalent rights or forms of protection, in any part of the world.
357
358(q) **"Loss"** or **"Losses"** means any and all losses, damages, Claims, judgments, settlements, interest, awards, penalties, fines, costs, or expenses of whatever kind, including reasonable legal fees and the costs of enforcing any right to indemnification hereunder and the cost of pursuing any insurance providers.
359
360(r) **"Modifications"** means modifications, improvements, customizations, patches, bug fixes, updates, enhancements, aggregations, compilations, derivative works, translations and adaptations.
361
362(s) **"Order Form"** means any Arbia-provided ordering document, online registration, order description or order confirmation referencing this Software-as-a-Service Agreement.
363
364(t) **"Permitted User(s)"** means individuals with an active Customer User Account.
365
366(u) **"Personal Information"** means information about an identifiable individual.
367
368(v) **"Privacy Law"** means any Applicable Law that governs the privacy or security of Customer Personal Information.
369
370(w) **"Process"** and its variants means to collect, use, modify, retrieve, disclose, retain, store, delete or manage.
371
372(x) **"Professional Services"** means the consulting, training and other professional services described in an Order Form.
373
374(y) **"Term"** means the Initial Term and any Renewal Term.
375
376(z) **"Third Party Products"** means third party products that are licensed under separate license terms and not under this Agreement.
377
378(aa) **"Usage Data"** means information and other data that is collected or generated by Arbia related to how individual users interact with the Arbia Offering, including frequency and duration of usage, specific features or functions accessed, user preferences and patterns of behavior. Usage Data does not include any Customer Personal Information.
379
380(bb) **"Website"** means any websites used by Arbia to provide the Arbia Offering, including the website(s) located at [https://www.arbia.io](https://www.arbia.io/), [https://app.arbia.io](https://app.arbia.io/), or [https://marketplace.arbia.io](https://marketplace.arbia.io/).
381
382## 2. The Arbia Offering
383
384(a) **Provisioning of the Arbia SaaS Services.** Subject to Customer's and its Permitted Users' compliance with the terms and conditions of this Agreement, Arbia will make the Arbia SaaS Services available to Customer on the terms and conditions set out in this Agreement during the Term.
385
386(b) **Restrictions on Use.** Customer will not itself, and will not permit others to:
387
388- (i) sub-license, sell, rent, lend, lease or distribute the Arbia Offering or any Intellectual Property Rights therein, or otherwise make the Arbia Offering available to any third parties other than its Permitted Users in accordance with this Agreement;
389- (ii) use, download or access the Arbia Offering: (A) in violation of any Applicable Law or Intellectual Property Rights; (B) in a manner that threatens the security or functionality of the Arbia Offering; or (C) for any purpose or in any manner not expressly permitted in this Agreement;
390- (iii) use, download or access the Arbia Offering to create, transmit, or Process any Customer Data that: (A) Customer does not have the lawful right to create, transmit or Process; (B) violates any Applicable Law, or infringes, violates or otherwise misappropriates the Intellectual Property Rights or other rights of any third party (including any moral right, privacy right or right of publicity);
391- (iv) input, upload, transmit or otherwise provide to or through the Arbia Offering any computer viruses, worms, malicious code, or any software intended to damage or alter a computer system or data;
392- (v) copy or modify the Arbia Offering;
393- (vi) reverse engineer, de-compile or disassemble the Arbia Offering or any part of it;
394- (vii) use, download or access the Arbia Offering for purposes of benchmarking or competitive analysis of the Arbia Offering;
395- (viii) use, download or access the Arbia Offering for the purpose of building a similar or competitive product or service;
396- (ix) remove or obscure any proprietary notices or labels on the Arbia Offering, including brand, copyright, trademark and patent or patent pending notices; or
397- (x) perform any vulnerability, penetration or similar testing of the Arbia Offering.
398
399(c) **Permitted Purpose.** Customer may access and use the Arbia Offering solely for Customer's internal use.
400
401(d) **Suspension of Access; Scheduled Downtime; Modifications.** Arbia may from time to time and in its discretion, without limiting any of its other rights or remedies under this Agreement, or at law or in equity: (i) suspend Customer's access to or use of the Arbia Offering or any component of it: (A) for scheduled maintenance; (B) due to a Force Majeure Event; (C) if Arbia believes in good faith that Customer or any of its Permitted Users has violated any provision of this Agreement; (D) to address any emergency security concerns; (E) if required to do so by a Governmental or Regulatory Authority or as a result of a change in Applicable Law; or (F) for any other reason as provided in this Agreement; and (ii) make any Modifications to the Arbia Offering. Customer accepts all patches, bug fixes and updates made by or on behalf of Arbia to the Arbia SaaS Services.
402
403(e) **Subcontracting.** Arbia may engage third parties to provide the Arbia Offering or any part of it. The delegating or subcontracting of all or any part of Arbia's obligations under this Agreement to any subcontractor will not relieve Arbia from any obligation or liability under this Agreement.
404
405(f) **Arbia Downloadable Software.** Use of the Arbia SaaS Services and delivery of the Professional Services and Support Services may require Arbia Downloadable Software to be run directly on Customer's systems ("**Customer Systems**"). As a result, Arbia Downloadable Software may automatically download and install updates and upgrades from time to time from Arbia. These updates are designed to improve, enhance and further develop the Arbia SaaS Services, Professional Services and Support Services and may take the form of bug fixes, enhanced functions, new software modules and completely new versions. Customer consents to the installation of Arbia Downloadable Software, including updates and upgrades (and authorizes Arbia to deliver these to Customer) as part of Customer's use of the Arbia SaaS Services or receipt of Professional Services and Support Services. Customer acknowledges that Arbia Downloadable Software causes Customer Systems to communicate with Arbia for the purposes described above. Notifications will be made in advance of any upcoming significant releases, maintenance or other event that may affect the Arbia SaaS Services, Professional Services or Support Services. Some emergency updates may be communicated after they are delivered. Customer, at its sole expense, agrees to provide compatible Customer Systems for Arbia Downloadable Software during the Term.
406
407(g) **Third Party Products.** If Customer uses or accesses Third Party Products in connection with its use of the Arbia Offering, Customer acknowledges and agrees that any terms, conditions, warranties or representations associated with such Third Party Products are solely between Customer and the applicable Third Party Product provider. Arbia will have no liability, obligation or responsibility for Customer's use of or access to such Third Party Products.
408
409(h) **Professional Services.** Arbia will perform the Professional Services set out in an applicable Order Form.
410
411## 3. Reservation of Rights and License Grants
412
413(a) Subject to the rights granted in this Section 3, Customer retains all right, title and interest in and to Customer Data, including any Intellectual Property Rights in Customer Data.
414
415(b) Customer grants Arbia a non-exclusive, worldwide, royalty-free, irrevocable, sublicensable, and fully paid-up license during the Term to Process Customer Data to: (i) provide the Arbia Offering and perform its obligations under this Agreement; (ii) with the exception of Customer Personal Information, develop and improve the Arbia Offering and other Arbia Property and new offerings; and (iii) produce or generate Usage Data and Anonymous Data. Arbia may Process the Anonymous Data and Usage Data for any purpose and without restriction or obligation to Customer of any kind. Anonymous Data and Usage Data are not Customer Data and are not Customer's Confidential Information.
416
417(c) Arbia or its licensors retain all right, title and interest, including any Intellectual Property Rights in and to: (i) the Arbia Offering; (ii) Anonymous Data; (iii) Usage Data; (iv) any reports or deliverables generated from the Arbia Offering; (v) Arbia's Confidential Information; (vi) Documentation; and (vii) any Modifications to the foregoing (i) to (vi) (collectively, "**Arbia Property**").
418
419(d) To the extent that Customer or any of its Permitted Users submit ideas, suggestions, documents, or proposals regarding the Arbia Offering to Arbia ("**Feedback**"), Customer acknowledges and agrees that: (i) the Feedback does not contain confidential or proprietary information and Arbia is not under any obligation of confidentiality with respect to the Feedback; and (ii) Arbia will be entitled to use, commercialize or disclose (or to choose not to use, commercialize, or disclose) such Feedback for any purpose, in any way, in any manner, and to anyone worldwide without any compensation or reimbursement of any kind to Customer for such use.
420
421(e) Subject to the terms and conditions of this Agreement, Arbia hereby grants to Customer a revocable, non-exclusive, non-transferable, non-sub-licensable (other than to Permitted Users as provided herein), limited license during the Term to use the Documentation, reports or deliverables s
421olely for the purpose of use and receipt of the Arbia Offering.
422
423## 4. Privacy
424
425(a) The Parties will comply with their respective obligations under Privacy Law that apply to their Processing of Customer Personal Information.
426
427(b) In the course of Processing Customer Personal Information, Arbia will:
428
429- (i) only Process Customer Personal Information for the purpose of fulfilling Arbia's obligations and exercising its rights under the Agreement or as otherwise required or permitted by Applicable Law;
430- (ii) implement reasonable physical, technological and organizational measures designed to safeguard Customer Personal Information against loss or theft and unauthorized access, use or disclosure;
431- (iii) notify Customer without undue delay upon becoming aware of a breach of the security safeguards outlined in Section 4(b)(ii) that results in the loss, theft, unauthorized access to or unauthorized disclosure of Customer Personal Information;
432- (iv) except to the extent legally prohibited, promptly notify Customer of any enquiry or complaint received from a Permitted User relating to the Permitted User's rights under Privacy Law with respect to the Processing of their Customer Personal Information; and
433- (v) upon the termination of this Agreement, Arbia will comply with the retention and destruction requirements set out in Section 15(c)(v) of this Agreement.
434
435## 5. Customer User Account; Responsibility for Permitted Users
436
437(a) In order for Customer to access and use the Arbia Offering, Arbia will issue one or more Administrator User Accounts to Customer that provides the Administrator User with the capability to create user accounts for Permitted Users on Customer's behalf.
438
439(b) Customer is responsible for identifying and authenticating all its Permitted Users and for ensuring only Permitted Users access and use the Arbia Offering. Customer will promptly notify Arbia of any actual or suspected unauthorized use of the Arbia Offering. Arbia reserves the right to deactivate or replace a Customer User Account if it determines that a Customer User Account may have been used for an unauthorized purpose.
440
441(c) Customer will be responsible for the compliance by its Permitted Users with this Agreement, all fees and charges incurred by its Permitted Users in connection with access to and use of the Arbia Offering, and any and all activity occurring under the Customer User Accounts associated with its Permitted Users, including access to and use of the Arbia Offering.
442
443## 6. Support Services
444
445Customer will generally have access to Arbia's technical support: (i) from 08:00 am PST to 20:00 pm PST each Monday to Friday (excluding statutory and civic holidays observed in Vancouver, B.C., Canada); and (ii) via email at [[email protected]](mailto:[email protected]) ("**Support Services**"). Arbia may amend the Support Services from time to time in its sole discretion.
446
447## 7. Service Levels
448
449Subject to the terms hereof, Arbia will use commercially reasonable efforts to provide the Arbia SaaS Services in accordance with the service levels in Exhibit A attached hereto.
450
451## 8. Access Through Arbia App for iOS
452
453If any part of the Arbia Offering, Professional Services or Support Services are provided to Customer through the Arbia App for iOS, the terms and conditions set out in Exhibit B will govern, in addition to all the other terms and conditions of this Agreement.
454
455## 9. Access Through Arbia App for Android
456
457If any part of the Arbia Offering, Professional Services or Support Services are provided to Customer through the Arbia App for Android, the terms and conditions set out in Exhibit B will govern, in addition to all the other terms and conditions of this Agreement.
458
459## 10. Fees and Payment
460
461(a) **Fees.** Customer will pay to Arbia the fees described in the Order Forms (the "Fees"). Unless otherwise noted on an Order Form: (i) all Fees identified are in Canadian dollars; (ii) Fees are non-cancelable and non-refundable; and (iii) quantities purchased cannot be decreased during the relevant subscription term.
462
463(b) **Changes to the Fees.** Arbia reserves the right to change the Fees and institute new charges on each anniversary of the Effective Date upon providing not less than 30 days prior notice to Customer.
464
465(c) **Invoicing.** Arbia will prepare and send to Customer, at the then-current contact information on file with Arbia, an invoice for any Fees that have become due and payable. Unless otherwise expressly stipulated in an invoice, Customer will pay all invoiced amounts within 30 calendar days of the invoice date.
466
467(d) **Disputed Invoices or Charges.** If Customer believes Arbia has charged or invoiced Customer incorrectly, Customer must contact Arbia no later than 30 days after having been charged by Arbia or receiving such invoice in which the error or problem appeared in order to request an adjustment or credit. In the event of a dispute, Customer will pay any undisputed amounts in accordance with the payment terms herein, and the Parties will discuss the disputed amounts in good faith in order to resolve the dispute.
468
469(e) **Late Payment.** Except as provided in Section 10(d), Customer may not withhold or set off any amounts due under this Agreement. Any late payment will be increased by the costs of collection (if any) and will incur interest at the rate of one and a half percent (1.5%) compounded monthly (19.56% annually), or the maximum legal rate (if less), plus all expenses of collection, until fully paid. If Customer has not paid all due and undisputed Fees within 10 days of the date that such Fees become due, Arbia reserves the right to suspend Customer's access to the Arbia Offering and any delivery of Professional Services and Support Services until all due and undisputed amounts are paid in full.
470
471(f) **Taxes.** The Fees do not include applicable sales, use, gross receipts, value-ad
471ded, GST or HST, personal property or other taxes. Customer will be responsible for and pay all applicable taxes, duties, tariffs, assessments, export and import fees or similar charges (including any applicable interest and penalties) payable in connection with the transactions contemplated by this Agreement, other than taxes based on the net income or profits of Arbia.
472
473(g) **Suspension.** Any suspension of the Arbia Offering by Arbia pursuant to this Agreement will not excuse Customer from its obligation to make payments under this Agreement.
474
475## 11. Confidential Information
476
477(a) **Definitions.** For the purposes of this Agreement, a Party or any of its Affiliates, customers, employees, licensors or suppliers receiving Confidential Information will be "**Recipient**", the Party disclosing such information will be "**Discloser**" and "**Confidential Information**" of Discloser means any and all information of Discloser or any of its Affiliates, and in the case of Arbia, any of its subcontractors, service providers, licensors or customers that has or will come into the possession or knowledge of Recipient in connection with or as a result of entering into this Agreement, including information concerning Discloser's past, present or future customers, suppliers, technology or business, Arbia Property, this Agreement and where Discloser is Customer, Customer's Confidential Information includes Customer Data. Notwithstanding the foregoing, except with respect to Personal Information, Confidential Information does not include any information that: (i) is publicly available prior to it being obtained by or becoming known to Recipient, or that subsequently becomes publicly available through no breach of this Agreement by Recipient; (ii) Recipient can demonstrate (through written records) was known to it prior to it being obtained by or becoming known to Recipient in connection with or as a result of entering into this Agreement; (iii) becomes known to Recipient from a third party, where Recipient had no reason to believe that such third party had any obligation of confidence with respect to such information, but only until Recipient subsequently comes to have reason to believe that such information was subject to an obligation of confidence; or (iv) Recipient can demonstrate (through written records) was developed independently by it or by individuals employed or engaged by Recipient who did not have any access to, or the benefit of, the Confidential Information of Discloser.
478
479(b) **Confidentiality Covenants.** Recipient hereby agrees that during the Term and at all times following the Term it will:
480
481- (i) not disclose Confidential Information of Discloser to any person without the express written consent of Discloser, except: (A) if Recipient is Customer, to its own employees, Permitted Users, or such other recipients as Arbia may approve in writing; or (B) if Recipient is Arbia, to its and its Affiliate's employees, contractors, subcontractors, advisors, consultants, officers, directors, partners, shareholders, agents and their respective successors or permitted assigns, or such other recipients as Customer may approve in writing, provided that any person described in Section 11(b)(i)(A) or Section 11(b)(i)(B) must have a "need to know" for the purposes of receiving or providing the Arbia Offering or otherwise performing obligations or exercising rights under this Agreement, be informed of the confidential nature of the Confidential Information, be directed to hold the Confidential Information in confidence and agree in writing, or otherwise be legally bound, to comply with confidentiality obligations in respect of such Confidential Information that are no less stringent than the provisions of this Agreement;
482- (ii) not use Confidential Information of Discloser or permit it to be used for any purpose except to exercise its rights or perform its obligations under this Agreement;
483- (iii) not alter or remove from any Confidential Information of Discloser any proprietary legend; and
484- (iv) take measures to protect the confidentiality and security of the Confidential Information of Discloser that are no less stringent than the measures it takes to protect its own Confidential Information of comparable sensitivity.
485
486(c) **Exceptions to Confidentiality.** Notwithstanding Section 11(b), Recipient may disclose Discloser's Confidential Information:
487
488- (i) if and to the extent legally compelled or required by a Governmental or Regulatory Authority or otherwise required by Applicable Law, provided that Recipient must first: (A) provide Discloser with prompt prior written notice of such compelled disclosure (except where prohibited by Applicable Law from doing so) to give Discloser the opportunity to oppose such disclosure; and (B) reasonably cooperate with Discloser in assisting Discloser to protect against or limit any such disclosure, including, where feasible, obtaining a protective order narrowing the scope of such disclosure and use of the Confidential Information. Thereafter, Recipient may disclose the Confidential Information of Discloser, but only to the extent required and subject to any protective order that applies to such disclosure;
489- (ii) to its legal counsel and other professional advisors if and to the extent such persons need to know such Confidential Information in order to provide applicable professional advisory services in connection with the Party's business; or
490- (iii) in the case of Arbia, to potential assignees, acquirers or successors of Arbia if and to the extent such persons need to know such Confidential Information in connection with a potential sale, merger, amalgamation or other corporate transaction involving the business or assets of Arbia.
491
492(d) **Injunction and other equitable relief.** Each of the Parties acknowledge that disclosure of Discloser's Confidential Information or any other breach of this Section 11 may cause serious and irreparable damage and harm to Discloser and that remedies at law may be inadequate to protect against breach of this Agreement, and each Party agrees that Discloser may seek injunctive relief for any breach of the provisions of this Section 11 and to the specific enforcement of the terms of this Section 11, in addition to any other remedy to which Discloser would be entitled.
493
494(e) **Return of Confidential Information.** Upon written request by a Discloser or upon the termination or expiration of this Agreement, each Party will promptly return to the other Party or destroy all Confidential Information (excluding any Customer Data which is addressed at Section 15(c)) of the other Party in its possession or control within a reasonable amount of time in accordance with Recipient's data destruction practices. Notwithstanding the foregoing, Arbia may retain any electronically archived Customer's Confidential Information, provided that such retained information remains subject to the confidentiality obligations in this Section 11. Upon written request of Discloser, Recipient will certify in writing that it has complied with this Section 11.
495
496## 12. Customer Warranty; Disclaimer
497
498(a) **Customer Warranty.** Customer represents, warrants, and covenants to Arbia that Customer has obtained and provided, and will continue to obtain and provide, all necessary consents, rights and notices, and otherwise has and will continue to have all necessary authority in and relating to the Customer Data (including Customer Personal Information) for Arbia to perform its obligations and exercise its rights under this Agreement in compliance with Applicable Law, and without infringing, misappropriating or otherwise violating any Intellectual Property Rights or other rights of any third party, and will inform Arbia immediately if any such consents, rights or authority are withdrawn or can no longer be relied upon.
499
500(b) **DISCLAIMER.** ARBIA DOES NOT WARRANT THAT THE ARBIA OFFERING, PROFESSIONAL SERVICES OR SUPPORT SERVICES WILL BE UNINTERRUPTED OR E
500RROR FREE OR THAT ALL ERRORS CAN OR WILL BE CORRECTED; NOR DOES IT MAKE ANY WARRANTY AS TO THE RESULTS THAT MAY BE OBTAINED FROM USE OF THE ARBIA OFFERING, PROFESSIONAL SERVICES OR SUPPORT SERVICES EXCEPT AS SPECIFICALLY PROVIDED IN THIS AGREEMENT. THE ARBIA OFFERING, PROFESSIONAL SERVICES OR SUPPORT SERVICES (OR ANY PART OF THEM), AND ANY OTHER PRODUCTS AND SERVICES PROVIDED BY ARBIA TO CUSTOMER ARE PROVIDED "AS IS" AND "AS AVAILABLE". ANY REPRESENTATION OR WARRANTY OF OR CONCERNING ANY THIRD PARTY PRODUCT IS STRICTLY BETWEEN CUSTOMER AND THE THIRD PARTY PRODUCT PROVIDER.
501
502(c) TO THE EXTENT PERMITTED BY APPLICABLE LAW, ARBIA HEREBY DISCLAIMS ALL EXPRESS, IMPLIED, COLLATERAL OR STATUTORY WARRANTIES, REPRESENTATIONS AND CONDITIONS, WHETHER WRITTEN OR ORAL, INCLUDING ANY IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY, COMPATIBILITY, TITLE, NON-INFRINGEMENT, SECURITY, RELIABILITY, COMPLETENESS, QUIET ENJOYMENT, ACCURACY, QUALITY, INTEGRATION OR FITNESS FOR A PARTICULAR PURPOSE OR USE, OR ANY WARRANTIES OR CONDITIONS ARISING OUT OF COURSE OF DEALING OR USAGE OF TRADE. WITHOUT LIMITING THE GENERALITY OF ANY OF THE FOREGOING, ARBIA EXPRESSLY DISCLAIMS ANY REPRESENTATION, CONDITION OR WARRANTY THAT ANY DATA OR INFORMATION PROVIDED TO CUSTOMER IN CONNECTION WITH CUSTOMER'S USE OF THE ARBIA OFFERING, PROFESSIONAL SERVICES OR SUPPORT SERVICES (OR ANY PART OF THEM), IS ACCURATE, OR CAN OR SHOULD BE RELIED UPON BY CUSTOMER FOR ANY PURPOSE WHATSOEVER.
503
504## 13. Indemnities
505
506(a) **Arbia Indemnity.**
507
508- (i) Arbia will indemnify, defend, and hold harmless Customer and its officers, directors, employees, and agents (each, a "**Customer Indemnitee**") from and against any and all Losses incurred by a Customer Indemnitee arising out of or relating to any Claims by a third party (other than an Affiliate of a Customer Indemnitee) that arise from or relate to any allegation that the Arbia Offering infringes any third party Intellectual Property Rights. The foregoing obligation does not apply to any Claims or Losses arising out of or relating to any: (A) incorporation of the Arbia Offering into, or any combination, operation, or use of the Arbia Offering with, any products or services not provided or authorized by Arbia; (B) modification of the Arbia Offering other than by Arbia or with Arbia's express written approval; (C) unauthorized use of the Arbia Offering; or (D) Losses covered by the Customer's indemnity obligations in Section 13(b). THIS SECTION 13(a) IS ARBIA'S SOLE AND EXCLUSIVE LIABILITY, AND ANY CUSTOMER INDEMNITEE'S SOLE AND EXCLUSIVE REMEDY FOR ANY INFRINGEMENT OR MISAPPROPRIATION OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
509- (ii) If the Arbia Offering is, or in Arbia's opinion is likely to be, claimed to infringe, misappropriate, or otherwise violate any third party Intellectual Property Rights, or if Customer's use of the Arbia Offering is enjoined or threatened to be enjoined, Arbia may, at its option and sole cost and expense: (A) obtain the right for Customer to continue to use the Arbia Offering materially as contemplated by this Agreement; (B) modify or replace the Arbia Offering, in whole or in part, to seek to make the Arbia Offering (as so modified or replaced) non-infringing, in which case such modifications or replacements will constitute the Arbia Offering under this Agreement; or (C) if Arbia determines that neither of the foregoing two options are reasonably available, then this Agreement may be terminated by Arbia and Arbia's sole liability, in addition to the indemnification obligations herein, will be to refund prepaid unused Fees attributable to the Arbia Offering that were to be provided after the effective date of termination. THE FOREGOING IS IN LIEU OF ANY REPRESENTATION, COVENANTS OR WARRANTIES OF NONINFRINGEMENT, WHICH ARE DISCLAIMED.
510
511(b) **Customer Indemnity.** Customer will defend, indemnify and hold harmless Arbia, its Affiliates, subsidiaries and each of their respective directors, officers, employees, subcontractors and other representatives (each, an "**Arbia Indemnitee**") from and against any and all Losses incurred by an Arbia Indemnitee arising out of or relating to any Claim by a third party (other than an Affiliate of an Arbia Indemnitee) that arise from or relate to: (i) breach of Section 12(a); or (ii) unauthorized use of the Arbia Offering by Customer or any of its Permitted Users.
512
513(c) **Indemnification Procedure.** Each Party will promptly notify the other Party in writing of any Claim for which such Party believes it is entitled to be indemnified pursuant to this Section 13. The Party seeking indemnification (the "**Indemnitee**") will cooperate with the other Party (the "**Indemnitor**") at the Indemnitor's sole cost and expense. The Indemnitor will promptly take control of the defense and investigation of such Claim (although the Indemnitor will not settle any Claim without the Indemnitee's prior written consent) and will employ counsel of its choice to handle and defend the same, at the Indemnitor's sole cost and expense. The Indemnitee's failure to perform any obligations under this Section 13(c) will not relieve the Indemnitor of its indemnity obligations under this Section 13 except to the extent that the Indemnitor can demonstrate that it has been materially prejudiced as a result of such failure. The Indemnitee may participate in and observe the proceedings at its own cost and expense with counsel of its own choosing.
514
515## 14. Limitation of Liability
516
517The Parties acknowledge that the following provisions have been negotiated by them and reflect a fair allocation of risk and form an essential basis of the bargain and will survive and continue in full force and effect despite any failure of consideration or of an exclusive remedy:
518
519(a) **AMOUNT.** IN NO EVENT WILL THE TOTAL AGGREGATE LIABILITY (INCLUDING ANY PREVIOUSLY PAID LOSSES) OF ARBIA IN CONNECTION WITH OR UNDER THIS AGREEMENT, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE OR GROSS NEGLIGENCE), OR OTHERWISE, EXCEED THE AMOUNT OF FEES PAID BY CUSTOMER FOR THE ARBIA OFFERING IN THE 12 MONTH PERIOD IMMEDIATELY PRECEDING THE DATE OF THE FIRST EVENT GIVING RISE TO THE LOSSES. FOR GREATER CERTAINTY, THE EXISTENCE OF ONE OR MORE CLAIMS UNDER THIS AGREEMENT WILL NOT INCREASE THIS MAXIMUM LIABILITY AMOUNT. IN NO EVENT WILL ARBIA'S THIRD PARTY SUPPLIERS HAVE ANY LIABILITY ARISING OUT OF OR IN ANY WAY CONNECTED TO THIS AGREEMENT.
520
521(b) **TYPE.** TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, IN NO EVENT WILL ARBIA BE LIABLE TO CUSTOMER OR ANY OF ITS PERMITTED USERS FOR ANY: (I) SPECIAL, EXEMPLARY, PUNITIVE, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES;
521 (II) LOST OR LOSS OF (A) SAVINGS, (B) PROFIT, (C) DATA, (D) USE, OR (E) GOODWILL; (III) BUSINESS INTERRUPTION; (IV) COSTS FOR THE PROCUREMENT OF SUBSTITUTE PRODUCTS OR SERVICES; (V) PERSONAL INJURY OR DEATH; OR (VI) PERSONAL OR PROPERTY DAMAGE ARISING OUT OF OR IN ANY WAY CONNECTED TO THIS AGREEMENT, REGARDLESS OF CAUSE OF ACTION OR THE THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE OR GROSS NEGLIGENCE), OR OTHERWISE, EVEN IF NOTIFIED IN ADVANCE OF THE POSSIBILITIES OF SUCH DAMAGES.
522
523## 15. Term and Termination
524
525(a) **Term.** This Agreement will commence on the Effective Date and continue to be in effect for a period of one year (the "**Initial Term**"), unless terminated earlier in accordance with this Agreement. This Agreement will automatically renew for successive periods of one year (each a "**Renewal Term**"), unless either Party provides the other Party with written notice of its intention not to renew not less than 30 days prior to the end of the then current Term.
526
527(b) **Termination for Cause.** Either Party may terminate this Agreement, by giving to the other Party written notice of termination upon the occurrence of any of the following events: (i) the other Party breaches or defaults on any of the material terms or conditions of this Agreement (including Customer's payment obligations under Section 10) and fails to cure such breach or default within 30 days of receipt of written notice thereof; except that, in the event of any breach that is incapable of being cured, such termination will be effective immediately; (ii) the other Party makes any assignment for the benefit of creditors or is unable to pay its debts as they mature in the ordinary course of business; or (iii) any proceedings are instituted by or against the other Party under any insolvency laws or for reorganization, receivership or dissolution.
528
529(c) **Effect of Termination.** Upon the effective date of the expiration or termination of this Agreement (the "**Termination Effective Date**"):
530
531- (i) Customer will immediately cease (and ensure that all its Permitted Users immediately cease) accessing or using the Arbia Offering and uninstall the Arbia Downloadable Software from Customer Systems;
532- (ii) Customer will return any Arbia Property in its possession and certify in writing to Arbia that the Arbia Property has been returned;
533- (iii) no new Order Forms may be agreed to or entered into by the Parties and all Order Forms will terminate;
534- (iv) all Fees due and payable and any amounts due to Arbia are immediately due and are to be immediately paid by Customer to Arbia. No expiration or termination will affect Customer's obligation to pay all Fees that may have become due before such expiration or termination or entitle Customer to any refund; and
535- (v) if Customer requests in writing at least 30 days prior to the Termination Effective Date and provided that Customer has paid all Fees due and payable as at the Termination Effective Date, Arbia will make all Customer Data available to Customer for electronic retrieval for a period of 30 days. Following such 30-day period Arbia will delete any Customer Data that remains in the hardware or systems used by Arbia to provide the Arbia Offering. Notwithstanding anything to the contrary in this Agreement, Arbia may retain Customer Data to the extent and so long as required by Applicable Law and Arbia may retain Customer Data in its backups, archives and disaster recovery systems until such Customer Data is deleted in the ordinary course, provided that all such Customer Data will remain subject to all confidentiality requirements of this Agreement.
536
537(d) **Survival.** The following Sections, together with any other provision of this Agreement which expressly or by its nature survives termination or expiration, or which contemplates performance or observance subsequent to termination or expiration of this Agreement, will survive expiration or termination of this Agreement for any reason: Section 2(b); Section 3 (Reservation of Rights and License Grants), Section 10 (Fees and Payment), Section 11 (Confidential Information), Section 12 (Customer Warranty; Disclaimer), Section 13 (Indemnities), Section 14 (Limitation of Liability), Section 16 (General Provisions), Section 15(c) (Effect of Termination) and this Section 15(d) (Survival).
538
539## 16. General Provisions
540
541(a) **Notices.** Notices sent to either Party will be effective when delivered in writing and in person or by email, one day after being sent by overnight courier, or five days after being sent by first class mail postage prepaid to the official contact designated by the Party to whom a notice is being given. Notices must be sent: (i) if to Arbia, to the following address:
542
543>
543 Address: Bentall Four, 1055 Dunsmuir St Suite 3000, Vancouver, BC V7X 1K8
544>
545> Attention: Luke Scales
546>
547> Email: [[email protected]](mailto:[email protected]), [[email protected]](mailto:[email protected])
548
549and (ii) if to Customer, to the current postal or email address that Arbia has on file with respect to Customer. Arbia may change its contact information by posting the new contact information on the Website or by giving notice thereof to Customer. Customer is solely responsible for keeping its contact information on file with Arbia current at all times during the Term.
550
551(b) **Assignment.** Customer will not assign or transfer this Agreement, or transfer or subcontract any of its rights or delegate any of its obligations under this Agreement, in each case whether voluntarily, involuntarily, by operation of law or otherwise, without the prior written consent of Arbia. Any purported assignment or delegation by Customer to any third party in violation of this Section will be null and void. Arbia may assign any of its rights, or delegate any of its obligations, under this Agreement to any third party without the consent of Customer. This Agreement enures to the benefit of and is binding upon the Parties and their respective successors and permitted assigns.
552
553(c) **Governing Law and Attornment.** This Agreement and any Claim related thereto will be governed by and construed in accordance with the laws of the Province of British Columbia and the applicable federal laws of Canada, without regard to conflicts of law principles. The Parties will initiate any lawsuits in connection with this Agreement in Vancouver, British Columbia Canada, and irrevocably attorn to the exclusive personal jurisdiction and venue of the courts sitting therein. Notwithstanding the foregoing, Arbia may: (i) seek remedies to collect unpaid Fees from Customer; and (ii) seek remedies with respect to a violation of Arbia's Intellectual Property Rights or Section 11 (Confidential Information), in any appropriate jurisdiction. The United Nations Convention on Contracts for the International Sale of Goods will not apply to this Agreement.
554
555(d) **Export Restrictions.** Neither Customer nor any of its Permitted Users are listed under any Canadian economic sanctions law or regulation or owned or c
555ontrolled by any such person. Customer will not allow access to the Arbia Offering other than in accordance with the terms of this Agreement. Arbia makes no representation or warranty that the Arbia Offering may be exported without Customer first obtaining appropriate licenses or permits under Applicable Law, or that any such license or permit has been, will be, or can be obtained.
556
557(e) **Construction.** Except as otherwise provided in this Agreement, the Parties' rights and remedies under this Agreement are cumulative and are in addition to, and not in substitution for, any other rights and remedies available at law or in equity or otherwise. The terms "include" and "including" mean, respectively, "include without limitation" and "including without limitation." The headings of sections of this Agreement are for reference purposes only and have no substantive effect. The terms "consent" or "discretion", when used in respect of a Party in this Agreement, mean the right of such Party to withhold such consent or exercise such discretion, as applicable, arbitrarily and without any implied obligation to act reasonably or explain its decision to the other Party. The language used in this Agreement is the language chosen by the Parties to express their mutual intent, and no rule of strict construction will be applied against any Party.
558
559(f) **Force Majeure Event.** Neither Party will be liable for delays caused by any event or circumstances beyond that Party's reasonable control, including acts of God, acts of government, flood, fire, earthquakes, civil unrest, acts of terror, strikes, slowdowns, walkouts or other labour problems (other than those involving that Party's employees), Internet service failures or delays, cyberattacks, or the unavailability or Modification by third parties of telecommunications or hosting infrastructure or third party software or websites or changes in law preventing or limiting the provision of the Arbia Offering or which would make the provision of the Arbia Offering economically unviable ("Force Majeure Event"). This Section does not apply to any of Customer's obligations under Sections 10 (Fees and Payment). In the event of any failure or delay caused by a Force Majeure Event, the affected Party will give prompt written notice to the other Party stating the period of time the occurrence is expected to continue and use commercially reasonable efforts to end the failure or delay and minimize the effects of such Force Majeure Event.
560
561(g) **Severability.** Any provision of this Agreement found by a tribunal or court of competent jurisdiction to be invalid, illegal or unenforceable will be severed from this Agreement and all other provisions of this Agreement will remain in full force and effect.
562
563(h) **Waiver.** A waiver of any provision of this Agreement must be in writing and a waiver in one instance will not preclude enforcement of such provision on other occasions.
564
565(i) **Further Assurances.** Each Party will, from time to time, execute and deliver all such further documents and instruments and do all acts and things as the other Party may reasonably require to effectively carry out or better evidence or perfect the full intent and meaning of this Agreement.
566
567(j) **Entire Agreement.** This Agreement (including all Order Forms) constitutes the entire agreement between the Parties and set out all the covenants, promises, warranties, representations, conditions, and agreements between the Parties in connection with the subject matter of this Agreement and supersedes all prior or contemporaneous agreements, representations or other communications between the Parties, whether written or oral. For clarity, any terms and conditions appearing on a purchase order or similar document issued by Customer, or in Customer's procurement, invoicing, or vendor onboarding portal: (i) do not apply to the Arbia Offering, Professional Services or Support Services; and (ii) do not override or form a part of this Agreement (including any Order Form).
568
569(k) **Amendments.** No amendment, supplement, modification, waiver, or termination of this Agreement and, unless otherwise expressly specified in this Agreement, no consent or approval by any Party, will be binding unless executed in writing by the Party or Parties to be bound thereby. Notwithstanding the preceding sentence, Arbia may unilaterally amend this agreement, in whole or in part (each, an "**Amendment**"), by giving Customer 30 days prior notice of such Amendment or posting notice of such Amendment on the Website. Unless otherwise indicated by Arbia, any such Amendment will become effective 30 days after the date the notice of such Amendment is provided to Customer or is posted on the Website (whichever is the earlier).
570
571(l) **Customer Lists.** Arbia may identify Customer by name and logo as an Arbia customer on Arbia's website and on other promotional materials. Any goodwill arising from the use of Customer's name and logo will inure to the benefit of Customer.
572
573(m) **Order of Precedence.** To the extent of a conflict between this Software-As-A-Service Agreement and any Order Forms, attachments or exhibits attached hereto: (i) in respect of Section 3 (Reservation of Rights and License Grants), Section 4 (Privacy), Section 11 (Confidential Information), Section 12 (Customer Warranty; Disclaimer), Section 13 (Indemnities), Section 14 (Limitation of Liability), Section 15(d) (Survival) and Section 16 (General Provisions, including this Section 16(m)), this Software-As-A-Service Agreement will prevail; and (ii) for all other Sections, unless the Order Form expressly states that it modifies or varies this Software-As-A-Service Agreement, this Software-As-A-Service Agreement will prevail.
574
575(n) **English Language.** The Parties confirm that the essential stipulations of this Agreement reflect the mutual agreement of the Parties further to negotiation, and were not imposed by either Party, even when drawn up by one of the Parties. The Parties further confirm that it is the express wish of all Parties that this Agreement, all documents related to this Agreement and all communications between the Parties in the context of the performance of this Agreement be in English only. *Les parties confirment que les stipulations essentielles de la présente entente reflètent le résultat de discussions libres de gré à gré et n'ont pas été imposées par l'une ou l'autre des parties, même lorsque rédigées par l'une des parties. Les parties confirment également que c'est la volonté expresse des parties que la présente entente, tout document s'y rattachant et toute communication entre les parties dans le cadre de l'exécution de cette entente soient uniquement en anglais.*
576
577## Exhibit A — Service Levels
578
5791. Any capitalized terms in this Exhibit A that are not defined will have the meanings set out in the Agreement. For the purposes of this Exhibit A:
580
581- (a) **"Available"** means the Arbia SaaS Services are available to perform their material functionality when required.
582- (b) **"Downtime"** means time other than Excluded Downtime during which the Arbia SaaS Services are not Available, and such Downtime will commence from the time that Arbia receives written notice from Customer of such Downtime.
583- (c) **"Service Availability Failure"** means a failure of the Arbia SaaS Services to meet the Uptime Requirement as a result of Downtime.
584
5852. During the Term after Arbia has confirmed that Arbia SaaS Services are available for production use by Permitted Users, Arbia will make the Arbia SaaS Services Available 99.9% of the time (excluding Excluded Downtime), as measured on a monthly basis ("Uptime Requirement").
586
5873. Customer's sole and exclusive remedy, and Arbia's entire liability, in connection with a Service Availability Failure will be that Arbia will credit to Customer's account 5% of Fees for the Arbia SaaS Services attributable to the month the Service Availability Failure occurs (a "Service Credit").
588
5894. In order to receive a Service Credit, Customer must notify Arbia in writing within 48 hours from the end of the applicable calendar month during which the Service Availability Failure occurred. Failure to provide such notice will forfeit Customer's right to receive a Service Credit for such Service Availability Failure. Service Credits may not be redeemed for cash. Arbia will only apply the Service Credit to the Fees for the month in which the Service Availability Failure occurred.
590
591## Exhibit B — Arbia App for iOS and Arbia App for Android
592
593**1. Access Through Arbia App for iOS**
594
595If Customer accesses or uses the Arbia Offering, Professional Services or Support Services through the application Arbia or its Affiliates made available for download from the Apple Inc. (Apple Inc. together with all of its affiliates, "**Apple**") application store (the "**Arbia App for iOS**") the following terms and conditions apply to Customer in addition to all the other terms and conditions of this Agreement in respect of Customer's access to or use of the Arbia Offering, Professional Services or Support Services through the Arbia App for iOS:
596
597- (a) the Parties acknowledge this Agreement is concluded between the Parties, and not with Apple and Apple is not responsible for the Arbia Offering, Professional Services or Support Services and content thereof is governed by this Agreement;
598- (b) notwithstanding anything to the contrary hereunder, Customer may use the Arbia App for iOS only on an Apple device;
599- (c) the Parties acknowledge that Apple has no obligation to furnish any maintenance or support services with respect to the Arbia Offering, Professional Services or Support Services (including the Arbia App for iOS);
600- (d) in the event of any failure of the Arbia App for iOS to conform to any applicable warranty, Customer may notify Apple, and Apple will refund the purchase price for the Arbia App for iOS (if any) to Customer. Except for the foregoing, to the maximum extent permitted by Applicable Law, Apple will have no other warranty obligation whatsoever with respect to the Arbia Offering, Professional Services or Support Services (including the Arbia App for iOS), and any other claims, losses, liabilities, damages, costs or expenses attributable to any failure to conform to any warranty will be governed by this Agreement;
601- (e) any claim in connection with the Arbia Offering, Professional Services or Support Services related to product liability, a failure to conform to applicable legal or regulatory requirements, or claims under consumer protection or similar legislation is governed by this Agreement, and Apple is not responsible for such claim;
602- (f) any third party claim that the Arbia Offering, Professional Services or Support Services or Customer's possession and use of the Arbia App for iOS infringes that third party's Intellectual Property Rights will be governed by this Agreement, and Apple will not be responsible for the investigation, defense, settlement and discharge of such intellectual property infringement claim;
603- (g) Customer represents and warrants that Customer is not: (i) located in any region that is subject to a U.S. Government embargo, or that has been designated by the U.S. Government as a "terrorist supporting" region; or (ii) listed on any U.S. Government list of prohibited or restricted parties;
604- (h) Customer may contact Arbia in writing regarding any notices, questions, complaints or claims with respect to the Arbia Offering, Professional Services or Support Services (including Arbia App for iOS) through the contact information made available on the following webpage: [www.arbia.io](https://www.arbia.io/); and [[email protected]](mailto:[email protected]); and
605- (i) Apple is a third party beneficiary to this Agreement and may enforce this Agreement against Customer.
606
607**2. Access Through Arbia App for Android**
608
609If Customer is accessing or using the Arbia Offering, Professional Services or Support Services through the application Arbia or its Affiliates made available for download from the 'Google Play' application store made available by Google Inc. (Google Inc. together with all of its affiliates, "**Google**", such application the "**Arbia App for Android**") the following terms and conditions apply to Customer in addition to all the other terms and conditions of this Agreement in respect of Customer's access to or use of the Arbia Offering, Professional Services or Support Services through the Arbia App for Android:
610
611- (a) the Parties acknowledge that this Agreement is concluded between the Parties, and not with Google and Google is not responsible for the Arbia Offering, Professional Services or Support Services and content thereof is governed by this Agreement;
612- (b) the Parties acknowledge that Google has no obligation to furnish any maintenance or support services with respect to the Arbia Offering, Professional Services or Support Services (including the Arbia App for Android);
613- (c) to the maximum extent permitted by Applicable Law, Google will have no warranty obligation whatsoever with respect to the Arbia Offering, Professional Services or Support Services (including the Arbia App for Android), and any other claims, losses, liabilities, damages, costs or expenses attributable to any failure to conform to any warranty will be governed by this Agreement;
614- (d) any claim in connection with the Arbia Offering, Professional Services or Support Services related to product liability, a failure to conform to applicable legal or regulatory requirements, or claims under consumer protection or similar legislation is governed by this Agreement, and Google is not responsible for such claim;
615- (e) any third party claim that the Arbia Offering, Professional Services or Support Services or Customer's possession and use of the Arbia App for Android infringes that third party's intellectual property rights will be governed by this Agreement, and Google will not be responsible for the investigation, defense, settlement and discharge of such intellectual property infringement claim;
616- (f) Customer may contact Arbia in writing regarding any notices, questions, complaints or claims with respect to the Arbia Offering, Professional Services or Support Services (including the Arbia App for Android) through the contact information made available on the following webpage: [www.arbia.io](https://www.arbia.io/); and [[email protected]](mailto:[email protected]); and
617- (g) Google is a third party beneficiary to this Agreement and may enforce this Agreement against Customer.`};function pI(){return(0,B.jsx)(uI,{document:dI})}var mI={initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-80px`},transition:{duration:.6}},hI=[{number:`01`,icon:$m,title:`You connect your order inbox`,description:`Your team authorizes Arbia to access the Gmail inbox where customer orders arrive (for example, [email protected]) using Google’s standard OAuth consent flow. You choose the account, you see exactly what access is requested, and 
617you can revoke it at any time from your Google Account security settings.`},{number:`02`,icon:Vm,title:`Arbia reads incoming order emails`,description:`When a customer emails an order — in the body of the message or as an attached purchase order (PDF, spreadsheet, or image) — Arbia fetches the message content via the Gmail API and identifies it as a sales order. Non-order email is ignored.`},{number:`03`,icon:Nm,title:`The order becomes a digital sales order`,description:`Arbia’s AI extracts the products, quantities, units, delivery dates, and customer details from the email and matches them against your catalogue, the customer’s order history, and their contract prices — turning a free-form message like “the usual plus 4 cases of limes” into structured, priced line items. Nothing is re-keyed by hand.`},{number:`04`,icon:ih,title:`It syncs to your ERP & inventory`,description:`The confirmed digital order flows automatically into your ERP and inventory management system — QuickBooks, NetSuite, Sage, Xero, and others — so stock is allocated, the order is ready to pick, and your records stay in sync without manual entry.`}],gI=[{icon:Vm,title:`What we access`,points:[`Email messages and attachments in the Gmail account you connect — used solely to identify customer sales orders and read their contents.`,`Basic profile information (email address) to confirm which account is connected.`]},{icon:Eh,title:`How we use it`,points:[`Order emails are processed to extract sales order details: products, quantities, units, prices, delivery dates, and customer information.`,`Extracted details are used to create a digital sales order in Arbia and to sync that order to the ERP and inventory systems you have connected.`]},{icon:Om,title:`What we never do`,points:[`We never use Gmail data for advertising, and we never sell it.`,`Humans do not read your email, except with your explicit permission (e.g. support you request), for security purposes, to comply with law, or when the data is aggregated and anonymized.`,`Gmail data is never used to train generalized AI or machine-learning models.`]},{icon:Bm,title:`How we protect it`,points:[`Data is encrypted in transit (TLS) and at rest.`,`Access tokens are stored securely and scoped to the minimum access required.`,`Disconnecting the integration — from Arbia or from your Google Account permissions page — stops all access, and associated Gmail data is deleted in line with our retention policy.`]}];function _I(){return(0,C.useEffect)(()=>{let e=document.title;return document.title=`Gmail Integration — Arbia`,()=>{document.title=e}},[]),(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(Mh,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(`section`,{className:`bg-evergreen text-offwhite`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding pt-36 md:pt-40`,children:(0,B.jsxs)(`div`,{className:`grid lg:grid-cols-12 gap-12 lg:gap-16 items-center`,children:[(0,B.jsxs)(`div`,{className:`lg:col-span-6`,children:[(0,B.jsx)(U.p,{...mI,className:`brand-line eyebrow text-sage mb-6`,children:`Integrations · Gmail`}),(0,B.jsxs)(U.h1,{...mI,transition:{duration:.6,delay:.1},className:`heading-xl mb-6`,children:[`From customer email to digital order. `,(0,B.jsx)(`span`,{className:`text-sage`,children:`Automatically.`})]}),(0,B.jsx)(U.p,{...mI,transition:{duration:.6,delay:.2},className:`text-lg text-offwhite/70 leading-relaxed max-w-xl`,children:`Arbia’s Gmail integration reads the sales orders your customers already send by email, extracts every line item, and turns each one into a structured digital order — then syncs it straight into your ERP and inventory management system. No re-keying, no missed orders.`})]}),(0,B.jsx)(U.div,{...mI,transition:{duration:.6,delay:.25},className:`lg:col-span-6`,children:(0,B.jsxs)(`div`,{className:`rounded-3xl border border-white/10 bg-white/4 backdrop-blur-xs p-5 sm:p-6 shadow-soft-lg`,children:[(0,B.jsxs)(`div`,{className:`bg-white rounded-2xl shadow-soft p-4 text-black`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-neutral-500 text-xs mb-2.5`,children:[(0,B.jsx)(Vm,{className:`w-4 h-4 text-sage shrink-0`}),(0,B.jsx)(`span`,{className:`truncate`,children:`Bella's Bistro · [email protected]`}),(0,B.jsx)(`span`,{className:`ml-auto shrink-0`,children:`5:48 AM`})]}),(0,B.jsxs)(`p`,{className:`text-sm leading-relaxed text-neutral-700`,children:[`For Friday: `,(0,B.jsx)(`mark`,{className:`bg-sage rounded-sm px-0.5 text-black`,children:`6 cs roma tomatoes`}),`,`,` `,(0,B.jsx)(`mark`,{className:`bg-sage rounded-sm px-0.5 text-black`,children:`2 cs avocados`}),` and`,` `,(0,B.jsx)(`mark`,{className:`bg-sage rounded-sm px-0.5 text-black`,children:`4 cs limes`}),` please!`]})]}),(0,B.jsx)(`div`,{className:`flex justify-center py-1`,children:(0,B.jsx)(`div`,{className:`w-px h-8 bg-sage/60`})}),(0,B.jsxs)(`div`,{className:`bg-white rounded-2xl shadow-soft overflow-hidden text-black`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-4 py-3 bg-forest`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-offwhite`,children:[(0,B.jsx)(Nm,{className:`w-4 h-4 text-sage`}),(0,B.jsx)(`span`,{className:`text-sm font-medium`,children:`Sales Order SO-3120`})]}),(0,B.jsxs)(`span`,{className:`text-xs text-sage flex items-center gap-1.5`,children:[(0,B.jsx)(Eh,{className:`w-3.5 h-3.5`}),`extracted from Gmail`]})]}
617),(0,B.jsx)(`div`,{className:`divide-y divide-stone/30 text-sm`,children:[{product:`Roma Tomatoes`,qty:`6 × 25lb case`},{product:`Avocados`,qty:`2 × 48ct case`},{product:`Limes`,qty:`4 × 40lb case`}].map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between px-4 py-2.5`,children:[(0,B.jsx)(`span`,{className:`font-medium`,children:e.product}),(0,B.jsx)(`span`,{className:`text-neutral-600`,children:e.qty})]},e.product))}),(0,B.jsxs)(`div`,{className:`px-4 py-3 border-t border-stone/30 flex items-center gap-2 text-sage font-medium text-sm`,children:[(0,B.jsx)(ym,{className:`w-4 h-4`}),`Synced to ERP & inventory · 0 keystrokes`]})]})]})})]})})}),(0,B.jsx)(`section`,{className:`bg-offwhite text-black`,children:(0,B.jsxs)(`div`,{className:`container-custom section-padding`,children:[(0,B.jsxs)(U.div,{...mI,className:`max-w-2xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`How it works`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6`,children:[`Four steps from inbox `,(0,B.jsx)(`span`,{className:`text-forest`,children:`to ERP.`})]}),(0,B.jsx)(`p`,{className:`text-body`,children:`Your customers keep ordering the way they always have — by email. The Gmail integration handles everything that used to happen at the order desk.`})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-2 gap-8 lg:gap-10`,children:hI.map((e,t)=>(0,B.jsxs)(U.div,{...mI,transition:{duration:.6,delay:t%2*.1},className:`bg-white rounded-2xl shadow-soft border border-stone/40 p-6 sm:p-8`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-4 mb-5`,children:[(0,B.jsx)(`span`,{className:`w-10 h-10 rounded-xl bg-evergreen text-sage flex items-center justify-center shrink-0`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5`})}),(0,B.jsx)(`span`,{className:`text-sm font-mono text-forest`,children:e.number})]}),(0,B.jsx)(`h3`,{className:`text-xl font-medium mb-3`,children:e.title}),(0,B.jsx)(`p`,{className:`text-body-sm`,children:e.description})]},e.number))})]})}),(0,B.jsx)(`section`,{className:`bg-white text-black`,children:(0,B.jsxs)(`div`,{className:`container-custom section-padding`,children:[(0,B.jsxs)(U.div,{...mI,className:`max-w-2xl mb-16`,children:[(0,B.jsx)(`p`,{className:`brand-line eyebrow text-forest mb-6`,children:`Your data`}),(0,B.jsxs)(`h2`,{className:`heading-lg mb-6`,children:[`What we access — `,(0,B.jsx)(`span`,{className:`text-forest`,children:`and what we don’t.`})]}),(0,B.jsx)(`p`,{className:`text-body`,children:`The integration is built around one job: turning customer order emails into digital sales orders. Access is scoped to that job and nothing else.`})]}),(0,B.jsx)(`div`,{className:`grid md:grid-cols-2 gap-8 lg:gap-10`,children:gI.map((e,t)=>(0,B.jsxs)(U.div,{...mI,transition:{duration:.6,delay:t%2*.1},children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-3 mb-4`,children:[(0,B.jsx)(`span`,{className:`w-9 h-9 rounded-lg bg-sage/30 text-evergreen flex items-center justify-center shrink-0`,children:(0,B.jsx)(e.icon,{className:`w-5 h-5`})}),(0,B.jsx)(`h3`,{className:`text-xl font-medium`,children:e.title})]}),(0,B.jsx)(`ul`,{className:`space-y-3 border-l border-stone pl-5`,children:e.points.map(e=>(0,B.jsx)(`li`,{className:`text-body-sm`,children:e},e))})]},e.title))})]})}),(0,B.jsx)(`section`,{className:`bg-evergreen text-offwhite`,children:(0,B.jsx)(`div`,{className:`container-custom section-padding`,children:(0,B.jsxs)(`div`,{className:`max-w-3xl`,children:[(0,B.jsx)(U.p,{...mI,className:`brand-line eyebrow text-sage mb-6`,children:`Compliance`}),(0,B.jsxs)(U.h2,{...mI,transition:{duration:.6,delay:.1},className:`heading-lg mb-8`,children:[`Google API Services `,(0,B.jsx)(`span`,{className:`text-sage`,children:`User Data Policy.`})]}),(0,B.jsxs)(U.div,{...mI,transition:{duration:.6,delay:.2},className:`space-y-6`,children:[(0,B.jsxs)(`div`,{className:`rounded-2xl border border-white/10 bg-white/4 p-6 flex gap-4`,children:[(0,B.jsx)(cm,{className:`w-6 h-6 text-sage shrink-0 mt-0.5`}),(0,B.jsxs)(`p`,{className:`text-offwhite/80 leading-relaxed`,children:[`Arbia’s use and transfer to any other app of information received from Google APIs will adhere to the`,` `,(0,B.jsx)(`a`,{href:`https://developers.google.com/terms/api-services-user-data-policy`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sage underline underline-offset-4 hover:text-offwhite transition-colors`,children:`Google API Services 
617User Data Policy`}),`, including the Limited Use requirements.`]})]}),(0,B.jsxs)(`div`,{className:`rounded-2xl border border-white/10 bg-white/4 p-6 flex gap-4`,children:[(0,B.jsx)(lh,{className:`w-6 h-6 text-sage shrink-0 mt-0.5`}),(0,B.jsxs)(`p`,{className:`text-offwhite/80 leading-relaxed`,children:[`Gmail data is used only to provide and improve the order-capture features described on this page. It is not used for serving advertisements, and it is not transferred to third parties except as necessary to provide these features (for example, syncing an extracted order to the ERP you have connected), for security, or to comply with applicable law. For full details on how we handle personal information, see our`,` `,(0,B.jsx)(`a`,{href:`/privacy-policy`,className:`text-sage underline underline-offset-4 hover:text-offwhite transition-colors`,children:`Privacy Policy`}),`.`]})]}),(0,B.jsxs)(`div`,{className:`rounded-2xl border border-white/10 bg-white/4 p-6 flex gap-4`,children:[(0,B.jsx)(ih,{className:`w-6 h-6 text-sage shrink-0 mt-0.5`}),(0,B.jsxs)(`p`,{className:`text-offwhite/80 leading-relaxed`,children:[`You stay in control: you can disconnect the Gmail integration from within Arbia at any time, or revoke Arbia’s access directly from your`,` `,(0,B.jsx)(`a`,{href:`https://myaccount.google.com/permissions`,target:`_blank`,rel:`noopener noreferrer`,className:`text-sage underline underline-offset-4 hover:text-offwhite transition-colors`,children:`Google Account permissions`}),`. Questions? Contact us at`,` `,(0,B.jsx)(`a`,{href:`mailto:[email protected]`,className:`text-sage underline underline-offset-4 hover:text-offwhite transition-colors`,children:`[email protected]`}),`.`]})]})]})]})})}),(0,B.jsx)(Cx,{})]}),(0,B.jsx)(Dx,{})]})}function vI(){return(0,B.jsx)(uI,{document:fI})}function yI(){return(0,B.jsxs)(jn,{children:[(0,B.jsx)(Qn,{}),(0,B.jsxs)(Ut,{children:[(0,B.jsx)(Vt,{path:`/`,element:(0,B.jsx)(Ox,{})}),(0,B.jsx)(Vt,{path:`/distributors`,element:(0,B.jsx)(vT,{})}),(0,B.jsx)(Vt,{path:`/manufacturers`,element:(0,B.jsx)(FT,{})}),(0,B.jsx)(Vt,{path:`/farmers`,element:(0,B.jsx)(JT,{})}),(0,B.jsx)(Vt,{path:`/grocers`,element:(0,B.jsx)(lE,{})}),(0,B.jsx)(Vt,{path:`/blog`,element:(0,B.jsx)(_E,{})}),(0,B.jsx)(Vt,{path:`/blog/:slug`,element:(0,B.jsx)(nI,{})}),(0,B.jsx)(Vt,{path:`/press`,element:(0,B.jsx)(oI,{})}),(0,B.jsx)(Vt,{path:`/careers`,element:(0,B.jsx)(lI,{})}),(0,B.jsx)(Vt,{path:`/integrations/gmail`,element:(0,B.jsx)(_I,{})}),(0,B.jsx)(Vt,{path:`/privacy-policy`,element:(0,B.jsx)(pI,{})}),(0,B.jsx)(Vt,{path:`/terms-of-service`,element:(0,B.jsx)(vI,{})})]})]})}Zn.createRoot(document.getElementById(`root`)).render((0,B.jsx)(C.StrictMode,{children:(0,B.jsx)(yI,{})}));

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.