PageSourceSearch

https://allt.tv/assets/index-B2fKWyzt.js

js allt.tv collected 2026-10-04 13:33:02 UTC 720,490 bytes, 142 lines download raw bytes

vendor: 9,976 bytes, line 1
1var A0=e=>{throw TypeError(e)};var E0=(e,n,i)=>n.has(e)||A0("Cannot "+i);var Et=(e,n,i)=>(E0(e,n,"read from private field"),i?i.call(e):n.get(e)),j0=(e,n,i)=>n.has(e)?A0("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(e):n.set(e,i),Zd=(e,n,i,r)=>(E0(e,n,"write to private field"),r?r.call(e,i):n.set(e,i),i);function $4(e,n){for(var i=0;i<n.length;i++){const r=n[i];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const h of u.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function i(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=i(l);fetch(l.href,u)}})();function Z4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jd={exports:{}},Nr={};var C0;function J4(){if(C0)return Nr;C0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(r,l,u){var h=null;if(u!==void 0&&(h=""+u),l.key!==void 0&&(h=""+l.key),"key"in l){u={};for(var p in l)p!=="key"&&(u[p]=l[p])}else u=l;return l=u.ref,{$$typeof:e,type:r,key:h,ref:l!==void 0?l:null,props:u}}return Nr.Fragment=n,Nr.jsx=i,Nr.jsxs=i,Nr}var R0;function e3(){return R0||(R0=1,Jd.exports=J4()),Jd.exports}var c=e3(),eh={exports:{}},Mr={},th={exports:{}},nh={};var k0;function t3(){return k0||(k0=1,(function(e){function n(D,Y){var G=D.length;D.push(Y);e:for(;0<G;){var ne=G-1>>>1,j=D[ne];if(0<l(j,Y))D[ne]=Y,D[G]=j,G=ne;else break e}}function i(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var Y=D[0],G=D.pop();if(G!==Y){D[0]=G;e:for(var ne=0,j=D.length,W=j>>>1;ne<W;){var ae=2*(ne+1)-1,ee=D[ae],oe=ae+1,ce=D[oe];if(0>l(ee,G))oe<j&&0>l(ce,ee)?(D[ne]=ce,D[oe]=G,ne=oe):(D[ne]=ee,D[ae]=G,ne=ae);else if(oe<j&&0>l(ce,G))D[ne]=ce,D[oe]=G,ne=oe;else break e}}return Y}function l(D,Y){var G=D.sortIndex-Y.sortIndex;return G!==0?G:D.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var h=Date,p=h.now();e.unstable_now=function(){return h.now()-p}}var m=[],g=[],y=1,v=null,b=3,A=!1,T=!1,E=!1,C=!1,R=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function O(D){for(var Y=i(g);Y!==null;){if(Y.callback===null)r(g);else if(Y.startTime<=D)r(g),Y.sortIndex=Y.expirationTime,n(m,Y);else break;Y=i(g)}}function z(D){if(E=!1,O(D),!T)if(i(m)!==null)T=!0,P||(P=!0,te());else{var Y=i(g);Y!==null&&ge(z,Y.startTime-D)}}var P=!1,H=-1,L=5,I=-1;function Z(){return C?!0:!(e.unstable_now()-I<L)}function J(){if(C=!1,P){var D=e.unstable_now();I=D;var Y=!0;try{e:{T=!1,E&&(E=!1,M(H),H=-1),A=!0;var G=b;try{t:{for(O(D),v=i(m);v!==null&&!(v.expirationTime>D&&Z());){var ne=v.callback;if(typeof ne=="function"){v.callback=null,b=v.priorityLevel;var j=ne(v.expirationTime<=D);if(D=e.unstable_now(),typeof j=="function"){v.callback=j,O(D),Y=!0;break t}v===i(m)&&r(m),O(D)}else r(m);v=i(m)}if(v!==null)Y=!0;else{var W=i(g);W!==null&&ge(z,W.startTime-D),Y=!1}}break e}finally{v=null,b=G,A=!1}Y=void 0}}finally{Y?te():P=!1}}}var te;if(typeof N=="function")te=function(){N(J)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,he=le.port2;le.port1.onmessage=J,te=function(){he.postMessage(null)}}else te=function(){R(J,0)};function ge(D,Y){H=R(function(){D(e.unstable_now())},Y)}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(D){D.callback=null},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(D){switch(b){case 1:case 2:case 3:var Y=3;break;default:Y=b}var G=b;b=Y;try{return D()}finally{b=G}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(D,Y){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var G=b;b=D;try{return Y()}finally{b=G}},e.unstable_scheduleCallback=function(D,Y,G){var ne=e.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?ne+G:ne):G=ne,D){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=G+j,D={id:y++,callback:Y,priorityLevel:D,startTime:G,expirationTime:j,sortIndex:-1},G>ne?(D.sortIndex=G,n(g,D),i(m)===null&&D===i(g)&&(E?(M(H),H=-1):E=!0,ge(z,G-ne))):(D.sortIndex=j,n(m,D),T||A||(T=!0,P||(P=!0,te()))),D},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(D){var Y=b;return function(){var G=b;b=Y;try{return D.apply(this,arguments)}finally{b=G}}}})(nh)),nh}var N0;function n3(){return N0||(N0=1,th.exports=t3()),th.exports}var ah={exports:{}},Se={};var M0;function a3(){if(M0)return Se;M0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function b(j){return j===null||typeof j!="object"?null:(j=v&&j[v]||j["@@iterator"],typeof j=="function"?j:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,E={};function C(j,W,ae){this.props=j,this.context=W,this.refs=E,this.updater=ae||A}C.prototype.isReactComponent={},C.prototype.setState=function(j,W){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,W,"setState")},C.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function R(){}R.prototype=C.prototype;function M(j,W,ae){this.props=j,this.context=W,this.refs=E,this.updater=ae||A}var N=M.prototype=new R;N.constructor=M,T(N,C.prototype),N.isPureReactComponent=!0;var O=Array.isArray,z={H:null,A:null,T:null,S:null,V:null},P=Object.prototype.hasOwnProperty;function H(j,W,ae,ee,oe,ce){return ae=ce.ref,{$$typeof:e,type:j,key:W,ref:ae!==void 0?ae:null,props:ce}}function L(j,W){return H(j.type,W,void 0,void 0,void 0,j.props)}function I(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function Z(j){var W={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(ae){return W[ae]})}var J=/\/+/g;function te(j,W){return typeof j=="object"&&j!==null&&j.key!=null?Z(""+j.key):W.toString(36)}function le(){}function he(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(le,le):(j.status="pending",j.then(function(W){j.status==="pending"&&(j.status="fulfilled",j.value=W)},function(W){j.status==="pending"&&(j.status="rejected",j.reason=W)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function ge(j,W,ae,ee,oe){var ce=typeof j;(ce==="undefined"||ce==="boolean")&&(j=null);var re=!1;if(j===null)re=!0;else switch(ce){case"bigint":case"string":case"number":re=!0;break;case"object":switch(j.$$typeof){case e:case n:re=!0;break;case y:return re=j._init,ge(re(j._payload),W,ae,ee,oe)}}if(re)return oe=oe(j),re=ee===""?"."+te(j,0):ee,O(oe)?(ae="",re!=null&&(ae=re.replace(J,"$&/")+"/"),ge(oe,W,ae,"",function(se){return se})):oe!=null&&(I(oe)&&(oe=L(oe,ae+(oe.key==null||j&&j.key===oe.key?"":(""+oe.key).replace(J,"$&/")+"/")+re)),W.push(oe)),1;re=0;var fe=ee===""?".":ee+":";if(O(j))for(var Q=0;Q<j.length;Q++)ee=j[Q],ce=fe+te(ee,Q),re+=ge(ee,W,ae,ce,oe);else if(Q=b(j),typeof Q=="function")for(j=Q.call(j),Q=0;!(ee=j.next()).done;)ee=ee.value,ce=fe+te(ee,Q++),re+=ge(ee,W,ae,ce,oe);else if(ce==="object"){if(typeof j.then=="function")return ge(he(j),W,ae,ee,oe);throw W=String(j),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.")}return re}function D(j,W,ae){if(j==null)return j;var ee=[],oe=0;return ge(j,ee,"","",function(ce){return W.call(ae,ce,oe++)}),ee}function Y(j){if(j._status===-1){var W=j._result;W=W(),W.then(function(ae){(j._status===0||j._status===-1)&&(j._status=1,j._result=ae)},function(ae){(j._status===0||j._status===-1)&&(j._status=2,j._result=ae)}),j._status===-1&&(j._status=0,j._result=W)}if(j._status===1)return j._result.default;throw j._result}var G=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var W=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(W))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)};function ne(){}
vendor: 25,129 bytes, lines 1-8
1return Se.Children={map:D,forEach:function(j,W,ae){D(j,function(){W.apply(this,arguments)},ae)},count:function(j){var W=0;return D(j,function(){W++}),W},toArray:function(j){return D(j,function(W){return W})||[]},only:function(j){if(!I(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},Se.Component=C,Se.Fragment=i,Se.Profiler=l,Se.PureComponent=M,Se.StrictMode=r,Se.Suspense=m,Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,Se.__COMPILER_RUNTIME={__proto__:null,c:function(j){return z.H.useMemoCache(j)}},Se.cache=function(j){return function(){return j.apply(null,arguments)}},Se.cloneElement=function(j,W,ae){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var ee=T({},j.props),oe=j.key,ce=void 0;if(W!=null)for(re in W.ref!==void 0&&(ce=void 0),W.key!==void 0&&(oe=""+W.key),W)!P.call(W,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&W.ref===void 0||(ee[re]=W[re]);var re=arguments.length-2;if(re===1)ee.children=ae;else if(1<re){for(var fe=Array(re),Q=0;Q<re;Q++)fe[Q]=arguments[Q+2];ee.children=fe}return H(j.type,oe,void 0,void 0,ce,ee)},Se.createContext=function(j){return j={$$typeof:h,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:u,_context:j},j},Se.createElement=function(j,W,ae){var ee,oe={},ce=null;if(W!=null)for(ee in W.key!==void 0&&(ce=""+W.key),W)P.call(W,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(oe[ee]=W[ee]);var re=arguments.length-2;if(re===1)oe.children=ae;else if(1<re){for(var fe=Array(re),Q=0;Q<re;Q++)fe[Q]=arguments[Q+2];oe.children=fe}if(j&&j.defaultProps)for(ee in re=j.defaultProps,re)oe[ee]===void 0&&(oe[ee]=re[ee]);return H(j,ce,void 0,void 0,null,oe)},Se.createRef=function(){return{current:null}},Se.forwardRef=function(j){return{$$typeof:p,render:j}},Se.isValidElement=I,Se.lazy=function(j){return{$$typeof:y,_payload:{_status:-1,_result:j},_init:Y}},Se.memo=function(j,W){return{$$typeof:g,type:j,compare:W===void 0?null:W}},Se.startTransition=function(j){var W=z.T,ae={};z.T=ae;try{var ee=j(),oe=z.S;oe!==null&&oe(ae,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(ne,G)}catch(ce){G(ce)}finally{z.T=W}},Se.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},Se.use=function(j){return z.H.use(j)},Se.useActionState=function(j,W,ae){return z.H.useActionState(j,W,ae)},Se.useCallback=function(j,W){return z.H.useCallback(j,W)},Se.useContext=function(j){return z.H.useContext(j)},Se.useDebugValue=function(){},Se.useDeferredValue=function(j,W){return z.H.useDeferredValue(j,W)},Se.useEffect=function(j,W,ae){var ee=z.H;if(typeof ae=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ee.useEffect(j,W)},Se.useId=function(){return z.H.useId()},Se.useImperativeHandle=function(j,W,ae){return z.H.useImperativeHandle(j,W,ae)},Se.useInsertionEffect=function(j,W){return z.H.useInsertionEffect(j,W)},Se.useLayoutEffect=function(j,W){return z.H.useLayoutEffect(j,W)},Se.useMemo=function(j,W){return z.H.useMemo(j,W)},Se.useOptimistic=function(j,W){return z.H.useOptimistic(j,W)},Se.useReducer=function(j,W,ae){return z.H.useReducer(j,W,ae)},Se.useRef=function(j){return z.H.useRef(j)},Se.useState=function(j){return z.H.useState(j)},Se.useSyncExternalStore=function(j,W,ae){return z.H.useSyncExternalStore(j,W,ae)},Se.useTransition=function(){return z.H.useTransition()},Se.version="19.1.0",Se}var O0;function Tc(){return O0||(O0=1,ah.exports=a3()),ah.exports}var ih={exports:{}},jt={};var D0;function i3(){if(D0)return jt;D0=1;var e=Tc();function n(m){var g="https://react.dev/errors/"+m;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var r={d:{f:i,r:function(){throw Error(n(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(m,g,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:v==null?null:""+v,children:m,containerInfo:g,implementation:y}}var h=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return jt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,jt.createPortal=function(m,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return u(m,g,null,y)},jt.flushSync=function(m){var g=h.T,y=r.p;try{if(h.T=null,r.p=2,m)return m()}finally{h.T=g,r.p=y,r.d.f()}},jt.preconnect=function(m,g){typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,r.d.C(m,g))},jt.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},jt.preinit=function(m,g){if(typeof m=="string"&&g&&typeof g.as=="string"){var y=g.as,v=p(y,g.crossOrigin),b=typeof g.integrity=="string"?g.integrity:void 0,A=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?r.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:v,integrity:b,fetchPriority:A}):y==="script"&&r.d.X(m,{crossOrigin:v,integrity:b,fetchPriority:A,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},jt.preinitModule=function(m,g){if(typeof m=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=p(g.as,g.crossOrigin);r.d.M(m,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&r.d.M(m)},jt.preload=function(m,g){if(typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,v=p(y,g.crossOrigin);r.d.L(m,y,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},jt.preloadModule=function(m,g){if(typeof m=="string")if(g){var y=p(g.as,g.crossOrigin);r.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else r.d.m(m)},jt.requestFormReset=function(m){r.d.r(m)},jt.unstable_batchedUpdates=function(m,g){return m(g)},jt.useFormState=function(m,g,y){return h.H.useFormState(m,g,y)},jt.useFormStatus=function(){return h.H.useHostTransitionStatus()},jt.version="19.1.0",jt}var _0;function db(){if(_0)return ih.exports;_0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),ih.exports=i3(),ih.exports}var P0;function s3(){if(P0)return Mr;P0=1;var e=n3(),n=Tc(),i=db();function r(t){var a="https://react.dev/errors/"+t;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+t+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var a=t,s=t;if(t.alternate)for(;a.return;)a=a.return;else{t=a;do a=t,(a.flags&4098)!==0&&(s=a.return),t=a.return;while(t)}return a.tag===3?s:null}function h(t){if(t.tag===13){var a=t.memoizedState;if(a===null&&(t=t.alternate,t!==null&&(a=t.memoizedState)),a!==null)return a.dehydrated}return null}function p(t){if(u(t)!==t)throw Error(r(188))}function m(t){var a=t.alternate;if(!a){if(a=u(t),a===null)throw Error(r(188));return a!==t?null:t}for(var s=t,o=a;;){var d=s.return;if(d===null)break;var f=d.alternate;if(f===null){if(o=d.return,o!==null){s=o;continue}break}if(d.child===f.child){for(f=d.child;f;){if(f===s)return p(d),t;if(f===o)return p(d),a;f=f.sibling}throw Error(r(188))}if(s.return!==o.return)s=d,o=f;else{for(var w=!1,S=d.child;S;){if(S===s){w=!0,s=d,o=f;break}if(S===o){w=!0,o=d,s=f;break}S=S.sibling}if(!w){for(S=f.child;S;){if(S===s){w=!0,s=f,o=d;break}if(S===o){w=!0,o=f,s=d;break}S=S.sibling}if(!w)throw Error(r(189))}}if(s.alternate!==o)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?t:a}function g(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t;for(t=t.child;t!==null;){if(a=g(t),a!==null)return a;t=t.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),M=Symbol.for("react.consumer"),N=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),J=Symbol.iterator;function te(t){return t===null||typeof t!="object"?null:(t=J&&t[J]||t["@@iterator"],typeof t=="function"?t:null)}var le=Symbol.for("react.client.reference");function he(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===le?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case T:return"Fragment";case C:return"Profiler";case E:return"StrictMode";case z:return"Suspense";case P:return"SuspenseList";case I:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case N:return(t.displayName||"Context")+".Provider";case M:return(t._context.displayName||"Context")+".Consumer";case O:var a=t.render;return t=t.displayName,t||(t=a.displayName||a.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case H:return a=t.displayName||null,a!==null?a:he(t.type)||"Memo";case L:a=t._payload,t=t._init;try{return he(t(a))}catch{}}return null}var ge=Array.isArray,D=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},ne=[],j=-1;function W(t){return{current:t}}function ae(t){0>j||(t.current=ne[j],ne[j]=null,j--)}function ee(t,a){j++,ne[j]=t.current,t.current=a}var oe=W(null),ce=W(null),re=W(null),fe=W(null);function Q(t,a){switch(ee(re,a),ee(ce,t),ee(oe,null),a.nodeType){case 9:case 11:t=(t=a.documentElement)&&(t=t.namespaceURI)?Zy(t):0;break;default:if(t=a.tagName,a=a.namespaceURI)a=Zy(a),t=Jy(a,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}ae(oe),ee(oe,t)}function se(){ae(oe),ae(ce),ae(re)}function Ie(t){t.memoizedState!==null&&ee(fe,t);var a=oe.current,s=Jy(a,t.type);a!==s&&(ee(ce,t),ee(oe,s))}function Ge(t){ce.current===t&&(ae(oe),ae(ce)),fe.current===t&&(ae(fe),Er._currentValue=G)}var De=Object.prototype.hasOwnProperty,yt=e.unstable_scheduleCallback,ct=e.unstable_cancelCallback,yn=e.unstable_shouldYield,mo=e.unstable_requestPaint,Tt=e.unstable_now,MT=e.unstable_getCurrentPriorityLevel,Op=e.unstable_ImmediatePriority,Dp=e.unstable_UserBlockingPriority,go=e.unstable_NormalPriority,OT=e.unstable_LowPriority,_p=e.unstable_IdlePriority,DT=e.log,_T=e.unstable_setDisableYieldValue,Ds=null,qt=null;function da(t){if(typeof DT=="function"&&_T(t),qt&&typeof qt.setStrictMode=="function")try{qt.setStrictMode(Ds,t)}catch{}}var It=Math.clz32?Math.clz32:VT,PT=Math.log,LT=Math.LN2;function VT(t){return t>>>=0,t===0?32:31-(PT(t)/LT|0)|0}var yo=256,vo=4194304;function Ya(t){var a=t&42;if(a!==0)return a;switch(t&-t){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:return 64;case 128:return 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&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function bo(t,a,s){var o=t.pendingLanes;if(o===0)return 0;var d=0,f=t.suspendedLanes,w=t.pingedLanes;t=t.warmLanes;var S=o&134217727;return S!==0?(o=S&~f,o!==0?d=Ya(o):(w&=S,w!==0?d=Ya(w):s||(s=S&~t,s!==0&&(d=Ya(s))))):(S=o&~f,S!==0?d=Ya(S):w!==0?d=Ya(w):s||(s=o&~t,s!==0&&(d=Ya(s)))),d===0?0:a!==0&&a!==d&&(a&f)===0&&(f=d&-d,s=a&-a,f>=s||f===32&&(s&4194048)!==0)?a:d}function _s(t,a){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&a)===0}function zT(t,a){switch(t){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32: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 a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pp(){var t=yo;return yo<<=1,(yo&4194048)===0&&(yo=256),t}function Lp(){var t=vo;return vo<<=1,(vo&62914560)===0&&(vo=4194304),t}function Hc(t){for(var a=[],s=0;31>s;s++)a.push(t);return a}function Ps(t,a){t.pendingLanes|=a,a!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function BT(t,a,s,o,d,f){var w=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var S=t.entanglements,k=t.expirationTimes,U=t.hiddenUpdates;for(s=w&~s;0<s;){var X=31-It(s),$=1<<X;S[X]=0,k[X]=-1;var F=U[X];if(F!==null)for(U[X]=null,X=0;X<F.length;X++){var q=F[X];q!==null&&(q.lane&=-536870913)}s&=~$}o!==0&&Vp(t,o,0),f!==0&&d===0&&t.tag!==0&&(t.suspendedLanes|=f&~(w&~a))}function Vp(t,a,s){t.pendingLanes|=a,t.suspendedLanes&=~a;var o=31-It(a);t.entangledLanes|=a,t.entanglements[o]=t.entanglements[o]|1073741824|s&4194090}function zp(t,a){var s=t.entangledLanes|=a;for(t=t.entanglements;s;){var o=31-It(s),d=1<<o;d&a|t[o]&a&&(t[o]|=a),s&=~d}}function Fc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function qc(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Bp(){var t=Y.p;return t!==0?t:(t=window.event,t===void 0?32:v0(t.type))}function UT(t,a){var s=Y.p;try{return Y.p=t,a()}finally{Y.p=s}}var ha=Math.random().toString(36).slice(2),St="__reactFiber$"+ha,_t="__reactProps$"+ha,Ei="__reactContainer$"+ha,Ic="__reactEvents$"+ha,HT="__reactListeners$"+ha,FT="__reactHandles$"+ha,Up="__reactResources$"+ha,Ls="__reactMarker$"+ha;function Gc(t){delete t[St],delete t[_t],delete t[Ic],delete t[HT],delete t[FT]}function ji(t){var a=t[St];if(a)return a;for(var s=t.parentNode;s;){if(a=s[Ei]||s[St]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(t=a0(t);t!==null;){if(s=t[St])return s;t=a0(t)}return a}t=s,s=t.parentNode}return null}function Ci(t){if(t=t[St]||t[Ei]){var a=t.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return t}return null}function Vs(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t.stateNode;throw Error(r(33))}function Ri(t){var a=t[Up];return a||(a=t[Up]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function ut(t){t[Ls]=!0}var Hp=new Set,Fp={};function Wa(t,a){ki(t,a),ki(t+"Capture",a)}function ki(t,a){for(Fp[t]=a,t=0;t<a.length;t++)Hp.add(a[t])}var qT=RegExp("^[: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]*$"),qp={},Ip={};function IT(t){return De.call(Ip,t)?!0:De.call(qp,t)?!1:qT.test(t)?Ip[t]=!0:(qp[t]=!0,!1)}function wo(t,a,s){if(IT(a))if(s===null)t.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":t.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(a);return}}t.setAttribute(a,""+s)}}function xo(t,a,s){if(s===null)t.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttribute(a,""+s)}}function Fn(t,a,s,o){if(o===null)t.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(s);return}t.setAttributeNS(a,s,""+o)}}var Yc,Gp;function Ni(t){if(Yc===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);Yc=a&&a[1]||"",Gp=-1<s.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+Yc+t+Gp}var Wc=!1;function Xc(t,a){if(!t||Wc)return"";Wc=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(q){var F=q}Reflect.construct(t,[],$)}else{try{$.call()}catch(q){F=q}t.call($.prototype)}}else{try{throw Error()}catch(q){F=q}($=t())&&typeof $.catch=="function"&&$.catch(function(){})}}catch(q){if(q&&F&&typeof q.stack=="string")return[q.stack,F.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var d=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");d&&d.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=o.DetermineComponentFrameRoot(),w=f[0],S=f[1];if(w&&S){var k=w.split(`
4`),U=S.split(`
5`);for(d=o=0;o<k.length&&!k[o].includes("DetermineComponentFrameRoot");)o++;for(;d<U.length&&!U[d].includes("DetermineComponentFrameRoot");)d++;if(o===k.length||d===U.length)for(o=k.length-1,d=U.length-1;1<=o&&0<=d&&k[o]!==U[d];)d--;for(;1<=o&&0<=d;o--,d--)if(k[o]!==U[d]){if(o!==1||d!==1)do if(o--,d--,0>d||k[o]!==U[d]){var X=`
6`+k[o].replace(" at new "," at ");return t.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",t.displayName)),X}while(1<=o&&0<=d);break}}}finally{Wc=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?Ni(s):""}function GT(t){switch(t.tag){case 26:case 27:case 5:return Ni(t.type);case 16:return Ni("Lazy");case 13:return Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 15:return Xc(t.type,!1);case 11:return Xc(t.type.render,!1);case 1:return Xc(t.type,!0);case 31:return Ni("Activity");default:return""}}function Yp(t){try{var a="";do a+=GT(t),t=t.return;while(t);return a}catch(s){return`
7Error generating stack: `+s.message+`
8`+s.stack}}function an(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Wp(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function YT(t){var a=Wp(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,a),o=""+t[a];if(!t.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,f=s.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return d.call(this)},set:function(w){o=""+w,f.call(this,w)}}),Object.defineProperty(t,a,{enumerable:s.enumerable}),{getValue:function(){return o},setValue:function(w){o=""+w},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function To(t){t._valueTracker||(t._valueTracker=YT(t))}function Xp(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var s=a.getValue(),o="";return t&&(o=Wp(t)?t.checked?"true":"false":t.value),t=o,t!==s?(a.setValue(t),!0):!1}function So(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var WT=/[\n"\\]/g;function sn(t){return t.replace(WT,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Kc(t,a,s,o,d,f,w,S){t.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?t.type=w:t.removeAttribute("type"),a!=null?w==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+an(a)):t.value!==""+an(a)&&(t.value=""+an(a)):w!=="submit"&&w!=="reset"||t.removeAttribute("value"),a!=null?Qc(t,w,an(a)):s!=null?Qc(t,w,an(s)):o!=null&&t.removeAttribute("value"),d==null&&f!=null&&(t.defaultChecked=!!f),d!=null&&(t.checked=d&&typeof d!="function"&&typeof d!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+an(S):t.removeAttribute("name")}function Kp(t,a,s,o,d,f,w,S){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),a!=null||s!=null){if(!(f!=="submit"&&f!=="reset"||a!=null))return;s=s!=null?""+an(s):"",a=a!=null?""+an(a):s,S||a===t.value||(t.value=a),t.defaultValue=a}o=o??d,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=S?t.checked:!!o,t.defaultChecked=!!o,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(t.name=w)}function Qc(t,a,s){a==="number"&&So(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}function Mi(t,a,s,o){if(t=t.options,a){a={};for(var d=0;d<s.length;d++)a["$"+s[d]]=!0;for(s=0;s<t.length;s++)d=a.hasOwnProperty("$"+t[s].value),t[s].selected!==d&&(t[s].selected=d),d&&o&&(t[s].defaultSelected=!0)}else{for(s=""+an(s),a=null,d=0;d<t.length;d++){if(t[d].value===s){t[d].selected=!0,o&&(t[d].defaultSelected=!0);return}a!==null||t[d].disabled||(a=t[d])}a!==null&&(a.selected=!0)}}function Qp(t,a,s){if(a!=null&&(a=""+an(a),a!==t.value&&(t.value=a),s==null)){t.defaultValue!==a&&(t.defaultValue=a);return}t.defaultValue=s!=null?""+an(s):""}function $p(t,a,s,o){if(a==null){if(o!=null){if(s!=null)throw Error(r(92));if(ge(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),a=s}s=an(a),t.defaultValue=s,o=t.textContent,o===s&&o!==""&&o!==null&&(t.value=o)}function Oi(t,a){if(a){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=a;return}}t.textContent=a}var XT=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Zp(t,a,s){var o=a.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="":o?t.setProperty(a,s):typeof s!="number"||s===0||XT.has(a)?a==="float"?t.cssFloat=s:t[a]=(""+s).trim():t[a]=s+"px"}function Jp(t,a,s){if(a!=null&&typeof a!="object")throw Error(r(62));if(t=t.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="");for(var d in a)o=a[d],a.hasOwnProperty(d)&&s[d]!==o&&Zp(t,d,o)}else for(var f in a)a.hasOwnProperty(f)&&Zp(t,f,a[f])}function $c(t){if(t.indexOf("-")===-1)return!1;switch(t){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 KT=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
8dering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),QT=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ao(t){return QT.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Zc=null;function Jc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Di=null,_i=null;function em(t){var a=Ci(t);if(a&&(t=a.stateNode)){var s=t[_t]||null;e:switch(t=a.stateNode,a.type){case"input":if(Kc(t,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+sn(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var o=s[a];if(o!==t&&o.form===t.form){var d=o[_t]||null;if(!d)throw Error(r(90));Kc(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(a=0;a<s.length;a++)o=s[a],o.form===t.form&&Xp(o)}break e;case"textarea":Qp(t,s.value,s.defaultValue);break e;case"select":a=s.value,a!=null&&Mi(t,!!s.multiple,a,!1)}}}var eu=!1;function tm(t,a,s){if(eu)return t(a,s);eu=!0;try{var o=t(a);return o}finally{if(eu=!1,(Di!==null||_i!==null)&&(cl(),Di&&(a=Di,t=_i,_i=Di=null,em(a),t)))for(a=0;a<t.length;a++)em(t[a])}}function zs(t,a){var s=t.stateNode;if(s===null)return null;var o=s[_t]||null;if(o===null)return null;s=o[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(r(231,a,typeof s));return s}var qn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tu=!1;if(qn)try{var Bs={};Object.defineProperty(Bs,"passive",{get:function(){tu=!0}}),window.addEventListener("test",Bs,Bs),window.removeEventListener("test",Bs,Bs)}catch{tu=!1}var fa=null,nu=null,Eo=null;
vendor: 5,478 bytes, line 8
8function nm(){if(Eo)return Eo;var t,a=nu,s=a.length,o,d="value"in fa?fa.value:fa.textContent,f=d.length;for(t=0;t<s&&a[t]===d[t];t++);var w=s-t;for(o=1;o<=w&&a[s-o]===d[f-o];o++);return Eo=d.slice(t,1<o?1-o:void 0)}function jo(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function Co(){return!0}function am(){return!1}function Pt(t){function a(s,o,d,f,w){this._reactName=s,this._targetInst=d,this.type=o,this.nativeEvent=f,this.target=w,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(s=t[S],this[S]=s?s(f):f[S]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Co:am,this.isPropagationStopped=am,this}return y(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Co)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Co)},persist:function(){},isPersistent:Co}),a}var Xa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ro=Pt(Xa),Us=y({},Xa,{view:0,detail:0}),$T=Pt(Us),au,iu,Hs,ko=y({},Us,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ru,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Hs&&(Hs&&t.type==="mousemove"?(au=t.screenX-Hs.screenX,iu=t.screenY-Hs.screenY):iu=au=0,Hs=t),au)},movementY:function(t){return"movementY"in t?t.movementY:iu}}),im=Pt(ko),ZT=y({},ko,{dataTransfer:0}),JT=Pt(ZT),eS=y({},Us,{relatedTarget:0}),su=Pt(eS),tS=y({},Xa,{animationName:0,elapsedTime:0,pseudoElement:0}),nS=Pt(tS),aS=y({},Xa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),iS=Pt(aS),sS=y({},Xa,{data:0}),sm=Pt(sS),rS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oS={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"},lS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cS(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=lS[t])?!!a[t]:!1}function ru(){return cS}var uS=y({},Us,{key:function(t){if(t.key){var a=rS[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=jo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?oS[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ru,charCode:function(t){return t.type==="keypress"?jo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?jo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),dS=Pt(uS),hS=y({},ko,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rm=Pt(hS),fS=y({},Us,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ru}),pS=Pt(fS),mS=y({},Xa,{propertyName:0,elapsedTime:0,pseudoElement:0}),gS=Pt(mS),yS=y({},ko,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),vS=Pt(yS),bS=y({},Xa,{newState:0,oldState:0}),wS=Pt(bS),xS=[9,13,27,32],ou=qn&&"CompositionEvent"in window,Fs=null;qn&&"documentMode"in document&&(Fs=document.documentMode);var TS=qn&&"TextEvent"in window&&!Fs,om=qn&&(!ou||Fs&&8<Fs&&11>=Fs),lm=" ",cm=!1;function um(t,a){switch(t){case"keyup":return xS.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dm(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Pi=!1;function SS(t,a){switch(t){case"compositionend":return dm(a);case"keypress":return a.which!==32?null:(cm=!0,lm);case"textInput":return t=a.data,t===lm&&cm?null:t;default:return null}}function AS(t,a){if(Pi)return t==="compositionend"||!ou&&um(t,a)?(t=nm(),Eo=nu=fa=null,Pi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return om&&a.locale!=="ko"?null:a.data;default:return null}}var ES={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 hm(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!ES[t.type]:a==="textarea"}
vendor: 112,415 bytes, lines 8-9
8function fm(t,a,s,o){Di?_i?_i.push(o):_i=[o]:Di=o,a=ml(a,"onChange"),0<a.length&&(s=new Ro("onChange","change",null,s,o),t.push({event:s,listeners:a}))}var qs=null,Is=null;function jS(t){Wy(t,0)}function No(t){var a=Vs(t);if(Xp(a))return t}function pm(t,a){if(t==="change")return a}var mm=!1;if(qn){var lu;if(qn){var cu="oninput"in document;if(!cu){var gm=document.createElement("div");gm.setAttribute("oninput","return;"),cu=typeof gm.oninput=="function"}lu=cu}else lu=!1;mm=lu&&(!document.documentMode||9<document.documentMode)}function ym(){qs&&(qs.detachEvent("onpropertychange",vm),Is=qs=null)}function vm(t){if(t.propertyName==="value"&&No(Is)){var a=[];fm(a,Is,t,Jc(t)),tm(jS,a)}}function CS(t,a,s){t==="focusin"?(ym(),qs=a,Is=s,qs.attachEvent("onpropertychange",vm)):t==="focusout"&&ym()}function RS(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return No(Is)}function kS(t,a){if(t==="click")return No(a)}function NS(t,a){if(t==="input"||t==="change")return No(a)}function MS(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var Gt=typeof Object.is=="function"?Object.is:MS;function Gs(t,a){if(Gt(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var s=Object.keys(t),o=Object.keys(a);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var d=s[o];if(!De.call(a,d)||!Gt(t[d],a[d]))return!1}return!0}function bm(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function wm(t,a){var s=bm(t);t=0;for(var o;s;){if(s.nodeType===3){if(o=t+s.textContent.length,t<=a&&o>=a)return{node:s,offset:a-t};t=o}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=bm(s)}}function xm(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?xm(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function Tm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var a=So(t.document);a instanceof t.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)t=a.contentWindow;else break;a=So(t.document)}return a}function uu(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}var OS=qn&&"documentMode"in document&&11>=document.documentMode,Li=null,du=null,Ys=null,hu=!1;function Sm(t,a,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;hu||Li==null||Li!==So(o)||(o=Li,"selectionStart"in o&&uu(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Ys&&Gs(Ys,o)||(Ys=o,o=ml(du,"onSelect"),0<o.length&&(a=new Ro("onSelect","select",null,a,s),t.push({event:a,listeners:o}),a.target=Li)))}function Ka(t,a){var s={};return s[t.toLowerCase()]=a.toLowerCase(),s["Webkit"+t]="webkit"+a,s["Moz"+t]="moz"+a,s}var Vi={animationend:Ka("Animation","AnimationEnd"),animationiteration:Ka("Animation","AnimationIteration"),animationstart:Ka("Animation","AnimationStart"),transitionrun:Ka("Transition","TransitionRun"),transitionstart:Ka("Transition","TransitionStart"),transitioncancel:Ka("Transition","TransitionCancel"),transitionend:Ka("Transition","TransitionEnd")},fu={},Am={};qn&&(Am=document.createElement("div").style,"AnimationEvent"in window||(delete Vi.animationend.animation,delete Vi.animationiteration.animation,delete Vi.animationstart.animation),"TransitionEvent"in window||delete Vi.transitionend.transition);function Qa(t){if(fu[t])return fu[t];if(!Vi[t])return t;var a=Vi[t],s;for(s in a)if(a.hasOwnProperty(s)&&s in Am)return fu[t]=a[s];return t}var Em=Qa("animationend"),jm=Qa("animationiteration"),Cm=Qa("animationstart"),DS=Qa("transitionrun"),_S=Qa("transitionstart"),PS=Qa("transitioncancel"),Rm=Qa("transitionend"),km=new Map,pu="abort auxClick beforeToggle 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(" ");pu.push("scrollEnd");function vn(t,a){km.set(t,a),Wa(a,[t])}var Nm=new WeakMap;function rn(t,a){if(typeof t=="object"&&t!==null){var s=Nm.get(t);return s!==void 0?s:(a={value:t,source:a,stack:Yp(a)},Nm.set(t,a),a)}return{value:t,source:a,stack:Yp(a)}}var on=[],zi=0,mu=0;function Mo(){for(var t=zi,a=mu=zi=0;a<t;){var s=on[a];on[a++]=null;var o=on[a];on[a++]=null;var d=on[a];on[a++]=null;var f=on[a];if(on[a++]=null,o!==null&&d!==null){var w=o.pending;w===null?d.next=d:(d.next=w.next,w.next=d),o.pending=d}f!==0&&Mm(s,d,f)}}function Oo(t,a,s,o){on[zi++]=t,on[zi++]=a,on[zi++]=s,on[zi++]=o,mu|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function gu(t,a,s,o){return Oo(t,a,s,o),Do(t)}function Bi(t,a){return Oo(t,null,null,a),Do(t)}function Mm(t,a,s){t.lanes|=s;var o=t.alternate;o!==null&&(o.lanes|=s);for(var d=!1,f=t.return;f!==null;)f.childLanes|=s,o=f.alternate,o!==null&&(o.childLanes|=s),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(d=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,d&&a!==null&&(d=31-It(s),t=f.hiddenUpdates,o=t[d],o===null?t[d]=[a]:o.push(a),a.lane=s|536870912),f):null}function Do(t){if(50<yr)throw yr=0,Td=null,Error(r(185));for(var a=t.return;a!==null;)t=a,a=t.return;return t.tag===3?t.stateNode:null}var Ui={};function LS(t,a,s,o){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(t,a,s,o){return new LS(t,a,s,o)}function yu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function In(t,a){var s=t.alternate;return s===null?(s=Yt(t.tag,a,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=a,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&65011712,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,a=t.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s.refCleanup=t.refCleanup,s}function Om(t,a){t.flags&=65011714;var s=t.alternate;return s===null?(t.childLanes=0,t.lanes=a,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=s.childLanes,t.lanes=s.lanes,t.child=s.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=s.memoizedProps,t.memoizedState=s.memoizedState,t.updateQueue=s.updateQueue,t.type=s.type,a=s.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),t}function _o(t,a,s,o,d,f){var w=0;if(o=t,typeof t=="function")yu(t)&&(w=1);else if(typeof t=="string")w=z4(t,s,oe.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case I:return t=Yt(31,s,a,d),t.elementType=I,t.lanes=f,t;case T:return $a(s.children,d,f,a);case E:w=8,d|=24;break;case C:return t=Yt(12,s,a,d|2),t.elementType=C,t.lanes=f,t;case z:return t=Yt(13,s,a,d),t.elementType=z,t.lanes=f,t;case P:return t=Yt(19,s,a,d),t.elementType=P,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case R:case N:w=10;break e;case M:w=9;break e;case O:w=11;break e;case H:w=14;break e;case L:w=16,o=null;break e}w=29,s=Error(r(130,t===null?"null":typeof t,"")),o=null}return a=Yt(w,s,a,d),a.elementType=t,a.type=o,a.lanes=f,a}function $a(t,a,s,o){return t=Yt(7,t,o,a),t.lanes=s,t}function vu(t,a,s){return t=Yt(6,t,null,a),t.lanes=s,t}function bu(t,a,s){return a=Yt(4,t.children!==null?t.children:[],t.key,a),a.lanes=s,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}var Hi=[],Fi=0,Po=null,Lo=0,ln=[],cn=0,Za=null,Gn=1,Yn="";function Ja(t,a){Hi[Fi++]=Lo,Hi[Fi++]=Po,Po=t,Lo=a}function Dm(t,a,s){ln[cn++]=Gn,ln[cn++]=Yn,ln[cn++]=Za,Za=t;var o=Gn;t=Yn;var d=32-It(o)-1;o&=~(1<<d),s+=1;var f=32-It(a)+d;if(30<f){var w=d-d%5;f=(o&(1<<w)-1).toString(32),o>>=w,d-=w,Gn=1<<32-It(a)+d|s<<d|o,Yn=f+t}else Gn=1<<f|s<<d|o,Yn=t}function wu(t){t.return!==null&&(Ja(t,1),Dm(t,1,0))}function xu(t){for(;t===Po;)Po=Hi[--Fi],Hi[Fi]=null,Lo=Hi[--Fi],Hi[Fi]=null;for(;t===Za;)Za=ln[--cn],ln[cn]=null,Yn=ln[--cn],ln[cn]=null,Gn=ln[--cn],ln[cn]=null}var Ct=null,Xe=null,Oe=!1,ei=null,Nn=!1,Tu=Error(r(519));function ti(t){var a=Error(r(418,""));throw Ks(rn(a,t)),Tu}function _m(t){var a=t.stateNode,s=t.type,o=t.memoizedProps;switch(a[St]=t,a[_t]=o,s){case"dialog":Re("cancel",a),Re("close",a);break;case"iframe":case"object":case"embed":Re("load",a);break;case"video":case"audio":for(s=0;s<br.length;s++)Re(br[s],a);break;case"source":Re("error",a);break;case"img":case"image":case"link":Re("error",a),Re("load",a);break;case"details":Re("toggle",a);break;case"input":Re("invalid",a),Kp(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),To(a);break;case"select":Re("invalid",a);break;case"textarea":Re("invalid",a),$p(a,o.value,o.defaultValue,o.children),To(a)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||o.suppressHydrationWarning===!0||$y(a.textContent,s)?(o.popover!=null&&(Re("beforetoggle",a),Re("toggle",a)),o.onScroll!=null&&Re("scroll",a),o.onScrollEnd!=null&&Re("scrollend",a),o.onClick!=null&&(a.onclick=gl),a=!0):a=!1,a||ti(t)}function Pm(t){for(Ct=t.return;Ct;)switch(Ct.tag){case 5:case 13:Nn=!1;return;case 27:case 3:Nn=!0;return;default:Ct=Ct.return}}function Ws(t){if(t!==Ct)return!1;if(!Oe)return Pm(t),Oe=!0,!1;var a=t.tag,s;if((s=a!==3&&a!==27)&&((s=a===5)&&(s=t.type,s=!(s!=="form"&&s!=="button")||zd(t.type,t.memoizedProps)),s=!s),s&&Xe&&ti(t),Pm(t),a===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,a=0;t;){if(t.nodeType===8)if(s=t.data,s==="/$"){if(a===0){Xe=wn(t.nextSibling);break e}a--}else s!=="$"&&s!=="$!"&&s!=="$?"||a++;t=t.nextSibling}Xe=null}}else a===27?(a=Xe,ka(t.type)?(t=Fd,Fd=null,Xe=t):Xe=a):Xe=Ct?wn(t.stateNode.nextSibling):null;return!0}function Xs(){Xe=Ct=null,Oe=!1}function Lm(){var t=ei;return t!==null&&(zt===null?zt=t:zt.push.apply(zt,t),ei=null),t}function Ks(t){ei===null?ei=[t]:ei.push(t)}var Su=W(null),ni=null,Wn=null;function pa(t,a,s){ee(Su,a._currentValue),a._currentValue=s}function Xn(t){t._currentValue=Su.current,ae(Su)}function Au(t,a,s){for(;t!==null;){var o=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),t===s)break;t=t.return}}function Eu(t,a,s,o){var d=t.child;for(d!==null&&(d.return=t);d!==null;){var f=d.dependencies;if(f!==null){var w=d.child;f=f.firstContext;e:for(;f!==null;){var S=f;f=d;for(var k=0;k<a.length;k++)if(S.context===a[k]){f.lanes|=s,S=f.alternate,S!==null&&(S.lanes|=s),Au(f.return,s,t),o||(w=null);break e}f=S.next}}else if(d.tag===18){if(w=d.return,w===null)throw Error(r(341));w.lanes|=s,f=w.alternate,f!==null&&(f.lanes|=s),Au(w,s,t),w=null}else w=d.child;if(w!==null)w.return=d;else for(w=d;w!==null;){if(w===t){w=null;break}if(d=w.sibling,d!==null){d.return=w.return,w=d;break}w=w.return}d=w}}function Qs(t,a,s,o){t=null;for(var d=a,f=!1;d!==null;){if(!f){if((d.flags&524288)!==0)f=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var w=d.alternate;if(w===null)throw Error(r(387));if(w=w.memoizedProps,w!==null){var S=d.type;Gt(d.pendingProps.value,w.value)||(t!==null?t.push(S):t=[S])}}else if(d===fe.current){if(w=d.alternate,w===null)throw Error(r(387));w.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(t!==null?t.push(Er):t=[Er])}d=d.return}t!==null&&Eu(a,t,s,o),a.flags|=262144}function Vo(t){for(t=t.firstContext;t!==null;){if(!Gt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ai(t){ni=t,Wn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function At(t){return Vm(ni,t)}function zo(t,a){return ni===null&&ai(t),Vm(t,a)}function Vm(t,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},Wn===null){if(t===null)throw Error(r(308));Wn=a,t.dependencies={lanes:0,firstContext:a},t.flags|=524288}else Wn=Wn.next=a;return s}var VS=typeof AbortController<"u"?AbortController:function(){var t=[],a=this.signal={aborted:!1,addEventListener:function(s,o){t.push(o)}};this.abort=function(){a.aborted=!0,t.forEach(function(s){return s()})}},zS=e.unstable_scheduleCallback,BS=e.unstable_NormalPriority,it={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ju(){return{controller:new VS,data:new Map,refCount:0}}function $s(t){t.refCount--,t.refCount===0&&zS(BS,function(){t.controller.abort()})}var Zs=null,Cu=0,qi=0,Ii=null;function US(t,a){if(Zs===null){var s=Zs=[];Cu=0,qi=kd(),Ii={status:"pending",value:void 0,then:function(o){s.push(o)}}}return Cu++,a.then(zm,zm),a}function zm(){if(--Cu===0&&Zs!==null){Ii!==null&&(Ii.status="fulfilled");var t=Zs;Zs=null,qi=0,Ii=null;for(var a=0;a<t.length;a++)(0,t[a])()}}function HS(t,a){var s=[],o={status:"pending",value:null,reason:null,then:function(d){s.push(d)}};return t.then(function(){o.status="fulfilled",o.value=a;for(var d=0;d<s.length;d++)(0,s[d])(a)},function(d){for(o.status="rejected",o.reason=d,d=0;d<s.length;d++)(0,s[d])(void 0)}),o}var Bm=D.S;D.S=function(t,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&US(t,a),Bm!==null&&Bm(t,a)};var ii=W(null);function Ru(){var t=ii.current;return t!==null?t:qe.pooledCache}function Bo(t,a){a===null?ee(ii,ii.current):ee(ii,a.pool)}function Um(){var t=Ru();return t===null?null:{parent:it._currentValue,pool:t}}var Js=Error(r(460)),Hm=Error(r(474)),Uo=Error(r(542)),ku={then:function(){}};function Fm(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ho(){}function qm(t,a,s){switch(s=t[s],s===void 0?t.push(a):s!==a&&(a.then(Ho,Ho),a=s),a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,Gm(t),t;default:if(typeof a.status=="string")a.then(Ho,Ho);else{if(t=qe,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=a,t.status="pending",t.then(function(o){if(a.status==="pending"){var d=a;d.status="fulfilled",d.value=o}},function(o){if(a.status==="pending"){var d=a;d.status="rejected",d.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,Gm(t),t}throw er=a,Js}}var er=null;function Im(){if(er===null)throw Error(r(459));var t=er;return er=null,t}function Gm(t){if(t===Js||t===Uo)throw Error(r(483))}var ma=!1;function Nu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mu(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ga(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ya(t,a,s){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,(_e&2)!==0){var d=o.pending;return d===null?a.next=a:(a.next=d.next,d.next=a),o.pending=a,a=Do(t),Mm(t,null,s),a}return Oo(t,o,a,s),Do(t)}function tr(t,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var o=a.lanes;o&=t.pendingLanes,s|=o,a.lanes=s,zp(t,s)}}function Ou(t,a){var s=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var d=null,f=null;if(s=s.firstBaseUpdate,s!==null){do{var w={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};f===null?d=f=w:f=f.next=w,s=s.next}while(s!==null);f===null?d=f=a:f=f.next=a}else d=f=a;s={baseState:o.baseState,firstBaseUpdate:d,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=a:t.next=a,s.lastBaseUpdate=a}var Du=!1;function nr(){if(Du){var t=Ii;if(t!==null)throw t}}function ar(t,a,s,o){Du=!1;var d=t.updateQueue;ma=!1;var f=d.firstBaseUpdate,w=d.lastBaseUpdate,S=d.shared.pending;if(S!==null){d.shared.pending=null;var k=S,U=k.next;k.next=null,w===null?f=U:w.next=U,w=k;var X=t.alternate;X!==null&&(X=X.updateQueue,S=X.lastBaseUpdate,S!==w&&(S===null?X.firstBaseUpdate=U:S.next=U,X.lastBaseUpdate=k))}if(f!==null){var $=d.baseState;w=0,X=U=k=null,S=f;do{var F=S.lane&-536870913,q=F!==S.lane;if(q?(ke&F)===F:(o&F)===F){F!==0&&F===qi&&(Du=!0),X!==null&&(X=X.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var Te=t,be=S;F=a;var Be=s;switch(be.tag){case 1:if(Te=be.payload,typeof Te=="function"){$=Te.call(Be,$,F);break e}$=Te;break e;case 3:Te.flags=Te.flags&-65537|128;case 0:if(Te=be.payload,F=typeof Te=="function"?Te.call(Be,$,F):Te,F==null)break e;$=y({},$,F);break e;case 2:ma=!0}}F=S.callback,F!==null&&(t.flags|=64,q&&(t.flags|=8192),q=d.callbacks,q===null?d.callbacks=[F]:q.push(F))}else q={lane:F,tag:S.tag,payload:S.payload,callback:S.callback,next:null},X===null?(U=X=q,k=$):X=X.next=q,w|=F;if(S=S.next,S===null){if(S=d.shared.pending,S===null)break;q=S,S=q.next,q.next=null,d.lastBaseUpdate=q,d.shared.pending=null}}while(!0);X===null&&(k=$),d.baseState=k,d.firstBaseUpdate=U,d.lastBaseUpdate=X,f===null&&(d.shared.lanes=0),Ea|=w,t.lanes=w,t.memoizedState=$}}function Ym(t,a){if(typeof t!="function")throw Error(r(191,t));t.call(a)}function Wm(t,a){var s=t.callbacks;if(s!==null)for(t.callbacks=null,t=0;t<s.length;t++)Ym(s[t],a)}var Gi=W(null),Fo=W(0);function Xm(t,a){t=ta,ee(Fo,t),ee(Gi,a),ta=t|a.baseLanes}function _u(){ee(Fo,ta),ee(Gi,Gi.current)}function Pu(){ta=Fo.current,ae(Gi),ae(Fo)}var va=0,Ae=null,Ve=null,Je=null,qo=!1,Yi=!1,si=!1,Io=0,ir=0,Wi=null,FS=0;function $e(){throw Error(r(321))}function Lu(t,a){if(a===null)return!1;for(var s=0;s<a.length&&s<t.length;s++)if(!Gt(t[s],a[s]))return!1;return!0}function Vu(t,a,s,o,d,f){return va=f,Ae=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,D.H=t===null||t.memoizedState===null?Mg:Og,si=!1,f=s(o,d),si=!1,Yi&&(f=Qm(a,s,o,d)),Km(t),f}function Km(t){D.H=Qo;var a=Ve!==null&&Ve.next!==null;if(va=0,Je=Ve=Ae=null,qo=!1,ir=0,Wi=null,a)throw Error(r(300));t===null||dt||(t=t.dependencies,t!==null&&Vo(t)&&(dt=!0))}function Qm(t,a,s,o){Ae=t;var d=0;do{if(Yi&&(Wi=null),ir=0,Yi=!1,25<=d)throw Error(r(301));if(d+=1,Je=Ve=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}D.H=KS,f=a(s,o)}while(Yi);return f}function qS(){var t=D.H,a=t.useState()[0];return a=typeof a.then=="function"?sr(a):a,t=t.useState()[0],(Ve!==null?Ve.memoizedState:null)!==t&&(Ae.flags|=1024),a}function zu(){var t=Io!==0;return Io=0,t}function Bu(t,a,s){a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~s}function Uu(t){if(qo){for(t=t.memoizedState;t!==null;){var a=t.queue;a!==null&&(a.pending=null),t=t.next}qo=!1}va=0,Je=Ve=Ae=null,Yi=!1,ir=Io=0,Wi=null}function Lt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?Ae.memoizedState=Je=t:Je=Je.next=t,Je}function et(){if(Ve===null){var t=Ae.alternate;t=t!==null?t.memoizedState:null}else t=Ve.next;var a=Je===null?Ae.memoizedState:Je.next;if(a!==null)Je=a,Ve=t;else{if(t===null)throw Ae.alternate===null?Error(r(467)):Error(r(310));Ve=t,t={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},Je===null?Ae.memoizedState=Je=t:Je=Je.next=t}return Je}function Hu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sr(t){var a=ir;return ir+=1,Wi===null&&(Wi=[]),t=qm(Wi,t,a),a=Ae,(Je===null?a.memoizedState:Je.next)===null&&(a=a.alternate,D.H=a===null||a.memoizedState===null?Mg:Og),t}function Go(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return sr(t);if(t.$$typeof===N)return At(t)}throw Error(r(438,String(t)))}function Fu(t){var a=null,s=Ae.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var o=Ae.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(d){return d.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=Hu(),Ae.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0)for(s=a.data[a.index]=Array(t),o=0;o<t;o++)s[o]=Z;return a.index++,s}function Kn(t,a){return typeof a=="function"?a(t):a}function Yo(t){var a=et();return qu(a,Ve,t)}function qu(t,a,s){var o=t.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=s;var d=t.baseQueue,f=o.pending;if(f!==null){if(d!==null){var w=d.next;d.next=f.next,f.next=w}a.baseQueue=d=f,o.pending=null}if(f=t.baseState,d===null)t.memoizedState=f;else{a=d.next;var S=w=null,k=null,U=a,X=!1;do{var $=U.lane&-536870913;if($!==U.lane?(ke&$)===$:(va&$)===$){var F=U.revertLane;if(F===0)k!==null&&(k=k.next={lane:0,revertLane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),$===qi&&(X=!0);else if((va&F)===F){U=U.next,F===qi&&(X=!0);continue}else $={lane:0,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},k===null?(S=k=$,w=f):k=k.next=$,Ae.lanes|=F,Ea|=F;$=U.action,si&&s(f,$),f=U.hasEagerState?U.eagerState:s(f,$)}else F={lane:$,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},k===null?(S=k=F,w=f):k=k.next=F,Ae.lanes|=$,Ea|=$;U=U.next}while(U!==null&&U!==a);if(k===null?w=f:k.next=S,!Gt(f,t.memoizedState)&&(dt=!0,X&&(s=Ii,s!==null)))throw s;t.memoizedState=f,t.baseState=w,t.baseQueue=k,o.lastRenderedState=f}return d===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function Iu(t){var a=et(),s=a.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var o=s.dispatch,d=s.pending,f=a.memoizedState;if(d!==null){s.pending=null;var w=d=d.next;do f=t(f,w.action),w=w.next;while(w!==d);Gt(f,a.memoizedState)||(dt=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),s.lastRenderedState=f}return[f,o]}function $m(t,a,s){var o=Ae,d=et(),f=Oe;if(f){if(s===void 0)throw Error(r(407));s=s()}else s=a();var w=!Gt((Ve||d).memoizedState,s);w&&(d.memoizedState=s,dt=!0),d=d.queue;var S=eg.bind(null,o,d,t);if(rr(2048,8,S,[t]),d.getSnapshot!==a||w||Je!==null&&Je.memoizedState.tag&1){if(o.flags|=2048,Xi(9,Wo(),Jm.bind(null,o,d,s,a),null),qe===null)throw Error(r(349));f||(va&124)!==0||Zm(o,a,s)}return s}function Zm(t,a,s){t.flags|=16384,t={getSnapshot:a,value:s},a=Ae.updateQueue,a===null?(a=Hu(),Ae.updateQueue=a,a.stores=[t]):(s=a.stores,s===null?a.stores=[t]:s.push(t))}function Jm(t,a,s,o){a.value=s,a.getSnapshot=o,tg(a)&&ng(t)}function eg(t,a,s){return s(function(){tg(a)&&ng(t)})}function tg(t){var a=t.getSnapshot;t=t.value;try{var s=a();return!Gt(t,s)}catch{return!0}}function ng(t){var a=Bi(t,2);a!==null&&$t(a,t,2)}function Gu(t){var a=Lt();if(typeof t=="function"){var s=t;if(t=s(),si){da(!0);try{s()}finally{da(!1)}}}return a.memoizedState=a.baseState=t,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kn,lastRenderedState:t},a}function ag(t,a,s,o){return t.baseState=s,qu(t,Ve,typeof o=="function"?o:Kn)}function IS(t,a,s,o,d){if(Ko(t))throw Error(r(485));if(t=a.action,t!==null){var f={payload:d,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){f.listeners.push(w)}};D.T!==null?s(!0):f.isTransition=!1,o(f),s=a.pending,s===null?(f.next=a.pending=f,ig(a,f)):(f.next=s.next,a.pending=s.next=f)}}function ig(t,a){var s=a.action,o=a.payload,d=t.state;if(a.isTransition){var f=D.T,w={};D.T=w;try{var S=s(d,o),k=D.S;k!==null&&k(w,S),sg(t,a,S)}catch(U){Yu(t,a,U)}finally{D.T=f}}else try{f=s(d,o),sg(t,a,f)}catch(U){Yu(t,a,U)}}function sg(t,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){rg(t,a,o)},function(o){return Yu(t,a,o)}):rg(t,a,s)}function rg(t,a,s){a.status="fulfilled",a.value=s,og(a),t.state=s,a=t.pending,a!==null&&(s=a.next,s===a?t.pending=null:(s=s.next,a.next=s,ig(t,s)))}function Yu(t,a,s){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=s,og(a),a=a.next;while(a!==o)}t.action=null}function og(t){t=t.listeners;for(var a=0;a<t.length;a++)(0,t[a])()}function lg(t,a){return a}function cg(t,a){if(Oe){var s=qe.formState;if(s!==null){e:{var o=Ae;if(Oe){if(Xe){t:{for(var d=Xe,f=Nn;d.nodeType!==8;){if(!f){d=null;break t}if(d=wn(d.nextSibling),d===null){d=null;break t}}f=d.data,d=f==="F!"||f==="F"?d:null}if(d){Xe=wn(d.nextSibling),o=d.data==="F!";break e}}ti(o)}o=!1}o&&(a=s[0])}}return s=Lt(),s.memoizedState=s.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lg,lastRenderedState:a},s.queue=o,s=Rg.bind(null,Ae,o),o.dispatch=s,o=Gu(!1),f=$u.bind(null,Ae,!1,o.queue),o=Lt(),d={state:a,dispatch:null,action:t,pending:null},o.queue=d,s=IS.bind(null,Ae,d,f,s),d.dispatch=s,o.memoizedState=t,[a,s,!1]}function ug(t){var a=et();return dg(a,Ve,t)}function dg(t,a,s){if(a=qu(t,a,lg)[0],t=Yo(Kn)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var o=sr(a)}catch(w){throw w===Js?Uo:w}else o=a;a=et();var d=a.queue,f=d.dispatch;return s!==a.memoizedState&&(Ae.flags|=2048,Xi(9,Wo(),GS.bind(null,d,s),null)),[o,f,t]}function GS(t,a){t.action=a}function hg(t){var a=et(),s=Ve;if(s!==null)return dg(a,s,t);et(),a=a.memoizedState,s=et();var o=s.queue.dispatch;return s.memoizedState=t,[a,o,!1]}function Xi(t,a,s,o){return t={tag:t,create:s,deps:o,inst:a,next:null},a=Ae.updateQueue,a===null&&(a=Hu(),Ae.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=t.next=t:(o=s.next,s.next=t,t.next=o,a.lastEffect=t),t}function Wo(){return{destroy:void 0,resource:void 0}}function fg(){return et().memoizedState}function Xo(t,a,s,o){var d=Lt();o=o===void 0?null:o,Ae.flags|=t,d.memoizedState=Xi(1|a,Wo(),s,o)}function rr(t,a,s,o){var d=et();o=o===void 0?null:o;var f=d.memoizedState.inst;Ve!==null&&o!==null&&Lu(o,Ve.memoizedState.deps)?d.memoizedState=Xi(a,f,s,o):(Ae.flags|=t,d.memoizedState=Xi(1|a,f,s,o))}function pg(t,a){Xo(8390656,8,t,a)}function mg(t,a){rr(2048,8,t,a)}function gg(t,a){return rr(4,2,t,a)}function yg(t,a){return rr(4,4,t,a)}function vg(t,a){if(typeof a=="function"){t=t();var s=a(t);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function bg(t,a,s){s=s!=null?s.concat([t]):null,rr(4,4,vg.bind(null,a,t),s)}function Wu(){}function wg(t,a){var s=et();a=a===void 0?null:a;var o=s.memoizedState;return a!==null&&Lu(a,o[1])?o[0]:(s.memoizedState=[t,a],t)}function xg(t,a){var s=et();a=a===void 0?null:a;var o=s.memoizedState;if(a!==null&&Lu(a,o[1]))return o[0];if(o=t(),si){da(!0);try{t()}finally{da(!1)}}return s.memoizedState=[o,a],o}function Xu(t,a,s){return s===void 0||(va&1073741824)!==0?t.memoizedState=a:(t.memoizedState=s,t=Ay(),Ae.lanes|=t,Ea|=t,s)}function Tg(t,a,s,o){return Gt(s,a)?s:Gi.current!==null?(t=Xu(t,s,o),Gt(t,a)||(dt=!0),t):(va&42)===0?(dt=!0,t.memoizedState=s):(t=Ay(),Ae.lanes|=t,Ea|=t,a)}function Sg(t,a,s,o,d){var f=Y.p;Y.p=f!==0&&8>f?f:8;var w=D.T,S={};D.T=S,$u(t,!1,a,s);try{var k=d(),U=D.S;if(U!==null&&U(S,k),k!==null&&typeof k=="object"&&typeof k.then=="function"){var X=HS(k,o);or(t,a,X,Qt(t))}else or(t,a,o,Qt(t))}catch($){or(t,a,{then:function(){},status:"rejected",reason:$},Qt())}finally{Y.p=f,D.T=w}}function YS(){}function Ku(t,a,s,o){if(t.tag!==5)throw Error(r(476));var d=Ag(t).queue;Sg(t,d,a,G,s===null?YS:function(){return Eg(t),s(o)})}function Ag(t){var a=t.memoizedState;if(a!==null)return a;a={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kn,lastRenderedState:G},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kn,lastRenderedState:s},next:null},t.memoizedState=a,t=t.alternate,t!==null&&(t.memoizedState=a),a}function Eg(t){var a=Ag(t).next.queue;or(t,a,{},Qt())}function Qu(){return At(Er)}function jg(){return et().memoizedState}function Cg(){return et().memoizedState}function WS(t){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var s=Qt();t=ga(s);var o=ya(a,t,s);o!==null&&($t(o,a,s),tr(o,a,s)),a={cache:ju()},t.payload=a;return}a=a.return}}function XS(t,a,s){var o=Qt();s={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},Ko(t)?kg(a,s):(s=gu(t,a,s,o),s!==null&&($t(s,t,o),Ng(s,a,o)))}function Rg(t,a,s){var o=Qt();or(t,a,s,o)}function or(t,a,s,o){var d={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(Ko(t))kg(a,d);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var w=a.lastRenderedState,S=f(w,s);if(d.hasEagerState=!0,d.eagerState=S,Gt(S,w))return Oo(t,a,d,0),qe===null&&Mo(),!1}catch{}if(s=gu(t,a,d,o),s!==null)return $t(s,t,o),Ng(s,a,o),!0}return!1}function $u(t,a,s,o){if(o={lane:2,revertLane:kd(),action:o,hasEagerState:!1,eagerState:null,next:null},Ko(t)){if(a)throw Error(r(479))}else a=gu(t,s,o,2),a!==null&&$t(a,t,2)}function Ko(t){var a=t.alternate;return t===Ae||a!==null&&a===Ae}function kg(t,a){Yi=qo=!0;var s=t.pending;s===null?a.next=a:(a.next=s.next,s.next=a),t.pending=a}function Ng(t,a,s){if((s&4194048)!==0){var o=a.lanes;o&=t.pendingLanes,s|=o,a.lanes=s,zp(t,s)}}var Qo={readContext:At,use:Go,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useLayoutEffect:$e,useInsertionEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useSyncExternalStore:$e,useId:$e,useHostTransitionStatus:$e,useFormState:$e,useActionState:$e,useOptimistic:$e,useMemoCache:$e,useCacheRefresh:$e},Mg={readContext:At,use:Go,useCallback:function(t,a){return Lt().memoizedState=[t,a===void 0?null:a],t},useContext:At,useEffect:pg,useImperativeHandle:function(t,a,s){s=s!=null?s.concat([t]):null,Xo(4194308,4,vg.bind(null,a,t),s)},useLayoutEffect:function(t,a){return Xo(4194308,4,t,a)},useInsertionEffect:function(t,a){Xo(4,2,t,a)},useMemo:function(t,a){var s=Lt();a=a===void 0?null:a;var o=t();if(si){da(!0);try{t()}finally{da(!1)}}return s.memoizedState=[o,a],o},useReducer:function(t,a,s){var o=Lt();if(s!==void 0){var d=s(a);if(si){da(!0);try{s(a)}finally{da(!1)}}}else d=a;return o.memoizedState=o.baseState=d,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:d},o.queue=t,t=t.dispatch=XS.bind(null,Ae,t),[o.memoizedState,t]},useRef:function(t){var a=Lt();return t={current:t},a.memoizedState=t},useState:function(t){t=Gu(t);var a=t.queue,s=Rg.bind(null,Ae,a);return a.dispatch=s,[t.memoizedState,s]},useDebugValue:Wu,useDeferredValue:function(t,a){var s=Lt();return Xu(s,t,a)},useTransition:function(){var t=Gu(!1);return t=Sg.bind(null,Ae,t.queue,!0,!1),Lt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,a,s){var o=Ae,d=Lt();if(Oe){if(s===void 0)throw Error(r(407));s=s()}else{if(s=a(),qe===null)throw Error(r(349));(ke&124)!==0||Zm(o,a,s)}d.memoizedState=s;var f={value:s,getSnapshot:a};return d.queue=f,pg(eg.bind(null,o,f,t),[t]),o.flags|=2048,Xi(9,Wo(),Jm.bind(null,o,f,s,a),null),s},useId:function(){var t=Lt(),a=qe.identifierPrefix;if(Oe){var s=Yn,o=Gn;s=(o&~(1<<32-It(o)-1)).toString(32)+s,a="«"+a+"R"+s,s=Io++,0<s&&(a+="H"+s.toString(32)),a+="»"}else s=FS++,a="«"+a+"r"+s.toString(32)+"»";return t.memoizedState=a},useHostTransitionStatus:Qu,useFormState:cg,useActionState:cg,useOptimistic:function(t){var a=Lt();a.memoizedState=a.baseState=t;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=$u.bind(null,Ae,!0,s),s.dispatch=a,[t,a]},useMemoCache:Fu,useCacheRefresh:function(){return Lt().memoizedState=WS.bind(null,Ae)}},Og={readContext:At,use:Go,useCallback:wg,useContext:At,useEffect:mg,useImperativeHandle:bg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:xg,useReducer:Yo,useRef:fg,useState:function(){return Yo(Kn)},useDebugValue:Wu,useDeferredValue:function(t,a){var s=et();return Tg(s,Ve.memoizedState,t,a)},useTransition:function(){var t=Yo(Kn)[0],a=et().memoizedState;return[typeof t=="boolean"?t:sr(t),a]},useSyncExternalStore:$m,useId:jg,useHostTransitionStatus:Qu,useFormState:ug,useActionState:ug,useOptimistic:function(t,a){var s=et();return ag(s,Ve,t,a)},useMemoCache:Fu,useCacheRefresh:Cg},KS={readContext:At,use:Go,useCallback:wg,useContext:At,useEffect:mg,useImperativeHandle:bg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:xg,useReducer:Iu,useRef:fg,useState:function(){return Iu(Kn)},useDebugValue:Wu,useDeferredValue:function(t,a){var s=et();return Ve===null?Xu(s,t,a):Tg(s,Ve.memoizedState,t,a)},useTransition:function(){var t=Iu(Kn)[0],a=et().memoizedState;return[typeof t=="boolean"?t:sr(t),a]},useSyncExternalStore:$m,useId:jg,useHostTransitionStatus:Qu,useFormState:hg,useActionState:hg,useOptimistic:function(t,a){var s=et();return Ve!==null?ag(s,Ve,t,a):(s.baseState=t,[t,s.queue.dispatch])},useMemoCache:Fu,useCacheRefresh:Cg},Ki=null,lr=0;function $o(t){var a=lr;return lr+=1,Ki===null&&(Ki=[]),qm(Ki,t,a)}function cr(t,a){a=a.props.ref,t.ref=a!==void 0?a:null}function Zo(t,a){throw a.$$typeof===v?Error(r(525)):(t=Object.prototype.toString.call(a),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t)))}function Dg(t){var a=t._init;return a(t._payload)}function _g(t){function a(V,_){if(t){var B=V.deletions;B===null?(V.deletions=[_],V.flags|=16):B.push(_)}}function s(V,_){if(!t)return null;for(;_!==null;)a(V,_),_=_.sibling;return null}function o(V){for(var _=new Map;V!==null;)V.key!==null?_.set(V.key,V):_.set(V.index,V),V=V.sibling;return _}function d(V,_){return V=In(V,_),V.index=0,V.sibling=null,V}function f(V,_,B){return V.index=B,t?(B=V.alternate,B!==null?(B=B.index,B<_?(V.flags|=67108866,_):B):(V.flags|=67108866,_)):(V.flags|=1048576,_)}function w(V){return t&&V.alternate===null&&(V.flags|=67108866),V}function S(V,_,B,K){return _===null||_.tag!==6?(_=vu(B,V.mode,K),_.return=V,_):(_=d(_,B),_.return=V,_)}function k(V,_,B,K){var pe=B.type;return pe===T?X(V,_,B.props.children,K,B.key):_!==null&&(_.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===L&&Dg(pe)===_.type)?(_=d(_,B.props),cr(_,B),_.return=V,_):(_=_o(B.type,B.key,B.props,null,V.mode,K),cr(_,B),_.return=V,_)}function U(V,_,B,K){return _===null||_.tag!==4||_.stateNode.containerInfo!==B.containerInfo||_.stateNode.implementation!==B.implementation?(_=bu(B,V.mode,K),_.return=V,_):(_=d(_,B.children||[]),_.return=V,_)}function X(V,_,B,K,pe){return _===null||_.tag!==7?(_=$a(B,V.mode,K,pe),_.return=V,_):(_=d(_,B),_.return=V,_)}function $(V,_,B){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=vu(""+_,V.mode,B),_.return=V,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case b:return B=_o(_.type,_.key,_.props,null,V.mode,B),cr(B,_),B.return=V,B;case A:return _=bu(_,V.mode,B),_.return=V,_;case L:var K=_._init;return _=K(_._payload),$(V,_,B)}if(ge(_)||te(_))return _=$a(_,V.mode,B,null),_.return=V,_;if(typeof _.then=="function")return $(V,$o(_),B);if(_.$$typeof===N)return $(V,zo(V,_),B);Zo(V,_)}return null}function F(V,_,B,K){var pe=_!==null?_.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return pe!==null?null:S(V,_,""+B,K);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case b:return B.key===pe?k(V,_,B,K):null;case A:return B.key===pe?U(V,_,B,K):null;case L:return pe=B._init,B=pe(B._payload),F(V,_,B,K)}if(ge(B)||te(B))return pe!==null?null:X(V,_,B,K,null);if(typeof B.then=="function")return F(V,_,$o(B),K);if(B.$$typeof===N)return F(V,_,zo(V,B),K);Zo(V,B)}return null}function q(V,_,B,K,pe){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return V=V.get(B)||null,S(_,V,""+K,pe);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case b:return V=V.get(K.key===null?B:K.key)||null,k(_,V,K,pe);case A:return V=V.get(K.key===null?B:K.key)||null,U(_,V,K,pe);case L:var je=K._init;return K=je(K._payload),q(V,_,B,K,pe)}if(ge(K)||te(K))return V=V.get(B)||null,X(_,V,K,pe,null);if(typeof K.then=="function")return q(V,_,B,$o(K),pe);if(K.$$typeof===N)return q(V,_,B,zo(_,K),pe);Zo(_,K)}return null}function Te(V,_,B,K){for(var pe=null,je=null,ve=_,we=_=0,ft=null;ve!==null&&we<B.length;we++){ve.index>we?(ft=ve,ve=null):ft=ve.sibling;var Me=F(V,ve,B[we],K);if(Me===null){ve===null&&(ve=ft);break}t&&ve&&Me.alternate===null&&a(V,ve),_=f(Me,_,we),je===null?pe=Me:je.sibling=Me,je=Me,ve=ft}if(we===B.length)return s(V,ve),Oe&&Ja(V,we),pe;if(ve===null){for(;we<B.length;we++)ve=$(V,B[we],K),ve!==null&&(_=f(ve,_,we),je===null?pe=ve:je.sibling=ve,je=ve);return Oe&&Ja(V,we),pe}for(ve=o(ve);we<B.length;we++)ft=q(ve,V,we,B[we],K),ft!==null&&(t&&ft.alternate!==null&&ve.delete(ft.key===null?we:ft.key),_=f(ft,_,we),je===null?pe=ft:je.sibling=ft,je=ft);return t&&ve.forEach(function(_a){return a(V,_a)}),Oe&&Ja(V,we),pe}function be(V,_,B,K){if(B==null)throw Error(r(151));for(var pe=null,je=null,ve=_,we=_=0,ft=null,Me=B.next();ve!==null&&!Me.done;we++,Me=B.next()){ve.index>we?(ft=ve,ve=null):ft=ve.sibling;var _a=F(V,ve,Me.value,K);if(_a===null){ve===null&&(ve=ft);break}t&&ve&&_a.alternate===null&&a(V,ve),_=f(_a,_,we),je===null?pe=_a:je.sibling=_a,je=_a,ve=ft}if(Me.done)return s(V,ve),Oe&&Ja(V,we),pe;if(ve===null){for(;!Me.done;we++,Me=B.next())Me=$(V,Me.value,K),Me!==null&&(_=f(Me,_,we),je===null?pe=Me:je.sibling=Me,je=Me);return Oe&&Ja(V,we),pe}for(ve=o(ve);!Me.done;we++,Me=B.next())Me=q(ve,V,we,Me.value,K),Me!==null&&(t&&Me.alternate!==null&&ve.delete(Me.key===null?we:Me.key),_=f(Me,_,we),je===null?pe=Me:je.sibling=Me,je=Me);return t&&ve.forEach(function(Q4){return a(V,Q4)}),Oe&&Ja(V,we),pe}function Be(V,_,B,K){if(typeof B=="object"&&B!==null&&B.type===T&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case b:e:{for(var pe=B.key;_!==null;){if(_.key===pe){if(pe=B.type,pe===T){if(_.tag===7){s(V,_.sibling),K=d(_,B.props.children),K.return=V,V=K;break e}}else if(_.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===L&&Dg(pe)===_.type){s(V,_.sibling),K=d(_,B.props),cr(K,B),K.return=V,V=K;break e}s(V,_);break}else a(V,_);_=_.sibling}B.type===T?(K=$a(B.props.children,V.mode,K,B.key),K.return=V,V=K):(K=_o(B.type,B.key,B.props,null,V.mode,K),cr(K,B),K.return=V,V=K)}return w(V);case A:e:{for(pe=B.key;_!==null;){if(_.key===pe)if(_.tag===4&&_.stateNode.containerInfo===B.containerInfo&&_.stateNode.implementation===B.implementation){s(V,_.sibling),K=d(_,B.children||[]),K.return=V,V=K;break e}else{s(V,_);break}else a(V,_);_=_.sibling}K=bu(B,V.mode,K),K.return=V,V=K}return w(V);case L:return pe=B._init,B=pe(B._payload),Be(V,_,B,K)}if(ge(B))return Te(V,_,B,K);if(te(B)){if(pe=te(B),typeof pe!="function")throw Error(r(150));return B=pe.call(B),be(V,_,B,K)}if(typeof B.then=="function")return Be(V,_,$o(B),K);if(B.$$typeof===N)return Be(V,_,zo(V,B),K);Zo(V,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,_!==null&&_.tag===6?(s(V,_.sibling),K=d(_,B),K.return=V,V=K):(s(V,_),K=vu(B,V.mode,K),K.return=V,V=K),w(V)):s(V,_)}return function(V,_,B,K){try{lr=0;var pe=Be(V,_,B,K);return Ki=null,pe}catch(ve){if(ve===Js||ve===Uo)throw ve;var je=Yt(29,ve,null,V.mode);return je.lanes=K,je.return=V,je}}}var Qi=_g(!0),Pg=_g(!1),un=W(null),Mn=null;function ba(t){var a=t.alternate;ee(st,st.current&1),ee(un,t),Mn===null&&(a===null||Gi.current!==null||a.memoizedState!==null)&&(Mn=t)}function Lg(t){if(t.tag===22){if(ee(st,st.current),ee(un,t),Mn===null){var a=t.alternate;a!==null&&a.memoizedState!==null&&(Mn=t)}}else wa()}function wa(){ee(st,st.current),ee(un,un.current)}function Qn(t){ae(un),Mn===t&&(Mn=null),ae(st)}var st=W(0);function Jo(t){for(var a=t;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||Hd(s)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function Zu(t,a,s,o){a=t.memoizedState,s=s(o,a),s=s==null?a:y({},a,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var Ju={enqueueSetState:function(t,a,s){t=t._reactInternals;var o=Qt(),d=ga(o);d.payload=a,s!=null&&(d.callback=s),a=ya(t,d,o),a!==null&&($t(a,t,o),tr(a,t,o))},enqueueReplaceState:function(t,a,s){t=t._reactInternals;var o=Qt(),d=ga(o);d.tag=1,d.payload=a,s!=null&&(d.callback=s),a=ya(t,d,o),a!==null&&($t(a,t,o),tr(a,t,o))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var s=Qt(),o=ga(s);o.tag=2,a!=null&&(o.callback=a),a=ya(t,o,s),a!==null&&($t(a,t,s),tr(a,t,s))}};function Vg(t,a,s,o,d,f,w){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(o,f,w):a.prototype&&a.prototype.isPureReactComponent?!Gs(s,o)||!Gs(d,f):!0}function zg(t,a,s,o){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,o),a.state!==t&&Ju.enqueueReplaceState(a,a.state,null)}function ri(t,a){var s=a;if("ref"in a){s={};for(var o in a)o!=="ref"&&(s[o]=a[o])}if(t=t.defaultProps){s===a&&(s=y({},s));for(var d in t)s[d]===void 0&&(s[d]=t[d])}return s}var el=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Bg(t){el(t)}function Ug(t){console.error(t)}function Hg(t){el(t)}function tl(t,a){try{var s=t.onUncaughtError;s(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function Fg(t,a,s){try{var o=t.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function ed(t,a,s){return s=ga(s),s.tag=3,s.payload={element:null},s.callback=function(){tl(t,a)},s}function qg(t){return t=ga(t),t.tag=3,t}function Ig(t,a,s,o){var d=s.type.getDerivedStateFromError;if(typeof d=="function"){var f=o.value;t.payload=function(){return d(f)},t.callback=function(){Fg(a,s,o)}}var w=s.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(t.callback=function(){Fg(a,s,o),typeof d!="function"&&(ja===null?ja=new Set([this]):ja.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function QS(t,a,s,o,d){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=s.alternate,a!==null&&Qs(a,s,d,!0),s=un.current,s!==null){switch(s.tag){case 13:return Mn===null?Ad():s.alternate===null&&Ke===0&&(Ke=3),s.flags&=-257,s.flags|=65536,s.lanes=d,o===ku?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([o]):a.add(o),jd(t,o,d)),!1;case 22:return s.flags|=65536,o===ku?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([o]):s.add(o)),jd(t,o,d)),!1}throw Error(r(435,s.tag))}return jd(t,o,d),Ad(),!1}if(Oe)return a=un.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=d,o!==Tu&&(t=Error(r(422),{cause:o}),Ks(rn(t,s)))):(o!==Tu&&(a=Error(r(423),{cause:o}),Ks(rn(a,s))),t=t.current.alternate,t.flags|=65536,d&=-d,t.lanes|=d,o=rn(o,s),d=ed(t.stateNode,o,d),Ou(t,d),Ke!==4&&(Ke=2)),!1;var f=Error(r(520),{cause:o});if(f=rn(f,s),gr===null?gr=[f]:gr.push(f),Ke!==4&&(Ke=2),a===null)return!0;o=rn(o,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,t=d&-d,s.lanes|=t,t=ed(s.stateNode,o,t),Ou(s,t),!1;case 1:if(a=s.type,f=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ja===null||!ja.has(f))))return s.flags|=65536,d&=-d,s.lanes|=d,d=qg(d),Ig(d,t,s,o),Ou(s,d),!1}s=s.return}while(s!==null);return!1}var Gg=Error(r(461)),dt=!1;function vt(t,a,s,o){a.child=t===null?Pg(a,null,s,o):Qi(a,t.child,s,o)}function Yg(t,a,s,o,d){s=s.render;var f=a.ref;if("ref"in o){var w={};for(var S in o)S!=="ref"&&(w[S]=o[S])}else w=o;return ai(a),o=Vu(t,a,s,w,f,d),S=zu(),t!==null&&!dt?(Bu(t,a,d),$n(t,a,d)):(Oe&&S&&wu(a),a.flags|=1,vt(t,a,o,d),a.child)}function Wg(t,a,s,o,d){if(t===null){var f=s.type;return typeof f=="function"&&!yu(f)&&f.defaultProps===void 0&&s.compare===null?(a.tag=15,a.type=f,Xg(t,a,f,o,d)):(t=_o(s.type,null,o,a,a.mode,d),t.ref=a.ref,t.return=a,a.child=t)}if(f=t.child,!ld(t,d)){var w=f.memoizedProps;if(s=s.compare,s=s!==null?s:Gs,s(w,o)&&t.ref===a.ref)return $n(t,a,d)}return a.flags|=1,t=In(f,o),t.ref=a.ref,t.return=a,a.child=t}function Xg(t,a,s,o,d){if(t!==null){var f=t.memoizedProps;if(Gs(f,o)&&t.ref===a.ref)if(dt=!1,a.pendingProps=o=f,ld(t,d))(t.flags&131072)!==0&&(dt=!0);else return a.lanes=t.lanes,$n(t,a,d)}return td(t,a,s,o,d)}function Kg(t,a,s){var o=a.pendingProps,d=o.children,f=t!==null?t.memoizedState:null;if(o.mode==="hidden"){if((a.flags&128)!==0){if(o=f!==null?f.baseLanes|s:s,t!==null){for(d=a.child=t.child,f=0;d!==null;)f=f|d.lanes|d.childLanes,d=d.sibling;a.childLanes=f&~o}else a.childLanes=0,a.child=null;return Qg(t,a,o,s)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},t!==null&&Bo(a,f!==null?f.cachePool:null),f!==null?Xm(a,f):_u(),Lg(a);else return a.lanes=a.childLanes=536870912,Qg(t,a,f!==null?f.baseLanes|s:s,s)}else f!==null?(Bo(a,f.cachePool),Xm(a,f),wa(),a.memoizedState=null):(t!==null&&Bo(a,null),_u(),wa());return vt(t,a,d,s),a.child}function Qg(t,a,s,o){var d=Ru();return d=d===null?null:{parent:it._currentValue,pool:d},a.memoizedState={baseLanes:s,cachePool:d},t!==null&&Bo(a,null),_u(),Lg(a),t!==null&&Qs(t,a,o,!0),null}function nl(t,a){var s=a.ref;if(s===null)t!==null&&t.ref!==null&&(a.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(t===null||t.ref!==s)&&(a.flags|=4194816)}}function td(t,a,s,o,d){return ai(a),s=Vu(t,a,s,o,void 0,d),o=zu(),t!==null&&!dt?(Bu(t,a,d),$n(t,a,d)):(Oe&&o&&wu(a),a.flags|=1,vt(t,a,s,d),a.child)}function $g(t,a,s,o,d,f){return ai(a),a.updateQueue=null,s=Qm(a,o,s,d),Km(t),o=zu(),t!==null&&!dt?(Bu(t,a,f),$n(t,a,f)):(Oe&&o&&wu(a),a.flags|=1,vt(t,a,s,f),a.child)}function Zg(t,a,s,o,d){if(ai(a),a.stateNode===null){var f=Ui,w=s.contextType;typeof w=="object"&&w!==null&&(f=At(w)),f=new s(o,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Ju,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=o,f.state=a.memoizedState,f.refs={},Nu(a),w=s.contextType,f.context=typeof w=="object"&&w!==null?At(w):Ui,f.state=a.memoizedState,w=s.getDerivedStateFromProps,typeof w=="function"&&(Zu(a,s,w,o),f.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(w=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),w!==f.state&&Ju.enqueueReplaceState(f,f.state,null),ar(a,o,f,d),nr(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(t===null){f=a.stateNode;var S=a.memoizedProps,k=ri(s,S);f.props=k;var U=f.context,X=s.contextType;w=Ui,typeof X=="object"&&X!==null&&(w=At(X));var $=s.getDerivedStateFromProps;X=typeof $=="function"||typeof f.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,X||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(S||U!==w)&&zg(a,f,o,w),ma=!1;var F=a.memoizedState;f.state=F,ar(a,o,f,d),nr(),U=a.memoizedState,S||F!==U||ma?(typeof $=="function"&&(Zu(a,s,$,o),U=a.memoizedState),(k=ma||Vg(a,s,k,o,F,U,w))?(X||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(a.flags|=4194308)):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=U),f.props=o,f.state=U,f.context=w,o=k):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{f=a.stateNode,Mu(t,a),w=a.memoizedProps,X=ri(s,w),f.props=X,$=a.pendingProps,F=f.context,U=s.contextType,k=Ui,typeof U=="object"&&U!==null&&(k=At(U)),S=s.getDerivedStateFromProps,(U=typeof S=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(w!==$||F!==k)&&zg(a,f,o,k),ma=!1,F=a.memoizedState,f.state=F,ar(a,o,f,d),nr();var q=a.memoizedState;w!==$||F!==q||ma||t!==null&&t.dependencies!==null&&Vo(t.dependencies)?(typeof S=="function"&&(Zu(a,s,S,o),q=a.memoizedState),(X=ma||Vg(a,s,X,o,F,q,k)||t!==null&&t.dependencies!==null&&Vo(t.dependencies))?(U||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,q,k),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,q,k)),typeof f.componentDidUpdate=="function"&&(a.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof f.componentDidUpdate!="function"||w===t.memoizedProps&&F===t.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||w===t.memoizedProps&&F===t.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=q),f.props=o,f.state=q,f.context=k,o=X):(typeof f.componentDidUpdate!="function"||w===t.memoizedProps&&F===t.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||w===t.memoizedProps&&F===t.memoizedState||(a.flags|=1024),o=!1)}return f=o,nl(t,a),o=(a.flags&128)!==0,f||o?(f=a.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:f.render(),a.flags|=1,t!==null&&o?(a.child=Qi(a,t.child,null,d),a.child=Qi(a,null,s,d)):vt(t,a,s,d),a.memoizedState=f.state,t=a.child):t=$n(t,a,d),t}function Jg(t,a,s,o){return Xs(),a.flags|=256,vt(t,a,s,o),a.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ad(t){return{baseLanes:t,cachePool:Um()}}function id(t,a,s){return t=t!==null?t.childLanes&~s:0,a&&(t|=dn),t}function ey(t,a,s){var o=a.pendingProps,d=!1,f=(a.flags&128)!==0,w;if((w=f)||(w=t!==null&&t.memoizedState===null?!1:(st.current&2)!==0),w&&(d=!0,a.flags&=-129),w=(a.flags&32)!==0,a.flags&=-33,t===null){if(Oe){if(d?ba(a):wa(),Oe){var S=Xe,k;if(k=S){e:{for(k=S,S=Nn;k.nodeType!==8;){if(!S){S=null;break e}if(k=wn(k.nextSibling),k===null){S=null;break e}}S=k}S!==null?(a.memoizedState={dehydrated:S,treeContext:Za!==null?{id:Gn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},k=Yt(18,null,null,0),k.stateNode=S,k.return=a,a.child=k,Ct=a,Xe=null,k=!0):k=!1}k||ti(a)}if(S=a.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return Hd(S)?a.lanes=32:a.lanes=536870912,null;Qn(a)}return S=o.children,o=o.fallback,d?(wa(),d=a.mode,S=al({mode:"hidden",children:S},d),o=$a(o,d,s,null),S.return=a,o.return=a,S.sibling=o,a.child=S,d=a.child,d.memoizedState=ad(s),d.childLanes=id(t,w,s),a.memoizedState=nd,o):(ba(a),sd(a,S))}if(k=t.memoizedState,k!==null&&(S=k.dehydrated,S!==null)){if(f)a.flags&256?(ba(a),a.flags&=-257,a=rd(t,a,s)):a.memoizedState!==null?(wa(),a.child=t.child,a.flags|=128,a=null):(wa(),d=o.fallback,S=a.mode,o=al({mode:"visible",children:o.children},S),d=$a(d,S,s,null),d.flags|=2,o.return=a,d.return=a,o.sibling=d,a.child=o,Qi(a,t.child,null,s),o=a.child,o.memoizedState=ad(s),o.childLanes=id(t,w,s),a.memoizedState=nd,a=d);else if(ba(a),Hd(S)){if(w=S.nextSibling&&S.nextSibling.dataset,w)var U=w.dgst;w=U,o=Error(r(419)),o.stack="",o.digest=w,Ks({value:o,source:null,stack:null}),a=rd(t,a,s)}else if(dt||Qs(t,a,s,!1),w=(s&t.childLanes)!==0,dt||w){if(w=qe,w!==null&&(o=s&-s,o=(o&42)!==0?1:Fc(o),o=(o&(w.suspendedLanes|s))!==0?0:o,o!==0&&o!==k.retryLane))throw k.retryLane=o,Bi(t,o),$t(w,t,o),Gg;S.data==="$?"||Ad(),a=rd(t,a,s)}else S.data==="$?"?(a.flags|=192,a.child=t.child,a=null):(t=k.treeContext,Xe=wn(S.nextSibling),Ct=a,Oe=!0,ei=null,Nn=!1,t!==null&&(ln[cn++]=Gn,ln[cn++]=Yn,ln[cn++]=Za,Gn=t.id,Yn=t.overflow,Za=a),a=sd(a,o.children),a.flags|=4096);return a}return d?(wa(),d=o.fallback,S=a.mode,k=t.child,U=k.sibling,o=In(k,{mode:"hidden",children:o.children}),o.subtreeFlags=k.subtreeFlags&65011712,U!==null?d=In(U,d):(d=$a(d,S,s,null),d.flags|=2),d.return=a,o.return=a,o.sibling=d,a.child=o,o=d,d=a.child,S=t.child.memoizedState,S===null?S=ad(s):(k=S.cachePool,k!==null?(U=it._currentValue,k=k.parent!==U?{parent:U,pool:U}:k):k=Um(),S={baseLanes:S.baseLanes|s,cachePool:k}),d.memoizedState=S,d.childLanes=id(t,w,s),a.memoizedState=nd,o):(ba(a),s=t.child,t=s.sibling,s=In(s,{mode:"visible",children:o.children}),s.return=a,s.sibling=null,t!==null&&(w=a.deletions,w===null?(a.deletions=[t],a.flags|=16):w.push(t)),a.child=s,a.memoizedState=null,s)}function sd(t,a){return a=al({mode:"visible",children:a},t.mode),a.return=t,t.child=a}function al(t,a){return t=Yt(22,t,null,a),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function rd(t,a,s){return Qi(a,t.child,null,s),t=sd(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function ty(t,a,s){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a),Au(t.return,a,s)}function od(t,a,s,o,d){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:d}:(f.isBackwards=a,f.rendering=null,f.renderingStartTime=0,f.last=o,f.tail=s,f.tailMode=d)}function ny(t,a,s){var o=a.pendingProps,d=o.revealOrder,f=o.tail;if(vt(t,a,o.children,s),o=st.current,(o&2)!==0)o=o&1|2,a.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&ty(t,s,a);else if(t.tag===19)ty(t,s,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break e;for(;t.sibling===null;){if(t.return===null||t.return===a)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}o&=1}switch(ee(st,o),d){case"forwards":for(s=a.child,d=null;s!==null;)t=s.alternate,t!==null&&Jo(t)===null&&(d=s),s=s.sibling;s=d,s===null?(d=a.child,a.child=null):(d=s.sibling,s.sibling=null),od(a,!1,d,s,f);break;case"backwards":for(s=null,d=a.child,a.child=null;d!==null;){if(t=d.alternate,t!==null&&Jo(t)===null){a.child=d;break}t=d.sibling,d.sibling=s,s=d,d=t}od(a,!0,s,null,f);break;case"together":od(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function $n(t,a,s){if(t!==null&&(a.dependencies=t.dependencies),Ea|=a.lanes,(s&a.childLanes)===0)if(t!==null){if(Qs(t,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(t!==null&&a.child!==t.child)throw Error(r(153));if(a.child!==null){for(t=a.child,s=In(t,t.pendingProps),a.child=s,s.return=a;t.sibling!==null;)t=t.sibling,s=s.sibling=In(t,t.pendingProps),s.return=a;s.sibling=null}return a.child}function ld(t,a){return(t.lanes&a)!==0?!0:(t=t.dependencies,!!(t!==null&&Vo(t)))}function $S(t,a,s){switch(a.tag){case 3:Q(a,a.stateNode.containerInfo),pa(a,it,t.memoizedState.cache),Xs();break;case 27:case 5:Ie(a);break;case 4:Q(a,a.stateNode.containerInfo);break;case 10:pa(a,a.type,a.memoizedProps.value);break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(ba(a),a.flags|=128,null):(s&a.child.childLanes)!==0?ey(t,a,s):(ba(a),t=$n(t,a,s),t!==null?t.sibling:null);ba(a);break;case 19:var d=(t.flags&128)!==0;if(o=(s&a.childLanes)!==0,o||(Qs(t,a,s,!1),o=(s&a.childLanes)!==0),d){if(o)return ny(t,a,s);a.flags|=128}if(d=a.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),ee(st,st.current),o)break;return null;case 22:case 23:return a.lanes=0,Kg(t,a,s);case 24:pa(a,it,t.memoizedState.cache)}return $n(t,a,s)}function ay(t,a,s){if(t!==null)if(t.memoizedProps!==a.pendingProps)dt=!0;else{if(!ld(t,s)&&(a.flags&128)===0)return dt=!1,$S(t,a,s);dt=(t.flags&131072)!==0}else dt=!1,Oe&&(a.flags&1048576)!==0&&Dm(a,Lo,a.index);switch(a.lanes=0,a.tag){case 16:e:{t=a.pendingProps;var o=a.elementType,d=o._init;if(o=d(o._payload),a.type=o,typeof o=="function")yu(o)?(t=ri(o,t),a.tag=1,a=Zg(null,a,o,t,s)):(a.tag=0,a=td(null,a,o,t,s));else{if(o!=null){if(d=o.$$typeof,d===O){a.tag=11,a=Yg(null,a,o,t,s);break e}else if(d===H){a.tag=14,a=Wg(null,a,o,t,s);break e}}throw a=he(o)||o,Error(r(306,a,""))}}return a;case 0:return td(t,a,a.type,a.pendingProps,s);case 1:return o=a.type,d=ri(o,a.pendingProps),Zg(t,a,o,d,s);case 3:e:{if(Q(a,a.stateNode.containerInfo),t===null)throw Error(r(387));o=a.pendingProps;var f=a.memoizedState;d=f.element,Mu(t,a),ar(a,o,null,s);var w=a.memoizedState;if(o=w.cache,pa(a,it,o),o!==f.cache&&Eu(a,[it],s,!0),nr(),o=w.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:w.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=Jg(t,a,o,s);break e}else if(o!==d){d=rn(Error(r(424)),a),Ks(d),a=Jg(t,a,o,s);break e}else for(t=a.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Xe=wn(t.firstChild),Ct=a,Oe=!0,ei=null,Nn=!0,s=Pg(a,null,o,s),a.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Xs(),o===d){a=$n(t,a,s);break e}vt(t,a,o,s)}a=a.child}return a;case 26:return nl(t,a),t===null?(s=o0(a.type,null,a.pendingProps,null))?a.memoizedState=s:Oe||(s=a.type,t=a.pendingProps,o=yl(re.current).createElement(s),o[St]=a,o[_t]=t,wt(o,s,t),ut(o),a.stateNode=o):a.memoizedState=o0(a.type,t.memoizedProps,a.pendingProps,t.memoizedState),null;case 27:return Ie(a),t===null&&Oe&&(o=a.stateNode=i0(a.type,a.pendingProps,re.current),Ct=a,Nn=!0,d=Xe,ka(a.type)?(Fd=d,Xe=wn(o.firstChild)):Xe=d),vt(t,a,a.pendingProps.children,s),nl(t,a),t===null&&(a.flags|=4194304),a.child;case 5:return t===null&&Oe&&((d=o=Xe)&&(o=E4(o,a.type,a.pendingProps,Nn),o!==null?(a.stateNode=o,Ct=a,Xe=wn(o.firstChild),Nn=!1,d=!0):d=!1),d||ti(a)),Ie(a),d=a.type,f=a.pendingProps,w=t!==null?t.memoizedProps:null,o=f.children,zd(d,f)?o=null:w!==null&&zd(d,w)&&(a.flags|=32),a.memoizedState!==null&&(d=Vu(t,a,qS,null,null,s),Er._currentValue=d),nl(t,a),vt(t,a,o,s),a.child;case 6:return t===null&&Oe&&((t=s=Xe)&&(s=j4(s,a.pendingProps,Nn),s!==null?(a.stateNode=s,Ct=a,Xe=null,t=!0):t=!1),t||ti(a)),null;case 13:return ey(t,a,s);case 4:return Q(a,a.stateNode.containerInfo),o=a.pendingProps,t===null?a.child=Qi(a,null,o,s):vt(t,a,o,s),a.child;case 11:return Yg(t,a,a.type,a.pendingProps,s);case 7:return vt(t,a,a.pendingProps,s),a.child;case 8:return vt(t,a,a.pendingProps.children,s),a.child;case 12:return vt(t,a,a.pendingProps.children,s),a.child;case 10:return o=a.pendingProps,pa(a,a.type,o.value),vt(t,a,o.children,s),a.child;case 9:return d=a.type._context,o=a.pendingProps.children,ai(a),d=At(d),o=o(d),a.flags|=1,vt(t,a,o,s),a.child;case 14:return Wg(t,a,a.type,a.pendingProps,s);case 15:return Xg(t,a,a.type,a.pendingProps,s);case 19:return ny(t,a,s);case 31:return o=a.pendingProps,s=a.mode,o={mode:o.mode,children:o.children},t===null?(s=al(o,s),s.ref=a.ref,a.child=s,s.return=a,a=s):(s=In(t.child,o),s.ref=a.ref,a.child=s,s.return=a,a=s),a;case 22:return Kg(t,a,s);case 24:return ai(a),o=At(it),t===null?(d=Ru(),d===null&&(d=qe,f=ju(),d.pooledCache=f,f.refCount++,f!==null&&(d.pooledCacheLanes|=s),d=f),a.memoizedState={parent:o,cache:d},Nu(a),pa(a,it,d)):((t.lanes&s)!==0&&(Mu(t,a),ar(a,null,null,s),nr()),d=t.memoizedState,f=a.memoizedState,d.parent!==o?(d={parent:o,cache:o},a.memoizedState=d,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=d),pa(a,it,o)):(o=f.cache,pa(a,it,o),o!==d.cache&&Eu(a,[it],s,!0))),vt(t,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function Zn(t){t.flags|=4}function iy(t,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!h0(a)){if(a=un.current,a!==null&&((ke&4194048)===ke?Mn!==null:(ke&62914560)!==ke&&(ke&536870912)===0||a!==Mn))throw er=ku,Hm;t.flags|=8192}}function il(t,a){a!==null&&(t.flags|=4),t.flags&16384&&(a=t.tag!==22?Lp():536870912,t.lanes|=a,es|=a)}function ur(t,a){if(!Oe)switch(t.tailMode){case"hidden":a=t.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function We(t){var a=t.alternate!==null&&t.alternate.child===t.child,s=0,o=0;if(a)for(var d=t.child;d!==null;)s|=d.lanes|d.childLanes,o|=d.subtreeFlags&65011712,o|=d.flags&65011712,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)s|=d.lanes|d.childLanes,o|=d.subtreeFlags,o|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=o,t.childLanes=s,a}function ZS(t,a,s){var o=a.pendingProps;switch(xu(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(a),null;case 1:return We(a),null;case 3:return s=a.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Xn(it),se(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(t===null||t.child===null)&&(Ws(a)?Zn(a):t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Lm())),We(a),null;case 26:return s=a.memoizedState,t===null?(Zn(a),s!==null?(We(a),iy(a,s)):(We(a),a.flags&=-16777217)):s?s!==t.memoizedState?(Zn(a),We(a),iy(a,s)):(We(a),a.flags&=-16777217):(t.memoizedProps!==o&&Zn(a),We(a),a.flags&=-16777217),null;case 27:Ge(a),s=re.current;var d=a.type;if(t!==null&&a.stateNode!=null)t.memoizedProps!==o&&Zn(a);else{if(!o){if(a.stateNode===null)throw Error(r(166));return We(a),null}t=oe.current,Ws(a)?_m(a):(t=i0(d,o,s),a.stateNode=t,Zn(a))}return We(a),null;case 5:if(Ge(a),s=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==o&&Zn(a);else{if(!o){if(a.stateNode===null)throw Error(r(166));return We(a),null}if(t=oe.current,Ws(a))_m(a);else{switch(d=yl(re.current),t){case 1:t=d.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:t=d.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":t=d.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":t=d.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":t=d.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof o.is=="string"?d.createElement("select",{is:o.is}):d.createElement("select"),o.multiple?t.multiple=!0:o.size&&(t.size=o.size);break;default:t=typeof o.is=="string"?d.createElement(s,{is:o.is}):d.createElement(s)}}t[St]=a,t[_t]=o;e:for(d=a.child;d!==null;){if(d.tag===5||d.tag===6)t.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===a)break e;for(;d.sibling===null;){if(d.return===null||d.return===a)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}a.stateNode=t;e:switch(wt(t,s,o),s){case"button":case"input":case"select":case"textarea":t=!!o.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&Zn(a)}}return We(a),a.flags&=-16777217,null;case 6:if(t&&a.stateNode!=null)t.memoizedProps!==o&&Zn(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(r(166));if(t=re.current,Ws(a)){if(t=a.stateNode,s=a.memoizedProps,o=null,d=Ct,d!==null)switch(d.tag){case 27:case 5:o=d.memoizedProps}t[St]=a,t=!!(t.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||$y(t.nodeValue,s)),t||ti(a)}else t=yl(t).createTextNode(o),t[St]=a,a.stateNode=t}return We(a),null;case 13:if(o=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(d=Ws(a),o!==null&&o.dehydrated!==null){if(t===null){if(!d)throw Error(r(318));if(d=a.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(r(317));d[St]=a}else Xs(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;We(a),d=!1}else d=Lm(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=d),d=!0;if(!d)return a.flags&256?(Qn(a),a):(Qn(a),null)}if(Qn(a),(a.flags&128)!==0)return a.lanes=s,a;if(s=o!==null,t=t!==null&&t.memoizedState!==null,s){o=a.child,d=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(d=o.alternate.memoizedState.cachePool.pool);var f=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==d&&(o.flags|=2048)}return s!==t&&s&&(a.child.flags|=8192),il(a,a.updateQueue),We(a),null;case 4:return se(),t===null&&Dd(a.stateNode.containerInfo),We(a),null;case 10:return Xn(a.type),We(a),null;case 19:if(ae(st),d=a.memoizedState,d===null)return We(a),null;if(o=(a.flags&128)!==0,f=d.rendering,f===null)if(o)ur(d,!1);else{if(Ke!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(f=Jo(t),f!==null){for(a.flags|=128,ur(d,!1),t=f.updateQueue,a.updateQueue=t,il(a,t),a.subtreeFlags=0,t=s,s=a.child;s!==null;)Om(s,t),s=s.sibling;return ee(st,st.current&1|2),a.child}t=t.sibling}d.tail!==null&&Tt()>ol&&(a.flags|=128,o=!0,ur(d,!1),a.lanes=4194304)}else{if(!o)if(t=Jo(f),t!==null){if(a.flags|=128,o=!0,t=t.updateQueue,a.updateQueue=t,il(a,t),ur(d,!0),d.tail===null&&d.tailMode==="hidden"&&!f.alternate&&!Oe)return We(a),null}else 2*Tt()-d.renderingStartTime>ol&&s!==536870912&&(a.flags|=128,o=!0,ur(d,!1),a.lanes=4194304);d.isBackwards?(f.sibling=a.child,a.child=f):(t=d.last,t!==null?t.sibling=f:a.child=f,d.last=f)}return d.tail!==null?(a=d.tail,d.rendering=a,d.tail=a.sibling,d.renderingStartTime=Tt(),a.sibling=null,t=st.current,ee(st,o?t&1|2:t&1),a):(We(a),null);case 22:case 23:return Qn(a),Pu(),o=a.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(s&536870912)!==0&&(a.flags&128)===0&&(We(a),a.subtreeFlags&6&&(a.flags|=8192)):We(a),s=a.updateQueue,s!==null&&il(a,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==s&&(a.flags|=2048),t!==null&&ae(ii),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),Xn(it),We(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function JS(t,a){switch(xu(a),a.tag){case 1:return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return Xn(it),se(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 26:case 27:case 5:return Ge(a),null;case 13:if(Qn(a),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Xs()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return ae(st),null;case 4:return se(),null;case 10:return Xn(a.type),null;case 22:case 23:return Qn(a),Pu(),t!==null&&ae(ii),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 24:return Xn(it),null;case 25:return null;default:return null}}function sy(t,a){switch(xu(a),a.tag){case 3:Xn(it),se();break;case 26:case 27:case 5:Ge(a);break;case 4:se();break;case 13:Qn(a);break;case 19:ae(st);break;case 10:Xn(a.type);break;case 22:case 23:Qn(a),Pu(),t!==null&&ae(ii);break;case 24:Xn(it)}}function dr(t,a){try{var s=a.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var d=o.next;s=d;do{if((s.tag&t)===t){o=void 0;var f=s.create,w=s.inst;o=f(),w.destroy=o}s=s.next}while(s!==d)}}catch(S){He(a,a.return,S)}}function xa(t,a,s){try{var o=a.updateQueue,d=o!==null?o.lastEffect:null;if(d!==null){var f=d.next;o=f;do{if((o.tag&t)===t){var w=o.inst,S=w.destroy;if(S!==void 0){w.destroy=void 0,d=a;var k=s,U=S;try{U()}catch(X){He(d,k,X)}}}o=o.next}while(o!==f)}}catch(X){He(a,a.return,X)}}function ry(t){var a=t.updateQueue;if(a!==null){var s=t.stateNode;try{Wm(a,s)}catch(o){He(t,t.return,o)}}}function oy(t,a,s){s.props=ri(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(o){He(t,a,o)}}function hr(t,a){try{var s=t.ref;if(s!==null){switch(t.tag){case 26:case 27:case 5:var o=t.stateNode;break;case 30:o=t.stateNode;break;default:o=t.stateNode}typeof s=="function"?t.refCleanup=s(o):s.current=o}}catch(d){He(t,a,d)}}function On(t,a){var s=t.ref,o=t.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(d){He(t,a,d)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(d){He(t,a,d)}else s.current=null}function ly(t){var a=t.type,s=t.memoizedProps,o=t.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break e;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(d){He(t,t.return,d)}}function cd(t,a,s){try{var o=t.stateNode;w4(o,t.type,s,a),o[_t]=a}catch(d){He(t,t.return,d)}}function cy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ka(t.type)||t.tag===4}function ud(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||cy(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ka(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function dd(t,a,s){var o=t.tag;if(o===5||o===6)t=t.stateNode,a?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(t,a):(a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(t),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=gl));else if(o!==4&&(o===27&&ka(t.type)&&(s=t.stateNode,a=null),t=t.child,t!==null))for(dd(t,a,s),t=t.sibling;t!==null;)dd(t,a,s),t=t.sibling}function sl(t,a,s){var o=t.tag;if(o===5||o===6)t=t.stateNode,a?s.insertBefore(t,a):s.appendChild(t);else if(o!==4&&(o===27&&ka(t.type)&&(s=t.stateNode),t=t.child,t!==null))for(sl(t,a,s),t=t.sibling;t!==null;)sl(t,a,s),t=t.sibling}function uy(t){var a=t.stateNode,s=t.memoizedProps;try{for(var o=t.type,d=a.attributes;d.length;)a.removeAttributeNode(d[0]);wt(a,o,s),a[St]=t,a[_t]=s}catch(f){He(t,t.return,f)}}var Jn=!1,Ze=!1,hd=!1,dy=typeof WeakSet=="function"?WeakSet:Set,ht=null;function e4(t,a){if(t=t.containerInfo,Ld=Sl,t=Tm(t),uu(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var d=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{s.nodeType,f.nodeType}catch{s=null;break e}var w=0,S=-1,k=-1,U=0,X=0,$=t,F=null;t:for(;;){for(var q;$!==s||d!==0&&$.nodeType!==3||(S=w+d),$!==f||o!==0&&$.nodeType!==3||(k=w+o),$.nodeType===3&&(w+=$.nodeValue.length),(q=$.firstChild)!==null;)F=$,$=q;for(;;){if($===t)break t;if(F===s&&++U===d&&(S=w),F===f&&++X===o&&(k=w),(q=$.nextSibling)!==null)break;$=F,F=$.parentNode}$=q}s=S===-1||k===-1?null:{start:S,end:k}}else s=null}s=s||{start:0,end:0}}else s=null;for(Vd={focusedElem:t,selectionRange:s},Sl=!1,ht=a;ht!==null;)if(a=ht,t=a.child,(a.subtreeFlags&1024)!==0&&t!==null)t.return=a,ht=t;else for(;ht!==null;){switch(a=ht,f=a.alternate,t=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,s=a,d=f.memoizedProps,f=f.memoizedState,o=s.stateNode;try{var Te=ri(s.type,d,s.elementType===s.type);t=o.getSnapshotBeforeUpdate(Te,f),o.__reactInternalSnapshotBeforeUpdate=t}catch(be){He(s,s.return,be)}}break;case 3:if((t&1024)!==0){if(t=a.stateNode.containerInfo,s=t.nodeType,s===9)Ud(t);else if(s===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ud(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=a.sibling,t!==null){t.return=a.return,ht=t;break}ht=a.return}}function hy(t,a,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:Ta(t,s),o&4&&dr(5,s);break;case 1:if(Ta(t,s),o&4)if(t=s.stateNode,a===null)try{t.componentDidMount()}catch(w){He(s,s.return,w)}else{var d=ri(s.type,a.memoizedProps);a=a.memoizedState;try{t.componentDidUpdate(d,a,t.__reactInternalSnapshotBeforeUpdate)}catch(w){He(s,s.return,w)}}o&64&&ry(s),o&512&&hr(s,s.return);break;case 3:if(Ta(t,s),o&64&&(t=s.updateQueue,t!==null)){if(a=null,s.child!==null)switch(s.child.tag){case 27:case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}try{Wm(t,a)}catch(w){He(s,s.return,w)}}break;case 27:a===null&&o&4&&uy(s);case 26:case 5:Ta(t,s),a===null&&o&4&&ly(s),o&512&&hr(s,s.return);break;case 12:Ta(t,s);break;case 13:Ta(t,s),o&4&&my(t,s),o&64&&(t=s.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(s=c4.bind(null,s),C4(t,s))));break;case 22:if(o=s.memoizedState!==null||Jn,!o){a=a!==null&&a.memoizedState!==null||Ze,d=Jn;var f=Ze;Jn=o,(Ze=a)&&!f?Sa(t,s,(s.subtreeFlags&8772)!==0):Ta(t,s),Jn=d,Ze=f}break;case 30:break;default:Ta(t,s)}}function fy(t){var a=t.alternate;a!==null&&(t.alternate=null,fy(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&Gc(a)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ye=null,Vt=!1;function ea(t,a,s){for(s=s.child;s!==null;)py(t,a,s),s=s.sibling}function py(t,a,s){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(Ds,s)}catch{}switch(s.tag){case 26:Ze||On(s,a),ea(t,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:Ze||On(s,a);var o=Ye,d=Vt;ka(s.type)&&(Ye=s.stateNode,Vt=!1),ea(t,a,s),xr(s.stateNode),Ye=o,Vt=d;break;case 5:Ze||On(s,a);case 6:if(o=Ye,d=Vt,Ye=null,ea(t,a,s),Ye=o,Vt=d,Ye!==null)if(Vt)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(s.stateNode)}catch(f){He(s,a,f)}else try{Ye.removeChild(s.stateNode)}catch(f){He(s,a,f)}break;case 18:Ye!==null&&(Vt?(t=Ye,n0(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,s.stateNode),kr(t)):n0(Ye,s.stateNode));break;case 4:o=Ye,d=Vt,Ye=s.stateNode.containerInfo,Vt=!0,ea(t,a,s),Ye=o,Vt=d;break;case 0:case 11:case 14:case 15:Ze||xa(2,s,a),Ze||xa(4,s,a),ea(t,a,s);break;case 1:Ze||(On(s,a),o=s.stateNode,typeof o.componentWillUnmount=="function"&&oy(s,a,o)),ea(t,a,s);break;case 21:ea(t,a,s);break;case 22:Ze=(o=Ze)||s.memoizedState!==null,ea(t,a,s),Ze=o;break;default:ea(t,a,s)}}function my(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{kr(t)}catch(s){He(a,a.return,s)}}function t4(t){switch(t.tag){case 13:case 19:var a=t.stateNode;return a===null&&(a=t.stateNode=new dy),a;case 22:return t=t.stateNode,a=t._retryCache,a===null&&(a=t._retryCache=new dy),a;default:throw Error(r(435,t.tag))}}function fd(t,a){var s=t4(t);a.forEach(function(o){var d=u4.bind(null,t,o);s.has(o)||(s.add(o),o.then(d,d))})}function Wt(t,a){var s=a.deletions;if(s!==null)for(var o=0;o<s.length;o++){var d=s[o],f=t,w=a,S=w;e:for(;S!==null;){switch(S.tag){case 27:if(ka(S.type)){Ye=S.stateNode,Vt=!1;break e}break;case 5:Ye=S.stateNode,Vt=!1;break e;case 3:case 4:Ye=S.stateNode.containerInfo,Vt=!0;break e}S=S.return}if(Ye===null)throw Error(r(160));py(f,w,d),Ye=null,Vt=!1,f=d.alternate,f!==null&&(f.return=null),d.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)gy(a,t),a=a.sibling}var bn=null;function gy(t,a){var s=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Wt(a,t),Xt(t),o&4&&(xa(3,t,t.return),dr(3,t),xa(5,t,t.return));break;case 1:Wt(a,t),Xt(t),o&512&&(Ze||s===null||On(s,s.return)),o&64&&Jn&&(t=t.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(s=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var d=bn;if(Wt(a,t),Xt(t),o&512&&(Ze||s===null||On(s,s.return)),o&4){var f=s!==null?s.memoizedState:null;if(o=t.memoizedState,s===null)if(o===null)if(t.stateNode===null){e:{o=t.type,s=t.memoizedProps,d=d.ownerDocument||d;t:switch(o){case"title":f=d.getElementsByTagName("title")[0],(!f||f[Ls]||f[St]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=d.createElement(o),d.head.insertBefore(f,d.querySelector("head > title"))),wt(f,o,s),f[St]=t,ut(f),o=f;break e;case"link":var w=u0("link","href",d).get(o+(s.href||""));if(w){for(var S=0;S<w.length;S++)if(f=w[S],f.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&f.getAttribute("rel")===(s.rel==null?null:s.rel)&&f.getAttribute("title")===(s.title==null?null:s.title)&&f.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){w.splice(S,1);break t}}f=d.createElement(o),wt(f,o,s),d.head.appendChild(f);break;case"meta":if(w=u0("meta","content",d).get(o+(s.content||""))){for(S=0;S<w.length;S++)if(f=w[S],f.getAttribute("content")===(s.content==null?null:""+s.content)&&f.getAttribute("name")===(s.name==null?null:s.name)&&f.getAttribute("property")===(s.property==null?null:s.property)&&f.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&f.getAttribute("charset")===(s.charSet==null?null:s.charSet)){w.splice(S,1);break t}}f=d.createElement(o),wt(f,o,s),d.head.appendChild(f);break;default:throw Error(r(468,o))}f[St]=t,ut(f),o=f}t.stateNode=o}else d0(d,t.type,t.stateNode);else t.stateNode=c0(d,o,t.memoizedProps);else f!==o?(f===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):f.count--,o===null?d0(d,t.type,t.stateNode):c0(d,o,t.memoizedProps)):o===null&&t.stateNode!==null&&cd(t,t.memoizedProps,s.memoizedProps)}break;case 27:Wt(a,t),Xt(t),o&512&&(Ze||s===null||On(s,s.return)),s!==null&&o&4&&cd(t,t.memoizedProps,s.memoizedProps);break;case 5:if(Wt(a,t),Xt(t),o&512&&(Ze||s===null||On(s,s.return)),t.flags&32){d=t.stateNode;try{Oi(d,"")}catch(q){He(t,t.return,q)}}o&4&&t.stateNode!=null&&(d=t.memoizedProps,cd(t,d,s!==null?s.memoizedProps:d)),o&1024&&(hd=!0);break;case 6:if(Wt(a,t),Xt(t),o&4){if(t.stateNode===null)throw Error(r(162));o=t.memoizedProps,s=t.stateNode;try{s.nodeValue=o}catch(q){He(t,t.return,q)}}break;case 3:if(wl=null,d=bn,bn=vl(a.containerInfo),Wt(a,t),bn=d,Xt(t),o&4&&s!==null&&s.memoizedState.isDehydrated)try{kr(a.containerInfo)}catch(q){He(t,t.return,q)}hd&&(hd=!1,yy(t));break;case 4:o=bn,bn=vl(t.stateNode.containerInfo),Wt(a,t),Xt(t),bn=o;break;case 12:Wt(a,t),Xt(t);break;case 13:Wt(a,t),Xt(t),t.child.flags&8192&&t.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(bd=Tt()),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,fd(t,o)));break;case 22:d=t.memoizedState!==null;var k=s!==null&&s.memoizedState!==null,U=Jn,X=Ze;if(Jn=U||d,Ze=X||k,Wt(a,t),Ze=X,Jn=U,Xt(t),o&8192)e:for(a=t.stateNode,a._visibility=d?a._visibility&-2:a._visibility|1,d&&(s===null||k||Jn||Ze||oi(t)),s=null,a=t;;){if(a.tag===5||a.tag===26){if(s===null){k=s=a;try{if(f=k.stateNode,d)w=f.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{S=k.stateNode;var $=k.memoizedProps.style,F=$!=null&&$.hasOwnProperty("display")?$.display:null;S.style.display=F==null||typeof F=="boolean"?"":(""+F).trim()}}catch(q){He(k,k.return,q)}}}else if(a.tag===6){if(s===null){k=a;try{k.stateNode.nodeValue=d?"":k.memoizedProps}catch(q){He(k,k.return,q)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===t)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;s===a&&(s=null),a=a.return}s===a&&(s=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=t.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,fd(t,s))));break;case 19:Wt(a,t),Xt(t),o&4&&(o=t.updateQueue,o!==null&&(t.updateQueue=null,fd(t,o)));break;case 30:break;case 21:break;default:Wt(a,t),Xt(t)}}function Xt(t){var a=t.flags;if(a&2){try{for(var s,o=t.return;o!==null;){if(cy(o)){s=o;break}o=o.return}if(s==null)throw Error(r(160));switch(s.tag){case 27:var d=s.stateNode,f=ud(t);sl(t,f,d);break;case 5:var w=s.stateNode;s.flags&32&&(Oi(w,""),s.flags&=-33);var S=ud(t);sl(t,S,w);break;case 3:case 4:var k=s.stateNode.containerInfo,U=ud(t);dd(t,U,k);break;default:throw Error(r(161))}}catch(X){He(t,t.return,X)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function yy(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var a=t;yy(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),t=t.sibling}}function Ta(t,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)hy(t,a.alternate,a),a=a.sibling}function oi(t){for(t=t.child;t!==null;){var a=t;switch(a.tag){case 0:case 11:case 14:case 15:xa(4,a,a.return),oi(a);break;case 1:On(a,a.return);var s=a.stateNode;typeof s.componentWillUnmount=="function"&&oy(a,a.return,s),oi(a);break;case 27:xr(a.stateNode);case 26:case 5:On(a,a.return),oi(a);break;case 22:a.memoizedState===null&&oi(a);break;case 30:oi(a);break;default:oi(a)}t=t.sibling}}function Sa(t,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,d=t,f=a,w=f.flags;switch(f.tag){case 0:case 11:case 15:Sa(d,f,s),dr(4,f);break;case 1:if(Sa(d,f,s),o=f,d=o.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(U){He(o,o.return,U)}if(o=f,d=o.updateQueue,d!==null){var S=o.stateNode;try{var k=d.shared.hiddenCallbacks;if(k!==null)for(d.shared.hiddenCallbacks=null,d=0;d<k.length;d++)Ym(k[d],S)}catch(U){He(o,o.return,U)}}s&&w&64&&ry(f),hr(f,f.return);break;case 27:uy(f);case 26:case 5:Sa(d,f,s),s&&o===null&&w&4&&ly(f),hr(f,f.return);break;case 12:Sa(d,f,s);break;case 13:Sa(d,f,s),s&&w&4&&my(d,f);break;case 22:f.memoizedState===null&&Sa(d,f,s),hr(f,f.return);break;case 30:break;default:Sa(d,f,s)}a=a.sibling}}function pd(t,a){var s=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),t=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(t=a.memoizedState.cachePool.pool),t!==s&&(t!=null&&t.refCount++,s!=null&&$s(s))}function md(t,a){t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&$s(t))}function Dn(t,a,s,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)vy(t,a,s,o),a=a.sibling}function vy(t,a,s,o){var d=a.flags;switch(a.tag){case 0:case 11:case 15:Dn(t,a,s,o),d&2048&&dr(9,a);break;case 1:Dn(t,a,s,o);break;case 3:Dn(t,a,s,o),d&2048&&(t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&$s(t)));break;case 12:if(d&2048){Dn(t,a,s,o),t=a.stateNode;try{var f=a.memoizedProps,w=f.id,S=f.onPostCommit;typeof S=="function"&&S(w,a.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(k){He(a,a.return,k)}}else Dn(t,a,s,o);break;case 13:Dn(t,a,s,o);break;case 23:break;case 22:f=a.stateNode,w=a.alternate,a.memoizedState!==null?f._visibility&2?Dn(t,a,s,o):fr(t,a):f._visibility&2?Dn(t,a,s,o):(f._visibility|=2,$i(t,a,s,o,(a.subtreeFlags&10256)!==0)),d&2048&&pd(w,a);break;case 24:Dn(t,a,s,o),d&2048&&md(a.alternate,a);break;default:Dn(t,a,s,o)}}function $i(t,a,s,o,d){for(d=d&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var f=t,w=a,S=s,k=o,U=w.flags;switch(w.tag){case 0:case 11:case 15:$i(f,w,S,k,d),dr(8,w);break;case 23:break;case 22:var X=w.stateNode;w.memoizedState!==null?X._visibility&2?$i(f,w,S,k,d):fr(f,w):(X._visibility|=2,$i(f,w,S,k,d)),d&&U&2048&&pd(w.alternate,w);break;case 24:$i(f,w,S,k,d),d&&U&2048&&md(w.alternate,w);break;default:$i(f,w,S,k,d)}a=a.sibling}}function fr(t,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var s=t,o=a,d=o.flags;switch(o.tag){case 22:fr(s,o),d&2048&&pd(o.alternate,o);break;case 24:fr(s,o),d&2048&&md(o.alternate,o);break;default:fr(s,o)}a=a.sibling}}var pr=8192;function Zi(t){if(t.subtreeFlags&pr)for(t=t.child;t!==null;)by(t),t=t.sibling}function by(t){switch(t.tag){case 26:Zi(t),t.flags&pr&&t.memoizedState!==null&&U4(bn,t.memoizedState,t.memoizedProps);break;case 5:Zi(t);break;case 3:case 4:var a=bn;bn=vl(t.stateNode.containerInfo),Zi(t),bn=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=pr,pr=16777216,Zi(t),pr=a):Zi(t));break;default:Zi(t)}}function wy(t){var a=t.alternate;if(a!==null&&(t=a.child,t!==null)){a.child=null;do a=t.sibling,t.sibling=null,t=a;while(t!==null)}}function mr(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var o=a[s];ht=o,Ty(o,t)}wy(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)xy(t),t=t.sibling}function xy(t){switch(t.tag){case 0:case 11:case 15:mr(t),t.flags&2048&&xa(9,t,t.return);break;case 3:mr(t);break;case 12:mr(t);break;case 22:var a=t.stateNode;t.memoizedState!==null&&a._visibility&2&&(t.return===null||t.return.tag!==13)?(a._visibility&=-3,rl(t)):mr(t);break;default:mr(t)}}function rl(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var o=a[s];ht=o,Ty(o,t)}wy(t)}for(t=t.child;t!==null;){switch(a=t,a.tag){case 0:case 11:case 15:xa(8,a,a.return),rl(a);break;case 22:s=a.stateNode,s._visibility&2&&(s._visibility&=-3,rl(a));break;default:rl(a)}t=t.sibling}}function Ty(t,a){for(;ht!==null;){var s=ht;switch(s.tag){case 0:case 11:case 15:xa(8,s,a);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:$s(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,ht=o;else e:for(s=t;ht!==null;){o=ht;var d=o.sibling,f=o.return;if(fy(o),o===s){ht=null;break e}if(d!==null){d.return=f,ht=d;break e}ht=f}}}var n4={getCacheForType:function(t){var a=At(it),s=a.data.get(t);return s===void 0&&(s=t(),a.data.set(t,s)),s}},a4=typeof WeakMap=="function"?WeakMap:Map,_e=0,qe=null,Ce=null,ke=0,Pe=0,Kt=null,Aa=!1,Ji=!1,gd=!1,ta=0,Ke=0,Ea=0,li=0,yd=0,dn=0,es=0,gr=null,zt=null,vd=!1,bd=0,ol=1/0,ll=null,ja=null,bt=0,Ca=null,ts=null,ns=0,wd=0,xd=null,Sy=null,yr=0,Td=null;function Qt(){if((_e&2)!==0&&ke!==0)return ke&-ke;if(D.T!==null){var t=qi;return t!==0?t:kd()}return Bp()}function Ay(){dn===0&&(dn=(ke&536870912)===0||Oe?Pp():536870912);var t=un.current;return t!==null&&(t.flags|=32),dn}function $t(t,a,s){(t===qe&&(Pe===2||Pe===9)||t.cancelPendingCommit!==null)&&(as(t,0),Ra(t,ke,dn,!1)),Ps(t,s),((_e&2)===0||t!==qe)&&(t===qe&&((_e&2)===0&&(li|=s),Ke===4&&Ra(t,ke,dn,!1)),_n(t))}function Ey(t,a,s){if((_e&6)!==0)throw Error(r(327));var o=!s&&(a&124)===0&&(a&t.expiredLanes)===0||_s(t,a),d=o?r4(t,a):Ed(t,a,!0),f=o;do{if(d===0){Ji&&!o&&Ra(t,a,0,!1);break}else{if(s=t.current.alternate,f&&!i4(s)){d=Ed(t,a,!1),f=!1;continue}if(d===2){if(f=a,t.errorRecoveryDisabledLanes&f)var w=0;else w=t.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){a=w;e:{var S=t;d=gr;var k=S.current.memoizedState.isDehydrated;if(k&&(as(S,w).flags|=256),w=Ed(S,w,!1),w!==2){if(gd&&!k){S.errorRecoveryDisabledLanes|=f,li|=f,d=4;break e}f=zt,zt=d,f!==null&&(zt===null?zt=f:zt.push.apply(zt,f))}d=w}if(f=!1,d!==2)continue}}if(d===1){as(t,0),Ra(t,a,0,!0);break}e:{switch(o=t,f=d,f){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:Ra(o,a,dn,!Aa);break e;case 2:zt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(d=bd+300-Tt(),10<d)){if(Ra(o,a,dn,!Aa),bo(o,0,!0)!==0)break e;o.timeoutHandle=e0(jy.bind(null,o,s,zt,ll,vd,a,dn,li,es,Aa,f,2,-0,0),d);break e}jy(o,s,zt,ll,vd,a,dn,li,es,Aa,f,0,-0,0)}}break}while(!0);_n(t)}function jy(t,a,s,o,d,f,w,S,k,U,X,$,F,q){if(t.timeoutHandle=-1,$=a.subtreeFlags,($&8192||($&16785408)===16785408)&&(Ar={stylesheets:null,count:0,unsuspend:B4},by(a),$=H4(),$!==null)){t.cancelPendingCommit=$(Dy.bind(null,t,a,f,s,o,d,w,S,k,X,1,F,q)),Ra(t,f,w,!U);return}Dy(t,a,f,s,o,d,w,S,k)}function i4(t){for(var a=t;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var d=s[o],f=d.getSnapshot;d=d.value;try{if(!Gt(f(),d))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ra(t,a,s,o){a&=~yd,a&=~li,t.suspendedLanes|=a,t.pingedLanes&=~a,o&&(t.warmLanes|=a),o=t.expirationTimes;for(var d=a;0<d;){var f=31-It(d),w=1<<f;o[f]=-1,d&=~w}s!==0&&Vp(t,s,a)}function cl(){return(_e&6)===0?(vr(0),!1):!0}function Sd(){if(Ce!==null){if(Pe===0)var t=Ce.return;else t=Ce,Wn=ni=null,Uu(t),Ki=null,lr=0,t=Ce;for(;t!==null;)sy(t.alternate,t),t=t.return;Ce=null}}function as(t,a){var s=t.timeoutHandle;s!==-1&&(t.timeoutHandle=-1,T4(s)),s=t.cancelPendingCommit,s!==null&&(t.cancelPendingCommit=null,s()),Sd(),qe=t,Ce=s=In(t.current,null),ke=a,Pe=0,Kt=null,Aa=!1,Ji=_s(t,a),gd=!1,es=dn=yd=li=Ea=Ke=0,zt=gr=null,vd=!1,(a&8)!==0&&(a|=a&32);var o=t.entangledLanes;if(o!==0)for(t=t.entanglements,o&=a;0<o;){var d=31-It(o),f=1<<d;a|=t[d],o&=~f}return ta=a,Mo(),s}function Cy(t,a){Ae=null,D.H=Qo,a===Js||a===Uo?(a=Im(),Pe=3):a===Hm?(a=Im(),Pe=4):Pe=a===Gg?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Kt=a,Ce===null&&(Ke=1,tl(t,rn(a,t.current)))}function Ry(){var t=D.H;return D.H=Qo,t===null?Qo:t}function ky(){var t=D.A;return D.A=n4,t}function Ad(){Ke=4,Aa||(ke&4194048)!==ke&&un.current!==null||(Ji=!0),(Ea&134217727)===0&&(li&134217727)===0||qe===null||Ra(qe,ke,dn,!1)}function Ed(t,a,s){var o=_e;_e|=2;var d=Ry(),f=ky();(qe!==t||ke!==a)&&(ll=null,as(t,a)),a=!1;var w=Ke;e:do try{if(Pe!==0&&Ce!==null){var S=Ce,k=Kt;switch(Pe){case 8:Sd(),w=6;break e;case 3:case 2:case 9:case 6:un.current===null&&(a=!0);var U=Pe;if(Pe=0,Kt=null,is(t,S,k,U),s&&Ji){w=0;break e}break;default:U=Pe,Pe=0,Kt=null,is(t,S,k,U)}}s4(),w=Ke;break}catch(X){Cy(t,X)}while(!0);return a&&t.shellSuspendCounter++,Wn=ni=null,_e=o,D.H=d,D.A=f,Ce===null&&(qe=null,ke=0,Mo()),w}function s4(){for(;Ce!==null;)Ny(Ce)}function r4(t,a){var s=_e;_e|=2;var o=Ry(),d=ky();qe!==t||ke!==a?(ll=null,ol=Tt()+500,as(t,a)):Ji=_s(t,a);e:do try{if(Pe!==0&&Ce!==null){a=Ce;var f=Kt;t:switch(Pe){case 1:Pe=0,Kt=null,is(t,a,f,1);break;case 2:case 9:if(Fm(f)){Pe=0,Kt=null,My(a);break}a=function(){Pe!==2&&Pe!==9||qe!==t||(Pe=7),_n(t)},f.then(a,a);break e;case 3:Pe=7;break e;case 4:Pe=5;break e;case 7:Fm(f)?(Pe=0,Kt=null,My(a)):(Pe=0,Kt=null,is(t,a,f,7));break;case 5:var w=null;switch(Ce.tag){case 26:w=Ce.memoizedState;case 5:case 27:var S=Ce;if(!w||h0(w)){Pe=0,Kt=null;var k=S.sibling;if(k!==null)Ce=k;else{var U=S.return;U!==null?(Ce=U,ul(U)):Ce=null}break t}}Pe=0,Kt=null,is(t,a,f,5);break;case 6:Pe=0,Kt=null,is(t,a,f,6);break;case 8:Sd(),Ke=6;break e;default:throw Error(r(462))}}o4();break}catch(X){Cy(t,X)}while(!0);return Wn=ni=null,D.H=o,D.A=d,_e=s,Ce!==null?0:(qe=null,ke=0,Mo(),Ke)}function o4(){for(;Ce!==null&&!yn();)Ny(Ce)}function Ny(t){var a=ay(t.alternate,t,ta);t.memoizedProps=t.pendingProps,a===null?ul(t):Ce=a}function My(t){var a=t,s=a.alternate;switch(a.tag){case 15:case 0:a=$g(s,a,a.pendingProps,a.type,void 0,ke);break;case 11:a=$g(s,a,a.pendingProps,a.type.render,a.ref,ke);break;case 5:Uu(a);default:sy(s,a),a=Ce=Om(a,ta),a=ay(s,a,ta)}t.memoizedProps=t.pendingProps,a===null?ul(t):Ce=a}function is(t,a,s,o){Wn=ni=null,Uu(a),Ki=null,lr=0;var d=a.return;try{if(QS(t,d,a,s,ke)){Ke=1,tl(t,rn(s,t.current)),Ce=null;return}}catch(f){if(d!==null)throw Ce=d,f;Ke=1,tl(t,rn(s,t.current)),Ce=null;return}a.flags&32768?(Oe||o===1?t=!0:Ji||(ke&536870912)!==0?t=!1:(Aa=t=!0,(o===2||o===9||o===3||o===6)&&(o=un.current,o!==null&&o.tag===13&&(o.flags|=16384))),Oy(a,t)):ul(a)}function ul(t){var a=t;do{if((a.flags&32768)!==0){Oy(a,Aa);return}t=a.return;var s=ZS(a.alternate,a,ta);if(s!==null){Ce=s;return}if(a=a.sibling,a!==null){Ce=a;return}Ce=a=t}while(a!==null);Ke===0&&(Ke=5)}function Oy(t,a){do{var s=JS(t.alternate,t);if(s!==null){s.flags&=32767,Ce=s;return}if(s=t.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(t=t.sibling,t!==null)){Ce=t;return}Ce=t=s}while(t!==null);Ke=6,Ce=null}function Dy(t,a,s,o,d,f,w,S,k){t.cancelPendingCommit=null;do dl();while(bt!==0);if((_e&6)!==0)throw Error(r(327));if(a!==null){if(a===t.current)throw Error(r(177));if(f=a.lanes|a.childLanes,f|=mu,BT(t,s,f,w,S,k),t===qe&&(Ce=qe=null,ke=0),ts=a,Ca=t,ns=s,wd=f,xd=d,Sy=o,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,d4(go,function(){return zy(),null})):(t.callbackNode=null,t.callbackPriority=0),o=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,d=Y.p,Y.p=2,w=_e,_e|=4;try{e4(t,a,s)}finally{_e=w,Y.p=d,D.T=o}}bt=1,_y(),Py(),Ly()}}function _y(){if(bt===1){bt=0;var t=Ca,a=ts,s=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||s){s=D.T,D.T=null;var o=Y.p;Y.p=2;var d=_e;_e|=4;try{gy(a,t);var f=Vd,w=Tm(t.containerInfo),S=f.focusedElem,k=f.selectionRange;if(w!==S&&S&&S.ownerDocument&&xm(S.ownerDocument.documentElement,S)){if(k!==null&&uu(S)){var U=k.start,X=k.end;if(X===void 0&&(X=U),"selectionStart"in S)S.selectionStart=U,S.selectionEnd=Math.min(X,S.value.length);else{var $=S.ownerDocument||document,F=$&&$.defaultView||window;if(F.getSelection){var q=F.getSelection(),Te=S.textContent.length,be=Math.min(k.start,Te),Be=k.end===void 0?be:Math.min(k.end,Te);!q.extend&&be>Be&&(w=Be,Be=be,be=w);var V=wm(S,be),_=wm(S,Be);if(V&&_&&(q.rangeCount!==1||q.anchorNode!==V.node||q.anchorOffset!==V.offset||q.focusNode!==_.node||q.focusOffset!==_.offset)){var B=$.createRange();B.setStart(V.node,V.offset),q.removeAllRanges(),be>Be?(q.addRange(B),q.extend(_.node,_.offset)):(B.setEnd(_.node,_.offset),q.addRange(B))}}}}for($=[],q=S;q=q.parentNode;)q.nodeType===1&&$.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<$.length;S++){var K=$[S];K.element.scrollLeft=K.left,K.element.scrollTop=K.top}}Sl=!!Ld,Vd=Ld=null}finally{_e=d,Y.p=o,D.T=s}}t.current=a,bt=2}}function Py(){if(bt===2){bt=0;var t=Ca,a=ts,s=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||s){s=D.T,D.T=null;var o=Y.p;Y.p=2;var d=_e;_e|=4;try{hy(t,a.alternate,a)}finally{_e=d,Y.p=o,D.T=s}}bt=3}}function Ly(){if(bt===4||bt===3){bt=0,mo();var t=Ca,a=ts,s=ns,o=Sy;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?bt=5:(bt=0,ts=Ca=null,Vy(t,t.pendingLanes));var d=t.pendingLanes;if(d===0&&(ja=null),qc(s),a=a.stateNode,qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(Ds,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=D.T,d=Y.p,Y.p=2,D.T=null;try{for(var f=t.onRecoverableError,w=0;w<o.length;w++){var S=o[w];f(S.value,{componentStack:S.stack})}}finally{D.T=a,Y.p=d}}(ns&3)!==0&&dl(),_n(t),d=t.pendingLanes,(s&4194090)!==0&&(d&42)!==0?t===Td?yr++:(yr=0,Td=t):yr=0,vr(0)}}function Vy(t,a){(t.pooledCacheLanes&=a)===0&&(a=t.pooledCache,a!=null&&(t.pooledCache=null,$s(a)))}function dl(t){return _y(),Py(),Ly(),zy()}function zy(){if(bt!==5)return!1;var t=Ca,a=wd;wd=0;var s=qc(ns),o=D.T,d=Y.p;try{Y.p=32>s?32:s,D.T=null,s=xd,xd=null;var f=Ca,w=ns;if(bt=0,ts=Ca=null,ns=0,(_e&6)!==0)throw Error(r(331));var S=_e;if(_e|=4,xy(f.current),vy(f,f.current,w,s),_e=S,vr(0,!1),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(Ds,f)}catch{}return!0}finally{Y.p=d,D.T=o,Vy(t,a)}}function By(t,a,s){a=rn(s,a),a=ed(t.stateNode,a,2),t=ya(t,a,2),t!==null&&(Ps(t,2),_n(t))}function He(t,a,s){if(t.tag===3)By(t,t,s);else for(;a!==null;){if(a.tag===3){By(a,t,s);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ja===null||!ja.has(o))){t=rn(s,t),s=qg(2),o=ya(a,s,2),o!==null&&(Ig(s,o,a,t),Ps(o,2),_n(o));break}}a=a.return}}function jd(t,a,s){var o=t.pingCache;if(o===null){o=t.pingCache=new a4;var d=new Set;o.set(a,d)}else d=o.get(a),d===void 0&&(d=new Set,o.set(a,d));d.has(s)||(gd=!0,d.add(s),t=l4.bind(null,t,a,s),a.then(t,t))}function l4(t,a,s){var o=t.pingCache;o!==null&&o.delete(a),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,qe===t&&(ke&s)===s&&(Ke===4||Ke===3&&(ke&62914560)===ke&&300>Tt()-bd?(_e&2)===0&&as(t,0):yd|=s,es===ke&&(es=0)),_n(t)}function Uy(t,a){a===0&&(a=Lp()),t=Bi(t,a),t!==null&&(Ps(t,a),_n(t))}function c4(t){var a=t.memoizedState,s=0;a!==null&&(s=a.retryLane),Uy(t,s)}function u4(t,a){var s=0;switch(t.tag){case 13:var o=t.stateNode,d=t.memoizedState;d!==null&&(s=d.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(a),Uy(t,s)}function d4(t,a){return yt(t,a)}var hl=null,ss=null,Cd=!1,fl=!1,Rd=!1,ci=0;function _n(t){t!==ss&&t.next===null&&(ss===null?hl=ss=t:ss=ss.next=t),fl=!0,Cd||(Cd=!0,f4())}function vr(t,a){if(!Rd&&fl){Rd=!0;do for(var s=!1,o=hl;o!==null;){if(t!==0){var d=o.pendingLanes;if(d===0)var f=0;else{var w=o.suspendedLanes,S=o.pingedLanes;f=(1<<31-It(42|t)+1)-1,f&=d&~(w&~S),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(s=!0,Iy(o,f))}else f=ke,f=bo(o,o===qe?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(f&3)===0||_s(o,f)||(s=!0,Iy(o,f));o=o.next}while(s);Rd=!1}}function h4(){Hy()}function Hy(){fl=Cd=!1;var t=0;ci!==0&&(x4()&&(t=ci),ci=0);for(var a=Tt(),s=null,o=hl;o!==null;){var d=o.next,f=Fy(o,a);f===0?(o.next=null,s===null?hl=d:s.next=d,d===null&&(ss=s)):(s=o,(t!==0||(f&3)!==0)&&(fl=!0)),o=d}vr(t)}function Fy(t,a){for(var s=t.suspendedLanes,o=t.pingedLanes,d=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var w=31-It(f),S=1<<w,k=d[w];k===-1?((S&s)===0||(S&o)!==0)&&(d[w]=zT(S,a)):k<=a&&(t.expiredLanes|=S),f&=~S}if(a=qe,s=ke,s=bo(t,t===a?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o=t.callbackNode,s===0||t===a&&(Pe===2||Pe===9)||t.cancelPendingCommit!==null)return o!==null&&o!==null&&ct(o),t.callbackNode=null,t.callbackPriority=0;if((s&3)===0||_s(t,s)){if(a=s&-s,a===t.callbackPriority)return a;switch(o!==null&&ct(o),qc(s)){case 2:case 8:s=Dp;break;case 32:s=go;break;case 268435456:s=_p;break;default:s=go}return o=qy.bind(null,t),s=yt(s,o),t.callbackPriority=a,t.callbackNode=s,a}return o!==null&&o!==null&&ct(o),t.callbackPriority=2,t.callbackNode=null,2}function qy(t,a){if(bt!==0&&bt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var s=t.callbackNode;if(dl()&&t.callbackNode!==s)return null;var o=ke;return o=bo(t,t===qe?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),o===0?null:(Ey(t,o,a),Fy(t,Tt()),t.callbackNode!=null&&t.callbackNode===s?qy.bind(null,t):null)}function Iy(t,a){if(dl())return null;Ey(t,a,!0)}function f4(){S4(function(){(_e&6)!==0?yt(Op,h4):Hy()})}function kd(){return ci===0&&(ci=Pp()),ci}function Gy(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ao(""+t)}function Yy(t,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,t.id&&s.setAttribute("form",t.id),a.parentNode.insertBefore(s,a),t=new FormData(t),s.parentNode.removeChild(s),t}function p4(t,a,s,o,d){if(a==="submit"&&s&&s.stateNode===d){var f=Gy((d[_t]||null).action),w=o.submitter;w&&(a=(a=w[_t]||null)?Gy(a.formAction):w.getAttribute("formAction"),a!==null&&(f=a,w=null));var S=new Ro("action","action",null,o,d);t.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(ci!==0){var k=w?Yy(d,w):new FormData(d);Ku(s,{pending:!0,data:k,method:d.method,action:f},null,k)}}else typeof f=="function"&&(S.preventDefault(),k=w?Yy(d,w):new FormData(d),Ku(s,{pending:!0,data:k,method:d.method,action:f},f,k))},currentTarget:d}]})}}for(var Nd=0;Nd<pu.length;Nd++){var Md=pu[Nd],m4=Md.toLowerCase(),g4=Md[0].toUpperCase()+Md.slice(1);vn(m4,"on"+g4)}vn(Em,"onAnimationEnd"),vn(jm,"onAnimationIteration"),vn(Cm,"onAnimationStart"),vn("dblclick","onDoubleClick"),vn("focusin","onFocus"),vn("focusout","onBlur"),vn(DS,"onTransitionRun"),vn(_S,"onTransitionStart"),vn(PS,"onTransitionCancel"),vn(Rm,"onTransitionEnd"),ki("onMouseEnter",["mouseout","mouseover"]),ki("onMouseLeave",["mouseout","mouseover"]),ki("onPointerEnter",["pointerout","pointerover"]),ki("onPointerLeave",["pointerout","pointerover"]),Wa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var br="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(" "),y4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(br));function Wy(t,a){a=(a&4)!==0;for(var s=0;s<t.length;s++){var o=t[s],d=o.event;o=o.listeners;e:{var f=void 0;if(a)for(var w=o.length-1;0<=w;w--){var S=o[w],k=S.instance,U=S.currentTarget;if(S=S.listener,k!==f&&d.isPropagationStopped())break e;f=S,d.currentTarget=U;try{f(d)}catch(X){el(X)}d.currentTarget=null,f=k}else for(w=0;w<o.length;w++){if(S=o[w],k=S.instance,U=S.currentTarget,S=S.listener,k!==f&&d.isPropagationStopped())break e;f=S,d.currentTarget=U;try{f(d)}catch(X){el(X)}d.currentTarget=null,f=k}}}}function Re(t,a){var s=a[Ic];s===void 0&&(s=a[Ic]=new Set);var o=t+"__bubble";s.has(o)||(Xy(a,t,2,!1),s.add(o))}function Od(t,a,s){var o=0;a&&(o|=4),Xy(s,t,o,a)}var pl="_reactListening"+Math.random().toString(36).slice(2);function Dd(t){if(!t[pl]){t[pl]=!0,Hp.forEach(function(s){s!=="selectionchange"&&(y4.has(s)||Od(s,!1,t),Od(s,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[pl]||(a[pl]=!0,Od("selectionchange",!1,a))}}function Xy(t,a,s,o){switch(v0(a)){case 2:var d=I4;break;case 8:d=G4;break;default:d=Wd}s=d.bind(null,a,s,t),d=void 0,!tu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(d=!0),o?d!==void 0?t.addEventListener(a,s,{capture:!0,passive:d}):t.addEventListener(a,s,!0):d!==void 0?t.addEventListener(a,s,{passive:d}):t.addEventListener(a,s,!1)}function _d(t,a,s,o,d){var f=o;if((a&1)===0&&(a&2)===0&&o!==null)e:for(;;){if(o===null)return;var w=o.tag;if(w===3||w===4){var S=o.stateNode.containerInfo;if(S===d)break;if(w===4)for(w=o.return;w!==null;){var k=w.tag;if((k===3||k===4)&&w.stateNode.containerInfo===d)return;w=w.return}for(;S!==null;){if(w=ji(S),w===null)return;if(k=w.tag,k===5||k===6||k===26||k===27){o=f=w;continue e}S=S.parentNode}}o=o.return}tm(function(){var U=f,X=Jc(s),$=[];e:{var F=km.get(t);if(F!==void 0){var q=Ro,Te=t;switch(t){case"keypress":if(jo(s)===0)break e;case"keydown":case"keyup":q=dS;break;case"focusin":Te="focus",q=su;break;case"focusout":Te="blur",q=su;break;case"beforeblur":case"afterblur":q=su;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=im;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=JT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=pS;break;case Em:case jm:case Cm:q=nS;break;case Rm:q=gS;break;case"scroll":case"scrollend":q=$T;break;case"wheel":q=vS;break;case"copy":case"cut":case"paste":q=iS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=rm;break;case"toggle":case"beforetoggle":q=wS}var be=(a&4)!==0,Be=!be&&(t==="scroll"||t==="scrollend"),V=be?F!==null?F+"Capture":null:F;be=[];for(var _=U,B;_!==null;){var K=_;if(B=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||B===null||V===null||(K=zs(_,V),K!=null&&be.push(wr(_,K,B))),Be)break;_=_.return}0<be.length&&(F=new q(F,Te,null,s,X),$.push({event:F,listeners:be}))}}if((a&7)===0){e:{if(F=t==="mouseover"||t==="pointerover",q=t==="mouseout"||t==="pointerout",F&&s!==Zc&&(Te=s.relatedTarget||s.fromElement)&&(ji(Te)||Te[Ei]))break e;if((q||F)&&(F=X.window===X?X:(F=X.ownerDocument)?F.defaultView||F.parentWindow:window,q?(Te=s.relatedTarget||s.toElement,q=U,Te=Te?ji(Te):null,Te!==null&&(Be=u(Te),be=Te.tag,Te!==Be||be!==5&&be!==27&&be!==6)&&(Te=null)):(q=null,Te=U),q!==Te)){if(be=im,K="onMouseLeave",V="onMouseEnter",_="mouse",(t==="pointerout"||t==="pointerover")&&(be=rm,K="onPointerLeave",V="onPointerEnter",_="pointer"),Be=q==null?F:Vs(q),B=Te==null?F:Vs(Te),F=new be(K,_+"leave",q,s,X),F.target=Be,F.relatedTarget=B,K=null,ji(X)===U&&(be=new be(V,_+"enter",Te,s,X),be.target=B,be.relatedTarget=Be,K=be),Be=K,q&&Te)t:{for(be=q,V=Te,_=0,B=be;B;B=rs(B))_++;for(B=0,K=V;K;K=rs(K))B++;for(;0<_-B;)be=rs(be),_--;for(;0<B-_;)V=rs(V),B--;for(;_--;){if(be===V||V!==null&&be===V.alternate)break t;be=rs(be),V=rs(V)}be=null}else be=null;q!==null&&Ky($,F,q,be,!1),Te!==null&&Be!==null&&Ky($,Be,Te,be,!0)}}e:{if(F=U?Vs(U):window,q=F.nodeName&&F.nodeName.toLowerCase(),q==="select"||q==="input"&&F.type==="file")var pe=pm;else if(hm(F))if(mm)pe=NS;else{pe=RS;var je=CS}else q=F.nodeName,!q||q.toLowerCase()!=="input"||F.type!=="checkbox"&&F.type!=="radio"?U&&$c(U.elementType)&&(pe=pm):pe=kS;if(pe&&(pe=pe(t,U))){fm($,pe,s,X);break e}je&&je(t,F,U),t==="focusout"&&U&&F.type==="number"&&U.memoizedProps.value!=null&&Qc(F,"number",F.value)}switch(je=U?Vs(U):window,t){case"focusin":(hm(je)||je.contentEditable==="true")&&(Li=je,du=U,Ys=null);break;case"focusout":Ys=du=Li=null;break;case"mousedown":hu=!0;break;case"contextmenu":case"mouseup":case"dragend":hu=!1,Sm($,s,X);break;case"selectionchange":if(OS)break;case"keydown":case"keyup":Sm($,s,X)}var ve;if(ou)e:{switch(t){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else Pi?um(t,s)&&(we="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(we="onCompositionStart");we&&(om&&s.locale!=="ko"&&(Pi||we!=="onCompositionStart"?we==="onCompositionEnd"&&Pi&&(ve=nm()):(fa=X,nu="value"in fa?fa.value:fa.textContent,Pi=!0)),je=ml(U,we),0<je.length&&(we=new sm(we,t,null,s,X),$.push({event:we,listeners:je}),ve?we.data=ve:(ve=dm(s),ve!==null&&(we.data=ve)))),(ve=TS?SS(t,s):AS(t,s))&&(we=ml(U,"onBeforeInput"),0<we.length&&(je=new sm("onBeforeInput","beforeinput",null,s,X),$.push({event:je,listeners:we}),je.data=ve)),p4($,t,U,s,X)}Wy($,a)})}function wr(t,a,s){return{instance:t,listener:a,currentTarget:s}}function ml(t,a){for(var s=a+"Capture",o=[];t!==null;){var d=t,f=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||f===null||(d=zs(t,s),d!=null&&o.unshift(wr(t,d,f)),d=zs(t,a),d!=null&&o.push(wr(t,d,f))),t.tag===3)return o;t=t.return}return[]}function rs(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ky(t,a,s,o,d){for(var f=a._reactName,w=[];s!==null&&s!==o;){var S=s,k=S.alternate,U=S.stateNode;if(S=S.tag,k!==null&&k===o)break;S!==5&&S!==26&&S!==27||U===null||(k=U,d?(U=zs(s,f),U!=null&&w.unshift(wr(s,U,k))):d||(U=zs(s,f),U!=null&&w.push(wr(s,U,k)))),s=s.return}w.length!==0&&t.push({event:a,listeners:w})}var v4=/\r\n?/g,b4=/\u0000|\uFFFD/g;function Qy(t){return(typeof t=="string"?t:""+t).replace(v4,`
9`).replace(b4,"")}function $y(t,a){return a=Qy(a),Qy(t)===a}function gl(){}function ze(t,a,s,o,d,f){switch(s){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||Oi(t,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&Oi(t,""+o);break;case"className":xo(t,"class",o);break;case"tabIndex":xo(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":xo(t,s,o);break;case"style":Jp(t,o,f);break;case"data":if(a!=="object"){xo(t,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||s!=="href")){t.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(s);break}o=Ao(""+o),t.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){t.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(s==="formAction"?(a!=="input"&&ze(t,a,"name",d.name,d,null),ze(t,a,"formEncType",d.formEncType,d,null),ze(t,a,"formMethod",d.formMethod,d,null),ze(t,a,"formTarget",d.formTarget,d,null)):(ze(t,a,"encType",d.encType,d,null),ze(t,a,"method",d.method,d,null),ze(t,a,"target",d.target,d,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(s);break}o=Ao(""+o),t.setAttribute(s,o);break;case"onClick":o!=null&&(t.onclick=gl);break;case"onScroll":o!=null&&Re("scroll",t);break;case"onScrollEnd":o!=null&&Re("scrollend",t);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(d.children!=null)throw Error(r(60));t.innerHTML=s}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}s=Ao(""+o),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,""+o):t.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,""):t.removeAttribute(s);break;case"capture":case"download":o===!0?t.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(s,o):t.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?t.setAttribute(s,o):t.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(s):t.setAttribute(s,o);break;case"popover":Re("beforetoggle",t),Re("toggle",t),wo(t,"popover",o);break;case"xlinkActuate":Fn(t,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Fn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Fn(t,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Fn(t,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Fn(t,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Fn(t,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Fn(t,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Fn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Fn(t,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":wo(t,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=KT.get(s)||s,wo(t,s,o))}}function Pd(t,a,s,o,d,f){switch(s){case"style":Jp(t,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(d.children!=null)throw Error(r(60));t.innerHTML=s}}break;
vendor: 6,952 bytes, line 9
9case"children":typeof o=="string"?Oi(t,o):(typeof o=="number"||typeof o=="bigint")&&Oi(t,""+o);break;case"onScroll":o!=null&&Re("scroll",t);break;case"onScrollEnd":o!=null&&Re("scrollend",t);break;case"onClick":o!=null&&(t.onclick=gl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Fp.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(d=s.endsWith("Capture"),a=s.slice(2,d?s.length-7:void 0),f=t[_t]||null,f=f!=null?f[s]:null,typeof f=="function"&&t.removeEventListener(a,f,d),typeof o=="function")){typeof f!="function"&&f!==null&&(s in t?t[s]=null:t.hasAttribute(s)&&t.removeAttribute(s)),t.addEventListener(a,o,d);break e}s in t?t[s]=o:o===!0?t.setAttribute(s,""):wo(t,s,o)}}}function wt(t,a,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Re("error",t),Re("load",t);var o=!1,d=!1,f;for(f in s)if(s.hasOwnProperty(f)){var w=s[f];if(w!=null)switch(f){case"src":o=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:ze(t,a,f,w,s,null)}}d&&ze(t,a,"srcSet",s.srcSet,s,null),o&&ze(t,a,"src",s.src,s,null);return;case"input":Re("invalid",t);var S=f=w=d=null,k=null,U=null;for(o in s)if(s.hasOwnProperty(o)){var X=s[o];if(X!=null)switch(o){case"name":d=X;break;case"type":w=X;break;case"checked":k=X;break;case"defaultChecked":U=X;break;case"value":f=X;break;case"defaultValue":S=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(r(137,a));break;default:ze(t,a,o,X,s,null)}}Kp(t,f,S,k,U,w,d,!1),To(t);return;case"select":Re("invalid",t),o=w=f=null;for(d in s)if(s.hasOwnProperty(d)&&(S=s[d],S!=null))switch(d){case"value":f=S;break;case"defaultValue":w=S;break;case"multiple":o=S;default:ze(t,a,d,S,s,null)}a=f,s=w,t.multiple=!!o,a!=null?Mi(t,!!o,a,!1):s!=null&&Mi(t,!!o,s,!0);return;case"textarea":Re("invalid",t),f=d=o=null;for(w in s)if(s.hasOwnProperty(w)&&(S=s[w],S!=null))switch(w){case"value":o=S;break;case"defaultValue":d=S;break;case"children":f=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(91));break;default:ze(t,a,w,S,s,null)}$p(t,o,d,f),To(t);return;case"option":for(k in s)s.hasOwnProperty(k)&&(o=s[k],o!=null)&&(k==="selected"?t.selected=o&&typeof o!="function"&&typeof o!="symbol":ze(t,a,k,o,s,null));return;case"dialog":Re("beforetoggle",t),Re("toggle",t),Re("cancel",t),Re("close",t);break;case"iframe":case"object":Re("load",t);break;case"video":case"audio":for(o=0;o<br.length;o++)Re(br[o],t);break;case"image":Re("error",t),Re("load",t);break;case"details":Re("toggle",t);break;case"embed":case"source":case"link":Re("error",t),Re("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in s)if(s.hasOwnProperty(U)&&(o=s[U],o!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:ze(t,a,U,o,s,null)}return;default:if($c(a)){for(X in s)s.hasOwnProperty(X)&&(o=s[X],o!==void 0&&Pd(t,a,X,o,s,void 0));return}}for(S in s)s.hasOwnProperty(S)&&(o=s[S],o!=null&&ze(t,a,S,o,s,null))}function w4(t,a,s,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,f=null,w=null,S=null,k=null,U=null,X=null;for(q in s){var $=s[q];if(s.hasOwnProperty(q)&&$!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":k=$;default:o.hasOwnProperty(q)||ze(t,a,q,null,o,$)}}for(var F in o){var q=o[F];if($=s[F],o.hasOwnProperty(F)&&(q!=null||$!=null))switch(F){case"type":f=q;break;case"name":d=q;break;case"checked":U=q;break;case"defaultChecked":X=q;break;case"value":w=q;break;case"defaultValue":S=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,a));break;default:q!==$&&ze(t,a,F,q,o,$)}}Kc(t,w,S,k,U,X,f,d);return;case"select":q=w=S=F=null;for(f in s)if(k=s[f],s.hasOwnProperty(f)&&k!=null)switch(f){case"value":break;case"multiple":q=k;default:o.hasOwnProperty(f)||ze(t,a,f,null,o,k)}for(d in o)if(f=o[d],k=s[d],o.hasOwnProperty(d)&&(f!=null||k!=null))switch(d){case"value":F=f;break;case"defaultValue":S=f;break;case"multiple":w=f;default:f!==k&&ze(t,a,d,f,o,k)}a=S,s=w,o=q,F!=null?Mi(t,!!s,F,!1):!!o!=!!s&&(a!=null?Mi(t,!!s,a,!0):Mi(t,!!s,s?[]:"",!1));return;case"textarea":q=F=null;for(S in s)if(d=s[S],s.hasOwnProperty(S)&&d!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:ze(t,a,S,null,o,d)}for(w in o)if(d=o[w],f=s[w],o.hasOwnProperty(w)&&(d!=null||f!=null))switch(w){case"value":F=d;break;case"defaultValue":q=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(r(91));break;default:d!==f&&ze(t,a,w,d,o,f)}Qp(t,F,q);return;case"option":for(var Te in s)F=s[Te],s.hasOwnProperty(Te)&&F!=null&&!o.hasOwnProperty(Te)&&(Te==="selected"?t.selected=!1:ze(t,a,Te,null,o,F));for(k in o)F=o[k],q=s[k],o.hasOwnProperty(k)&&F!==q&&(F!=null||q!=null)&&(k==="selected"?t.selected=F&&typeof F!="function"&&typeof F!="symbol":ze(t,a,k,F,o,q));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var be in s)F=s[be],s.hasOwnProperty(be)&&F!=null&&!o.hasOwnProperty(be)&&ze(t,a,be,null,o,F);for(U in o)if(F=o[U],q=s[U],o.hasOwnProperty(U)&&F!==q&&(F!=null||q!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,a));break;default:ze(t,a,U,F,o,q)}return;default:if($c(a)){for(var Be in s)F=s[Be],s.hasOwnProperty(Be)&&F!==void 0&&!o.hasOwnProperty(Be)&&Pd(t,a,Be,void 0,o,F);for(X in o)F=o[X],q=s[X],!o.hasOwnProperty(X)||F===q||F===void 0&&q===void 0||Pd(t,a,X,F,o,q);return}}for(var V in s)F=s[V],s.hasOwnProperty(V)&&F!=null&&!o.hasOwnProperty(V)&&ze(t,a,V,null,o,F);for($ in o)F=o[$],q=s[$],!o.hasOwnProperty($)||F===q||F==null&&q==null||ze(t,a,$,F,o,q)}var Ld=null,Vd=null;function yl(t){return t.nodeType===9?t:t.ownerDocument}function Zy(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Jy(t,a){if(t===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&a==="foreignObject"?0:t}function zd(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Bd=null;function x4(){var t=window.event;return t&&t.type==="popstate"?t===Bd?!1:(Bd=t,!0):(Bd=null,!1)}var e0=typeof setTimeout=="function"?setTimeout:void 0,T4=typeof clearTimeout=="function"?clearTimeout:void 0,t0=typeof Promise=="function"?Promise:void 0,S4=typeof queueMicrotask=="function"?queueMicrotask:typeof t0<"u"?function(t){return t0.resolve(null).then(t).cat
vendor: 5,349 bytes, line 9
9ch(A4)}:e0;function A4(t){setTimeout(function(){throw t})}function ka(t){return t==="head"}function n0(t,a){var s=a,o=0,d=0;do{var f=s.nextSibling;if(t.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(0<o&&8>o){s=o;var w=t.ownerDocument;if(s&1&&xr(w.documentElement),s&2&&xr(w.body),s&4)for(s=w.head,xr(s),w=s.firstChild;w;){var S=w.nextSibling,k=w.nodeName;w[Ls]||k==="SCRIPT"||k==="STYLE"||k==="LINK"&&w.rel.toLowerCase()==="stylesheet"||s.removeChild(w),w=S}}if(d===0){t.removeChild(f),kr(a);return}d--}else s==="$"||s==="$?"||s==="$!"?d++:o=s.charCodeAt(0)-48;else o=0;s=f}while(s);kr(a)}function Ud(t){var a=t.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Ud(s),Gc(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}t.removeChild(s)}}function E4(t,a,s,o){for(;t.nodeType===1;){var d=s;if(t.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[Ls])switch(a){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==d.rel||t.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||t.getAttribute("title")!==(d.title==null?null:d.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(d.src==null?null:d.src)||t.getAttribute("type")!==(d.type==null?null:d.type)||t.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(a==="input"&&t.type==="hidden"){var f=d.name==null?null:""+d.name;if(d.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=wn(t.nextSibling),t===null)break}return null}function j4(t,a,s){if(a==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!s||(t=wn(t.nextSibling),t===null))return null;return t}function Hd(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function C4(t,a){var s=t.ownerDocument;if(t.data!=="$?"||s.readyState==="complete")a();else{var o=function(){a(),s.removeEventListener("DOMContentLoaded",o)};s.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function wn(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return t}var Fd=null;function a0(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(a===0)return t;a--}else s==="/$"&&a++}t=t.previousSibling}return null}function i0(t,a,s){switch(a=yl(s),t){case"html":if(t=a.documentElement,!t)throw Error(r(452));return t;case"head":if(t=a.head,!t)throw Error(r(453));return t;case"body":if(t=a.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function xr(t){for(var a=t.attributes;a.length;)t.removeAttributeNode(a[0]);Gc(t)}var hn=new Map,s0=new Set;function vl(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var na=Y.d;Y.d={f:R4,r:k4,D:N4,C:M4,L:O4,m:D4,X:P4,S:_4,M:L4};function R4(){var t=na.f(),a=cl();return t||a}function k4(t){var a=Ci(t);a!==null&&a.tag===5&&a.type==="form"?Eg(a):na.r(t)}var os=typeof document>"u"?null:document;function r0(t,a,s){var o=os;if(o&&typeof a=="string"&&a){var d=sn(a);d='link[rel="'+t+'"][href="'+d+'"]',typeof s=="string"&&(d+='[crossorigin="'+s+'"]'),s0.has(d)||(s0.add(d),t={rel:t,crossOrigin:s,href:a},o.querySelector(d)===null&&(a=o.createElement("link"),wt(a,"link",t),ut(a),o.head.appendChild(a)))}}function N4(t){na.D(t),r0("dns-prefetch",t,null)}function M4(t,a){na.C(t,a),r0("preconnect",t,a)}function O4(t,a,s){na.L(t,a,s);var o=os;if(o&&t&&a){var d='link[rel="preload"][as="'+sn(a)+'"]';a==="image"&&s&&s.imageSrcSet?(d+='[imagesrcset="'+sn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(d+='[imagesizes="'+sn(s.imageSizes)+'"]')):d+='[href="'+sn(t)+'"]';var f=d;switch(a){case"style":f=ls(t);break;case"script":f=cs(t)}hn.has(f)||(t=y({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:t,as:a},s),hn.set(f,t),o.querySelector(d)!==null||a==="style"&&o.querySelector(Tr(f))||a==="script"&&o.querySelector(Sr(f))||(a=o.createElement("link"),wt(a,"link",t),ut(a),o.head.appendChild(a)))}}function D4(t,a){na.m(t,a);var s=os;if(s&&t){var o=a&&typeof a.as=="string"?a.as:"script",d='link[rel="modulepreload"][as="'+sn(o)+'"][href="'+sn(t)+'"]',f=d;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=cs(t)}if(!hn.has(f)&&(t=y({rel:"modulepreload",href:t},a),hn.set(f,t),s.querySelector(d)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Sr(f)))return}o=s.createElement("link"),wt(o,"link",t),ut(o),s.head.appendChild(o)}}}function _4(t,a,s){na.S(t,a,s);var o=os;if(o&&t){var d=Ri(o).hoistableStyles,f=ls(t);a=a||"default";var w=d.get(f);if(!w){var S={loading:0,preload:null};if(w=o.querySelector(Tr(f)))S.loading=5;
vendor: 5,847 bytes, line 9
9else{t=y({rel:"stylesheet",href:t,"data-precedence":a},s),(s=hn.get(f))&&qd(t,s);var k=w=o.createElement("link");ut(k),wt(k,"link",t),k._p=new Promise(function(U,X){k.onload=U,k.onerror=X}),k.addEventListener("load",function(){S.loading|=1}),k.addEventListener("error",function(){S.loading|=2}),S.loading|=4,bl(w,a,o)}w={type:"stylesheet",instance:w,count:1,state:S},d.set(f,w)}}}function P4(t,a){na.X(t,a);var s=os;if(s&&t){var o=Ri(s).hoistableScripts,d=cs(t),f=o.get(d);f||(f=s.querySelector(Sr(d)),f||(t=y({src:t,async:!0},a),(a=hn.get(d))&&Id(t,a),f=s.createElement("script"),ut(f),wt(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(d,f))}}function L4(t,a){na.M(t,a);var s=os;if(s&&t){var o=Ri(s).hoistableScripts,d=cs(t),f=o.get(d);f||(f=s.querySelector(Sr(d)),f||(t=y({src:t,async:!0,type:"module"},a),(a=hn.get(d))&&Id(t,a),f=s.createElement("script"),ut(f),wt(f,"link",t),s.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(d,f))}}function o0(t,a,s,o){var d=(d=re.current)?vl(d):null;if(!d)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(a=ls(s.href),s=Ri(d).hoistableStyles,o=s.get(a),o||(o={type:"style",instance:null,count:0,state:null},s.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=ls(s.href);var f=Ri(d).hoistableStyles,w=f.get(t);if(w||(d=d.ownerDocument||d,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,w),(f=d.querySelector(Tr(t)))&&!f._p&&(w.instance=f,w.state.loading=5),hn.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},hn.set(t,s),f||V4(d,t,s,w.state))),a&&o===null)throw Error(r(528,""));return w}if(a&&o!==null)throw Error(r(529,""));return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=cs(s),s=Ri(d).hoistableScripts,o=s.get(a),o||(o={type:"script",instance:null,count:0,state:null},s.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function ls(t){return'href="'+sn(t)+'"'}function Tr(t){return'link[rel="stylesheet"]['+t+"]"}function l0(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function V4(t,a,s,o){t.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=t.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),wt(a,"link",s),ut(a),t.head.appendChild(a))}function cs(t){return'[src="'+sn(t)+'"]'}function Sr(t){return"script[async]"+t}function c0(t,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var o=t.querySelector('style[data-href~="'+sn(s.href)+'"]');if(o)return a.instance=o,ut(o),o;var d=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),ut(o),wt(o,"style",d),bl(o,s.precedence,t),a.instance=o;case"stylesheet":d=ls(s.href);var f=t.querySelector(Tr(d));if(f)return a.state.loading|=4,a.instance=f,ut(f),f;o=l0(s),(d=hn.get(d))&&qd(o,d),f=(t.ownerDocument||t).createElement("link"),ut(f);var w=f;return w._p=new Promise(function(S,k){w.onload=S,w.onerror=k}),wt(f,"link",o),a.state.loading|=4,bl(f,s.precedence,t),a.instance=f;case"script":return f=cs(s.src),(d=t.querySelector(Sr(f)))?(a.instance=d,ut(d),d):(o=s,(d=hn.get(f))&&(o=y({},s),Id(o,d)),t=t.ownerDocument||t,d=t.createElement("script"),ut(d),wt(d,"link",o),t.head.appendChild(d),a.instance=d);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,bl(o,s.precedence,t));return a.instance}function bl(t,a,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=o.length?o[o.length-1]:null,f=d,w=0;w<o.length;w++){var S=o[w];if(S.dataset.precedence===a)f=S;else if(f!==d)break}f?f.parentNode.insertBefore(t,f.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(t,a.firstChild))}function qd(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.title==null&&(t.title=a.title)}function Id(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.integrity==null&&(t.integrity=a.integrity)}var wl=null;function u0(t,a,s){if(wl===null){var o=new Map,d=wl=new Map;d.set(s,o)}else d=wl,o=d.get(s),o||(o=new Map,d.set(s,o));if(o.has(t))return o;for(o.set(t,null),s=s.getElementsByTagName(t),d=0;d<s.length;d++){var f=s[d];if(!(f[Ls]||f[St]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var w=f.getAttribute(a)||"";w=t+w;var S=o.get(w);S?S.push(f):o.set(w,[f])}}return o}function d0(t,a,s){t=t.ownerDocument||t,t.head.insertBefore(s,a==="title"?t.querySelector("head > title"):null)}function z4(t,a,s){if(s===1||a.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(t=a.disabled,typeof a.precedence=="string"&&t==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function h0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Ar=null;function B4(){}function U4(t,a,s){if(Ar===null)throw Error(r(475));var o=Ar;
vendor: 10,127 bytes, line 9
9if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var d=ls(s.href),f=t.querySelector(Tr(d));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(o.count++,o=xl.bind(o),t.then(o,o)),a.state.loading|=4,a.instance=f,ut(f);return}f=t.ownerDocument||t,s=l0(s),(d=hn.get(d))&&qd(s,d),f=f.createElement("link"),ut(f);var w=f;w._p=new Promise(function(S,k){w.onload=S,w.onerror=k}),wt(f,"link",s),a.instance=f}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(o.count++,a=xl.bind(o),t.addEventListener("load",a),t.addEventListener("error",a))}}function H4(){if(Ar===null)throw Error(r(475));var t=Ar;return t.stylesheets&&t.count===0&&Gd(t,t.stylesheets),0<t.count?function(a){var s=setTimeout(function(){if(t.stylesheets&&Gd(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(s)}}:null}function xl(){if(this.count--,this.count===0){if(this.stylesheets)Gd(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Tl=null;function Gd(t,a){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Tl=new Map,a.forEach(F4,t),Tl=null,xl.call(t))}function F4(t,a){if(!(a.state.loading&4)){var s=Tl.get(t);if(s)var o=s.get(null);else{s=new Map,Tl.set(t,s);for(var d=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<d.length;f++){var w=d[f];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(s.set(w.dataset.precedence,w),o=w)}o&&s.set(null,o)}d=a.instance,w=d.getAttribute("data-precedence"),f=s.get(w)||o,f===o&&s.set(null,d),s.set(w,d),this.count++,o=xl.bind(this),d.addEventListener("load",o),d.addEventListener("error",o),f?f.parentNode.insertBefore(d,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(d,t.firstChild)),a.state.loading|=4}}var Er={$$typeof:N,Provider:null,Consumer:null,_currentValue:G,_currentValue2:G,_threadCount:0};function q4(t,a,s,o,d,f,w,S){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Hc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hc(0),this.hiddenUpdates=Hc(null),this.identifierPrefix=o,this.onUncaughtError=d,this.onCaughtError=f,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function f0(t,a,s,o,d,f,w,S,k,U,X,$){return t=new q4(t,a,s,w,S,k,U,$),a=1,f===!0&&(a|=24),f=Yt(3,null,null,a),t.current=f,f.stateNode=t,a=ju(),a.refCount++,t.pooledCache=a,a.refCount++,f.memoizedState={element:o,isDehydrated:s,cache:a},Nu(f),t}function p0(t){return t?(t=Ui,t):Ui}function m0(t,a,s,o,d,f){d=p0(d),o.context===null?o.context=d:o.pendingContext=d,o=ga(a),o.payload={element:s},f=f===void 0?null:f,f!==null&&(o.callback=f),s=ya(t,o,a),s!==null&&($t(s,t,a),tr(s,t,a))}function g0(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<a?s:a}}function Yd(t,a){g0(t,a),(t=t.alternate)&&g0(t,a)}function y0(t){if(t.tag===13){var a=Bi(t,67108864);a!==null&&$t(a,t,67108864),Yd(t,67108864)}}var Sl=!0;function I4(t,a,s,o){var d=D.T;D.T=null;var f=Y.p;try{Y.p=2,Wd(t,a,s,o)}finally{Y.p=f,D.T=d}}function G4(t,a,s,o){var d=D.T;D.T=null;var f=Y.p;try{Y.p=8,Wd(t,a,s,o)}finally{Y.p=f,D.T=d}}function Wd(t,a,s,o){if(Sl){var d=Xd(o);if(d===null)_d(t,a,o,Al,s),b0(t,o);else if(W4(d,t,a,s,o))o.stopPropagation();else if(b0(t,o),a&4&&-1<Y4.indexOf(t)){for(;d!==null;){var f=Ci(d);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var w=Ya(f.pendingLanes);if(w!==0){var S=f;for(S.pendingLanes|=2,S.entangledLanes|=2;w;){var k=1<<31-It(w);S.entanglements[1]|=k,w&=~k}_n(f),(_e&6)===0&&(ol=Tt()+500,vr(0))}}break;case 13:S=Bi(f,2),S!==null&&$t(S,f,2),cl(),Yd(f,2)}if(f=Xd(o),f===null&&_d(t,a,o,Al,s),f===d)break;d=f}d!==null&&o.stopPropagation()}else _d(t,a,o,null,s)}}function Xd(t){return t=Jc(t),Kd(t)}var Al=null;function Kd(t){if(Al=null,t=ji(t),t!==null){var a=u(t);if(a===null)t=null;else{var s=a.tag;if(s===13){if(t=h(a),t!==null)return t;t=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null)}}return Al=t,null}function v0(t){switch(t){case"beforetoggle":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":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(MT()){case Op:return 2;case Dp:return 8;case go:case OT:return 32;case _p:return 268435456;default:return 32}default:return 32}}var Qd=!1,Na=null,Ma=null,Oa=null,jr=new Map,Cr=new Map,Da=[],Y4="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".split(" ");function b0(t,a){switch(t){case"focusin":case"focusout":Na=null;break;case"dragenter":case"dragleave":Ma=null;break;case"mouseover":case"mouseout":Oa=null;break;case"pointerover":case"pointerout":jr.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cr.delete(a.pointerId)}}function Rr(t,a,s,o,d,f){return t===null||t.nativeEvent!==f?(t={blockedOn:a,domEventName:s,eventSystemFlags:o,nativeEvent:f,targetContainers:[d]},a!==null&&(a=Ci(a),a!==null&&y0(a)),t):(t.eventSystemFlags|=o,a=t.targetContainers,d!==null&&a.indexOf(d)===-1&&a.push(d),t)}function W4(t,a,s,o,d){switch(a){case"focusin":return Na=Rr(Na,t,a,s,o,d),!0;case"dragenter":return Ma=Rr(Ma,t,a,s,o,d),!0;case"mouseover":return Oa=Rr(Oa,t,a,s,o,d),!0;case"pointerover":var f=d.pointerId;return jr.set(f,Rr(jr.get(f)||null,t,a,s,o,d)),!0;case"gotpointercapture":return f=d.pointerId,Cr.set(f,Rr(Cr.get(f)||null,t,a,s,o,d)),!0}return!1}function w0(t){var a=ji(t.target);if(a!==null){var s=u(a);if(s!==null){if(a=s.tag,a===13){if(a=h(s),a!==null){t.blockedOn=a,UT(t.priority,function(){if(s.tag===13){var o=Qt();o=Fc(o);var d=Bi(s,o);d!==null&&$t(d,s,o),Yd(s,o)}});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function El(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var s=Xd(t.nativeEvent);if(s===null){s=t.nativeEvent;var o=new s.constructor(s.type,s);Zc=o,s.target.dispatchEvent(o),Zc=null}else return a=Ci(s),a!==null&&y0(a),t.blockedOn=s,!1;a.shift()}return!0}function x0(t,a,s){El(t)&&s.delete(a)}function X4(){Qd=!1,Na!==null&&El(Na)&&(Na=null),Ma!==null&&El(Ma)&&(Ma=null),Oa!==null&&El(Oa)&&(Oa=null),jr.forEach(x0),Cr.forEach(x0)}function jl(t,a){t.blockedOn===a&&(t.blockedOn=null,Qd||(Qd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,X4)))}var Cl=null;function T0(t){Cl!==t&&(Cl=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Cl===t&&(Cl=null);for(var a=0;a<t.length;a+=3){var s=t[a],o=t[a+1],d=t[a+2];if(typeof o!="function"){if(Kd(o||s)===null)continue;break}var f=Ci(s);f!==null&&(t.splice(a,3),a-=3,Ku(f,{pending:!0,data:d,method:s.method,action:o},o,d))}}))}function kr(t){function a(k){return jl(k,t)}Na!==null&&jl(Na,t),Ma!==null&&jl(Ma,t),Oa!==null&&jl(Oa,t),jr.forEach(a),Cr.forEach(a);for(var s=0;s<Da.length;s++){var o=Da[s];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Da.length&&(s=Da[0],s.blockedOn===null);)w0(s),s.blockedOn===null&&Da.shift();if(s=(t.ownerDocument||t).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var d=s[o],f=s[o+1],w=d[_t]||null;if(typeof f=="function")w||T0(s);else if(w){var S=null;if(f&&f.hasAttribute("formAction")){if(d=f,w=f[_t]||null)S=w.formAction;else if(Kd(d)!==null)continue}else S=w.action;typeof S=="function"?s[o+1]=S:(s.splice(o,3),o-=3),T0(s)}}}function $d(t){this._internalRoot=t}Rl.prototype.render=$d.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(r(409));var s=a.current,o=Qt();m0(s,o,t,a,null,null)},Rl.prototype.unmount=$d.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;m0(t.current,2,null,t,null,null),cl(),a[Ei]=null}};function Rl(t){this._internalRoot=t}Rl.prototype.unstable_scheduleHydration=function(t){if(t){var a=Bp();t={blockedOn:null,target:t,priority:a};for(var s=0;s<Da.length&&a!==0&&a<Da[s].priority;s++);Da.splice(s,0,t),s===0&&w0(t)}};var S0=n.version;if(S0!=="19.1.0")throw Error(r(527,S0,"19.1.0"));Y.findDOMNode=function(t){var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(a),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var K4={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.0"};
vendor: 6,329 bytes, line 9
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kl.isDisabled&&kl.supportsFiber)try{Ds=kl.inject(K4),qt=kl}catch{}}return Mr.createRoot=function(t,a){if(!l(t))throw Error(r(299));var s=!1,o="",d=Bg,f=Ug,w=Hg,S=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(S=a.unstable_transitionCallbacks)),a=f0(t,1,!1,null,null,s,o,d,f,w,S,null),t[Ei]=a.current,Dd(t),new $d(a)},Mr.hydrateRoot=function(t,a,s){if(!l(t))throw Error(r(299));var o=!1,d="",f=Bg,w=Ug,S=Hg,k=null,U=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(f=s.onUncaughtError),s.onCaughtError!==void 0&&(w=s.onCaughtError),s.onRecoverableError!==void 0&&(S=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(k=s.unstable_transitionCallbacks),s.formState!==void 0&&(U=s.formState)),a=f0(t,1,!0,a,s??null,o,d,f,w,S,k,U),a.context=p0(null),s=a.current,o=Qt(),o=Fc(o),d=ga(o),d.callback=null,ya(s,d,o),s=o,a.current.lanes=s,Ps(a,s),_n(a),t[Ei]=a.current,Dd(t),new Rl(a)},Mr.version="19.1.0",Mr}var L0;function r3(){if(L0)return eh.exports;L0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),eh.exports=s3(),eh.exports}var o3=r3(),x=Tc();const Va=Z4(x),io=$4({__proto__:null,default:Va},[x]),hb=x.createContext(void 0),l3=e=>{const n=x.useContext(hb);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},c3=({client:e,children:n})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(hb.Provider,{value:e,children:n})),u3={setTimeout:(e,n)=>setTimeout(e,n),clearTimeout:e=>clearTimeout(e),setInterval:(e,n)=>setInterval(e,n),clearInterval:e=>clearInterval(e)};var d3=class{#e=u3;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,n){return this.#e.setTimeout(e,n)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,n){return this.#e.setInterval(e,n)}clearInterval(e){this.#e.clearInterval(e)}};const _h=new d3;function h3(e){setTimeout(e,0)}const f3=typeof window>"u"||"Deno"in globalThis;function Zt(){}function p3(e,n){return typeof e=="function"?e(n):e}function m3(e){return typeof e=="number"&&e>=0&&e!==1/0}function g3(e,n){return Math.max(e+(n||0)-Date.now(),0)}function Hr(e,n){return typeof e=="function"?e(n):e}function V0(e,n){const{type:i="all",exact:r,fetchStatus:l,predicate:u,queryKey:h,stale:p}=e;if(h){if(r){if(n.queryHash!==Ef(h,n.options))return!1}else if(!ws(n.queryKey,h))return!1}if(i!=="all"){const m=n.isActive();if(i==="active"&&!m||i==="inactive"&&m)return!1}return!(typeof p=="boolean"&&n.isStale()!==p||l&&l!==n.state.fetchStatus||u&&!u(n))}function z0(e,n){const{exact:i,status:r,predicate:l,mutationKey:u}=e;if(u){if(!n.options.mutationKey)return!1;if(i){if(wi(n.options.mutationKey)!==wi(u))return!1}else if(!ws(n.options.mutationKey,u))return!1}return!(r&&n.state.status!==r||l&&!l(n))}function Ef(e,n){return(n?.queryKeyHashFn||wi)(e)}function wi(e){return JSON.stringify(e,(n,i)=>Ph(i)?Object.keys(i).sort().reduce((r,l)=>(r[l]=i[l],r),{}):i)}function ws(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(Array.isArray(e)&&Array.isArray(n)){for(let r=0;r<n.length;r++)if(!ws(e[r],n[r]))return!1;return!0}const i=Object.keys(n);for(const r of i)if(!ws(e[r],n[r]))return!1;return!0}return!1}const y3=Object.prototype.hasOwnProperty;function fb(e,n,i=0){if(e===n)return e;if(i>500)return n;const r=B0(e)&&B0(n);if(!r&&!(Ph(e)&&Ph(n)))return n;const l=(r?e:Object.keys(e)).length,u=r?n:Object.keys(n),h=u.length,p=r?new Array(h):{};let m=0;for(let g=0;g<h;g++){const y=r?g:u[g],v=e[y],b=n[y];if(v===b){p[y]=v,(r?g<l:y3.call(e,y))&&m++;continue}if(v===null||b===null||typeof v!="object"||typeof b!="object"){p[y]=b;continue}const A=fb(v,b,i+1);p[y]=A,A===v&&m++}return l===h&&m===l?e:p}function v3(e,n){if(!n||Object.keys(e).length!==Object.keys(n).length)return!1;for(const i in e)if(e[i]!==n[i])return!1;return!0}function B0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ph(e){if(!U0(e))return!1;const n=e.constructor;if(n===void 0)return!0;const i=n.prototype;return!(!U0(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function U0(e){return Object.prototype.toString.call(e)==="[object Object]"}function b3(e){return new Promise(n=>{_h.setTimeout(n,e)})}function w3(e,n,i){return typeof i.structuralSharing=="function"?i.structuralSharing(e,n):i.structuralSharing!==!1?fb(e,n):n}function x3(e,n,i=0){const r=[...e,n];return i&&r.length>i?r.slice(1):r}function T3(e,n,i=0){const r=[n,...e];return i&&r.length>i?r.slice(0,-1):r}const jf=Symbol();function pb(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===jf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function S3(e,n){return typeof e=="function"?e(...n):!!e}function A3(e,n,i){let r=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??=n(),r||(r=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),e}let E3=()=>f3;const mb=()=>E3();var so=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},j3=class extends so{#e;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
9this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}};const gb=new j3,C3=h3;function R3(){let e=[],n=0,i=p=>{p()},r=p=>{p()},l=C3;const u=p=>{n?e.push(p):l(()=>{i(p)})},h=()=>{const p=e;e=[],p.length&&l(()=>{r(()=>{p.forEach(m=>{i(m)})})})};return{batch:p=>{let m;n++;try{m=p()}finally{n--,n||h()}return m},batchCalls:p=>(...m)=>{u(()=>{p(...m)})},schedule:u,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{r=p},setScheduler:p=>{l=p}}}const xt=R3();var k3=class extends so{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const n=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}};const ac=new k3;function N3(e){return Math.min(1e3*2**e,3e4)}function yb(e){return(e??"online")==="online"?ac.isOnline():!0}var Lh=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function vb(e){let n=!1,i=0,r,l="pending",u,h;const p=new Promise((M,N)=>{u=M,h=N});p.catch(Zt);const m=()=>l!=="pending",g=M=>{if(!m()){const N=new Lh(M);E(N),e.onCancel?.(N)}},y=()=>{n=!0},v=()=>{n=!1},b=()=>gb.isFocused()&&(e.networkMode==="always"||ac.isOnline())&&e.canRun(),A=()=>yb(e.networkMode)&&e.canRun(),T=M=>{m()||(r?.(),l="resolved",u(M))},E=M=>{m()||(r?.(),l="rejected",h(M))},C=()=>new Promise(M=>{r=N=>{(m()||b())&&M(N)},e.onPause?.()}).then(()=>{r=void 0,m()||e.onContinue?.()}),R=()=>{if(m())return;let M;const N=i===0?e.initialPromise:void 0;try{M=N??e.fn()}catch(O){M=Promise.reject(O)}Promise.resolve(M).then(T).catch(O=>{if(m())return;const z=e.retry??(mb()?0:3),P=e.retryDelay??N3,H=typeof P=="function"?P(i,O):P,L=z===!0||typeof z=="number"&&i<z||typeof z=="function"&&z(i,O);if(n||!L){E(O);return}i++,e.onFail?.(i,O),b3(H).then(()=>b()?void 0:C()).then(()=>{n?E(O):R()})})};return{promise:p,status:()=>l,cancel:g,continue:()=>(r?.(),p),cancelRetry:y,continueRetry:v,canStart:A,start:()=>(A()?R():C().then(R),p)}}var bb=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),m3(this.gcTime)&&(this.#e=_h.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(mb()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(_h.clearTimeout(this.#e),this.#e=void 0)}};function M3(e){return{onFetch:(n,i)=>{const r=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,u=n.state.data?.pages||[],h=n.state.data?.pageParams||[];let p={pages:[],pageParams:[]},m=0;const g=async()=>{let y=!1;const v=T=>{A3(T,()=>n.signal,()=>y=!0)},b=pb(n.options,n.fetchOptions),A=async(T,E,C)=>{if(y)return Promise.reject(n.signal.reason);if(E==null&&T.pages.length)return Promise.resolve(T);const M=(()=>{const P={client:n.client,queryKey:n.queryKey,pageParam:E,direction:C?"backward":"forward",meta:n.options.meta};return v(P),P})(),N=await b(M),{maxPages:O}=n.options,z=C?T3:x3;return{pages:z(T.pages,N,O),pageParams:z(T.pageParams,E,O)}};if(l&&u.length){const T=l==="backward",E=T?O3:H0,C={pages:u,pageParams:h};p=await A(C,E(r,C),T)}else{const T=e??u.length;do{const E=m===0?h[0]??r.initialPageParam:H0(r,p);if(m>0&&E==null)break;p=await A(p,E),m++}while(m<T)}return p};n.options.persister?n.fetchFn=()=>n.options.persister?.(g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},i):n.fetchFn=g}}}function H0(e,{pages:n,pageParams:i}){const r=n.length-1;return n.length>0?e.getNextPageParam(n[r],n,i[r],i):void 0}function O3(e,{pages:n,pageParams:i}){return n.length>0?e.getPreviousPageParam?.(n[0],n,i[0],i):void 0}var D3=class extends bb{#e;#n;#t;#a;#s;#i;#l;#r;constructor(e){super(),this.#r=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#a=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#n=q0(this.options),this.state=e.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#l,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=q0(this.options);n.data!==void 0&&(this.setState(F0(n.data,n.dataUpdatedAt)),this.#n=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(e,n){const i=w3(this.state.data,e,this.options);return this.#o({data:i,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),i}setState(e){this.#o({type:"setState",state:e})}cancel(e){const n=this.#i?.promise;
9return this.#i?.cancel(e),n?n.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#n}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Hr(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===jf||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Hr(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!g3(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){const n=this.observers.indexOf(e);n!==-1&&(this.observers.splice(n,1),this.observers.length||(this.#i&&(this.#r||this.state.fetchStatus==="paused"&&this.state.status==="pending"?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,n){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const m=this.observers.find(g=>g.options.queryFn);m&&this.setOptions(m.options)}const i=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#r=!0,i.signal)})},l=()=>{const m=pb(this.options,n),y=(()=>{const v={client:this.#s,queryKey:this.queryKey,meta:this.meta};return r(v),v})();return this.#r=!1,this.options.persister?this.options.persister(m,y,this):m(y)},h=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:l};return r(m),m})();(this.#e==="infinite"?M3(this.options.pages):this.options.behavior)?.onFetch(h,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==h.fetchOptions?.meta)&&this.#o({type:"fetch",meta:h.fetchOptions?.meta});const p=this.#i=vb({initialPromise:n?.initialPromise,fn:h.fetchFn,onCancel:m=>{m instanceof Lh&&m.revert&&this.setState({...this.#t,fetchStatus:"idle"}),i.abort()},onFail:(m,g)=>{this.#o({type:"failed",failureCount:m,error:g})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0});try{const m=await p.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#a.config.onSuccess?.(m,this),this.#a.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof Lh){if(m.silent)return this.#i.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#o({type:"error",error:m}),this.#a.config.onError?.(m,this),this.#a.config.onSettled?.(this.state.data,m,this),m}finally{this.#i===p&&(this.#i=void 0),this.scheduleGc()}}#o(e){const n=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,..._3(i.data,this.options),fetchMeta:e.meta??null};case"success":const r={...i,...F0(e.data,e.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?r:void 0,r;case"error":const l=e.error;
9return{...i,error:l,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=n(this.state),xt.batch(()=>{this.observers.slice().forEach(i=>{i.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:e})})}};function _3(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:yb(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function F0(e,n){return{data:e,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function q0(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,i=n!==void 0,r=i?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:i?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var P3=class extends bb{#e;#n;#t;#a;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||wb(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(n=>n!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#a?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(e){const n=()=>{this.#s({type:"continue"})},i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#a=vb({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(h,p)=>{this.#s({type:"failed",failureCount:h,error:p})},onPause:()=>{this.#s({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)}),l=this.state.status==="pending",u=!r.canStart();try{if(l)n();else{this.#s({type:"pending",variables:e,isPaused:u}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,i);const p=await this.options.onMutate?.(e,i);p!==this.state.context&&this.#s({type:"pending",context:p,variables:e,isPaused:u})}const h=await r.start();return await this.#t.config.onSuccess?.(h,e,this.state.context,this,i),await this.options.onSuccess?.(h,e,this.state.context,i),await this.#t.config.onSettled?.(h,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(h,null,e,this.state.context,i),this.#s({type:"success",data:h}),h}catch(h){try{await this.#t.config.onError?.(h,e,this.state.context,this,i)}catch(p){Promise.reject(p)}try{await this.options.onError?.(h,e,this.state.context,i)}catch(p){Promise.reject(p)}try{await this.#t.config.onSettled?.(void 0,h,this.state.variables,this.state.context,this,i)}catch(p){Promise.reject(p)}try{await this.options.onSettled?.(void 0,h,e,this.state.context,i)}catch(p){Promise.reject(p)}throw this.#s({type:"error",error:h}),h}finally{this.#a===r&&(this.#a=void 0),this.#t.runNext(this)}}#s(e){const n=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPau
9sed:!1,status:"error"}}};this.state=n(this.state),xt.batch(()=>{this.#n.forEach(i=>{i.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function wb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var L3=class extends so{#e;#n;#t;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#n=new Map,this.#t=0}build(e,n,i){const r=new P3({client:e,mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(n),state:i});return this.add(r),r}add(e){this.#e.add(e);const n=Nl(e);if(typeof n=="string"){const i=this.#n.get(n);i?i.push(e):this.#n.set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const n=Nl(e);if(typeof n=="string"){const i=this.#n.get(n);if(i)if(i.length>1){const r=i.indexOf(e);r!==-1&&i.splice(r,1)}else i[0]===e&&this.#n.delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=Nl(e);if(typeof n=="string"){const i=this.#n.get(n)?.find(r=>r.state.status==="pending");return!i||i===e}else return!0}runNext(e){const n=Nl(e);return typeof n=="string"?this.#n.get(n)?.find(i=>i!==e&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){xt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(e){const n={exact:!0,...e};return this.getAll().find(i=>z0(n,i))}findAll(e={}){return this.getAll().filter(n=>z0(e,n))}notify(e){xt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return xt.batch(()=>Promise.all(e.map(n=>n.continue().catch(Zt))))}};function Nl(e){return e.options.scope?.id}var V3=class extends so{#e;#n=void 0;#t;#a;constructor(n,i){super(),this.#e=n,this.setOptions(i),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){const i=this.options;this.options=this.#e.defaultMutationOptions(n),v3(this.options,i)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#t,observer:this}),i?.mutationKey&&this.options.mutationKey&&wi(i.mutationKey)!==wi(this.options.mutationKey)?this.reset():this.#t?.state.status==="pending"&&this.#t.setOptions(this.options)}onSubscribe(){this.listeners.size===1&&this.#t&&(this.#t.addObserver(this),this.#s())}onUnsubscribe(){this.hasListeners()||this.#t?.removeObserver(this)}onMutationUpdate(n){this.#s(),this.#i(n)}getCurrentResult(){return this.#n}reset(){this.#t?.removeObserver(this),this.#t=void 0,this.#s(),this.#i()}mutate(n,i){return this.#a=i,this.#t?.removeObserver(this),this.#t=this.#e.getMutationCache().build(this.#e,this.options),this.#t.addObserver(this),this.#t.execute(n)}#s(){const n=this.#t?.state??wb();this.#n={...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset}}#i(n){xt.batch(()=>{if(this.#a&&this.hasListeners()){const i=this.#n.variables,r=this.#n.context,l={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(n?.type==="success"){try{this.#a.onSuccess?.(n.data,i,r,l)}catch(u){Promise.reject(u)}try{this.#a.onSettled?.(n.data,null,i,r,l)}catch(u){Promise.reject(u)}}else if(n?.type==="error"){try{this.#a.onError?.(n.error,i,r,l)}catch(u){Promise.reject(u)}try{this.#a.onSettled?.(void 0,n.error,i,r,l)}catch(u){Promise.reject(u)}}}this.listeners.forEach(i=>{i(this.#n)})})}},z3=class extends so{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,n,i){const r=n.queryKey,l=n.queryHash??Ef(r,n);let u=this.get(l);return u||(u=new D3({client:e,queryKey:r,queryHash:l,options:e.defaultQueryOptions(n),state:i,defaultOptions:e.getQueryDefaults(r)}),this.add(u)),u}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#e.get(e.queryHash);n&&(e.destroy(),n===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){xt.batch(()=>
vendor: 2,903 bytes, line 9
9{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(i=>V0(n,i))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(i=>V0(e,i)):n}notify(e){xt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},B3=class{#e;#n;#t;#a;#s;#i;#l;#r;constructor(e={}){this.#e=e.queryCache||new z3,this.#n=e.mutationCache||new L3,this.#t=e.defaultOptions||{},this.#a=new Map,this.#s=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#l=gb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=ac.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#l?.(),this.#l=void 0,this.#r?.(),this.#r=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.defaultQueryOptions(e),i=this.#e.build(this,n),r=i.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime(Hr(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:n,state:i})=>[n,i.data])}setQueryData(e,n,i){const r=this.defaultQueryOptions({queryKey:e}),l=this.#e.get(r.queryHash)?.state.data,u=p3(n,l);if(u!==void 0)return this.#e.build(this,r).setData(u,{...i,manual:!0})}setQueriesData(e,n,i){return xt.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,n,i)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state}removeQueries(e){const n=this.#e;xt.batch(()=>{n.findAll(e).forEach(i=>{n.remove(i)})})}resetQueries(e,n){const i=this.#e;return xt.batch(()=>{const r=i.findAll(e),l=new Set(r);return r.forEach(u=>{u.reset()}),this.refetchQueries({type:"active",predicate:u=>l.has(u)},n)})}cancelQueries(e,n={}){const i={revert:!0,...n},r=xt.batch(()=>this.#e.findAll(e).map(l=>l.cancel(i)));return Promise.all(r).then(Zt).catch(Zt)}invalidateQueries(e,n={}){return xt.batch(()=>(this.#e.findAll(e).forEach(i=>{i.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},n)))}refetchQueries(e,n={}){const i={...n,cancelRefetch:n.cancelRefetch??!0},r=xt.batch(()=>this.#e.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,i);return i.throwOnError||(u=u.catch(Zt)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(Zt)}async query(e){const n=this.defaultQueryOptions(e);
9n.retry===void 0&&(n.retry=!1);const i=this.#e.build(this,n),r=i.isStaleByTime(Hr(n.staleTime,i))?await i.fetch(n):i.state.data,l=n.select;return l?l(r):r}fetchQuery(e){const n=this.defaultQueryOptions(e);n.retry===void 0&&(n.retry=!1);const i=this.#e.build(this,n);return i.isStaleByTime(Hr(n.staleTime,i))?i.fetch(n):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zt).catch(Zt)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return ac.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,n){this.#a.set(wi(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#a.values()],i={};return n.forEach(r=>{ws(e,r.queryKey)&&Object.assign(i,r.defaultOptions)}),i}setMutationDefaults(e,n){this.#s.set(wi(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#s.values()],i={};return n.forEach(r=>{ws(e,r.mutationKey)&&Object.assign(i,r.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=Ef(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===jf&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}};function U3(e,n){const i=l3(),[r]=x.useState(()=>new V3(i,e));x.useEffect(()=>{r.setOptions(e)},[r,e]);const l=x.useSyncExternalStore(x.useCallback(h=>r.subscribe(xt.batchCalls(h)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),u=x.useCallback((...h)=>{r.mutate(h[0],h[1]).catch(Zt)},[r]);if(l.error&&S3(r.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:u,mutateAsync:l.mutate}}const H3=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),F3=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,i,r)=>r?r.toUpperCase():i.toLowerCase()),I0=e=>{const n=F3(e);return n.charAt(0).toUpperCase()+n.slice(1)},xb=(...e)=>e.filter((n,i,r)=>!!n&&n.trim()!==""&&r.indexOf(n)===i).join(" ").trim(),q3=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};var I3={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"};const G3=x.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:h,...p},m)=>x.createElement("svg",{ref:m,...I3,width:n,height:n,stroke:e,strokeWidth:r?Number(i)*24/Number(n):i,className:xb("lucide",l),...!u&&!q3(p)&&{"aria-hidden":"true"},...p},[...h.map(([g,y])=>x.createElement(g,y)),...Array.isArray(u)?u:[u]]));const Cn=(e,n)=>{const i=x.forwardRef(({className:r,...l},u)=>x.createElement(G3,{ref:u,iconNode:n,className:xb(`lucide-${H3(I0(e))}`,`lucide-${e}`,r),...l}));return i.displayName=I0(e),i};const Y3=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Tb=Cn("arrow-right",Y3);const W3=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],ic=Cn("arrow-up-right",W3);const X3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],K3=Cn("check",X3);const Q3=[["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"}]],$3=Cn("circle-alert",Q3);const Z3=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],J3=Cn("loader-circle",Z3);const eA=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],tA=Cn("menu",eA);const nA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Cf=Cn("plus",nA);const aA=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Sb=Cn("radio",aA);const iA=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],sA=Cn("send",iA);const rA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
9y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],oA=Cn("shield-check",rA);const lA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Rf=Cn("x",lA);function cA(e,n){if(e instanceof RegExp)return{keys:!1,pattern:e};var i,r,l,u,h=[],p="",m=e.split("/");for(m[0]||m.shift();l=m.shift();)i=l[0],i==="*"?(h.push(i),p+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):i===":"?(r=l.indexOf("?",1),u=l.indexOf(".",1),h.push(l.substring(1,~r?r:~u?u:l.length)),p+=~r&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(p+=(~r?"?":"")+"\\"+l.substring(u))):p+="/"+l;return{keys:h,pattern:new RegExp("^"+p+(n?"(?=$|/)":"/?$"),"i")}}var sh={exports:{}},rh={};var G0;function uA(){if(G0)return rh;G0=1;var e=Tc();function n(v,b){return v===b&&(v!==0||1/v===1/b)||v!==v&&b!==b}var i=typeof Object.is=="function"?Object.is:n,r=e.useState,l=e.useEffect,u=e.useLayoutEffect,h=e.useDebugValue;function p(v,b){var A=b(),T=r({inst:{value:A,getSnapshot:b}}),E=T[0].inst,C=T[1];return u(function(){E.value=A,E.getSnapshot=b,m(E)&&C({inst:E})},[v,A,b]),l(function(){return m(E)&&C({inst:E}),v(function(){m(E)&&C({inst:E})})},[v]),h(A),A}function m(v){var b=v.getSnapshot;v=v.value;try{var A=b();return!i(v,A)}catch{return!0}}function g(v,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:p;return rh.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,rh}var Y0;function dA(){return Y0||(Y0=1,sh.exports=uA()),sh.exports}var hA=dA();const fA=io.useInsertionEffect,pA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",mA=pA?x.useLayoutEffect:x.useEffect,gA=fA||mA,Ab=e=>{const n=x.useRef([e,(...i)=>n[0](...i)]).current;return gA(()=>{n[0]=e}),n[1]},W0=["popstate","pushState","replaceState","hashchange"];let Lr=[];const X0=()=>Lr.forEach(e=>e()),yA=e=>(Lr.push(e)===1&&W0.forEach(n=>addEventListener(n,X0)),()=>{Lr=Lr.filter(n=>n!==e),Lr.length||W0.forEach(n=>removeEventListener(n,X0))}),Eb=(e,n)=>hA.useSyncExternalStore(yA,e,n),K0=()=>location.search,vA=({ssrSearch:e}={})=>Eb(K0,e!=null?()=>e:K0),Q0=()=>location.pathname,bA=({ssrPath:e}={})=>Eb(Q0,e!=null?()=>e:Q0),wA=(e,{replace:n=!1,state:i=null}={})=>history[n?"replaceState":"pushState"](i,"",e),xA=e=>[bA(e),wA],$0=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[$0]>"u"){for(const e of["pushState","replaceState"]){const n=history[e];history[e]=function(){const i=n.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),i}}Object.defineProperty(window,$0,{value:!0})}const jb=(e="")=>e==="/"?"":e,TA=(e,n)=>e[0]==="~"?e.slice(1):jb(n)+e,Cb=(e,n)=>(e=Z0(jb(e)),n=Z0(n),!e||!n.toLowerCase().indexOf(e.toLowerCase())?n.slice(e.length)||"/":"~"+n),Z0=e=>{try{return e.includes("%")?decodeURI(e):e}catch{return e}},Rb={hook:xA,searchHook:vA,parser:cA,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,n,i)=>e(n,i)},kb=x.createContext(Rb),ro=()=>x.useContext(kb),Nb={},Mb=x.createContext(Nb),SA=()=>x.useContext(Mb),Ob=(e,n=e.base)=>Cb(n,e.hook(e)[0]),Db=e=>{const[n,i]=e.hook(e);return[Cb(e.base,n),Ab((r,l)=>e.aroundNav(i,TA(r,e.base),l))]},kf=()=>Db(ro()),_b=(e,n,i,r)=>{const{pattern:l,keys:u}=n instanceof RegExp?{pattern:n}:e(n||"*",r),h=l.exec(i);if(!h)return[!1,null];const p={};for(let m=1;m<h.length;m++)p[m-1]=h[m];if(u)for(let m=0;m<u.length;m++)p[u[m]]=h[m+1];else Object.assign(p,h.groups);return r?[!0,p,h[0]]:[!0,p]},Pb=({children:e,...n})=>{const i=ro(),r=n.hook?Rb:i;let l=r;if(n.ssrPath){const[m,g=n.ssrSearch??""]=n.ssrPath.split("?");m&&(n.ssrSearch=g,n.ssrPath=m)}n.hrefs=n.hrefs??n.hook?.hrefs,n.searchHook=n.searchHook??n.hook?.searchHook;let u=x.useRef(r),h=u.current,p=h;for(let m in r){const g=m==="base"?r[m]+(n[m]??""):n[m]??r[m];g!==p[m]&&(h===p&&(u.current=p={...p}),p[m]=g),(g!==r[m]||g!==l[m])&&(l=p)}return x.createElement(kb.Provider,{value:l},e)},AA=({children:e,component:n},i)=>n?x.createElement(n,{params:i}):typeof e=="function"?e(i):e,EA=e=>{let n=x.useRef(Nb);const i=n.current,r=Object.keys(e);return n.current=r.length!==Object.keys(i).length||r.some(l=>e[l]!==i[l])?e:i},Rt=({path:e,nest:n,match:i,...r})=>{const l=ro(),u=Ob(l),[h,p,m]=i??_b(l.parser,e,u,n),g=EA({...SA(),...p});if(!h)return null;const y=AA(r,g);return x.createElement(Mb.Provider,{value:g},m?x.createElement(Pb,{base:m},y):y)}
9,Le=x.forwardRef((e,n)=>{const i=ro(),[r,l]=Db(i),{to:u="",href:h=u,onClick:p,asChild:m,children:g,className:y,replace:v,state:b,transition:A,...T}=e;return T.onClick=Ab(E=>{E.ctrlKey||E.metaKey||E.altKey||E.shiftKey||E.button!==0||(p?.(E),E.defaultPrevented||(E.preventDefault(),l(h,e)))}),T.href=i.hrefs(h[0]==="~"?h.slice(1):i.base+h,i),y!==void 0&&(T.className=y?.call?y(r===h):y),n&&(T.ref=n),m&&x.isValidElement(g)?x.cloneElement(g,T):x.createElement("a",T,g)}),Lb=(e,n=[])=>{if(Array.isArray(e))for(const i of e)Lb(i&&i.type===x.Fragment?i.props.children:i,n);else n.push(e);return n},jA=({children:e,location:n})=>{const i=ro(),r=Ob(i);for(const l of Lb(e)){let u=0;if(x.isValidElement(l)&&(u=_b(i.parser,l.props.path,n||r,l.props.nest))[0])return x.cloneElement(l,{match:u})}return null},Nf=x.createContext({});function za(e){const n=x.useRef(null);return n.current===null&&(n.current=e()),n.current}const CA=typeof window<"u",oo=CA?x.useLayoutEffect:x.useEffect,Sc=x.createContext(null);function Mf(e,n){e.indexOf(n)===-1&&e.push(n)}function xs(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}const jn=(e,n,i)=>i>n?n:i<e?e:i;let Ac=()=>{};const Ba={},Vb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),zb=e=>typeof e=="object"&&e!==null,Bb=e=>/^0[^.\s]+$/u.test(e);function Ub(e){let n;return()=>(n===void 0&&(n=e()),n)}const Ut=e=>e,lo=(...e)=>e.reduce((n,i)=>r=>i(n(r))),xi=(e,n,i)=>{const r=n-e;return r?(i-e)/r:1};class Of{constructor(){this.subscriptions=[]}add(n){return Mf(this.subscriptions,n),()=>xs(this.subscriptions,n)}notify(n,i,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,i,r);else for(let u=0;u<l;u++){const h=this.subscriptions[u];h&&h(n,i,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ht=e=>e*1e3,pn=e=>e/1e3,Df=(e,n)=>n?e*(1e3/n):0,RA=(e,n,i)=>{const r=n-e;return((i-e)%r+r)%r+e},Hb=(e,n,i)=>(((1-3*i+3*n)*e+(3*i-6*n))*e+3*n)*e,kA=1e-7,NA=12;function MA(e,n,i,r,l){let u,h,p=0;do h=n+(i-n)/2,u=Hb(h,r,l)-e,u>0?i=h:n=h;while(Math.abs(u)>kA&&++p<NA);return h}function co(e,n,i,r){if(e===n&&i===r)return Ut;const l=u=>MA(u,0,1,e,i);return u=>u===0||u===1?u:Hb(l(u),n,r)}const Fb=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,_f=e=>n=>1-e(1-n),qb=co(.33,1.53,.69,.99),Pf=_f(qb),Ib=Fb(Pf),Gb=e=>e>=1?1:(e*=2)<1?.5*Pf(e):.5*(2-Math.pow(2,-10*(e-1))),Lf=e=>1-Math.sin(Math.acos(e)),Yb=_f(Lf),Wb=Fb(Lf),OA=co(.42,0,1,1),DA=co(0,0,.58,1),Xb=co(.42,0,.58,1),Kb=e=>Array.isArray(e)&&typeof e[0]!="number";function Qb(e,n){return Kb(e)?e[RA(0,e.length,n)]:e}const $b=e=>Array.isArray(e)&&typeof e[0]=="number",_A={linear:Ut,easeIn:OA,easeInOut:Xb,easeOut:DA,circIn:Lf,circInOut:Wb,circOut:Yb,backIn:Pf,backInOut:Ib,backOut:qb,anticipate:Gb},PA=e=>typeof e=="string",J0=e=>{if($b(e)){Ac(e.length===4);const[n,i,r,l]=e;return co(n,i,r,l)}else if(PA(e))return _A[e];return e},Ml=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function LA(e){let n=new Set,i=new Set,r=!1,l=!1;const u=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};
vendor: 95,034 bytes, line 9
9function p(g){u.has(g)&&(m.schedule(g),e()),g(h)}const m={schedule:(g,y=!1,v=!1)=>{const A=v&&r?n:i;return y&&u.add(g),A.add(g),g},cancel:g=>{i.delete(g),u.delete(g)},process:g=>{if(h=g,r){l=!0;return}r=!0;const y=n;n=i,i=y,n.forEach(p),n.clear(),r=!1,l&&(l=!1,m.process(g))}};return m}const VA=40;function Zb(e,n){let i=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,h=Ml.reduce((N,O)=>(N[O]=LA(u),N),{}),{setup:p,read:m,resolveKeyframes:g,preUpdate:y,update:v,preRender:b,render:A,postRender:T}=h,E=()=>{const N=Ba.useManualTiming,O=N?l.timestamp:performance.now();i=!1,N||(l.delta=r?1e3/60:Math.max(Math.min(O-l.timestamp,VA),1)),l.timestamp=O,l.isProcessing=!0,p.process(l),m.process(l),g.process(l),y.process(l),v.process(l),b.process(l),A.process(l),T.process(l),l.isProcessing=!1,i&&n&&(r=!1,e(E))},C=()=>{i=!0,r=!0,l.isProcessing||e(E)};return{schedule:Ml.reduce((N,O)=>{const z=h[O];return N[O]=(P,H=!1,L=!1)=>(i||C(),z.schedule(P,H,L)),N},{}),cancel:N=>{for(let O=0;O<Ml.length;O++)h[Ml[O]].cancel(N)},state:l,steps:h}}const{schedule:Ne,cancel:gn,state:mt,steps:oh}=Zb(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ut,!0);let Il;function zA(){Il=void 0}const Nt={now:()=>(Il===void 0&&Nt.set(mt.isProcessing||Ba.useManualTiming?mt.timestamp:performance.now()),Il),set:e=>{Il=e,queueMicrotask(zA)}},Jb=e=>n=>typeof n=="string"&&n.startsWith(e),ew=Jb("--"),BA=Jb("var(--"),Vf=e=>BA(e)?UA.test(e.split("/*")[0].trim()):!1,UA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ev(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Es={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Kr={...Es,transform:e=>jn(0,1,e)},Ol={...Es,default:1},Fr=e=>Math.round(e*1e5)/1e5,zf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function HA(e){return e==null}const FA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Bf=(e,n)=>i=>!!(typeof i=="string"&&FA.test(i)&&i.startsWith(e)||n&&!HA(i)&&Object.prototype.hasOwnProperty.call(i,n)),tw=(e,n,i)=>r=>{if(typeof r!="string")return r;const[l,u,h,p]=r.match(zf);return{[e]:parseFloat(l),[n]:parseFloat(u),[i]:parseFloat(h),alpha:p!==void 0?parseFloat(p):1}},qA=e=>jn(0,255,e),lh={...Es,transform:e=>Math.round(qA(e))},mi={test:Bf("rgb","red"),parse:tw("red","green","blue"),transform:({red:e,green:n,blue:i,alpha:r=1})=>"rgba("+lh.transform(e)+", "+lh.transform(n)+", "+lh.transform(i)+", "+Fr(Kr.transform(r))+")"};function IA(e){let n="",i="",r="",l="";return e.length>5?(n=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),l=e.substring(7,9)):(n=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),l=e.substring(4,5),n+=n,i+=i,r+=r,l+=l),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const Vh={test:Bf("#"),parse:IA,transform:mi.transform},uo=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),ia=uo("deg"),Bn=uo("%"),me=uo("px"),GA=uo("vh"),YA=uo("vw"),tv={...Bn,parse:e=>Bn.parse(e)/100,transform:e=>Bn.transform(e*100)},ps={test:Bf("hsl","hue"),parse:tw("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+Bn.transform(Fr(n))+", "+Bn.transform(Fr(i))+", "+Fr(Kr.transform(r))+")"},at={test:e=>mi.test(e)||Vh.test(e)||ps.test(e),parse:e=>mi.test(e)?mi.parse(e):ps.test(e)?ps.parse(e):Vh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?mi.transform(e):ps.transform(e),getAnimatableNone:e=>{const n=at.parse(e);return n.alpha=0,at.transform(n)}},WA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function XA(e){return isNaN(e)&&typeof e=="string"&&(e.match(zf)?.length||0)+(e.match(WA)?.length||0)>0}const nw="number",aw="color",KA="var",QA="var(",nv="${}",$A=/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 Ts(e){const n=e.toString(),i=[],r={color:[],number:[],var:[]},l=[];let u=0;const p=n.replace($A,m=>(at.test(m)?(r.color.push(u),l.push(aw),i.push(at.parse(m))):m.startsWith(QA)?(r.var.push(u),l.push(KA),i.push(m)):(r.number.push(u),l.push(nw),i.push(parseFloat(m))),++u,nv)).split(nv);return{values:i,split:p,indexes:r,types:l}}function ZA(e){return Ts(e).values}function iw({split:e,types:n}){const i=e.length;return r=>{let l="";for(let u=0;u<i;u++)if(l+=e[u],r[u]!==void 0){const h=n[u];h===nw?l+=Fr(r[u]):h===aw?l+=at.transform(r[u]):l+=r[u]}return l}}function JA(e){return iw(Ts(e))}const e8=e=>typeof e=="number"?0:at.test(e)?at.getAnimatableNone(e):e,t8=(e,n)=>typeof e=="number"?n?.trim().endsWith("/")?e:0:e8(e);function n8(e){const n=Ts(e);return iw(n)(n.values.map((r,l)=>t8(r,n.split[l])))}const An={test:XA,parse:ZA,createTransformer:JA,getAnimatableNone:n8};function ch(e,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}function a8({hue:e,saturation:n,lightness:i,alpha:r}){e/=360,n/=100,i/=100;let l=0,u=0,h=0;if(!n)l=u=h=i;else{const p=i<.5?i*(1+n):i+n-i*n,m=2*i-p;l=ch(m,p,e+1/3),u=ch(m,p,e),h=ch(m,p,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(h*255),alpha:r}}function sc(e,n){return i=>i>0?n:e}const Ue=(e,n,i)=>e+(n-e)*i,uh=(e,n,i)=>{const r=e*e,l=i*(n*n-r)+r;return l<0?0:Math.sqrt(l)},i8=[Vh,mi,ps],s8=e=>i8.find(n=>n.test(e));function av(e){const n=s8(e);if(!n)return!1;let i=n.parse(e);return n===ps&&(i=a8(i)),i}const iv=(e,n)=>{const i=av(e),r=av(n);if(!i||!r)return sc(e,n);const l={...i};return u=>(l.red=uh(i.red,r.red,u),l.green=uh(i.green,r.green,u),l.blue=uh(i.blue,r.blue,u),l.alpha=Ue(i.alpha,r.alpha,u),mi.transform(l))},zh=new Set(["none","hidden"]);function r8(e,n){return zh.has(e)?i=>i<=0?e:n:i=>i>=1?n:e}function o8(e,n){return i=>Ue(e,n,i)}function Uf(e){return typeof e=="number"?o8:typeof e=="string"?Vf(e)?sc:at.test(e)?iv:u8:Array.isArray(e)?sw:typeof e=="object"?at.test(e)?iv:l8:sc}function sw(e,n){const i=[...e],r=i.length,l=e.map((u,h)=>Uf(u)(u,n[h]));return u=>{for(let h=0;h<r;h++)i[h]=l[h](u);return i}}function l8(e,n){const i={...e,...n},r={};for(const l in i)e[l]!==void 0&&n[l]!==void 0&&(r[l]=Uf(e[l])(e[l],n[l]));return l=>{for(const u in r)i[u]=r[u](l);return i}}function c8(e,n){const i=[],r={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const u=n.types[l],h=e.indexes[u][r[u]],p=e.values[h]??0;i[l]=p,r[u]++}return i}const u8=(e,n)=>{const i=An.createTransformer(n),r=Ts(e),l=Ts(n);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?zh.has(e)&&!l.values.length||zh.has(n)&&!r.values.length?r8(e,n):lo(sw(c8(r,l),l.values),i):sc(e,n)};function rw(e,n,i){return typeof e=="number"&&typeof n=="number"&&typeof i=="number"?Ue(e,n,i):Uf(e)(e,n)}const d8=e=>{const n=({timestamp:i})=>e(i);return{start:(i=!0)=>Ne.update(n,i),stop:()=>gn(n),now:()=>mt.isProcessing?mt.timestamp:Nt.now()}},ow=(e,n,i=10)=>{let r="";const l=Math.max(Math.round(n/i),2);for(let u=0;u<l;u++)r+=Math.round(e(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},rc=2e4;function Hf(e){let n=0;const i=50;let r=e.next(n);for(;!r.done&&n<rc;)n+=i,r=e.next(n);return n>=rc?1/0:n}function lw(e,n=100,i){const r=i({...e,keyframes:[0,n]}),l=Math.min(Hf(r),rc);return{type:"keyframes",ease:u=>r.next(l*u).value/n,duration:pn(l)}}const Qe={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};function Bh(e,n){return e*Math.sqrt(1-n*n)}const h8=12;function f8(e,n,i){let r=i;for(let l=1;l<h8;l++)r=r-e(r)/n(r);return r}const dh=.001;function p8({duration:e=Qe.duration,bounce:n=Qe.bounce,velocity:i=Qe.velocity,mass:r=Qe.mass}){let l,u,h=1-n;h=jn(Qe.minDamping,Qe.maxDamping,h),e=jn(Qe.minDuration,Qe.maxDuration,pn(e)),h<1?(l=g=>{const y=g*h,v=y*e,b=y-i,A=Bh(g,h),T=Math.exp(-v);return dh-b/A*T},u=g=>{const v=g*h*e,b=v*i+i,A=Math.pow(h,2)*Math.pow(g,2)*e,T=Math.exp(-v),E=Bh(Math.pow(g,2),h);return(-l(g)+dh>0?-1:1)*((b-A)*T)/E}):(l=g=>{const y=Math.exp(-g*e),v=(g-i)*e+1;return-dh+y*v},u=g=>{const y=Math.exp(-g*e),v=(i-g)*(e*e);return y*v});const p=5/e,m=f8(l,u,p);if(e=Ht(e),isNaN(m))return{stiffness:Qe.stiffness,damping:Qe.damping,duration:e};{const g=Math.pow(m,2)*r;return{stiffness:g,damping:h*2*Math.sqrt(r*g),duration:e}}}const m8=["duration","bounce"],g8=["stiffness","damping","mass"];function sv(e,n){return n.some(i=>e[i]!==void 0)}function y8(e){let n={velocity:Qe.velocity,stiffness:Qe.stiffness,damping:Qe.damping,mass:Qe.mass,isResolvedFromDuration:!1,...e};if(!sv(e,g8)&&sv(e,m8))if(n.velocity=0,e.visualDuration){const i=e.visualDuration,r=2*Math.PI/(i*1.2),l=r*r,u=2*jn(.05,1,1-(e.bounce||0))*Math.sqrt(l);n={...n,mass:Qe.mass,stiffness:l,damping:u}}else{const i=p8({...e,velocity:0});n={...n,...i,mass:Qe.mass},n.isResolvedFromDuration=!0}return n}function Qr(e=Qe.visualDuration,n=Qe.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:r,restDelta:l}=i;const u=i.keyframes[0],h=i.keyframes[i.keyframes.length-1],p={done:!1,value:u},{stiffness:m,damping:g,mass:y,duration:v,velocity:b,isResolvedFromDuration:A}=y8({...i,velocity:-pn(i.velocity||0)}),T=b||0,E=g/(2*Math.sqrt(m*y)),C=h-u,R=pn(Math.sqrt(m/y)),M=Math.abs(C)<5;r||(r=M?Qe.restSpeed.granular:Qe.restSpeed.default),l||(l=M?Qe.restDelta.granular:Qe.restDelta.default);let N,O,z,P,H,L;if(E<1)z=Bh(R,E),P=(T+E*R*C)/z,N=Z=>{const J=Math.exp(-E*R*Z);return h-J*(P*Math.sin(z*Z)+C*Math.cos(z*Z))},H=E*R*P+C*z,L=E*R*C-P*z,O=Z=>Math.exp(-E*R*Z)*(H*Math.sin(z*Z)+L*Math.cos(z*Z));else if(E===1){N=J=>h-Math.exp(-R*J)*(C+(T+R*C)*J);const Z=T+R*C;O=J=>Math.exp(-R*J)*(R*Z*J-T)}else{const Z=R*Math.sqrt(E*E-1);N=he=>{const ge=Math.exp(-E*R*he),D=Math.min(Z*he,300);return h-ge*((T+E*R*C)*Math.sinh(D)+Z*C*Math.cosh(D))/Z};const J=(T+E*R*C)/Z,te=E*R*J-C*Z,le=E*R*C-J*Z;O=he=>{const ge=Math.exp(-E*R*he),D=Math.min(Z*he,300);return ge*(te*Math.sinh(D)+le*Math.cosh(D))}}const I={calculatedDuration:A&&v||null,velocity:Z=>Ht(O(Z)),next:Z=>{if(!A&&E<1){const te=Math.exp(-E*R*Z),le=Math.sin(z*Z),he=Math.cos(z*Z),ge=h-te*(P*le+C*he),D=Ht(te*(H*le+L*he));return p.done=Math.abs(D)<=r&&Math.abs(h-ge)<=l,p.value=p.done?h:ge,p}const J=N(Z);if(A)p.done=Z>=v;else{const te=Ht(O(Z));p.done=Math.abs(te)<=r&&Math.abs(h-J)<=l}return p.value=p.done?h:J,p},toString:()=>{const Z=Math.min(Hf(I),rc),J=ow(te=>I.next(Z*te).value,Z,30);return Z+"ms "+J},toTransition:()=>{}};return I}Qr.applyToOptions=e=>{const n=lw(e,100,Qr);return e.ease=n.ease,e.duration=Ht(n.duration),e.type="keyframes",e};const v8=5;function cw(e,n,i){const r=Math.max(n-v8,0);return Df(i-e(r),n-r)}function Uh({keyframes:e,velocity:n=0,power:i=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:h,min:p,max:m,restDelta:g=.5,restSpeed:y}){const v=e[0],b={done:!1,value:v},A=L=>p!==void 0&&L<p||m!==void 0&&L>m,T=L=>p===void 0?m:m===void 0||Math.abs(p-L)<Math.abs(m-L)?p:m;let E=i*n;const C=v+E,R=h===void 0?C:h(C);R!==C&&(E=R-v);const M=L=>-E*Math.exp(-L/r),N=L=>R+M(L),O=L=>{const I=M(L),Z=N(L);b.done=Math.abs(I)<=g,b.value=b.done?R:Z};let z,P;const H=L=>{A(b.value)&&(z=L,P=Qr({keyframes:[b.value,T(b.value)],velocity:cw(N,L,b.value),damping:l,stiffness:u,restDelta:g,restSpeed:y}))};return H(0),{calculatedDuration:null,next:L=>{let I=!1;return!P&&z===void 0&&(I=!0,O(L),H(L)),z!==void 0&&L>=z?P.next(L-z):(!I&&O(L),b)}}}function b8(e,n,i){const r=[],l=i||Ba.mix||rw,u=e.length-1;for(let h=0;h<u;h++){let p=l(e[h],e[h+1]);if(n){const m=Array.isArray(n)?n[h]||Ut:n;p=lo(m,p)}r.push(p)}return r}function Ff(e,n,{clamp:i=!0,ease:r,mixer:l}={}){const u=e.length;if(Ac(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const h=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),n=[...n].reverse());const p=b8(n,r,l),m=p.length,g=y=>{if(h&&y<e[0])return n[0];let v=0;if(m>1)for(;v<e.length-2&&!(y<e[v+1]);v++);const b=xi(e[v],e[v+1],y);return p[v](b)};return i?y=>g(jn(e[0],e[u-1],y)):g}function uw(e,n){const i=e[e.length-1];for(let r=1;r<=n;r++){const l=xi(0,n,r);e.push(Ue(i,1,l))}}function qf(e){const n=[0];return uw(n,e.length-1),n}function w8(e,n){return e.map(i=>i*n)}function x8(e,n){return e.map(()=>n||Xb).splice(0,e.length-1)}function qr({duration:e=300,keyframes:n,times:i,ease:r="easeInOut"}){const l=Kb(r)?r.map(J0):J0(r),u={done:!1,value:n[0]},h=w8(i&&i.length===n.length?i:qf(n),e),p=Ff(h,n,{ease:Array.isArray(l)?l:x8(n,l)});return{calculatedDuration:e,next:m=>(u.value=p(m),u.done=m>=e,u)}}const T8=e=>e!==null;function Ec(e,{repeat:n,repeatType:i="loop"},r,l=1){const u=e.filter(T8),p=l<0||n&&i!=="loop"&&n%2===1?0:u.length-1;return!p||r===void 0?u[p]:r}const S8={decay:Uh,inertia:Uh,tween:qr,keyframes:qr,spring:Qr};function dw(e){typeof e.type=="string"&&(e.type=S8[e.type])}class If{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const A8=e=>e/100;class oc extends If{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Nt.now()&&this.tick(Nt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;dw(n);const{type:i=qr,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:h=0}=n;let{keyframes:p}=n;const m=i||qr;m!==qr&&typeof p[0]!="number"&&(this.mixKeyframes=lo(A8,rw(p[0],p[1])),p=[0,100]);const g=m({...n,keyframes:p});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...p].reverse(),velocity:-h})),g.calculatedDuration===null&&(g.calculatedDuration=Hf(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=g}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:h,resolvedDuration:p,calculatedDuration:m}=this;if(this.startTime===null)return r.next(0);const{delay:g=0,keyframes:y,repeat:v,repeatType:b,repeatDelay:A,type:T,onUpdate:E,finalKeyframe:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const R=this.currentTime-g*(this.playbackSpeed>=0?1:-1),M=this.playbackSpeed>=0?R<0:R>l;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let N=this.currentTime,O=r;if(v){const L=Math.min(this.currentTime,l)/p;let I=Math.floor(L),Z=L%1;!Z&&L>=1&&(Z=1),Z===1&&I--,I=Math.min(I,v+1),I%2&&(b==="reverse"?(Z=1-Z,A&&(Z-=A/p)):b==="mirror"&&(O=h)),N=jn(0,1,Z)*p}let z;M?(this.delayState.value=y[0],z=this.delayState):z=O.next(N),u&&!M&&(z.value=u(z.value));let{done:P}=z;!M&&m!==null&&(P=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const H=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return H&&T!==Uh&&(z.value=Ec(y,this.options,C,this.speed)),E&&E(z.value),H&&this.finish(),z}then(n,i){return this.finished.then(n,i)}get duration(){return pn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+pn(n)}get time(){return pn(this.currentTime)}set time(n){n=Ht(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const i=this.generator.next(n).value;return cw(r=>this.generator.next(r).value,n,i)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;i&&this.driver&&this.updateTime(Nt.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=pn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=d8,startTime:i}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=i??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Nt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function E8(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}const gi=e=>e*180/Math.PI,Hh=e=>{const n=gi(Math.atan2(e[1],e[0]));return Fh(n)},j8={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Hh,rotateZ:Hh,skewX:e=>gi(Math.atan(e[1])),skewY:e=>gi(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Fh=e=>(e=e%360,e<0&&(e+=360),e),rv=Hh,ov=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),lv=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),C8={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ov,scaleY:lv,scale:e=>(ov(e)+lv(e))/2,rotateX:e=>Fh(gi(Math.atan2(e[6],e[5]))),rotateY:e=>Fh(gi(Math.atan2(-e[2],e[0]))),rotateZ:rv,rotate:rv,skewX:e=>gi(Math.atan(e[4])),skewY:e=>gi(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function qh(e){return e.includes("scale")?1:0}function Ih(e,n){if(!e||e==="none")return qh(n);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(i)r=C8,l=i;else{const p=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=j8,l=p}if(!l)return qh(n);const u=r[n],h=l[1].split(",").map(k8);return typeof u=="function"?u(h):h[u]}const R8=(e,n)=>{const{transform:i="none"}=getComputedStyle(e);return Ih(i,n)};function k8(e){return parseFloat(e.trim())}const js=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Cs=new Set([...js,"pathRotation"]),cv=e=>e===Es||e===me,N8=new Set(["x","y","z"]),M8=js.filter(e=>!N8.has(e));function O8(e){const n=[];return M8.forEach(i=>{const r=e.getValue(i);r!==void 0&&(n.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),n}const La={width:({x:e},{paddingLeft:n="0",paddingRight:i="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(n)-parseFloat(i)},height:({y:e},{paddingTop:n="0",paddingBottom:i="0",boxSizing:r})=>{const l=e.max-e.min;return r==="border-box"?l:l-parseFloat(n)-parseFloat(i)},top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>Ih(n,"x"),y:(e,{transform:n})=>Ih(n,"y")};La.translateX=La.x;La.translateY=La.y;const yi=new Set;let Gh=!1,Yh=!1,Wh=!1;function hw(){if(Yh){const e=Array.from(yi).filter(r=>r.needsMeasurement),n=new Set(e.map(r=>r.element)),i=new Map;n.forEach(r=>{const l=O8(r);l.length&&(i.set(r,l),r.render())}),e.forEach(r=>r.measureInitialState()),n.forEach(r=>{r.render();const l=i.get(r);l&&l.forEach(([u,h])=>{r.getValue(u)?.set(h)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Yh=!1,Gh=!1,yi.forEach(e=>e.complete(Wh)),yi.clear()}function fw(){yi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Yh=!0)})}function D8(){Wh=!0,fw(),hw(),Wh=!1}class Gf{constructor(n,i,r,l,u,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=r,this.motionValue=l,this.element=u,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(yi.add(this),Gh||(Gh=!0,Ne.read(fw),Ne.resolveKeyframes(hw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:r,motionValue:l}=this;if(n[0]===null){const u=l?.get(),h=n[n.length-1];if(u!==void 0)n[0]=u;else if(r&&i){const p=r.readValue(i,h);p!=null&&(n[0]=p)}n[0]===void 0&&(n[0]=h),l&&u===void 0&&l.set(n[0])}E8(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),yi.delete(this)}cancel(){this.state==="scheduled"&&(yi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const _8=e=>e.startsWith("--");function pw(e,n,i){_8(n)?e.style.setProperty(n,i):e.style[n]=i}const P8={};function Yf(e,n){const i=Ub(e);return()=>P8[n]??i()}const Wf=Yf(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),mw=Yf(()=>window.ViewTimeline!==void 0,"viewTimeline"),gw=Yf(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vr=([e,n,i,r])=>`cubic-bezier(${e}, ${n}, ${i}, ${r})`,uv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vr([0,.65,.55,1]),circOut:Vr([.55,0,1,.45]),backIn:Vr([.31,.01,.66,-.59]),backOut:Vr([.33,1.53,.69,.99])};function yw(e,n){if(e)return typeof e=="function"?gw()?ow(e,n):"ease-out":$b(e)?Vr(e):Array.isArray(e)?e.map(i=>yw(i,n)||uv.easeOut):uv[e]}function L8(e,n,i,{delay:r=0,duration:l=300,repeat:u=0,repeatType:h="loop",ease:p="easeOut",times:m}={},g=void 0){const y={[n]:i};m&&(y.offset=m);const v=yw(p,l);Array.isArray(v)&&(y.easing=v);const b={delay:r,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:h==="reverse"?"alternate":"normal"};return g&&(b.pseudoElement=g),e.animate(y,b)}function Xf(e){return typeof e=="function"&&"applyToOptions"in e}function V8({type:e,...n}){return Xf(e)&&gw()?e.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class vw extends If{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:r,keyframes:l,pseudoElement:u,allowFlatten:h=!1,finalKeyframe:p,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=h,this.options=n,Ac(typeof n.type!="string");const g=V8(n);this.animation=L8(i,r,l,g,u),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=Ec(l,this.options,p,this.speed);this.updateMotionValue&&this.updateMotionValue(y),pw(i,r,y),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const n=this.options?.element;!this.isPseudoElement&&n?.isConnected&&this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return pn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+pn(n)}get time(){return pn(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ht(n),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:i,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&Wf()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),r&&(this.animation.rangeEnd=r),Ut):l(this)}}const bw={anticipate:Gb,backInOut:Ib,circInOut:Wb};function z8(e){return e in bw}function B8(e){typeof e.ease=="string"&&z8(e.ease)&&(e.ease=bw[e.ease])}const hh=10;class U8 extends vw{constructor(n){B8(n),dw(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:r,onComplete:l,element:u,...h}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const p=new oc({...h,autoplay:!1}),m=Math.max(hh,Nt.now()-this.startTime),g=jn(0,hh,m-hh),y=p.sample(m).value,{name:v}=this.options;u&&v&&pw(u,v,y),i.setWithVelocity(p.sample(Math.max(0,m-g)).value,y,g),p.stop()}}const dv=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(An.test(e)||e==="0")&&!e.startsWith("url("));function H8(e){const n=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==n)return!0}function F8(e,n,i,r){const l=e[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const u=e[e.length-1],h=dv(l,n),p=dv(u,n);return!h||!p?!1:H8(e)||(i==="spring"||Xf(i))&&r}function Xh(e){e.duration=0,e.type="keyframes"}const ww=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),q8=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function I8(e){for(let n=0;n<e.length;n++)if(typeof e[n]=="string"&&q8.test(e[n]))return!0;return!1}const G8=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Y8=Ub(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function W8(e){const{motionValue:n,name:i,repeatDelay:r,repeatType:l,damping:u,type:h,keyframes:p}=e,m=n?.owner?.current;if(!(m instanceof HTMLElement)&&!(m instanceof SVGElement))return!1;const{onUpdate:g,transformTemplate:y}=n.owner.getProps();return Y8()&&i&&(ww.has(i)||G8.has(i)&&I8(p))&&(i!=="transform"||!y)&&!g&&!r&&l!=="mirror"&&u!==0&&h!=="inertia"}const X8=40;class K8 extends If{constructor({autoplay:n=!0,delay:i=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:h="loop",keyframes:p,name:m,motionValue:g,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Nt.now();const b={autoplay:n,delay:i,type:r,repeat:l,repeatDelay:u,repeatType:h,name:m,motionValue:g,element:y,...v},A=y?.KeyframeResolver||Gf;this.keyframeResolver=new A(p,(T,E,C)=>this.onKeyframesResolved(T,E,b,!C),m,g,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,i,r,l){this.keyframeResolver=void 0;const{name:u,type:h,velocity:p,delay:m,isHandoff:g,onUpdate:y}=r;this.resolvedAt=Nt.now();let v=!0;F8(n,u,h,p)||(v=!1,(Ba.instantAnimations||!m)&&y?.(Ec(n,r,i)),n[0]=n[n.length-1],Xh(r),r.repeat=0);const A={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>X8?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...r,keyframes:n},T=v&&!g&&W8(A),E=A.motionValue?.owner?.current;let C;if(T)try{C=new U8({...A,element:E})}catch{C=new oc(A)}else C=new oc(A);C.finished.then(()=>{this.notifyFinished()}).catch(Ut),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),D8()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class Q8{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>n.finished))}getAll(n){return this.animations[0][n]}setAll(n,i){for(let r=0;r<this.animations.length;r++)this.animations[r][n]=i}attachTimeline(n){const i=this.animations.map(r=>r.attachTimeline(n));return()=>{i.forEach((r,l)=>{r&&r(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return hv(this.animations,"duration")}get iterationDuration(){return hv(this.animations,"iterationDuration")}runAll(n){this.animations.forEach(i=>i[n]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function hv(e,n){let i=0;for(let r=0;r<e.length;r++){const l=e[r][n];l!==null&&l>i&&(i=l)}return i}class $8 extends Q8{then(n,i){return this.finished.finally(n).then(()=>{})}}function xw(e,n,i,r=0,l=1){const u=Array.from(e).sort((g,y)=>g.sortNodePosition(y)).indexOf(n),h=e.size,p=(h-1)*r;return typeof i=="function"?i(u,h):l===1?u*r:p-u*r}const fv=30,Z8=e=>!isNaN(parseFloat(e)),Ir={current:void 0};class J8{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=Nt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Nt.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=Z8(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Of);const r=this.events[n].add(i);return n==="change"?()=>{r(),Ne.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,r){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-r}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return Ir.current&&Ir.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const n=Nt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>fv)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,fv);return Df(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function mn(e,n){return new J8(e,n)}function Tw(e,n){if(e?.inherit&&n){const{inherit:i,...r}=e;return{...n,...r}}return e}function Kf(e,n){const i=e?.[n]??e?.default??e;return i!==e?Tw(i,e):i}const e5={type:"spring",stiffness:500,damping:25,restSpeed:10},t5=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),n5={type:"keyframes",duration:.8},a5={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},i5=(e,{keyframes:n})=>n.length>2?n5:Cs.has(e)?e.startsWith("scale")?t5(n[1]):e5:a5,s5=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function r5(e){for(const n in e)if(!s5.has(n))return!0;return!1}const Qf=(e,n,i,r={},l,u)=>h=>{const p=Kf(r,e)||{},m=p.delay||r.delay||0;let{elapsed:g=0}=r;g=g-Ht(m);const y={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...p,delay:-g,onUpdate:b=>{n.set(b),p.onUpdate&&p.onUpdate(b)},onComplete:()=>{h(),p.onComplete&&p.onComplete()},name:e,motionValue:n,element:u?void 0:l};r5(p)||Object.assign(y,i5(e,y)),y.duration&&(y.duration=Ht(y.duration)),y.repeatDelay&&(y.repeatDelay=Ht(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Xh(y),y.delay===0&&(v=!0)),(Ba.instantAnimations||Ba.skipAnimations||l?.shouldSkipAnimations||p.skipAnimations)&&(v=!0,Xh(y),y.delay=0),y.allowFlatten=!p.type&&!p.ease,v&&!u&&n.get()!==void 0){const b=Ec(y.keyframes,p);if(b!==void 0){Ne.update(()=>{y.onUpdate(b),y.onComplete()});return}}return p.isSync?new oc(y):new K8(y)},o5=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function l5(e){const n=o5.exec(e);if(!n)return[,];const[,i,r,l]=n;return[`--${i??r}`,l]}function Sw(e,n,i=1){const[r,l]=l5(e);if(!r)return;const u=window.getComputedStyle(n).getPropertyValue(r);if(u){const h=u.trim();return Vb(h)?parseFloat(h):h}return Vf(l)?Sw(l,n,i+1):l}function pv(e){const n=[{},{}];return e?.values.forEach((i,r)=>{n[0][r]=i.get(),n[1][r]=i.getVelocity()}),n}function $f(e,n,i,r){if(typeof n=="function"){const[l,u]=pv(r);n=n(i!==void 0?i:e.custom,l,u)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[l,u]=pv(r);n=n(i!==void 0?i:e.custom,l,u)}return n}function vi(e,n,i){const r=e.getProps();return $f(r,n,i!==void 0?i:r.custom,e)}const Aw=new Set(["width","height","top","left","right","bottom",...js]),Kh=e=>Array.isArray(e);function c5(e,n,i){e.hasValue(n)?e.getValue(n).set(i):e.addValue(n,mn(i))}function u5(e){return Kh(e)?e[e.length-1]||0:e}function d5(e,n){const i=vi(e,n);let{transitionEnd:r={},transition:l={},...u}=i||{};u={...u,...r};for(const h in u){const p=u5(u[h]);c5(e,h,p)}}const lt=e=>!!(e&&e.getVelocity);function h5(e){return!!(lt(e)&&e.add)}function Qh(e,n){const i=e.getValue("willChange");if(h5(i))return i.add(n);if(!i&&Ba.WillChange){const r=new Ba.WillChange("auto");e.addValue("willChange",r),r.add(n)}}function Zf(e){return e.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const f5="framerAppearId",Ew="data-"+Zf(f5);function jw(e){return e.props[Ew]}function p5({protectedKeys:e,needsAnimating:n},i){const r=e.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,r}function Jf(e,n,{delay:i=0,transitionOverride:r,type:l}={}){let{transition:u,transitionEnd:h,...p}=n;const m=e.getDefaultTransition();u=u?Tw(u,m):m;const g=u?.reduceMotion,y=u?.skipAnimations;r&&(u=r);const v=[],b=l&&e.animationState&&e.animationState.getState()[l],A=u?.path;A&&A.animateVisualElement(e,p,u,i,v);for(const T in p){const E=e.getValue(T,e.latestValues[T]??null),C=p[T];if(C===void 0||b&&p5(b,T))continue;const R={delay:i,...Kf(u||{},T)};y&&(R.skipAnimations=!0);const M=E.get();if(M!==void 0&&!E.isAnimating()&&!Array.isArray(C)&&C===M&&!R.velocity){Ne.update(()=>E.set(C));continue}let N=!1;if(window.MotionHandoffAnimation){const P=jw(e);if(P){const H=window.MotionHandoffAnimation(P,T,Ne);H!==null&&(R.startTime=H,N=!0)}}Qh(e,T);const O=g??e.shouldReduceMotion;E.start(Qf(T,E,C,O&&Aw.has(T)?{type:!1}:R,e,N));const z=E.animation;z&&v.push(z)}if(h){const T=()=>Ne.update(()=>{h&&d5(e,h)});v.length?Promise.all(v).then(T):T()}return v}function $h(e,n,i={}){const r=vi(e,n,i.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(l=i.transitionOverride);const u=r?()=>Promise.all(Jf(e,r,i)):()=>Promise.resolve(),h=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:v}=l;return m5(e,n,m,g,y,v,i)}:()=>Promise.resolve(),{when:p}=l;if(p){const[m,g]=p==="beforeChildren"?[u,h]:[h,u];return m().then(()=>g())}else return Promise.all([u(),h(i.delay)])}function m5(e,n,i=0,r=0,l=0,u=1,h){const p=[];for(const m of e.variantChildren)m.notify("AnimationStart",n),p.push($h(m,n,{...h,delay:i+(typeof r=="function"?0:r)+xw(e.variantChildren,m,r,l,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(p)}function g5(e,n,i={}){e.notify("AnimationStart",n);let r;if(Array.isArray(n)){const l=n.map(u=>$h(e,u,i));r=Promise.all(l)}else if(typeof n=="string")r=$h(e,n,i);else{const l=typeof n=="function"?vi(e,n,i.custom):n;r=Promise.all(Jf(e,l,i))}return r.then(()=>{e.notify("AnimationComplete",n)})}const y5={test:e=>e==="auto",parse:e=>e},Cw=e=>n=>n.test(e),Rw=[Es,me,Bn,ia,YA,GA,y5],mv=e=>Rw.find(Cw(e));function v5(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Bb(e):!0}const b5=new Set(["brightness","contrast","saturate","opacity"]);function w5(e){const[n,i]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[r]=i.match(zf)||[];if(!r)return e;const l=i.replace(r,"");let u=b5.has(n)?1:0;return r!==i&&(u*=100),n+"("+u+l+")"}const x5=/\b([a-z-]*)\(.*?\)/gu,Zh={...An,getAnimatableNone:e=>{const n=e.match(x5);return n?n.map(w5).join(" "):e}},Jh={...An,getAnimatableNone:e=>{const n=An.parse(e);return An.createTransformer(e)(n.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},gv={...Es,transform:Math.round},T5={rotate:ia,pathRotation:ia,rotateX:ia,rotateY:ia,rotateZ:ia,scale:Ol,scaleX:Ol,scaleY:Ol,scaleZ:Ol,skew:ia,skewX:ia,skewY:ia,distance:me,translateX:me,translateY:me,translateZ:me,x:me,y:me,z:me,perspective:me,transformPerspective:me,opacity:Kr,originX:tv,originY:tv,originZ:me},lc={borderWidth:me,borderTopWidth:me,borderRightWidth:me,borderBottomWidth:me,borderLeftWidth:me,borderRadius:me,borderTopLeftRadius:me,borderTopRightRadius:me,borderBottomRightRadius:me,borderBottomLeftRadius:me,width:me,maxWidth:me,height:me,maxHeight:me,top:me,right:me,bottom:me,left:me,inset:me,insetBlock:me,insetBlockStart:me,insetBlockEnd:me,insetInline:me,insetInlineStart:me,insetInlineEnd:me,padding:me,paddingTop:me,paddingRight:me,paddingBottom:me,paddingLeft:me,paddingBlock:me,paddingBlockStart:me,paddingBlockEnd:me,paddingInline:me,paddingInlineStart:me,paddingInlineEnd:me,margin:me,marginTop:me,marginRight:me,marginBottom:me,marginLeft:me,marginBlock:me,marginBlockStart:me,marginBlockEnd:me,marginInline:me,marginInlineStart:me,marginInlineEnd:me,fontSize:me,backgroundPositionX:me,backgroundPositionY:me,...T5,zIndex:gv,fillOpacity:Kr,strokeOpacity:Kr,numOctaves:gv},S5={...lc,color:at,backgroundColor:at,outlineColor:at,fill:at,stroke:at,borderColor:at,borderTopColor:at,borderRightColor:at,borderBottomColor:at,borderLeftColor:at,filter:Zh,WebkitFilter:Zh,mask:Jh,WebkitMask:Jh},kw=e=>S5[e],A5=new Set([Zh,Jh]);function Nw(e,n){let i=kw(e);return A5.has(i)||(i=An),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const E5=new Set(["auto","none","0"]);function j5(e,n,i){let r=0,l;for(;r<e.length&&!l;){const u=e[r];typeof u=="string"&&!E5.has(u)&&Ts(u).values.length&&(l=e[r]),r++}if(l&&i)for(const u of n)e[u]=Nw(i,l)}class C5 extends Gf{constructor(n,i,r,l,u){super(n,i,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:r}=this;if(!i||!i.current)return;super.readKeyframes();for(let y=0;y<n.length;y++){let v=n[y];if(typeof v=="string"&&(v=v.trim(),Vf(v))){const b=Sw(v,i.current);b!==void 0&&(n[y]=b),y===n.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Aw.has(r)||n.length!==2)return;const[l,u]=n,h=mv(l),p=mv(u),m=ev(l),g=ev(u);if(m!==g&&La[r]){this.needsMeasurement=!0;return}if(h!==p)if(cv(h)&&cv(p))for(let y=0;y<n.length;y++){const v=n[y];typeof v=="string"&&(n[y]=parseFloat(v))}else La[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,r=[];for(let l=0;l<n.length;l++)(n[l]===null||v5(n[l]))&&r.push(l);r.length&&j5(n,r,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:r}=this;if(!n||!n.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=La[r](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&n.getValue(r,l).jump(l,!1)}measureEndState(){const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const l=n.getValue(i);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,h=r[u];r[u]=La[i](n.measureViewportBox(),window.getComputedStyle(n.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([p,m])=>{n.getValue(p).set(m)}),this.resolveNoneKeyframes()}}const ep=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function jc(e,n,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;n&&(r=n.current);const l=i?.[e]??r.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e).filter(r=>r!=null)}const ef=(e,n)=>n&&typeof e=="number"?n.transform(e):e;function Gr(e){return zb(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Ss,cancel:Mw}=Zb(queueMicrotask,!1),Sn={x:!1,y:!1};function Ow(){return Sn.x||Sn.y}function R5(e){return e==="x"||e==="y"?Sn[e]?null:(Sn[e]=!0,()=>{Sn[e]=!1}):Sn.x||Sn.y?null:(Sn.x=Sn.y=!0,()=>{Sn.x=Sn.y=!1})}function Dw(e,n){const i=jc(e),r=new AbortController,l={passive:!0,...n,signal:r.signal};return[i,l,()=>r.abort()]}function k5(e){return!(e.pointerType==="touch"||Ow())}function N5(e,n,i={}){const[r,l,u]=Dw(e,i);return r.forEach(h=>{let p=!1,m=!1,g;const y=()=>{h.removeEventListener("pointerleave",T)},v=C=>{g&&(g(C),g=void 0),y()},b=C=>{p=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),m&&(m=!1,v(C))},A=()=>{p=!0,window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",b,l)},T=C=>{if(C.pointerType!=="touch"){if(p){m=!0;return}v(C)}},E=C=>{if(!k5(C))return;m=!1;const R=n(h,C);typeof R=="function"&&(g=R,h.addEventListener("pointerleave",T,l))};h.addEventListener("pointerenter",E,l),h.addEventListener("pointerdown",A,l)}),u}const _w=(e,n)=>n?e===n?!0:_w(e,n.parentElement):!1,tp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,M5=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function O5(e){return M5.has(e.tagName)||e.isContentEditable===!0}const D5=new Set(["INPUT","SELECT","TEXTAREA"]);function _5(e){return D5.has(e.tagName)||e.isContentEditable===!0}const Gl=new WeakSet;function yv(e){return n=>{n.key==="Enter"&&e(n)}}function fh(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const P5=(e,n)=>{const i=e.currentTarget;if(!i)return;const r=yv(()=>{if(Gl.has(i))return;fh(i,"down");const l=yv(()=>{fh(i,"up")}),u=()=>fh(i,"cancel");i.addEventListener("keyup",l,n),i.addEventListener("blur",u,n)});i.addEventListener("keydown",r,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),n)};function vv(e){return tp(e)&&!Ow()}const bv=new WeakSet;function L5(e,n,i={}){const[r,l,u]=Dw(e,i),h=p=>{const m=p.currentTarget;if(!vv(p)||bv.has(p))return;Gl.add(m),i.stopPropagation&&bv.add(p);const g=n(m,p),y={...l,capture:!0},v=(T,E)=>{window.removeEventListener("pointerup",b,y),window.removeEventListener("pointercancel",A,y),Gl.has(m)&&Gl.delete(m),vv(T)&&typeof g=="function"&&g(T,{success:E})},b=T=>{v(T,m===window||m===document||i.useGlobalTarget||_w(m,T.target))},A=T=>{v(T,!1)};window.addEventListener("pointerup",b,y),window.addEventListener("pointercancel",A,y)};return r.forEach(p=>{(i.useGlobalTarget?window:p).addEventListener("pointerdown",h,l),Gr(p)&&(p.addEventListener("focus",g=>P5(g,l)),!O5(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),u}function Cc(e){return zb(e)&&"ownerSVGElement"in e}const Yl=new WeakMap;let Wl;const Pw=(e,n,i)=>(r,l)=>l&&l[0]?l[0][e+"Size"]:Cc(r)&&"getBBox"in r?r.getBBox()[n]:r[i],V5=Pw("inline","width","offsetWidth"),z5=Pw("block","height","offsetHeight");function B5({target:e,borderBoxSize:n}){Yl.get(e)?.forEach(i=>{i(e,{get width(){return V5(e,n)},get height(){return z5(e,n)}})})}function U5(e){e.forEach(B5)}function H5(){typeof ResizeObserver>"u"||(Wl=new ResizeObserver(U5))}function F5(e,n){Wl||H5();const i=jc(e);return i.forEach(r=>{let l=Yl.get(r);l||(l=new Set,Yl.set(r,l)),l.add(n),Wl?.observe(r)}),()=>{i.forEach(r=>{const l=Yl.get(r);l?.delete(n),l?.size||Wl?.unobserve(r)})}}const Xl=new Set;let ms;function q5(){ms=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Xl.forEach(n=>n(e))},window.addEventListener("resize",ms)}function I5(e){return Xl.add(e),ms||q5(),()=>{Xl.delete(e),!Xl.size&&typeof ms=="function"&&(window.removeEventListener("resize",ms),ms=void 0)}}function tf(e,n){return typeof e=="function"?I5(e):F5(e,n)}function Lw(e,n){let i;const r=()=>{const{currentTime:l}=n,h=(l===null?0:l.value)/100;i!==h&&e(h),i=h};return Ne.preUpdate(r,!0),()=>gn(r)}function Vw(e){return Cc(e)&&e.tagName==="svg"}function G5(...e){const n=!Array.isArray(e[0]),i=n?0:-1,r=e[0+i],l=e[1+i],u=e[2+i],h=e[3+i],p=Ff(l,u,h);return n?p(r):p}const Y5=[...Rw,at,An],W5=e=>Y5.find(Cw(e)),wv=()=>({translate:0,scale:1,origin:0,originPoint:0}),gs=()=>({x:wv(),y:wv()}),xv=()=>({min:0,max:0}),nt=()=>({x:xv(),y:xv()}),$r=new WeakMap;function Rc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Zr(e){return typeof e=="string"||Array.isArray(e)}const np=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ap=["initial",...np];function kc(e){return Rc(e.animate)||ap.some(n=>Zr(e[n]))}function zw(e){return!!(kc(e)||e.variants)}function X5(e,n,i){for(const r in n){const l=n[r],u=i[r];if(lt(l))e.addValue(r,l);else if(lt(u))e.addValue(r,mn(l,{owner:e}));else if(u!==l)if(e.hasValue(r)){const h=e.getValue(r);h.liveStyle===!0?h.jump(l):h.hasAnimated||h.set(l)}else{const h=e.getStaticValue(r);e.addValue(r,mn(h!==void 0?h:l,{owner:e}))}}for(const r in i)n[r]===void 0&&e.removeValue(r);return n}const cc={current:null},ip={current:!1},K5=typeof window<"u";function Bw(){if(ip.current=!0,!!K5)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>cc.current=e.matches;e.addEventListener("change",n),n()}else cc.current=!1}const Tv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let uc={};function Uw(e){uc=e}function Q5(){return uc}class Hw{scrapeMotionValuesFromProps(n,i,r){return{}}constructor({parent:n,props:i,presenceContext:r,reducedMotionConfig:l,skipAnimations:u,blockInitialAnimation:h,visualState:p},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Gf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{const A=Nt.now();this.renderScheduledAt<A&&(this.renderScheduledAt=A,Ne.render(this.render,!1,!0))};const{latestValues:g,renderState:y}=p;this.latestValues=g,this.baseTarget={...g},this.initialValues=i.initial?{...g}:{},this.renderState=y,this.parent=n,this.props=i,this.presenceContext=r,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!h,this.isControllingVariants=kc(i),this.isVariantNode=zw(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(i,{},this);for(const A in b){const T=b[A];g[A]!==void 0&&lt(T)&&T.set(g[A])}}mount(n){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=n,$r.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,r)=>this.bindToMotionValue(r,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(ip.current||Bw(),this.shouldReduceMotion=cc.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),gn(this.notifyUpdate),gn(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),i.accelerate&&ww.has(n)&&this.current instanceof HTMLElement){const{factory:h,keyframes:p,times:m,ease:g,duration:y}=i.accelerate,v=new vw({element:this.current,name:n,keyframes:p,times:m,ease:g,duration:Ht(y)}),b=h(v);this.valueSubscriptions.set(n,()=>{b(),v.cancel()});return}const r=Cs.has(n);r&&this.onBindTransform&&this.onBindTransform();const l=i.on("change",h=>{this.latestValues[n]=h,this.props.onUpdate&&Ne.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{l(),u&&u()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in uc){const i=uc[n];if(!i)continue;const{isEnabled:r,Feature:l}=i;if(!this.features[n]&&l&&r(this.props)&&(this.features[n]=new l(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let r=0;r<Tv.length;r++){const l=Tv[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,h=n[u];h&&(this.propEventSubscriptions[l]=this.on(l,h))}this.prevMotionValues=X5(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const r=this.values.get(n);i!==r&&(r&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let r=this.values.get(n);return r===void 0&&i!==void 0&&(r=mn(i===null?void 0:i,{owner:this}),this.addValue(n,r)),r}readValue(n,i){let r=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return r!=null&&(typeof r=="string"&&(Vb(r)||Bb(r))?r=parseFloat(r):!W5(r)&&An.test(i)&&(r=Nw(n,i)),this.setBaseTarget(n,lt(r)?r.get():r)),lt(r)?r.get():r}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const u=$f(this.props,i,this.presenceContext?.custom);u&&(r=u[n])}if(i&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!lt(l)?l:this.initialValues[n]!==void 0&&r===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Of),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){Ss.render(this.render)}}class Fw extends Hw{constructor(){super(...arguments),this.KeyframeResolver=C5}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){const r=n.style;return r?r[i]:void 0}removeValueFromRenderState(n,{vars:i,style:r}){delete i[n],delete r[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;lt(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class Fa{constructor(n){this.isMounted=!1,this.node=n}update(){}}function qw({top:e,left:n,right:i,bottom:r}){return{x:{min:n,max:i},y:{min:e,max:r}}}function $5({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function Z5(e,n){if(!n)return e;const i=n({x:e.left,y:e.top}),r=n({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function ph(e){return e===void 0||e===1}function nf({scale:e,scaleX:n,scaleY:i}){return!ph(e)||!ph(n)||!ph(i)}function pi(e){return nf(e)||Iw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Iw(e){return Sv(e.x)||Sv(e.y)}function Sv(e){return e&&e!=="0%"}function dc(e,n,i){const r=e-i,l=n*r;return i+l}function Av(e,n,i,r,l){return l!==void 0&&(e=dc(e,l,r)),dc(e,i,r)+n}function af(e,n=0,i=1,r,l){e.min=Av(e.min,n,i,r,l),e.max=Av(e.max,n,i,r,l)}function Gw(e,{x:n,y:i}){af(e.x,n.translate,n.scale,n.originPoint),af(e.y,i.translate,i.scale,i.originPoint)}const Ev=.999999999999,jv=1.0000000000001;function J5(e,n,i,r=!1){const l=i.length;if(!l)return;n.x=n.y=1;let u,h;for(let p=0;p<l;p++){u=i[p],h=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(Vn(e.x,-u.scroll.offset.x),Vn(e.y,-u.scroll.offset.y)),h&&(n.x*=h.x.scale,n.y*=h.y.scale,Gw(e,h)),r&&pi(u.latestValues)&&Kl(e,u.latestValues,u.layout?.layoutBox))}n.x<jv&&n.x>Ev&&(n.x=1),n.y<jv&&n.y>Ev&&(n.y=1)}function Vn(e,n){e.min+=n,e.max+=n}function Cv(e,n,i,r,l=.5){const u=Ue(e.min,e.max,l);af(e,n,i,u,r)}function Rv(e,n){return typeof e=="string"?parseFloat(e)/100*(n.max-n.min):e}function Kl(e,n,i){const r=i??e;Cv(e.x,Rv(n.x,r.x),n.scaleX,n.scale,n.originX),Cv(e.y,Rv(n.y,r.y),n.scaleY,n.scale,n.originY)}function Yw(e,n){return qw(Z5(e.getBoundingClientRect(),n))}function eE(e,n,i){const r=Yw(e,i),{scroll:l}=n;return l&&(Vn(r.x,l.offset.x),Vn(r.y,l.offset.y)),r}const tE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nE=js.length;function aE(e,n,i){let r="",l=!0;for(let h=0;h<nE;h++){const p=js[h],m=e[p];if(m===void 0)continue;let g=!0;if(typeof m=="number")g=m===(p.startsWith("scale")?1:0);else{const y=parseFloat(m);g=p.startsWith("scale")?y===1:y===0}if(!g||i){const y=ef(m,lc[p]);if(!g){l=!1;const v=tE[p]||p;r+=`${v}(${y}) `}i&&(n[p]=y)}}const u=e.pathRotation;return u&&(l=!1,r+=`rotate(${ef(u,lc.pathRotation)}) `),r=r.trim(),i?r=i(n,l?"":r):l&&(r="none"),r}function sp(e,n,i){const{style:r,vars:l,transformOrigin:u}=e;let h=!1,p=!1;for(const m in n){const g=n[m];if(Cs.has(m)){h=!0;continue}else if(ew(m)){l[m]=g;continue}else{const y=ef(g,lc[m]);m.startsWith("origin")?(p=!0,u[m]=y):r[m]=y}}if(n.transform||(h||i?r.transform=aE(n,e.transform,i):r.transform&&(r.transform="none")),p){const{originX:m="50%",originY:g="50%",originZ:y=0}=u;r.transformOrigin=`${m} ${g} ${y}`}}function Ww(e,{style:n,vars:i},r,l){const u=e.style;let h;for(h in n)u[h]=n[h];l?.applyProjectionStyles(u,r);for(h in i)u.setProperty(h,i[h])}function kv(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const Or={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(me.test(e))e=parseFloat(e);else return e;const i=kv(e,n.target.x),r=kv(e,n.target.y);return`${i}% ${r}%`}},iE={correct:(e,{treeScale:n,projectionDelta:i})=>{const r=e,l=An.parse(e);if(l.length>5)return r;const u=An.createTransformer(e),h=typeof l[0]!="number"?1:0,p=i.x.scale*n.x,m=i.y.scale*n.y;l[0+h]/=p,l[1+h]/=m;const g=Ue(p,m,.5);return typeof l[2+h]=="number"&&(l[2+h]/=g),typeof l[3+h]=="number"&&(l[3+h]/=g),u(l)}},sf={borderRadius:{...Or,applyTo:[...ep]},borderTopLeftRadius:Or,borderTopRightRadius:Or,borderBottomLeftRadius:Or,borderBottomRightRadius:Or,boxShadow:iE};function Xw(e,{layout:n,layoutId:i}){return Cs.has(e)||e.startsWith("origin")||(n||i!==void 0)&&(!!sf[e]||e==="opacity")}function rp(e,n,i){const r=e.style,l=n?.style,u={};if(!r)return u;for(const h in r)(lt(r[h])||l&&lt(l[h])||Xw(h,e)||i?.getValue(h)?.liveStyle!==void 0)&&(u[h]=r[h]);return u}function sE(e){return window.getComputedStyle(e)}class Kw extends Fw{constructor(){super(...arguments),this.type="html",this.renderInstance=Ww}mount(n){Ac(!!n.style),super.mount(n)}readValueFromInstance(n,i){if(Cs.has(i))return this.projection?.isProjecting?qh(i):R8(n,i);{const r=sE(n),l=(ew(i)?r.getPropertyValue(i):r[i])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:i}){return Yw(n,i)}build(n,i,r){sp(n,i,r.transformTemplate)}scrapeMotionValuesFromProps(n,i,r){return rp(n,i,r)}}function rE(e,n){return e in n}class oE extends Hw{constructor(){super(...arguments),this.type="object"}readValueFromInstance(n,i){if(rE(i,n)){const r=n[i];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(n,i){delete i.output[n]}measureInstanceViewportBox(){return nt()}build(n,i){Object.assign(n.output,i)}renderInstance(n,{output:i}){Object.assign(n,i)}sortInstanceNodePosition(){return 0}}const lE={offset:"stroke-dashoffset",array:"stroke-dasharray"},cE={offset:"strokeDashoffset",array:"strokeDasharray"};function uE(e,n,i=1,r=0,l=!0){e.pathLength=1;const u=l?lE:cE;e[u.offset]=`${-r}`,e[u.array]=`${n} ${i}`}const dE=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Qw(e,{attrX:n,attrY:i,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...p},m,g,y){if(sp(e,p,g),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b}=e;v.transform&&(b.transform=v.transform,delete v.transform),(b.transform||v.transformOrigin)&&(b.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const A of dE)v[A]!==void 0&&(b[A]=v[A],delete v[A]);n!==void 0&&(v.x=n),i!==void 0&&(v.y=i),r!==void 0&&(v.scale=r),l!==void 0&&uE(v,l,u,h,!1)}const $w=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"]),Zw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function hE(e,n,i,r){Ww(e,n,void 0,r);for(const l in n.attrs)e.setAttribute($w.has(l)?l:Zf(l),n.attrs[l])}function Jw(e,n,i){const r=rp(e,n,i);for(const l in e)if(lt(e[l])||lt(n[l])){const u=js.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=e[l]}return r}class ex extends Fw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Cs.has(i)){const r=kw(i);return r&&r.default||0}return i=$w.has(i)?i:Zf(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,r){return Jw(n,i,r)}build(n,i,r){Qw(n,i,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(n,i,r,l){hE(n,i,r,l)}mount(n){this.isSVGTag=Zw(n.tagName),super.mount(n)}}const fE=ap.length;function tx(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?tx(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const n={};for(let i=0;i<fE;i++){const r=ap[i],l=e.props[r];(Zr(l)||l===!1)&&(n[r]=l)}return n}function nx(e,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(n[r]!==e[r])return!1;return!0}const pE=[...np].reverse(),mE=np.length;function gE(e){return n=>Promise.all(n.map(({animation:i,options:r})=>g5(e,i,r)))}function yE(e){let n=gE(e),i=Nv(),r=!0,l=!1;const u=g=>(y,v)=>{const b=vi(e,v,g==="exit"?e.presenceContext?.custom:void 0);if(b){const{transition:A,transitionEnd:T,...E}=b;y={...y,...E,...T}}return y};function h(g){n=g(e)}function p(g){const{props:y}=e,v=tx(e.parent)||{},b=[],A=new Set;let T={},E=1/0;for(let R=0;R<mE;R++){const M=pE[R],N=i[M],O=y[M]!==void 0?y[M]:v[M],z=Zr(O),P=M===g?N.isActive:null;P===!1&&(E=R);let H=O===v[M]&&O!==y[M]&&z;if(H&&(r||l)&&e.manuallyAnimateOnMount&&(H=!1),N.protectedKeys={...T},!N.isActive&&P===null||!O&&!N.prevProp||Rc(O)||typeof O=="boolean")continue;if(M==="exit"&&N.isActive&&P!==!0){N.prevResolvedValues&&(T={...T,...N.prevResolvedValues});continue}const L=vE(N.prevProp,O);let I=L||M===g&&N.isActive&&!H&&z||R>E&&z,Z=!1;const J=Array.isArray(O)?O:[O];let te=J.reduce(u(M),{});P===!1&&(te={});const{prevResolvedValues:le={}}=N,he={...le,...te},ge=G=>{I=!0,A.has(G)&&(Z=!0,A.delete(G)),N.needsAnimating[G]=!0;const ne=e.getValue(G);ne&&(ne.liveStyle=!1)};for(const G in he){const ne=te[G],j=le[G];if(T.hasOwnProperty(G))continue;let W=!1;Kh(ne)&&Kh(j)?W=!nx(ne,j)||L:W=ne!==j,W?ne!=null?ge(G):A.add(G):ne!==void 0&&A.has(G)?ge(G):N.protectedKeys[G]=!0}N.prevProp=O,N.prevResolvedValues=te,N.isActive&&(T={...T,...te}),(r||l)&&e.blockInitialAnimation&&(I=!1);const D=H&&L;I&&(!D||Z)&&b.push(...J.map(G=>{const ne={type:M};if(typeof G=="string"&&(r||l)&&!D&&e.manuallyAnimateOnMount&&e.parent){const{parent:j}=e,W=vi(j,G);if(j.enteringChildren&&W){const{delayChildren:ae}=W.transition||{};ne.delay=xw(j.enteringChildren,e,ae)}}return{animation:G,options:ne}}))}if(A.size){const R={};if(typeof y.initial!="boolean"){const M=vi(e,Array.isArray(y.initial)?y.initial[0]:y.initial);M&&M.transition&&(R.transition=M.transition)}A.forEach(M=>{const N=e.getBaseTarget(M),O=e.getValue(M);O&&(O.liveStyle=!0),R[M]=N??null}),b.push({animation:R})}let C=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!e.manuallyAnimateOnMount&&(C=!1),r=!1,l=!1,C?n(b):Promise.resolve()}function m(g,y){if(i[g].isActive===y)return Promise.resolve();e.variantChildren?.forEach(b=>b.animationState?.setActive(g,y)),i[g].isActive=y;const v=p(g);for(const b in i)i[b].protectedKeys={};return v}return{animateChanges:p,setActive:m,setAnimateFunction:h,getState:()=>i,reset:()=>{i=Nv(),l=!0}}}function vE(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!nx(n,e):!1}function ui(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Nv(){return{animate:ui(!0),whileInView:ui(),whileHover:ui(),whileTap:ui(),whileDrag:ui(),whileFocus:ui(),exit:ui()}}function rf(e,n){e.min=n.min,e.max=n.max}function xn(e,n){rf(e.x,n.x),rf(e.y,n.y)}function Mv(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}const ax=1e-4,bE=1-ax,wE=1+ax,ix=.01,xE=0-ix,TE=0+ix;function Mt(e){return e.max-e.min}function SE(e,n,i){return Math.abs(e-n)<=i}function Ov(e,n,i,r=.5){e.origin=r,e.originPoint=Ue(n.min,n.max,e.origin),e.scale=Mt(i)/Mt(n),e.translate=Ue(i.min,i.max,e.origin)-e.originPoint,(e.scale>=bE&&e.scale<=wE||isNaN(e.scale))&&(e.scale=1),(e.translate>=xE&&e.translate<=TE||isNaN(e.translate))&&(e.translate=0)}function Yr(e,n,i,r){Ov(e.x,n.x,i.x,r?r.originX:void 0),Ov(e.y,n.y,i.y,r?r.originY:void 0)}function Dv(e,n,i,r=0){const l=r?Ue(i.min,i.max,r):i.min;e.min=l+n.min,e.max=e.min+Mt(n)}function AE(e,n,i,r){Dv(e.x,n.x,i.x,r?.x),Dv(e.y,n.y,i.y,r?.y)}function _v(e,n,i,r=0){const l=r?Ue(i.min,i.max,r):i.min;e.min=n.min-l,e.max=e.min+Mt(n)}function hc(e,n,i,r){_v(e.x,n.x,i.x,r?.x),_v(e.y,n.y,i.y,r?.y)}function Pv(e,n,i,r,l){return e-=n,e=dc(e,1/i,r),l!==void 0&&(e=dc(e,1/l,r)),e}function EE(e,n=0,i=1,r=.5,l,u=e,h=e){if(Bn.test(n)&&(n=parseFloat(n),n=Ue(h.min,h.max,n/100)-h.min),typeof n!="number")return;let p=Ue(u.min,u.max,r);e===u&&(p-=n),e.min=Pv(e.min,n,i,p,l),e.max=Pv(e.max,n,i,p,l)}function Lv(e,n,[i,r,l],u,h){EE(e,n[i],n[r],n[l],n.scale,u,h)}const jE=["x","scaleX","originX"],CE=["y","scaleY","originY"];function Vv(e,n,i,r){Lv(e.x,n,jE,i?i.x:void 0,r?r.x:void 0),Lv(e.y,n,CE,i?i.y:void 0,r?r.y:void 0)}function zv(e){return e.translate===0&&e.scale===1}function sx(e){return zv(e.x)&&zv(e.y)}function Bv(e,n){return e.min===n.min&&e.max===n.max}function RE(e,n){return Bv(e.x,n.x)&&Bv(e.y,n.y)}function Uv(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function rx(e,n){return Uv(e.x,n.x)&&Uv(e.y,n.y)}function Hv(e){return Mt(e.x)/Mt(e.y)}function Fv(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}function Ln(e){return[e("x"),e("y")]}function kE(e,n,i){let r="";const l=e.x.translate/n.x,u=e.y.translate/n.y,h=i?.z||0;if((l||u||h)&&(r=`translate3d(${l}px, ${u}px, ${h}px) `),(n.x!==1||n.y!==1)&&(r+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:g,rotate:y,pathRotation:v,rotateX:b,rotateY:A,skewX:T,skewY:E}=i;g&&(r=`perspective(${g}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),A&&(r+=`rotateY(${A}deg) `),T&&(r+=`skewX(${T}deg) `),E&&(r+=`skewY(${E}deg) `)}const p=e.x.scale*n.x,m=e.y.scale*n.y;return(p!==1||m!==1)&&(r+=`scale(${p}, ${m})`),r||"none"}const NE=ep.length,qv=e=>typeof e=="string"?parseFloat(e):e,Iv=e=>typeof e=="number"||me.test(e);function ME(e,n,i,r,l,u){l?(e.opacity=Ue(0,i.opacity??1,OE(r)),e.opacityExit=Ue(n.opacity??1,0,DE(r))):u&&(e.opacity=Ue(n.opacity??1,i.opacity??1,r));for(let h=0;h<NE;h++){const p=ep[h];let m=Gv(n,p),g=Gv(i,p);if(m===void 0&&g===void 0)continue;m||(m=0),g||(g=0),m===0||g===0||Iv(m)===Iv(g)?(e[p]=Math.max(Ue(qv(m),qv(g),r),0),(Bn.test(g)||Bn.test(m))&&(e[p]+="%")):e[p]=g}(n.rotate||i.rotate)&&(e.rotate=Ue(n.rotate||0,i.rotate||0,r))}function Gv(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const OE=ox(0,.5,Yb),DE=ox(.5,.95,Ut);function ox(e,n,i){return r=>r<e?0:r>n?1:i(xi(e,n,r))}function lx(e,n,i){const r=lt(e)?e:mn(e);return r.start(Qf("",r,n,i)),r.animation}function Jr(e,n,i,r={passive:!0}){return e.addEventListener(n,i,r),()=>e.removeEventListener(n,i,r)}const _E=(e,n)=>e.depth-n.depth;class PE{constructor(){this.children=[],this.isDirty=!1}add(n){Mf(this.children,n),this.isDirty=!0}remove(n){xs(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(_E),this.isDirty=!1,this.children.forEach(n)}}function LE(e,n){const i=Nt.now(),r=({timestamp:l})=>{const u=l-i;u>=n&&(gn(r),e(u-n))};return Ne.setup(r,!0),()=>gn(r)}function Ql(e){return lt(e)?e.get():e}class VE{constructor(){this.members=[]}add(n){Mf(this.members,n);for(let i=this.members.length-1;i>=0;i--){const r=this.members[i];if(r===n||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(xs(this.members,r),r.unmount())}n.scheduleRender()}remove(n){if(xs(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){for(let i=this.members.indexOf(n)-1;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(n,i){const r=this.lead;if(n!==r&&(this.prevLead=r,this.lead=n,n.show(),r)){r.updateSnapshot(),n.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=n.options;(l===void 0||l!==u)&&(n.resumeFrom=r,i&&(r.preserveOpacity=!0),r.snapshot&&(n.snapshot=r.snapshot,n.snapshot.latestValues=r.animationValues||r.latestValues),n.root?.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(n=>{n.options.onExitComplete?.(),n.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const $l={hasAnimatedSinceResize:!0,hasEverUpdated:!1},mh=["","X","Y","Z"],zE=1e3;let BE=0;function gh(e,n,i,r){const{latestValues:l}=n;l[e]&&(i[e]=l[e],n.setStaticValue(e,0),r&&(r[e]=0))}function cx(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const i=jw(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",Ne,!(l||u))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&cx(r)}function ux({attachResizeListener:e,defaultParent:n,measureScroll:i,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(h={},p=n?.()){this.id=BE++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(FE),this.nodes.forEach(XE),this.nodes.forEach(KE),this.nodes.forEach(qE)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new PE)}addEventListener(h,p){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new Of),this.eventHandlers.get(h).add(p)}notifyListeners(h,...p){const m=this.eventHandlers.get(h);m&&m.notify(...p)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=Cc(h)&&!Vw(h),this.instance=h;const{layoutId:p,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||p)&&(this.isLayoutDirty=!0),e){let y,v=0;const b=()=>this.root.updateBlockedByResize=!1;Ne.read(()=>{v=window.innerWidth}),e(h,()=>{const A=window.innerWidth;A!==v&&(v=A,this.root.updateBlockedByResize=!0,y&&y(),y=LE(b,250),$l.hasAnimatedSinceResize&&($l.hasAnimatedSinceResize=!1,this.nodes.forEach(Xv)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:b,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||g.getDefaultTransition()||e6,{onLayoutAnimationStart:E,onLayoutAnimationComplete:C}=g.getProps(),R=!this.targetLayout||!rx(this.targetLayout,A),M=!v&&b;if(this.options.layoutRoot||this.resumeFrom||M||v&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const N={...Kf(T,"layout"),onPlay:E,onComplete:C};(g.shouldReduceMotion||this.options.layoutRoot)&&(N.delay=0,N.type=!1),this.startAnimation(N),this.setAnimationOrigin(y,M,N.path)}else v||Xv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),gn(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(QE),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:p,layout:m}=this.options;if(p===void 0&&!m)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(GE),this.nodes.forEach(Yv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(YE),this.nodes.forEach(WE),this.nodes.forEach(UE),this.nodes.forEach(HE)):this.nodes.forEach(Wv),this.clearAllSnapshots();const p=Nt.now();mt.delta=jn(0,1e3/60,p-mt.timestamp),mt.timestamp=p,mt.isProcessing=!0,oh.update.process(mt),oh.preRender.process(mt),oh.render.process(mt),mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ss.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(IE),this.sharedNodes.forEach($E)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mt(this.snapshot.measuredBox.x)&&!Mt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=nt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(p=!1),p&&this.instance){const m=r(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!l)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!sx(this.projectionDelta),m=this.getTransformTemplate(),g=m?m(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;h&&this.instance&&(p||pi(this.latestValues)||y)&&(l(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const p=this.measurePageBox();let m=this.removeElementScroll(p);return h&&(m=this.removeTransform(m)),t6(m),{animationId:this.root.animationId,measuredBox:p,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return nt();const p=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(n6))){const{scroll:g}=this.root;g&&(Vn(p.x,g.offset.x),Vn(p.y,g.offset.y))}return p}removeElementScroll(h){const p=nt();if(xn(p,h),this.scroll?.wasRoot)return p;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:y,options:v}=g;g!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&xn(p,h),Vn(p.x,y.offset.x),Vn(p.y,y.offset.y))}return p}applyTransform(h,p=!1,m){const g=m||nt();xn(g,h);for(let y=0;y<this.path.length;y++){const v=this.path[y];!p&&v.options.layoutScroll&&v.scroll&&v!==v.root&&(Vn(g.x,-v.scroll.offset.x),Vn(g.y,-v.scroll.offset.y)),pi(v.latestValues)&&Kl(g,v.latestValues,v.layout?.layoutBox)}return pi(this.latestValues)&&Kl(g,this.latestValues,this.layout?.layoutBox),g}removeTransform(h){const p=nt();xn(p,h);for(let m=0;m<this.path.length;m++){const g=this.path[m];if(!pi(g.latestValues))continue;let y;g.instance&&(nf(g.latestValues)&&g.updateSnapshot(),y=nt(),xn(y,g.measurePageBox())),Vv(p,g.latestValues,g.snapshot?.layoutBox,y)}return pi(this.latestValues)&&Vv(p,this.latestValues),p}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.crossfade:!0}}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!==mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==p;if(!(h||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=mt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=nt(),this.targetWithTransforms=nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),AE(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):xn(this.target,this.layout.layoutBox),Gw(this.target,this.targetDelta)):xn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||nf(this.parent.latestValues)||Iw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,p,m){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nt(),this.relativeTargetOrigin=nt(),hc(this.relativeTargetOrigin,p,m,this.options.layoutAnchor||void 0),xn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),p=!!this.resumingFrom||this!==h;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===mt.timestamp&&(m=!1),m)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;xn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,b=this.treeScale.y;J5(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=nt());const{target:A}=h;if(!A){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Mv(this.prevProjectionDelta.x,this.projectionDelta.x),Mv(this.prevProjectionDelta.y,this.projectionDelta.y)),Yr(this.projectionDelta,this.layoutCorrected,A,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==b||!Fv(this.projectionDelta.x,this.prevProjectionDelta.x)||!Fv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",A))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=gs(),this.projectionDelta=gs(),this.projectionDeltaWithTransform=gs()}setAnimationOrigin(h,p=!1,m){const g=this.snapshot,y=g?g.latestValues:{},v={...this.latestValues},b=gs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const A=nt(),T=g?g.source:void 0,E=this.layout?this.layout.source:void 0,C=T!==E,R=this.getStack(),M=!R||R.members.length<=1,N=!!(C&&!M&&this.options.crossfade===!0&&!this.path.some(JE));this.animationProgress=0;let O;const z=m?.interpolateProjection(h);this.mixTargetDelta=P=>{const H=P/1e3,L=z?.(H);L?(b.x.translate=L.x,b.x.scale=Ue(h.x.scale,1,H),b.x.origin=h.x.origin,b.x.originPoint=h.x.originPoint,b.y.translate=L.y,b.y.scale=Ue(h.y.scale,1,H),b.y.origin=h.y.origin,b.y.originPoint=h.y.originPoint):(Kv(b.x,h.x,H),Kv(b.y,h.y,H)),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hc(A,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ZE(this.relativeTarget,this.relativeTargetOrigin,A,H),O&&RE(this.relativeTarget,O)&&(this.isProjectionDirty=!1),O||(O=nt()),xn(O,this.relativeTarget)),C&&(this.animationValues=v,ME(v,y,this.latestValues,H,N,M)),L&&L.rotate!==void 0&&(this.animationValues||(this.animationValues=v),this.animationValues.pathRotation=L.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(gn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ne.update(()=>{$l.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=mn(0)),this.motionValue.jump(0,!1),this.currentAnimation=lx(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),h.onUpdate&&h.onUpdate(p)},onComplete:()=>{h.onComplete&&h.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);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:p,target:m,layout:g,latestValues:y}=h;if(!(!p||!m||!g)){if(this!==h&&this.layout&&g&&dx(this.options.animationType,this.layout.layoutBox,g.layoutBox)){m=this.target||nt();const v=Mt(this.layout.layoutBox.x);m.x.min=h.target.x.min,m.x.max=m.x.min+v;const b=Mt(this.layout.layoutBox.y);m.y.min=h.target.y.min,m.y.max=m.y.min+b}xn(p,m),Kl(p,y),Yr(this.projectionDeltaWithTransform,this.layoutCorrected,p,y)}}registerSharedNode(h,p){this.sharedNodes.has(h)||this.sharedNodes.set(h,new VE),this.sharedNodes.get(h).add(p);const g=p.options.initialPromotionConfig;p.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(p):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){const{layoutId:h}=this.options;return h?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:h}=this.options;return h?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:p,preserveFollowOpacity:m}={}){const g=this.getStack();g&&g.promote(this,m),h&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let p=!1;const{latestValues:m}=h;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(p=!0),!p)return;const g={};m.z&&gh("z",h,g,this.animationValues);for(let y=0;y<mh.length;y++)gh(`rotate${mh[y]}`,h,g,this.animationValues),gh(`skew${mh[y]}`,h,g,this.animationValues);h.render();for(const y in g)h.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);h.scheduleRender()}applyProjectionStyles(h,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=Ql(p?.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Ql(p?.pointerEvents)||""),this.hasProjected&&!pi(this.latestValues)&&(h.transform=m?m({},""):"none",this.hasProjected=!1);return}h.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let v=kE(this.projectionDeltaWithTransform,this.treeScale,y);m&&(v=m(y,v)),h.transform=v;const{x:b,y:A}=this.projectionDelta;h.transformOrigin=`${b.origin*100}% ${A.origin*100}% 0`,g.animationValues?h.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:h.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const T in sf){if(y[T]===void 0)continue;const{correct:E,applyTo:C,isCSSVariable:R}=sf[T],M=v==="none"?y[T]:E(y[T],g);if(C){const N=C.length;for(let O=0;O<N;O++)h[C[O]]=M}else R?this.options.visualElement.renderState.vars[T]=M:h[T]=M}this.options.layoutId&&(h.pointerEvents=g===this?Ql(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(Yv),this.root.sharedNodes.clear()}}}function UE(e){e.updateLayout()}function HE(e){const n=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:l}=e.options,u=n.source!==e.layout.source;if(l==="size")Ln(y=>{const v=u?n.measuredBox[y]:n.layoutBox[y],b=Mt(v);v.min=i[y].min,v.max=v.min+b});else if(l==="x"||l==="y"){const y=l==="x"?"y":"x";rf(u?n.measuredBox[y]:n.layoutBox[y],i[y])}else dx(l,n.layoutBox,i)&&Ln(y=>{const v=u?n.measuredBox[y]:n.layoutBox[y],b=Mt(i[y]);v.max=v.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+b)});const h=gs();Yr(h,i,n.layoutBox);const p=gs();u?Yr(p,e.applyTransform(r,!0),n.measuredBox):Yr(p,i,n.layoutBox);const m=!sx(h);let g=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:b}=y;if(v&&b){const A=e.options.layoutAnchor||void 0,T=nt();hc(T,n.layoutBox,v.layoutBox,A);const E=nt();hc(E,i,b.layoutBox,A),rx(T,E)||(g=!0),y.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=T,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:p,layoutDelta:h,hasLayoutChanged:m,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function FE(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function qE(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function IE(e){e.clearSnapshot()}function Yv(e){e.clearMeasurements()}function GE(e){e.isLayoutDirty=!0,e.updateLayout()}function Wv(e){e.isLayoutDirty=!1}function YE(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function WE(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function XE(e){e.resolveTargetDelta()}function KE(e){e.calcProjection()}function QE(e){e.resetSkewAndRotation()}function $E(e){e.removeLeadSnapshot()}function Kv(e,n,i){e.translate=Ue(n.translate,0,i),e.scale=Ue(n.scale,1,i),e.origin=n.origin,e.originPoint=n.originPoint}function Qv(e,n,i,r){e.min=Ue(n.min,i.min,r),e.max=Ue(n.max,i.max,r)}function ZE(e,n,i,r){Qv(e.x,n.x,i.x,r),Qv(e.y,n.y,i.y,r)}function JE(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const e6={duration:.45,ease:[.4,0,.1,1]},$v=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Zv=$v("applewebkit/")&&!$v("chrome/")?Math.round:Ut;function Jv(e){e.min=Zv(e.min),e.max=Zv(e.max)}function t6(e){Jv(e.x),Jv(e.y)}function dx(e,n,i){return e==="position"||e==="preserve-aspect"&&!SE(Hv(n),Hv(i),.2)}function n6(e){return e!==e.root&&e.scroll?.wasRoot}const a6=ux({attachResizeListener:(e,n)=>Jr(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),yh={current:void 0},hx=ux({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yh.current){const e=new a6({});e.mount(window),e.setOptions({layoutScroll:!0}),yh.current=e}return yh.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Nc=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function e1(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function i6(...e){return n=>{let i=!1;const r=e.map(l=>
9{const u=e1(l,n);return!i&&typeof u=="function"&&(i=!0),u});if(i)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():e1(e[l],null)}}}}function s6(...e){return x.useCallback(i6(...e),e)}class r6 extends x.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(Gr(i)&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=i.offsetParent,l=Gr(r)&&r.offsetWidth||0,u=Gr(r)&&r.offsetHeight||0,h=getComputedStyle(i),p=this.props.sizeRef.current;p.height=parseFloat(h.height),p.width=parseFloat(h.width),p.top=i.offsetTop,p.left=i.offsetLeft,p.right=l-p.width-p.left,p.bottom=u-p.height-p.top,p.direction=h.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function o6({children:e,isPresent:n,anchorX:i,anchorY:r,root:l,pop:u}){const h=x.useId(),p=x.useRef(null),m=x.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=x.useContext(Nc),y=u!==!1?e.props?.ref??e?.ref:void 0,v=s6(p,y);return x.useInsertionEffect(()=>{const{width:b,height:A,top:T,left:E,right:C,bottom:R,direction:M}=m.current;if(n||u===!1||!p.current||!b||!A)return;const N=M==="rtl",O=i==="left"?N?`right: ${C}`:`left: ${E}`:N?`left: ${E}`:`right: ${C}`,z=r==="bottom"?`bottom: ${R}`:`top: ${T}`;p.current.dataset.motionPopId=h;const P=document.createElement("style");g&&(P.nonce=g);const H=l??document.head;return H.appendChild(P),P.sheet&&P.sheet.insertRule(`
10          [data-motion-pop-id="${h}"] {
11            position: absolute !important;
12            width: ${b}px !important;
13            height: ${A}px !important;
14            ${O}px !important;
15            ${z}px !important;
16          }
17        `),()=>{p.current?.removeAttribute("data-motion-pop-id"),H.contains(P)&&H.removeChild(P)}},[n]),c.jsx(r6,{isPresent:n,childRef:p,sizeRef:m,pop:u,children:u===!1?e:x.cloneElement(e,{ref:v})})}const l6=({children:e,initial:n,isPresent:i,onExitComplete:r,custom:l,presenceAffectsLayout:u,mode:h,anchorX:p,anchorY:m,root:g})=>{const y=za(c6),v=x.useId(),b=x.useRef(i),A=x.useRef(r);oo(()=>{b.current=i,A.current=r});let T=!0,E=x.useMemo(()=>(T=!1,{id:v,initial:n,isPresent:i,custom:l,onExitComplete:C=>{y.set(C,!0);for(const R of y.values())if(!R)return;r&&r()},register:C=>(y.set(C,!1),()=>{y.delete(C),!b.current&&!y.size&&A.current?.()})}),[i,y,r]);return u&&T&&(E={...E}),x.useMemo(()=>{y.forEach((C,R)=>y.set(R,!1))},[i]),x.useEffect(()=>{!i&&!y.size&&r&&r()},[i]),e=c.jsx(o6,{pop:h==="popLayout",isPresent:i,anchorX:p,anchorY:m,root:g,children:e}),c.jsx(Sc.Provider,{value:E,children:e})};function c6(){return new Map}function fx(e=!0){const n=x.useContext(Sc);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:r,register:l}=n,u=x.useId();x.useEffect(()=>{if(e)return l(u)},[e]);const h=x.useCallback(()=>e&&r&&r(u),[u,r,e]);return!i&&r?[!1,h]:[!0]}const Dl=e=>e.key||"";function t1(e){const n=[];return x.Children.forEach(e,i=>{x.isValidElement(i)&&n.push(i)}),n}const bi=({children:e,custom:n,initial:i=!0,onExitComplete:r,presenceAffectsLayout:l=!0,mode:u="sync",propagate:h=!1,anchorX:p="left",anchorY:m="top",root:g})=>{const[y,v]=fx(h),b=x.useMemo(()=>t1(e),[e]),A=h&&!y?[]:b.map(Dl),T=x.useRef(!0),E=x.useRef(b),C=za(()=>new Map),R=x.useRef(new Set),[M,N]=x.useState(b),[O,z]=x.useState(b);oo(()=>{T.current=!1,E.current=b;for(let L=0;L<O.length;L++){const I=Dl(O[L]);A.includes(I)?(C.delete(I),R.current.delete(I)):C.get(I)!==!0&&C.set(I,!1)}},[O,A.length,A.join("-")]);const P=[];if(b!==M){let L=[...b];for(let I=0;I<O.length;I++){const Z=O[I],J=Dl(Z);A.includes(J)||(L.splice(I,0,Z),P.push(Z))}return u==="wait"&&P.length&&(L=P),z(t1(L)),N(b),null}const{forceRender:H}=x.useContext(Nf);return c.jsx(c.Fragment,{children:O.map(L=>{const I=Dl(L),Z=h&&!y?!1:b===O||A.includes(I),J=()=>{if(R.current.has(I))return;if(C.has(I))R.current.add(I),C.set(I,!0);else return;let te=!0;C.forEach(le=>{le||(te=!1)}),te&&(H?.(),z(E.current),h&&v?.(),r&&r())};return c.jsx(l6,{isPresent:Z,initial:!T.current||i?void 0:!1,custom:n,presenceAffectsLayout:l,mode:u,root:g,onExitComplete:Z?void 0:J,anchorX:p,anchorY:m,children:L},I)})})},px=x.createContext({strict:!1}),n1={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"]};let a1=!1;function u6(){if(a1)return;const e={};for(const n in n1)e[n]={isEnabled:i=>n1[n].some(r=>!!i[r])};Uw(e),a1=!0}function mx(){return u6(),Q5()}function d6(e){const n=mx();for(const i in e)n[i]={...n[i],...e[i]};Uw(n)}const h6=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","propagate","ignoreStrict","viewport"]);function fc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||h6.has(e)}let gx=e=>!fc(e);function f6(e){typeof e=="function"&&(gx=n=>n.startsWith("on")?!fc(n):e(n))}try{f6(require("@emotion/is-prop-valid").default)}catch{}function p6(e,n,i){const r={};for(const l in e)l==="values"&&typeof e.values=="object"||lt(e[l])||(gx(l)||i===!0&&fc(l)||!n&&!fc(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}const Mc=x.createContext({});function m6(e,n){if(kc(e)){const{initial:i,animate:r}=e;return{initial:i===!1||Zr(i)?i:void 0,animate:Zr(r)?r:void 0}}return e.inherit!==!1?n:{}}function g6(e){const{initial:n,animate:i}=m6(e,x.useContext(Mc));return x.useMemo(()=>({initial:n,animate:i}),[i1(n),i1(i)])}function i1(e){return Array.isArray(e)?e.join(" "):e}const op=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function yx(e,n,i){for(const r in n)!lt(n[r])&&!Xw(r,i)&&(e[r]=n[r])}function y6({transformTemplate:e},n){return x.useMemo(()=>{const i=op();return sp(i,n,e),Object.assign({},i.vars,i.style)},[n])}function v6(e,n){const i=e.style||{},r={};return yx(r,i,e),Object.assign(r,y6(e,n)),r}function b6(e,n){const i={},r=v6(e,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
17`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=r,i}const vx=()=>({...op(),attrs:{}});function w6(e,n,i,r){const l=x.useMemo(()=>{const u=vx();return Qw(u,n,Zw(r),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[n]);if(e.style){const u={};yx(u,e.style,e),l.style={...u,...l.style}}return l}const x6=["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 lp(e){return typeof e!="string"||e.includes("-")?!1:!!(x6.indexOf(e)>-1||/[A-Z]/u.test(e))}function T6(e,n,i,{latestValues:r},l,u=!1,h){const m=(h??lp(e)?w6:b6)(n,r,l,e),g=p6(n,typeof e=="string",u),y=e!==x.Fragment?{...g,...m,ref:i}:{},{children:v}=n,b=x.useMemo(()=>lt(v)?v.get():v,[v]);return x.createElement(e,{...y,children:b})}function S6({scrapeMotionValuesFromProps:e,createRenderState:n},i,r,l){return{latestValues:A6(i,r,l,e),renderState:n()}}function A6(e,n,i,r){const l={},u=r(e,{});for(const b in u)l[b]=Ql(u[b]);let{initial:h,animate:p}=e;const m=kc(e),g=zw(e);n&&g&&!m&&e.inherit!==!1&&(h===void 0&&(h=n.initial),p===void 0&&(p=n.animate));let y=i?i.initial===!1:!1;y=y||h===!1;const v=y?p:h;if(v&&typeof v!="boolean"&&!Rc(v)){const b=Array.isArray(v)?v:[v];for(let A=0;A<b.length;A++){const T=$f(e,b[A]);if(T){const{transitionEnd:E,transition:C,...R}=T;for(const M in R){let N=R[M];if(Array.isArray(N)){const O=y?N.length-1:0;N=N[O]}N!==null&&(l[M]=N)}for(const M in E)l[M]=E[M]}}}return l}const bx=e=>(n,i)=>{const r=x.useContext(Mc),l=x.useContext(Sc),u=()=>S6(e,n,r,l);return i?u():za(u)},E6=bx({scrapeMotionValuesFromProps:rp,createRenderState:op}),j6=bx({scrapeMotionValuesFromProps:Jw,createRenderState:vx}),C6=Symbol.for("motionComponentSymbol");function R6(e,n,i){const r=x.useRef(i);x.useInsertionEffect(()=>{r.current=i});const l=x.useRef(null);return x.useCallback(u=>{u&&e.onMount?.(u),n&&(u?n.mount(u):n.unmount());const h=r.current;if(typeof h=="function")if(u){const p=h(u);typeof p=="function"&&(l.current=p)}else l.current?(l.current(),l.current=null):h(u);else h&&(h.current=u)},[n])}const wx=x.createContext({});function hs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function k6(e,n,i,r,l,u){const{visualElement:h}=x.useContext(Mc),p=x.useContext(px),m=x.useContext(Sc),g=x.useContext(Nc),y=g.reducedMotion,v=g.skipAnimations,b=x.useRef(null),A=x.useRef(!1);r=r||p.renderer,!b.current&&r&&(b.current=r(e,{visualState:n,parent:h,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:y,skipAnimations:v,isSVG:u}),A.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const T=b.current,E=x.useContext(wx);T&&!T.projection&&l&&(T.type==="html"||T.type==="svg")&&N6(b.current,i,l,E);const C=x.useRef(!1);x.useInsertionEffect(()=>{T&&C.current&&T.update(i,m)});const R=i[Ew],M=x.useRef(!!R&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return oo(()=>{A.current=!0,T&&(C.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),M.current&&T.animationState&&T.animationState.animateChanges())}),x.useEffect(()=>{T&&(!M.current&&T.animationState&&T.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),M.current=!1),T.enteringChildren=void 0)}),T}function N6(e,n,i,r){const{layoutId:l,layout:u,drag:h,dragConstraints:p,layoutScroll:m,layoutRoot:g,layoutAnchor:y,layoutCrossfade:v}=n;e.projection=new i(e.latestValues,n["data-framer-portal-id"]?void 0:xx(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!h||p&&hs(p),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:m,layoutRoot:g,layoutAnchor:y})}function xx(e){if(e)return e.options.allowProjection!==!1?e.projection:xx(e.parent)}function vh(e,{forwardMotionProps:n=!1,type:i}={},r,l){r&&d6(r);const u=i?i==="svg":lp(e),h=u?j6:E6;function p(g,y){let v;const b={...x.useContext(Nc),...g,layoutId:M6(g)},{isStatic:A}=b,T=g6(g),E=h(g,A);if(!A&&typeof window<"u"){O6();const C=D6(b);v=C.MeasureLayout,T.visualElement=k6(e,E,b,l,C.ProjectionNode,u)}return c.jsxs(Mc.Provider,{value:T,children:[v&&T.visualElement?c.jsx(v,{visualElement:T.visualElement,...b}):null,T6(e,g,R6(E,T.visualElement,y),E,A,n,u)]})}p.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const m=x.forwardRef(p);return m[C6]=e,m}function M6({layoutId:e}){const n=x.useContext(Nf).id;return n&&e!==void 0?n+"-"+e:e}function O6(e,n){x.useContext(px).strict}function D6(e){const n=mx(),{drag:i,layout:r}=n;if(!i&&!r)return{};const l={...i,...r};return{MeasureLayout:i?.isEnabled(e)||r?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}
vendor: 18,422 bytes, line 17
17function _6(e,n){if(typeof Proxy>"u")return vh;const i=new Map,r=(u,h)=>vh(u,h,e,n),l=(u,h)=>r(u,h);return new Proxy(l,{get:(u,h)=>h==="create"?r:(i.has(h)||i.set(h,vh(h,void 0,e,n)),i.get(h))})}const P6=(e,n)=>n.isSVG??lp(e)?new ex(n):new Kw(n,{allowProjection:e!==x.Fragment});class L6 extends Fa{constructor(n){super(n),n.animationState||(n.animationState=yE(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Rc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let V6=0;class z6 extends Fa{constructor(){super(...arguments),this.id=V6++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===r)return;if(n&&r===!1){if(this.isExitComplete){const{initial:u,custom:h}=this.node.getProps();if(typeof u=="string"||typeof u=="object"&&u!==null&&!Array.isArray(u)){const p=vi(this.node,u,h);if(p){const{transition:m,transitionEnd:g,...y}=p;for(const v in y)this.node.getValue(v)?.jump(y[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!n);i&&!n&&l.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const B6={animation:{Feature:L6},exit:{Feature:z6}};function ho(e){return{point:{x:e.pageX,y:e.pageY}}}const U6=e=>n=>tp(n)&&e(n,ho(n));function Wr(e,n,i,r){return Jr(e,n,U6(i),r)}const Tx=({current:e})=>e?e.ownerDocument.defaultView:null,s1=(e,n)=>Math.abs(e-n);function H6(e,n){const i=s1(e.x,n.x),r=s1(e.y,n.y);return Math.sqrt(i**2+r**2)}const r1=new Set(["auto","scroll"]);class Sx{constructor(n,i,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:h=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=_l(this.lastRawMoveEventInfo,this.transformPagePoint));const T=bh(this.lastMoveEventInfo,this.history),E=this.startEvent!==null,C=H6(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!E&&!C)return;const{point:R}=T,{timestamp:M}=mt;this.history.push({...R,timestamp:M});const{onStart:N,onMove:O}=this.handlers;E||(N&&N(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,T)},this.handlePointerMove=(T,E)=>{this.lastMoveEvent=T,this.lastRawMoveEventInfo=E,this.lastMoveEventInfo=_l(E,this.transformPagePoint),Ne.update(this.updatePoint,!0)},this.handlePointerUp=(T,E)=>{this.end();const{onEnd:C,onSessionEnd:R,resumeAnimation:M}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=bh(T.type==="pointercancel"?this.lastMoveEventInfo:_l(E,this.transformPagePoint),this.history);this.startEvent&&C&&C(T,N),R&&R(T,N)},!tp(n))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=r,this.distanceThreshold=h,this.contextWindow=l||window;const m=ho(n),g=_l(m,this.transformPagePoint),{point:y}=g,{timestamp:v}=mt;this.history=[{...y,timestamp:v}];const{onSessionStart:b}=i;b&&b(n,bh(g,this.history));const A={passive:!0,capture:!0};this.removeListeners=lo(Wr(this.contextWindow,"pointermove",this.handlePointerMove,A),Wr(this.contextWindow,"pointerup",this.handlePointerUp,A),Wr(this.contextWindow,"pointercancel",this.handlePointerUp,A)),p&&this.startScrollTracking(p)}startScrollTracking(n){let i=n.parentElement;for(;i;){const r=getComputedStyle(i);(r1.has(r.overflowX)||r1.has(r.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const i=this.scrollPositions.get(n);if(!i)return;const r=n===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},u={x:l.x-i.x,y:l.y-i.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(n,l),Ne.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),gn(this.updatePoint)}}function _l(e,n){return n?{point:n(e.point)}:e}function o1(e,n){return{x:e.x-n.x,y:e.y-n.y}}function bh({point:e},n){return{point:e,delta:o1(e,Ax(n)),offset:o1(e,F6(n)),velocity:q6(n,.1)}}function F6(e){return e[0]}function Ax(e){return e[e.length-1]}function q6(e,n){if(e.length<2)return{x:0,y:0};let i=e.length-1,r=null;const l=Ax(e);for(;i>=0&&(r=e[i],!(l.timestamp-r.timestamp>Ht(n)));)i--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&l.timestamp-r.timestamp>Ht(n)*2&&(r=e[1]);const u=pn(l.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const h={x:(l.x-r.x)/u,y:(l.y-r.y)/u};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function I6(e,{min:n,max:i},r){return n!==void 0&&e<n?e=r?Ue(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Ue(i,e,r.max):Math.min(e,i)),e}function l1(e,n,i){return{min:n!==void 0?e.min+n:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function G6(e,{top:n,left:i,bottom:r,right:l}){return{x:l1(e.x,i,l),y:l1(e.y,n,r)}}function c1(e,n){let i=n.min-e.min,r=n.max-e.max;return n.max-n.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function Y6(e,n){return{x:c1(e.x,n.x),y:c1(e.y,n.y)}}function W6(e,n){let i=.5;const r=Mt(e),l=Mt(n);return l>r?i=xi(n.min,n.max-r,e.min):r>l&&(i=xi(e.min,e.max-l,n.min)),jn(0,1,i)}function X6(e,n){const i={};return n.min!==void 0&&(i.min=n.min-e.min),n.max!==void 0&&(i.max=n.max-e.min),i}const of=.35;function K6(e=of){return e===!1?e=0:e===!0&&(e=of),{x:u1(e,"left","right"),y:u1(e,"top","bottom")}}function u1(e,n,i){return{min:d1(e,n),max:d1(e,i)}}function d1(e,n){return typeof e=="number"?e:e[n]||0}const Q6=new WeakMap;class $6{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=v=>{i&&this.snapToCursor(ho(v).point),this.stopAnimation()},h=(v,b)=>{const{drag:A,dragPropagation:T,onDragStart:E}=this.getProps();if(A&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=R5(A),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ln(R=>{let M=this.getAxisMotionValue(R).get()||0;if(Bn.test(M)){const{projection:N}=this.visualElement;if(N&&N.layout){const O=N.layout.layoutBox[R];O&&(M=Mt(O)*(parseFloat(M)/100))}}this.originPoint[R]=M}),E&&Ne.update(()=>E(v,b),!1,!0),Qh(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},p=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b;const{dragPropagation:A,dragDirectionLock:T,onDirectionLock:E,onDrag:C}=this.getProps();if(!A&&!this.openDragLock)return;const{offset:R}=b;if(T&&this.currentDirection===null){this.currentDirection=J6(R),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",b.point,R),this.updateAxis("y",b.point,R),this.visualElement.render(),C&&Ne.update(()=>C(v,b),!1,!0)},m=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b,this.stop(v,b),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new Sx(n,{onSessionStart:u,onStart:h,onMove:p,onSessionEnd:m,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:Tx(this.visualElement),element:this.visualElement.current})}stop(n,i){const r=n||this.latestPointerEvent,l=i||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:h}=l;this.startAnimation(h);const{onDragEnd:p}=this.getProps();p&&Ne.postRender(()=>p(r,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,i,r){const{drag:l}=this.getProps();if(!r||!Pl(n,l,this.currentDirection))return;const u=this.getAxisMotionValue(n);let h=this.originPoint[n]+r[n];this.constraints&&this.constraints[n]&&(h=I6(h,this.constraints[n],this.elastic[n])),u.set(h)}resolveConstraints(){const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&hs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=G6(r.layoutBox,n):this.constraints=!1,this.elastic=K6(i),l!==this.constraints&&!hs(n)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ln(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=X6(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!hs(n))return!1;const r=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;l.root&&(l.root.scroll=void 0,l.root.updateScroll());const u=eE(r,l.root,this.visualElement.getTransformPagePoint());let h=Y6(l.layout.layoutBox,u);if(i){const p=i($5(h));this.hasMutatedConstraints=!!p,p&&(h=qw(p))}return h}startAnimation(n){const{drag:i,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:h,onDragTransitionEnd:p}=this.getProps(),m=this.constraints||{},g=Ln(y=>{if(!Pl(y,i,this.currentDirection))return;let v=m&&m[y]||{};(h===!0||h===y)&&(v={min:0,max:0});const b=l?200:1e6,A=l?40:1e7,T={type:"inertia",velocity:r?n[y]:0,bounceStiffness:b,bounceDamping:A,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,T)});return Promise.all(g).then(p)}startAxisValueAnimation(n,i){const r=this.getAxisMotionValue(n);return Qh(this.visualElement,n),r.start(Qf(n,r,0,i,this.visualElement,!1))}stopAnimation(){Ln(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,l=this.visualElement.getProps()[i];return l||this.visualElement.getValue(n,this.visualElement.latestValues[n]??0)}snapToCursor(n){Ln(i=>{const{drag:r}=this.getProps();if(!Pl(i,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(i);if(l&&l.layout){const{min:h,max:p}=l.layout.layoutBox[i],m=u.get()||0;u.set(n[i]-Ue(h,p,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:r}=this.visualElement;if(!hs(i)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Ln(h=>{const p=this.getAxisMotionValue(h);if(p&&this.constraints!==!1){const m=p.get();l[h]=W6({min:m,max:m},this.constraints[h])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ln(h=>{if(!Pl(h,n,null))return;const p=this.getAxisMotionValue(h),{min:m,max:g}=this.constraints[h];p.set(Ue(m,g,l[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Q6.set(this.visualElement,this);const n=this.visualElement.current,i=Wr(n,"pointerdown",g=>{const{drag:y,dragListener:v=!0}=this.getProps(),b=g.target,A=b!==n&&_5(b);y&&v&&!A&&this.start(g)});let r;const l=()=>{const{dragConstraints:g}=this.getProps();hs(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),r||(r=Z6(n,g.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,h=u.addEventListener("measure",l);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Ne.read(l);const p=Jr(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:y})=>{this.isDragging&&y&&(Ln(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=g[v].translate,b.set(b.get()+g[v].translate))}),this.visualElement.render())}));return()=>{p(),i(),h(),m&&m(),r&&r()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:h=of,dragMomentum:p=!0}=n;return{...n,drag:i,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:h,dragMomentum:p}}}function h1(e){let n=!0;return()=>{if(n){n=!1;return}e()}}function Z6(e,n,i){const r=tf(e,h1(i)),l=tf(n,h1(i));return()=>{r(),l()}}function Pl(e,n,i){return(n===!0||n===e)&&(i===null||i===e)}function J6(e,n=10){let i=null;return Math.abs(e.y)>n?i="y":Math.abs(e.x)>n&&(i="x"),i}class e7 extends Fa{constructor(n){super(n),this.removeGroupControls=Ut,this.removeListeners=Ut,this.controls=new $6(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ut}update(){const{dragControls:n}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};n!==i&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const wh=e=>(n,i)=>{e&&Ne.update(()=>e(n,i),!1,!0)};class t7 extends Fa{constructor(){super(...arguments),this.removePointerDownListener=Ut}onPointerDown(n){this.session=new Sx(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tx(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:wh(n),onStart:wh(i),onMove:wh(r),onEnd:(u,h)=>{delete this.session,l&&Ne.postRender(()=>l(u,h))}}}mount(){this.removePointerDownListener=Wr(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let xh=!1;class n7 extends x.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=n;u&&(i.group&&i.group.add(u),r&&r.register&&l&&r.register(u),xh&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),$l.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:r,drag:l,isPresent:u}=this.props,{projection:h}=r;return h&&(h.isPresent=u,n.layoutDependency!==i&&h.setOptions({...h.options,layoutDependency:i}),xh=!0,l||n.layoutDependency!==i||i===void 0||n.isPresent!==u?h.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?h.promote():h.relegate()||Ne.postRender(()=>{const p=h.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:r}=n;r&&(r.options.layoutAnchor=i,r.root.didUpdate(),Ss.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:r}=this.props,{projection:l}=n;xh=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Ex(e){const[n,i]=fx(),r=x.useContext(Nf);return c.jsx(n7,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(wx),isPresent:n,safeToRemove:i})}const a7={pan:{Feature:t7},drag:{Feature:e7,ProjectionNode:hx,MeasureLayout:Ex}};function f1(e,n,i){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,u=r[l];u&&Ne.postRender(()=>u(n,ho(n)))}class i7 extends Fa{mount(){const{current:n}=this.node;n&&(this.unmount=N5(n,(i,r)=>(f1(this.node,r,"Start"),l=>f1(this.node,l,"End"))))}unmount(){}}class s7 extends Fa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=lo(Jr(this.node.current,"focus",()=>this.onFocus()),Jr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function p1(e,n,i){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),u=r[l];u&&Ne.postRender(()=>u(n,ho(n)))}class r7 extends Fa{mount(){const{current:n}=this.node;if(!n)return;
17const{globalTapTarget:i,propagate:r}=this.node.props;this.unmount=L5(n,(l,u)=>(p1(this.node,u,"Start"),(h,{success:p})=>p1(this.node,h,p?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:r?.tap===!1})}unmount(){}}const lf=new WeakMap,Th=new WeakMap,o7=e=>{const n=lf.get(e.target);n&&n(e)},l7=e=>{e.forEach(o7)};function c7({root:e,...n}){const i=e||document;Th.has(i)||Th.set(i,{});const r=Th.get(i),l=JSON.stringify(n);return r[l]||(r[l]=new IntersectionObserver(l7,{root:e,...n})),r[l]}function u7(e,n,i){const r=c7(n);return lf.set(e,i),r.observe(e),()=>{lf.delete(e),r.unobserve(e)}}const d7={some:0,all:1};class h7 extends Fa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:n={}}=this.node.getProps(),{root:i,margin:r,amount:l="some",once:u}=n,h={root:i?i.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:d7[l]},p=m=>{const{isIntersecting:g}=m;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),b=g?y:v;b&&b(m)};this.stopObserver=u7(this.node.current,h,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(f7(n,i))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function f7({viewport:e={}},{viewport:n={}}={}){return i=>e[i]!==n[i]}const p7={inView:{Feature:h7},tap:{Feature:r7},focus:{Feature:s7},hover:{Feature:i7}},m7={layout:{ProjectionNode:hx,MeasureLayout:Ex}},g7={...B6,...p7,...a7,...m7},ie=_6(g7,P6);function pc(e){return typeof window>"u"?!1:e?mw():Wf()}const y7=50,m1=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),v7=()=>({time:0,x:m1(),y:m1()}),b7={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function g1(e,n,i,r){const l=i[n],{length:u,position:h}=b7[n],p=l.current,m=i.time;l.current=Math.abs(e[`scroll${h}`]),l.scrollLength=e[`scroll${u}`]-e[`client${u}`],l.offset.length=0,l.offset[0]=0,l.offset[1]=l.scrollLength,l.progress=xi(0,l.scrollLength,l.current);const g=r-m;l.velocity=g>y7?0:Df(l.current-p,g)}function w7(e,n,i){g1(e,"x",n,i),g1(e,"y",n,i),n.time=i}function x7(e,n){const i={x:0,y:0};let r=e;for(;r&&r!==n;)if(Gr(r))i.x+=r.offsetLeft,i.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const l=r.getBoundingClientRect();r=r.parentElement;const u=r.getBoundingClientRect();i.x+=l.left-u.left,i.y+=l.top-u.top}else if(r instanceof SVGGraphicsElement){const{x:l,y:u}=r.getBBox();i.x+=l,i.y+=u;let h=null,p=r.parentNode;for(;!h;)p.tagName==="svg"&&(h=p),p=r.parentNode;r=h}else break;return i}const cf={start:0,center:.5,end:1};function y1(e,n,i=0){let r=0;if(e in cf&&(e=cf[e]),typeof e=="string"){const l=parseFloat(e);e.endsWith("px")?r=l:e.endsWith("%")?e=l/100:e.endsWith("vw")?r=l/100*document.documentElement.clientWidth:e.endsWith("vh")?r=l/100*document.documentElement.clientHeight:e=l}return typeof e=="number"&&(r=n*e),i+r}const T7=[0,0];function S7(e,n,i,r){let l=Array.isArray(e)?e:T7,u=0,h=0;return typeof e=="number"?l=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?l=e.split(" "):l=[e,cf[e]?e:"0"]),u=y1(l[0],i,r),h=y1(l[1],n),u-h}const zr={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},A7={x:0,y:0};function E7(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function j7(e,n,i){const{offset:r=zr.All}=i,{target:l=e,axis:u="y"}=i,h=u==="y"?"height":"width",p=l!==e?x7(l,e):A7,m=l===e?{width:e.scrollWidth,height:e.scrollHeight}:E7(l),g={width:e.clientWidth,height:e.clientHeight};n[u].offset.length=0;let y=!n[u].interpolate;const v=r.length;for(let b=0;b<v;b++){const A=S7(r[b],g[h],m[h],p[u]);!y&&A!==n[u].interpolatorOffsets[b]&&(y=!0),n[u].offset[b]=A}y&&(n[u].interpolate=Ff(n[u].offset,qf(r),{clamp:!1}
17),n[u].interpolatorOffsets=[...n[u].offset]),n[u].progress=jn(0,1,n[u].interpolate(n[u].current))}function C7(e,n=e,i){if(i.x.targetOffset=0,i.y.targetOffset=0,n!==e){let r=n;for(;r&&r!==e;)i.x.targetOffset+=r.offsetLeft,i.y.targetOffset+=r.offsetTop,r=r.offsetParent}i.x.targetLength=n===e?n.scrollWidth:n.clientWidth,i.y.targetLength=n===e?n.scrollHeight:n.clientHeight,i.x.containerLength=e.clientWidth,i.y.containerLength=e.clientHeight}function R7(e,n,i,r={}){return{measure:l=>{C7(e,r.target,i),w7(e,i,l),(r.offset||r.target)&&j7(e,i,r)},notify:()=>n(i)}}const us=new WeakMap,v1=new WeakMap,Sh=new WeakMap,b1=new WeakMap,Ll=new WeakMap,w1=e=>e===document.scrollingElement?window:e;function jx(e,{container:n=document.scrollingElement,trackContentSize:i=!1,...r}={}){if(!n)return Ut;let l=Sh.get(n);l||(l=new Set,Sh.set(n,l));const u=v7(),h=R7(n,e,u,r);if(l.add(h),!us.has(n)){const m=()=>{for(const b of l)b.measure(mt.timestamp);Ne.preUpdate(g)},g=()=>{for(const b of l)b.notify()},y=()=>Ne.read(m);us.set(n,y);const v=w1(n);window.addEventListener("resize",y),n!==document.documentElement&&v1.set(n,tf(n,y)),v.addEventListener("scroll",y),y()}if(i&&!Ll.has(n)){const m=us.get(n),g={width:n.scrollWidth,height:n.scrollHeight};b1.set(n,g);const y=()=>{const b=n.scrollWidth,A=n.scrollHeight;(g.width!==b||g.height!==A)&&(m(),g.width=b,g.height=A)},v=Ne.read(y,!0);Ll.set(n,v)}const p=us.get(n);return Ne.read(p,!1,!0),()=>{gn(p);const m=Sh.get(n);if(!m||(m.delete(h),m.size))return;const g=us.get(n);us.delete(n),g&&(w1(n).removeEventListener("scroll",g),v1.get(n)?.(),window.removeEventListener("resize",g));const y=Ll.get(n);y&&(gn(y),Ll.delete(n)),b1.delete(n)}}const k7=[[zr.Enter,"entry"],[zr.Exit,"exit"],[zr.Any,"cover"],[zr.All,"contain"]],x1={start:0,end:1};function N7(e){const n=e.trim().split(/\s+/);if(n.length!==2)return;const i=x1[n[0]],r=x1[n[1]];if(!(i===void 0||r===void 0))return[i,r]}function M7(e){if(e.length!==2)return;const n=[];for(const i of e)if(Array.isArray(i))n.push(i);else if(typeof i=="string"){const r=N7(i);if(!r)return;n.push(r)}else return;return n}function O7(e,n){const i=M7(e);if(!i)return!1;for(let r=0;r<2;r++){const l=i[r],u=n[r];if(l[0]!==u[0]||l[1]!==u[1])return!1}return!0}function cp(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[n,i]of k7)if(O7(e,n))return{rangeStart:`${i} 0%`,rangeEnd:`${i} 100%`}}const T1=new Map;function S1(e){const n={value:0},i=jx(r=>
17{n.value=r[e.axis].progress*100},e);return{currentTime:n,cancel:i}}function Cx({source:e,container:n,...i}){const{axis:r}=i;e&&(n=e);let l=T1.get(n);l||(l=new Map,T1.set(n,l));const u=i.target??"self";let h=l.get(u);h||(h={},l.set(u,h));const p=r+(i.offset??[]).join(",");return h[p]||(i.target&&pc(i.target)?cp(i.offset)?h[p]=new ViewTimeline({subject:i.target,axis:r}):h[p]=S1({container:n,...i}):pc()?h[p]=new ScrollTimeline({source:n,axis:r}):h[p]=S1({container:n,...i})),h[p]}function D7(e,n){const i=Cx(n),r=n.target?cp(n.offset):void 0,l=n.target?pc(n.target)&&!!r:pc();return e.attachTimeline({timeline:l?i:void 0,...r&&l&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:u=>(u.pause(),Lw(h=>{u.time=u.iterationDuration*h},i))})}function _7(e){return e&&(e.target||e.offset)}function P7(e){return e.length===2}function L7(e,n){return P7(e)||_7(n)?jx(i=>{e(i[n.axis].progress,i)},n):Lw(e,Cx(n))}function Rx(e,{axis:n="y",container:i=document.scrollingElement,...r}={}){if(!i)return Ut;const l={axis:n,container:i,...r};return typeof e=="function"?L7(e,l):D7(e,l)}const V7=()=>({scrollX:mn(0),scrollY:mn(0),scrollXProgress:mn(0),scrollYProgress:mn(0)}),ys=e=>e?!e.current:!1;function A1(e,n,i,r){return{factory:l=>{let u;const h=()=>{if(ys(i)||ys(r)){Ss.read(h);return}u=Rx(l,{...n,axis:e,container:i?.current||void 0,target:r?.current||void 0})};return Ss.read(h),()=>{Mw(h),u?.()}},times:[0,1],keyframes:[0,1],ease:l=>l,duration:1}}function z7(e,n){return typeof window>"u"?!1:e?mw()&&!!cp(n):Wf()}function qa({container:e,target:n,...i}={}){const r=za(V7);z7(n,i.offset)&&(r.scrollXProgress.accelerate=A1("x",i,e,n),r.scrollYProgress.accelerate=A1("y",i,e,n));const l=x.useRef(null),u=x.useRef(!1),h=x.useCallback(()=>(l.current=Rx((p,{x:m,y:g})=>{r.scrollX.set(m.current),r.scrollXProgress.set(m.progress),r.scrollY.set(g.current),r.scrollYProgress.set(g.progress)},{...i,container:e?.current||void 0,target:n?.current||void 0}),()=>{l.current?.()}),[e,n,JSON.stringify(i.offset)]);return oo(()=>{if(u.current=!1,ys(e)||ys(n)){u.current=!0;return}else return h()},[h]),x.useEffect(()=>{if(!u.current)return;let p;const m=()=>{const g=ys(e),y=ys(n);!g&&!y&&(p=h())};return Ss.read(m),()=>{Mw(m),p?.()}},[h]),r}function kt(e){const n=za(()=>mn(e)),{isStatic:i}=x.useContext(Nc);if(i){const[,r]=x.useState(e);x.useEffect(()=>n.on("change",r),[])}return n}function kx(e,n){const i=kt(n()),r=()=>i.set(n());return r(),oo(()=>{const l=()=>Ne.preRender(r,!1,!0),u=e.map(h=>h.on("change",l));return()=>{u.forEach(h=>h()),gn(r)}}),i}function B7(e){Ir.current=[],e();const n=kx(Ir.current,e);return Ir.current=void 0,n}function ye(e,n,i,r){if(typeof e=="function")return B7(e);if(i!==void 0&&!Array.isArray(i)&&typeof n!="function")return U7(e,n,i,r);const h=typeof n=="function"?n:G5(n,i,r),p=Array.isArray(e)?E1(e,h):E1([e],([g])=>h(g)),m=Array.isArray(e)?void 0:e.accelerate;return m&&!m.isTransformed&&typeof n!="function"&&Array.isArray(i)&&r?.clamp!==!1&&(p.accelerate={...m,times:n,keyframes:i,isTransformed:!0}),p}function E1(e,n){const i=za(()=>[]);return kx(e,()=>{i.length=0;const r=e.length;for(let l=0;l<r;l++)i[l]=e[l].get();return n(i)})}function U7(e,n,i,r){const l=za(()=>Object.keys(i)),u=za(()=>({}));for(const h of l)u[h]=ye(e,n,i[h],r);return u}function Dt(){!ip.current&&Bw();const[e]=x.useState(cc.current);return e}function up(e){return typeof e=="object"&&!Array.isArray(e)}function Nx(e,n,i,r){return e==null?[]:typeof e=="string"&&up(n)?jc(e,i,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(l=>l!=null):[e]}function H7(e,n,i){return e*(n+1)+i*n}function j1(e,n,i,r){return typeof n=="number"?n:n.startsWith("-")||n.startsWith("+")?Math.max(0,e+parseFloat(n)):n==="<"?i:n.startsWith("<")?Math.max(0,i+parseFloat(n.slice(1))):r.get(n)??e}function F7(e,n,i){for(let r=0;r<e.length;r++){const l=e[r];l.at>n&&l.at<i&&(xs(e,l),r--)}}function q7(e,n,i,r,l,u){F7(e,l,u);for(let h=0;h<n.length;h++)e.push({value:n[h],at:Ue(l,u,r[h]),easing:Qb(i,h)})}function I7(e,n,i=0){const r=n+1+n*i;for(let l=0;l<e.length;l++)e[l]=e[l]/r}function G7(e,n){return e.at===n.at?e.value===null?1:n.value===null?-1:0:e.at-n.at}const Y7="easeInOut",W7=20;function X7(e,{defaultTransition:n={},...i}={},r,l){const u=n.duration||.3,h=new Map,p=new Map,m={},g=new Map;let y=0,v=0,b=0;for(let A=0;A<e.length;A++){const T=e[A];if(typeof T=="string"){g.set(T,v);continue}else if(!Array.isArray(T)){g.set(T.name,j1(v,T.at,y,g));continue}let[E,C,R={}]=T;R.at!==void 0&&(v=j1(v,R.at,y,g));let M=0;const N=(O,z,P,H=0,L=0)=>
17{const I=K7(O),{delay:Z=0,times:J=qf(I),type:te=n.type||"keyframes",repeat:le,repeatType:he,repeatDelay:ge=0,...D}=z;let{ease:Y=n.ease||"easeOut",duration:G}=z;const ne=typeof Z=="function"?Z(H,L):Z,j=I.length,W=Xf(te)?te:l?.[te||"keyframes"];if(j<=2&&W){let ce=100;if(j===2&&Z7(I)){const Q=I[1]-I[0];ce=Math.abs(Q)}const re={...n,...D};G!==void 0&&(re.duration=Ht(G));const fe=lw(re,ce,W);Y=fe.ease,G=fe.duration}G??(G=u);const ae=v+ne;J.length===1&&J[0]===0&&(J[1]=1);const ee=J.length-I.length;if(ee>0&&uw(J,ee),I.length===1&&I.unshift(null),le&&le<W7){const ce=G>0?ge/G:0;G=H7(G,le,ge);const re=[...I],fe=[...J];Y=Array.isArray(Y)?[...Y]:[Y];const Q=[...Y],se=he==="reverse"||he==="mirror";let Ie=re,Ge=Q;se&&(Ie=[...re].reverse(),he==="reverse"&&(Ge=[...Q].reverse().map(De=>typeof De=="function"?_f(De):De)));for(let De=0;De<le;De++){const yt=se&&De%2===0,ct=yt?Ie:re,yn=yt?Ge:Q,mo=(De+1)*(1+ce);ce>0&&(I.push(I[I.length-1]),J.push(mo),Y.push("linear")),I.push(...ct);for(let Tt=0;Tt<ct.length;Tt++)J.push(fe[Tt]+mo),Y.push(Tt===0?"linear":Qb(yn,Tt-1))}I7(J,le,ce)}const oe=ae+G;q7(P,I,Y,J,ae,oe),M=Math.max(ne+G,M),b=Math.max(oe,b)};if(lt(E)){const O=C1(E,p);N(C,R,R1("default",O))}else{const O=Nx(E,C,r,m),z=O.length;for(let P=0;P<z;P++){C=C,R=R;const H=O[P],L=C1(H,p);for(const I in C)N(C[I],Q7(R,I),R1(I,L),P,z)}}y=v,v+=M}return p.forEach((A,T)=>{for(const E in A){const C=A[E];C.sort(G7);const R=[],M=[],N=[];for(let H=0;H<C.length;H++){const{at:L,value:I,easing:Z}=C[H];R.push(I),M.push(xi(0,b,L)),N.push(Z||"easeOut")}M[0]!==0&&(M.unshift(0),R.unshift(R[0]),N.unshift(Y7)),M[M.length-1]!==1&&(M.push(1),R.push(null)),h.has(T)||h.set(T,{keyframes:{},transition:{}});const O=h.get(T);O.keyframes[E]=R;const{type:z,...P}=n;O.transition[E]={...P,duration:b,ease:N,times:M,...i}}}),h}function C1(e,n){return!n.has(e)&&n.set(e,{}),n.get(e)}function R1(e,n){return n[e]||(n[e]=[]),n[e]}function K7(e){return Array.isArray(e)?e:[e]}function Q7(e,n){return e&&e[n]?{...e,...e[n]}:{...e}}const $7=e=>typeof e=="number",Z7=e=>e.every($7);function J7(e){const n={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=Cc(e)&&!Vw(e)?new ex(n):new Kw(n);i.mount(e),$r.set(e,i)}function ej(e){const n={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},i=new oE(n);i.mount(e),$r.set(e,i)}function tj(e,n){return lt(e)||typeof e=="number"||typeof e=="string"&&!up(n)}function Mx(e,n,i,r){const l=[];if(tj(e,n))l.push(lx(e,up(n)&&n.default||n,i&&(i.default||i)));else{if(e==null)return l;const u=Nx(e,n,r),h=u.length;for(let p=0;p<h;p++){const m=u[p],g=m instanceof Element?J7:ej;$r.has(m)||g(m);const y=$r.get(m),v={...i};"delay"in v&&typeof v.delay=="function"&&(v.delay=v.delay(p,h)),l.push(...Jf(y,{...n,transition:v},{}))}}return l}function nj(e,n,i){const r=[],l=e.map(h=>{if(Array.isArray(h)&&typeof h[0]=="function"){const p=h[0],m=mn(0);return m.on("change",p),h.length===1?[m,[0,1]]:h.length===2?[m,[0,1],h[1]]:[m,h[1],h[2]]}return h});return X7(l,n,i,{spring:Qr}
17).forEach(({keyframes:h,transition:p},m)=>{r.push(...Mx(m,h,p))}),r}function aj(e){return Array.isArray(e)&&e.some(Array.isArray)}function ij(e={}){const{scope:n,reduceMotion:i,skipAnimations:r}=e;function l(u,h,p){let m=[],g;const y={};if(i!==void 0&&(y.reduceMotion=i),r!==void 0&&(y.skipAnimations=r),aj(u)){const{onComplete:b,...A}=h||{};typeof b=="function"&&(g=b),m=nj(u,{...y,...A},n)}else{const{onComplete:b,...A}=p||{};typeof b=="function"&&(g=b),m=Mx(u,h,{...y,...A},n)}const v=new $8(m);return g&&v.finished.then(g),n&&(n.animations.push(v),v.finished.then(()=>{xs(n.animations,v)})),v}return l}const Ox=ij(),sj={some:0,all:1};function rj(e,n,{root:i,margin:r,amount:l="some"}={}){const u=jc(e),h=new WeakMap,p=g=>{g.forEach(y=>{const v=h.get(y.target);if(y.isIntersecting!==!!v)if(y.isIntersecting){const b=n(y.target,y);typeof b=="function"?h.set(y.target,b):m.unobserve(y.target)}else typeof v=="function"&&(v(y),h.delete(y.target))})},m=new IntersectionObserver(p,{root:i,rootMargin:r,threshold:typeof l=="number"?l:sj[l]});return u.forEach(g=>m.observe(g)),()=>m.disconnect()}function Dx(e,{root:n,margin:i,amount:r,once:l=!1,initial:u=!1}={}){const[h,p]=x.useState(u);return x.useEffect(()=>{if(!e.current||l&&h)return;const m=()=>(p(!0),l?void 0:()=>p(!1)),g={root:n&&n.current||void 0,margin:i,amount:r};return rj(e.current,m,g)},[n,e,i,l,r]),h}function k1(e){if(e instanceof Error)return e;if(typeof e=="string")return new Error(e);try{return new Error(JSON.stringify(e))}catch{return new Error(String(e))}}function oj({error:e,resetError:n}){return c.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50 p-6",children:c.jsxs("div",{className:"max-w-lg w-full text-center",children:[c.jsx("h1",{className:"text-xl font-semibold text-gray-900",children:"Something went wrong"}),c.jsx("p",{className:"mt-2 text-sm text-gray-600",children:"This part of the app hit an error. The rest of the app is still running."}),null,c.jsx("button",{type:"button",onClick:n,className:"mt-4 rounded bg-gray-900 px-4 py-2 text-sm text-white hover:bg-gray-700",children:"Try again"})]})})}class _x extends x.Component{state={error:null};static getDerivedStateFromError(n){return{error:k1(n)}}componentDidCatch(n,i){console.error("ErrorBoundary caught an error:",k1(n),i.componentStack)}componentDidUpdate(n){this.state.error!==null&&n.resetKey!==this.props.resetKey&&this.resetError()}resetError=()=>{this.setState({error:null})};render(){const{error:n}=this.state;if(n===null)return this.props.children;const i=this.props.FallbackComponent??oj;return c.jsx(i,{error:n,resetError:this.resetError})}}var Oc=db(),lj=Object.defineProperty,Rs=(e,n)=>lj(e,"name",{value:n,configurable:!0}),Px=!!(typeof window<"u"&&window.document&&window.document.createElement);function Bt(e,n,{checkForDefaultPrevented:i=!0}={}){return Rs(function(l){if(e?.(l),i===!1||!l||!l.defaultPrevented)return n?.(l)},"handleEvent")}Rs(Bt,"composeEventHandlers");function cj(e){if(!Px)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Rs(cj,"getOwnerWindow");function uf(e){if(!Px)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Rs(uf,"getOwnerDocument");function Lx(e,n=!1){const{activeElement:i}=uf(e);if(!i?.nodeName)return null;if(Vx(i)&&i.contentDocument)return Lx(i.contentDocument.body,n);if(n){const r=i.getAttribute("aria-activedescendant");if(r){const l=uf(i).getElementById(r);if(l)return l}}return i}Rs(Lx,"getActiveElement");function Vx(e){return e.tagName==="IFRAME"}Rs(Vx,"isFrame");var uj=Object.defineProperty,dp=(e,n)=>uj(e,"name",{value:n,configurable:!0});function df(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}dp(df,"setRef");function zx(...e){return n=>{let i=!1;const r=e.map(l=>{const u=df(l,n);return!i&&typeof u=="function"&&(i=!0),u});if(i)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():df(e[l],null)}}}}dp(zx,"composeRefs");function en(...e){return x.useCallback(zx(...e),e)}dp(en,"useComposedRefs");var dj=Object.defineProperty,fn=(e,n)=>dj(e,"name",{value:n,configurable:!0});function hj(e,n){const i=x.createContext(n);i.displayName=e+"Context";const r=fn(u=>{const{children:h,...p}=u,m=x.useMemo(()=>p,Object.values(p));return c.jsx(i.Provider,{value:m,children:h})},"Provider");
17r.displayName=e+"Provider";function l(u,h={}){const{optional:p=!1}=h,m=x.useContext(i);if(m)return m;if(n!==void 0)return n;if(!p)throw new Error(`\`${u}\` must be used within \`${e}\``)}return fn(l,"useContext"),[r,l]}fn(hj,"createContext");function ks(e,n=[]){let i=[];function r(u,h){const p=x.createContext(h);p.displayName=u+"Context";const m=i.length;i=[...i,h];const g=fn(v=>{const{scope:b,children:A,...T}=v,E=b?.[e]?.[m]||p,C=x.useMemo(()=>T,Object.values(T));return c.jsx(E.Provider,{value:C,children:A})},"Provider");g.displayName=u+"Provider";function y(v,b,A={}){const{optional:T=!1}=A,E=b?.[e]?.[m]||p,C=x.useContext(E);if(C)return C;if(h!==void 0)return h;if(!T)throw new Error(`\`${v}\` must be used within \`${u}\``)}return fn(y,"useContext"),[g,y]}fn(r,"createContext");const l=fn(()=>{const u=i.map(h=>x.createContext(h));return fn(function(p){const m=p?.[e]||u;return x.useMemo(()=>({[`__scope${e}`]:{...p,[e]:m}}),[p,m])},"useScope")},"createScope");return l.scopeName=e,[r,Bx(l,...n)]}fn(ks,"createContextScope");function Bx(...e){const n=e[0];if(e.length===1)return n;const i=fn(()=>{const r=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return fn(function(u){const h=r.reduce((p,{useScope:m,scopeName:g})=>{const v=m(u)[`__scope${g}`];return{...p,...v}},{});return x.useMemo(()=>({[`__scope${n.scopeName}`]:h}),[h])},"useComposedScopes")},"createScope");return i.scopeName=n.scopeName,i}fn(Bx,"composeContextScopes");var fj=Object.defineProperty,Rn=(e,n)=>fj(e,"name",{value:n,configurable:!0});function As(e){const n=x.forwardRef((i,r)=>{let{children:l,...u}=i,h=null,p=!1;const m=[];hf(l)&&typeof Vl=="function"&&(l=Vl(l._payload)),x.Children.forEach(l,b=>{if(Ix(b)){p=!0;const A=b;let T="child"in A.props?A.props.child:A.props.children;hf(T)&&typeof Vl=="function"&&(T=Vl(T._payload)),h=pj(A,T),m.push(h?.props?.children)}else m.push(b)}),h?h=x.cloneElement(h,void 0,m):!p&&x.Children.count(l)===1&&x.isValidElement(l)&&(h=l);const g=h?qx(h):void 0,y=en(r,g);if(!h){if(l||l===0)throw new Error(p?yj(e):gj(e));return l}const v=Fx(u,h.props??{});return h.type!==x.Fragment&&(v.ref=r?y:g),x.cloneElement(h,v)});return n.displayName=`${e}.Slot`,n}Rn(As,"createSlot");var Ux=Symbol.for("radix.slottable");function Hx(e){const n=Rn(i=>"child"in i?i.children(i.child):i.children,"Slottable");return n.displayName=`${e}.Slottable`,n.__radixId=Ux,n}Rn(Hx,"createSlottable");var pj=Rn((e,n)=>{if("child"in e.props){const i=e.props.child;return x.isValidElement(i)?x.cloneElement(i,void 0,e.props.children(i.props.children)):null}return x.isValidElement(n)?n:null},"getSlottableElementFromSlottable");function Fx(e,n){const i={...n};for(const r in n){const l=e[r],u=n[r];/^on[A-Z]/.test(r)?l&&u?i[r]=(...p)=>{const m=u(...p);return l(...p),m}:l&&(i[r]=l):r==="style"?i[r]={...l,...u}:r==="className"&&(i[r]=[l,u].filter(Boolean).join(" "))}return{...e,...i}}Rn(Fx,"mergeProps");function qx(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}Rn(qx,"getElementRef");function Ix(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ux}Rn(Ix,"isSlottable");var mj=Symbol.for("react.lazy");function hf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===mj&&"_payload"in e&&Gx(e._payload)}Rn(hf,"isLazyComponent");function Gx(e){return typeof e=="object"&&e!==null&&"then"in e}Rn(Gx,"isPromiseLike");var gj=Rn(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),yj=Rn(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Vl=io[" use ".trim().toString()],vj=Object.defineProperty,gt=(e,n)=>vj(e,"name",{value:n,configurable:!0});function Yx(e){const n=e+"CollectionProvider",[i,r]=ks(n),[l,u]=i(n,{collectionRef:{current:null},itemMap:new Map}),h=gt(E=>{const{scope:C,children:R}=E,M=x.useRef(null),N=x.useRef(new Map).current;return c.jsx(l,{scope:C,itemMap:N,collectionRef:M,children:R})},"CollectionProvider");h.displayName=n;const p=e+"CollectionSlot",m=As(p),g=x.forwardRef((E,C)=>{const{scope:R,children:M}=E,N=u(p,R),O=en(C,N.collectionRef);return c.jsx(m,{ref:O,children:M})});g.displayName=p;const y=e+"CollectionItemSlot",v="data-radix-collection-item",b=As(y),A=x.forwardRef((E,C)=>{const{scope:R,children:M,...N}=E,O=x.useRef(null),z=en(C,O),P=u(y,R);return x.useEffect(()=>(P.itemMap.set(O,{ref:O,...N}),()=>{P.itemMap.delete(O)})),c.jsx(b,{[v]:"",ref:z,children:M})});A.displayName=y;function T(E){const C=u(e+"CollectionConsumer",E);return x.useCallback(()=>{const M=C.collectionRef.current;if(!M)return[];const N=Array.from(M.querySelectorAll(`[${v}
17]`));return Array.from(C.itemMap.values()).sort((P,H)=>N.indexOf(P.ref.current)-N.indexOf(H.ref.current))},[C.collectionRef,C.itemMap])}return gt(T,"useCollection"),[{Provider:h,Slot:g,ItemSlot:A},T,r]}gt(Yx,"createCollection");var N1=new WeakMap,tt,Jt,Ah=(Jt=class extends Map{constructor(i){super(i);j0(this,tt);Zd(this,tt,[...super.keys()]),N1.set(this,!0)}set(i,r){return N1.get(this)&&(this.has(i)?Et(this,tt)[Et(this,tt).indexOf(i)]=i:Et(this,tt).push(i)),super.set(i,r),this}insert(i,r,l){const u=this.has(r),h=Et(this,tt).length,p=hp(i);let m=p>=0?p:h+p;const g=m<0||m>=h?-1:m;if(g===this.size||u&&g===this.size-1||g===-1)return this.set(r,l),this;const y=this.size+(u?0:1);p<0&&m++;const v=[...Et(this,tt)];let b,A=!1;for(let T=m;T<y;T++)if(m===T){let E=v[T];v[T]===r&&(E=v[T+1]),u&&this.delete(r),b=this.get(E),this.set(r,l)}else{!A&&v[T-1]===r&&(A=!0);const E=v[A?T:T-1],C=b;b=this.get(E),this.delete(E),this.set(E,C)}return this}with(i,r,l){const u=new Jt(this);return u.insert(i,r,l),u}before(i){const r=Et(this,tt).indexOf(i)-1;if(!(r<0))return this.entryAt(r)}setBefore(i,r,l){const u=Et(this,tt).indexOf(i);return u===-1?this:this.insert(u,r,l)}after(i){let r=Et(this,tt).indexOf(i);if(r=r===-1||r===this.size-1?-1:r+1,r!==-1)return this.entryAt(r)}setAfter(i,r,l){const u=Et(this,tt).indexOf(i);return u===-1?this:this.insert(u+1,r,l)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return Zd(this,tt,[]),super.clear()}delete(i){const r=super.delete(i);return r&&Et(this,tt).splice(Et(this,tt).indexOf(i),1),r}deleteAt(i){const r=this.keyAt(i);return r!==void 0?this.delete(r):!1}at(i){const r=Zl(Et(this,tt),i);if(r!==void 0)return this.get(r)}entryAt(i){const r=Zl(Et(this,tt),i);if(r!==void 0)return[r,this.get(r)]}indexOf(i){return Et(this,tt).indexOf(i)}keyAt(i){return Zl(Et(this,tt),i)}from(i,r){const l=this.indexOf(i);if(l===-1)return;let u=l+r;return u<0&&(u=0),u>=this.size&&(u=this.size-1),this.at(u)}keyFrom(i,r){const l=this.indexOf(i);if(l===-1)return;let u=l+r;return u<0&&(u=0),u>=this.size&&(u=this.size-1),this.keyAt(u)}find(i,r){let l=0;for(const u of this){if(Reflect.apply(i,r,[u,l,this]))return u;l++}}findIndex(i,r){let l=0;for(const u of this){if(Reflect.apply(i,r,[u,l,this]))return l;l++}return-1}filter(i,r){const l=[];let u=0;for(const h of this)Reflect.apply(i,r,[h,u,this])&&l.push(h),u++;return new Jt(l)}map(i,r){const l=[];let u=0;for(const h of this)l.push([h[0],Reflect.apply(i,r,[h,u,this])]),u++;return new Jt(l)}reduce(...i){const[r,l]=i;let u=0,h=l??this.at(0);for(const p of this)u===0&&i.length===1?h=p:h=Reflect.apply(r,this,[h,p,u,this]),u++;return h}reduceRight(...i){const[r,l]=i;let u=l??this.at(-1);for(let h=this.size-1;h>=0;h--){const p=this.at(h);h===this.size-1&&i.length===1?u=p:u=Reflect.apply(r,this,[u,p,h,this])}return u}toSorted(i){const r=[...this.entries()].sort(i);return new Jt(r)}toReversed(){const i=new Jt;for(let r=this.size-1;r>=0;r--){const l=this.keyAt(r),u=this.get(l);i.set(l,u)}return i}toSpliced(...i){const r=[...this.entries()];return r.splice(...i),new Jt(r)}slice(i,r){const l=new Jt;let u=this.size-1;if(i===void 0)return l;i<0&&(i=i+this.size),r!==void 0&&r>0&&(u=r-1);for(let h=i;h<=u;h++){const p=this.keyAt(h),m=this.get(p);l.set(p,m)}return l}every(i,r){let l=0;for(const u of this){if(!Reflect.apply(i,r,[u,l,this]))return!1;l++}return!0}some(i,r){let l=0;for(const u of this){if(Reflect.apply(i,r,[u,l,this]))return!0;l++}return!1}},tt=new WeakMap,gt(Jt,"OrderedDict"),Jt);function Zl(e,n){if("at"in Array.prototype)return Array.prototype.at.call(e,n);const i=Wx(e,n);return i===-1?void 0:e[i]}gt(Zl,"at");function Wx(e,n){const i=e.length,r=hp(n),l=r>=0?r:i+r;return l<0||l>=i?-1:l}gt(Wx,"toSafeIndex");function hp(e){return e!==e||e===0?0:Math.trunc(e)}gt(hp,"toSafeInteger");function bj(e){const n=e+"CollectionProvider",[i,r]=ks(n),[l,u]=i(n,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Ah,setItemMap:gt(()=>{},"setItemMap")}),h=gt(({state:N,...O})=>N?c.jsx(m,{...O,state:N}):c.jsx(p,{...O}),"CollectionProvider");h.displayName=n;const p=gt(N=>{const O=C();return c.jsx(m,{...N,state:O})},"CollectionInit");p.displayName=n+"Init";const m=gt(N=>{const{scope:O,children:z,state:P}=N,H=x.useRef(null),[L,I]=x.useState(null),Z=en(H,I),[J,te]=P;return x.useEffect(()=>{if(!L)return;const le=Qx(()=>{});return le.observe(L,{childList:!0,subtree:!0}),()=>{le.disconnect()}},[L]),c.jsx(l,{scope:O,itemMap:J,setItemMap:te,collectionRef:Z,collectionRefObject:H,collectionElement:L,children:z})},"CollectionProviderImpl");m.displayName=n+"Impl";const g=e+"CollectionSlot",y=As(g),v=x.forwardRef((N,O)=>{const{scope:z,children:P}=N,H=u(g,z),L=en(O,H.collectionRef);return c.jsx(y,{ref:L,children:P})});v.displayName=g;const b=e+"CollectionItemSlot",A="data-radix-collection-item",T=As(b),E=x.forwardRef((N,O)=>{const{scope:z,children:P,...H}=N,L=x.useRef(null),[I,Z]=x.useState(null),J=en(O,L,Z),te=u(b,z),{setItemMap:le}=te,he=x.useRef(H);Xx(he.current,H)||(he.current=H);const ge=he.current;return x.useEffect(()=>{const D=ge;return le(Y=>I?Y.has(I)?Y.set(I,{...D,element:I}).toSorted(ff):(Y.set(I,{...D,element:I}),Y.toSorted(ff)):Y),()=>{le(Y=>!I||!Y.has(I)?Y:(Y.delete(I),new Ah(Y)))}},[I,ge,le]),c.jsx(T,{[A]:"",ref:J,children:P})});E.displayName=b;function C(){return x.useState(new Ah)}gt(C,"useInitCollection");function R(N){const{itemMap:O}=u(e+"CollectionConsumer",N);return O}return gt(R,"useCollection"),[{Provider:h,Slot:v,ItemSlot:E},{createCollectionScope:r,useCollection:R,useInitCollection:C}]}gt(bj,"createCollection");function Xx(e,n){if(e===n)return!0;
17if(typeof e!="object"||typeof n!="object"||e==null||n==null)return!1;const i=Object.keys(e),r=Object.keys(n);if(i.length!==r.length)return!1;for(const l of i)if(!Object.prototype.hasOwnProperty.call(n,l)||e[l]!==n[l])return!1;return!0}gt(Xx,"shallowEqual");function Kx(e,n){return!!(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}gt(Kx,"isElementPreceding");function ff(e,n){return!e[1].element||!n[1].element?0:Kx(e[1].element,n[1].element)?-1:1}gt(ff,"sortByDocumentPosition");function Qx(e){return new MutationObserver(i=>{for(const r of i)if(r.type==="childList"){e();return}})}gt(Qx,"getChildListObserver");var wj=Object.defineProperty,xj=(e,n)=>wj(e,"name",{value:n,configurable:!0}),Tj=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kn=Tj.reduce((e,n)=>{const i=As(`Primitive.${n}`),r=x.forwardRef((l,u)=>{const{asChild:h,...p}=l,m=h?i:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(m,{...p,ref:u})});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});function fp(e,n){e&&Oc.flushSync(()=>e.dispatchEvent(n))}xj(fp,"dispatchDiscreteCustomEvent");var Sj=Object.defineProperty,Aj=(e,n)=>Sj(e,"name",{value:n,configurable:!0});function oa(e){const n=x.useRef(e);return x.useEffect(()=>{n.current=e}),x.useMemo(()=>((...i)=>n.current?.(...i)),[])}Aj(oa,"useCallbackRef");var Ej=Object.defineProperty,ot=(e,n)=>Ej(e,"name",{value:n,configurable:!0}),pf="dismissableLayer.update",jj="dismissableLayer.pointerDownOutside",Cj="dismissableLayer.focusOutside",M1,pp=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),$x=x.forwardRef(ot(function(n,i){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:l=!1,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:p,onInteractOutside:m,onDismiss:g,...y}=n,v=x.useContext(pp),[b,A]=x.useState(null),T=b?.ownerDocument??globalThis?.document,[,E]=x.useState({}),C=en(i,A),R=Array.from(v.layers),[M]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),N=M?R.indexOf(M):-1,O=b?R.indexOf(b):-1,z=v.layersWithOutsidePointerEventsDisabled.size>0,P=O>=N,H=x.useRef(!1),L=Zx(te=>{h?.(te),m?.(te),te.defaultPrevented||g?.()},{ownerDocument:T,deferPointerDownOutside:l,isDeferredPointerDownOutsideRef:H,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:x.useCallback(te=>{if(!(te instanceof Node))return!1;const le=[...v.branches].some(he=>he.contains(te));return P&&!le},[v.branches,P])}),I=Jx(te=>{if(l&&H.current)return;const le=te.target;[...v.branches].some(ge=>ge.contains(le))||(p?.(te),m?.(te),te.defaultPrevented||g?.())},T),Z=b?O===R.length-1:!1,J=oa(te=>{te.key==="Escape"&&(u?.(te),!te.defaultPrevented&&g&&(te.preventDefault(),g()))});return x.useEffect(()=>{if(Z)return T.addEventListener("keydown",J,{capture:!0}),()=>T.removeEventListener("keydown",J,{capture:!0})},[T,Z,J]),x.useEffect(()=>{if(b)return r&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(M1=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(b)),v.layers.add(b),mf(),()=>{r&&(v.layersWithOutsidePointerEventsDisabled.delete(b),v.layersWithOutsidePointerEventsDisabled.size===0&&(T.body.style.pointerEvents=M1))}},[b,T,r,v]),x.useEffect(()=>()=>{b&&(v.layers.delete(b),v.layersWithOutsidePointerEventsDisabled.delete(b),mf())},[b,v]),x.useEffect(()=>{const te=ot(()=>E({}),"handleUpdate");return document.addEventListener(pf,te),()=>document.removeEventListener(pf,te)},[]),c.jsx(kn.div,{...y,ref:C,style:{pointerEvents:z?P?"auto":"none":void 0,...n.style},onFocusCapture:Bt(n.onFocusCapture,I.onFocusCapture),onBlurCapture:Bt(n.onBlurCapture,I.onBlurCapture),onPointerDownCapture:Bt(n.onPointerDownCapture,L.onPointerDownCapture)})},"DismissableLayer")),Rj=x.forwardRef(ot(function(n,i){const r=x.useContext(pp),l=x.useRef(null),u=en(i,l);return x.useEffect(()=>{const h=l.current;if(h)return r.branches.add(h),()=>{r.branches.delete(h)}},[r.branches]),c.jsx(kn.div,{...n,ref:u})},"DismissableLayerBranch"));function kj(){const e=x.useContext(pp),[n,i]=x.useState(null);return x.useEffect(()=>{if(n)return e.dismissableSurfaces.add(n),()=>{e.dismissableSurfaces.delete(n)}},[n,e.dismissableSurfaces]),i}ot(kj,"useDismissableLayerSurface");var Nj=ot(()=>!0,"IS_TRUE");
17function Zx(e,n){const{ownerDocument:i=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:l,dismissableSurfaces:u,shouldHandlePointerDownOutside:h=Nj}=n,p=oa(e),m=x.useRef(!1),g=x.useRef(!1),y=x.useRef(new Map),v=x.useRef(()=>{});return x.useEffect(()=>{function b(){g.current=!1,l.current=!1,y.current.clear()}ot(b,"resetOutsideInteraction");function A(){return Array.from(y.current.values()).some(Boolean)}ot(A,"isOutsideInteractionIntercepted");function T(N){if(!g.current)return;const O=N.target;O instanceof Node&&[...u].some(P=>P.contains(O))||y.current.set(N.type,!0),N.type==="click"&&window.setTimeout(()=>{g.current&&v.current()},0)}ot(T,"handleInteractionCapture");function E(N){g.current&&y.current.set(N.type,!1)}ot(E,"handleInteractionBubble");const C=ot(N=>{if(N.target&&!m.current){let O=function(){i.removeEventListener("click",v.current);const P=A();b(),P||mp(jj,p,z,{discrete:!0})};if(ot(O,"handleAndDispatchPointerDownOutsideEvent"),!h(N.target)){i.removeEventListener("click",v.current),b(),m.current=!1;return}const z={originalEvent:N};g.current=!0,l.current=r&&N.button===0,y.current.clear(),!r||N.button!==0?O():(i.removeEventListener("click",v.current),v.current=O,i.addEventListener("click",v.current,{once:!0}))}else i.removeEventListener("click",v.current),b();m.current=!1},"handlePointerDown"),R=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const N of R)i.addEventListener(N,T,!0),i.addEventListener(N,E);const M=window.setTimeout(()=>{i.addEventListener("pointerdown",C)},0);return()=>{window.clearTimeout(M),i.removeEventListener("pointerdown",C),i.removeEventListener("click",v.current);for(const N of R)i.removeEventListener(N,T,!0),i.removeEventListener(N,E)}},[i,p,r,l,u,h]),{onPointerDownCapture:ot(()=>m.current=!0,"onPointerDownCapture")}}ot(Zx,"usePointerDownOutside");function Jx(e,n=globalThis?.document){const i=oa(e),r=x.useRef(!1);return x.useEffect(()=>{const l=ot(u=>{u.target&&!r.current&&mp(Cj,i,{originalEvent:u},{discrete:!1})},"handleFocus");return n.addEventListener("focusin",l),()=>n.removeEventListener("focusin",l)},[n,i]),{onFocusCapture:ot(()=>r.current=!0,"onFocusCapture"),onBlurCapture:ot(()=>r.current=!1,"onBlurCapture")}}ot(Jx,"useFocusOutside");function mf(){const e=new CustomEvent(pf);document.dispatchEvent(e)}ot(mf,"dispatchUpdate");function mp(e,n,i,{discrete:r}){const l=i.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});n&&l.addEventListener(e,n,{once:!0}),r?fp(l,u):l.dispatchEvent(u)}ot(mp,"handleAndDispatchCustomEvent");var Mj=$x,Oj=Rj,En=globalThis?.document?x.useLayoutEffect:()=>{},Dj=Object.defineProperty,_j=(e,n)=>Dj(e,"name",{value:n,configurable:!0}),e2=x.forwardRef(_j(function(n,i){const{container:r,...l}=n,[u,h]=x.useState(!1);En(()=>h(!0),[]);const p=r||u&&globalThis?.document?.body;return p?Oc.createPortal(c.jsx(kn.div,{...l,ref:i}),p):null},"Portal")),Pj=Object.defineProperty,la=(e,n)=>Pj(e,"name",{value:n,configurable:!0});function t2(e,n){return x.useReducer((i,r)=>n[i][r]??i,e)}la(t2,"useStateMachine");var gp=la(e=>{const{present:n,children:i}=e,r=n2(n),l=typeof i=="function"?i({present:r.isPresent}):x.Children.only(i),u=a2(r.ref,i2(l));return typeof i=="function"||r.isPresent?x.cloneElement(l,{ref:u}):null},"Presence");function n2(e){const[n,i]=x.useState(),r=x.useRef(null),l=x.useRef(e),u=x.useRef("none"),h=x.useRef(void 0),p=e?"mounted":"unmounted",[m,g]=t2(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{m==="mounted"?(u.current=h.current??fs(r.current),h.current=void 0):u.current="none"},[m]),En(()=>{const y=r.current,v=l.current;if(v!==e){const A=u.current,T=fs(y);e?(h.current=T,g("MOUNT")):T==="none"||y?.display==="none"?g("UNMOUNT"):g(v&&A!==T?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,g]),En(()=>{if(n){let y;const v=n.ownerDocument.defaultView??window,b=la(T=>{const C=fs(r.current).includes(CSS.escape(T.animationName));if(T.target===n&&C&&(g("ANIMATION_END"),!l.current)){const R=n.style.animationFillMode;n.style.animationFillMode="forwards",y=v.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=R)})}},"handleAnimationEnd"),A=la(T=>{T.target===n&&(u.current=fs(r.current))},"handleAnimationStart");return n.addEventListener("animationstart",A),n.addEventListener("animationcancel",b),n.addEventListener("animationend",b),()=>{v.clearTimeout(y),n.removeEventListener("animationstart",A),n.removeEventListener("animationcancel",b),n.removeEventListener("animationend",b)}}else g("ANIMATION_END")},[n,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:x.useCallback(y=>{if(y){const v=getComputedStyle(y);r.current=v,h.current=fs(v)}else r.current=null;i(y)},[])}}la(n2,"usePresence");function gf(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}la(gf,"setRef");function a2(...e){const n=x.useRef(e);return n.current=e,x.useCallback(i=>{const r=n.current;let l=!1;const u=r.map(h=>{const p=gf(h,i);return!l&&typeof p=="function"&&(l=!0),p});if(l)return()=>{for(let h=0;h<u.length;h++){const p=u[h];typeof p=="function"?p():gf(r[h],null)}}},[])}la(a2,"useStableComposedRefs");function fs(e){return e?.animationName||"none"}la(fs,"getAnimationName");function i2(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}la(i2,"getElementRef");var Lj=Object.defineProperty,Vj=(e,n)=>Lj(e,"name",{value:n,configurable:!0}),O1=io[" useEffectEvent ".trim().toString()],D1=io[" useInsertionEffect ".trim().toString()];function s2(e){if(typeof O1=="function")return O1(e);const n=x.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof D1=="function"?D1(()=>{n.current=e}):En(()=>{n.current=e}),x.useMemo(()=>((...i)=>
17n.current?.(...i)),[])}Vj(s2,"useEffectEvent");var zj=Object.defineProperty,fo=(e,n)=>zj(e,"name",{value:n,configurable:!0}),Bj=io[" useInsertionEffect ".trim().toString()]||En;function r2({prop:e,defaultProp:n,onChange:i=fo(()=>{},"onChange"),caller:r}){const[l,u,h]=o2({defaultProp:n,onChange:i}),p=e!==void 0,m=p?e:l,g=x.useCallback(y=>{if(p){const v=l2(y)?y(e):y;v!==e&&h.current?.(v)}else u(y)},[p,e,u,h]);return[m,g]}fo(r2,"useControllableState");function o2({defaultProp:e,onChange:n}){const[i,r]=x.useState(e),l=x.useRef(i),u=x.useRef(n);return Bj(()=>{u.current=n},[n]),x.useEffect(()=>{l.current!==i&&(u.current?.(i),l.current=i)},[i,l]),[i,r,u]}fo(o2,"useUncontrolledState");function l2(e){return typeof e=="function"}fo(l2,"isFunction");var _1=Symbol("RADIX:SYNC_STATE");function Uj(e,n,i,r){const{prop:l,defaultProp:u,onChange:h,caller:p}=n,m=l!==void 0,g=s2(h),y=[{...i,state:u}];r&&y.push(r);const[v,b]=x.useReducer((C,R)=>{if(R.type===_1)return{...C,state:R.state};const M=e(C,R);return m&&!Object.is(M.state,C.state)&&g(M.state),M},...y),A=v.state,T=x.useRef(A);x.useEffect(()=>{T.current!==A&&(T.current=A,m||g(A))},[A,T,m]);const E=x.useMemo(()=>l!==void 0?{...v,state:l}:v,[v,l]);return x.useEffect(()=>{m&&!Object.is(l,v.state)&&b({type:_1,state:l})},[l,v.state,m]),[E,b]}fo(Uj,"useControllableStateReducer");var Hj=Object.defineProperty,Fj=(e,n)=>Hj(e,"name",{value:n,configurable:!0}),qj=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),yp=x.forwardRef(Fj(function(n,i){return c.jsx(kn.span,{...n,ref:i,style:{...qj,...n.style}})},"VisuallyHidden")),Ij=yp,Gj=Object.defineProperty,Fe=(e,n)=>Gj(e,"name",{value:n,configurable:!0}),c2="ToastProvider",[vp,u2,Yj]=Yx("Toast"),[d2,V9]=ks("Toast",[Yj]),[Wj,Dc]=d2(c2),Xj=Fe(e=>{const{__scopeToast:n,label:i="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:u=50,announcerContainer:h,children:p}=e,[m,g]=x.useState(null),[y,v]=x.useState(0),b=x.useRef(!1);return i.trim()||console.error(`Invalid prop \`label\` supplied to \`${c2}\`. Expected non-empty \`string\`.`),c.jsx(vp.Provider,{scope:n,children:c.jsx(Wj,{scope:n,label:i,duration:r,swipeDirection:l,swipeThreshold:u,toastCount:y,viewport:m,onViewportChange:g,onToastAdd:x.useCallback(()=>v(A=>A+1),[]),onToastRemove:x.useCallback(()=>v(A=>A-1),[]),isClosePausedRef:b,announcerContainer:h,children:p})})},"ToastProvider"),Kj="ToastViewport",Qj=["F8"],yf="toast.viewportPause",vf="toast.viewportResume",$j=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,hotkey:l=Qj,label:u="Notifications ({hotkey})",...h}=n,p=Dc(Kj,r),m=u2(r),g=x.useRef(null),y=x.useRef(null),v=x.useRef(null),b=x.useRef(null),A=en(i,b,p.onViewportChange),T=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=p.toastCount>0;x.useEffect(()=>{const R=Fe(M=>{l.length!==0&&l.every(O=>M[O]||M.code===O)&&b.current?.focus()},"handleKeyDown");return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[l]),x.useEffect(()=>{const R=g.current,M=b.current;if(E&&R&&M){const N=Fe(()=>{if(!p.isClosePausedRef.current){const H=new CustomEvent(yf);M.dispatchEvent(H),p.isClosePausedRef.current=!0}},"handlePause"),O=Fe(()=>{if(p.isClosePausedRef.current){const H=new CustomEvent(vf);M.dispatchEvent(H),p.isClosePausedRef.current=!1}},"handleResume"),z=Fe(H=>{!R.contains(H.relatedTarget)&&O()},"handleFocusOutResume"),P=Fe(()=>{R.contains(document.activeElement)||O()},"handlePointerLeaveResume");return R.addEventListener("focusin",N),R.addEventListener("focusout",z),R.addEventListener("pointermove",N),R.addEventListener("pointerleave",P),window.addEventListener("blur",N),window.addEventListener("focus",O),()=>{R.removeEventListener("focusin",N),R.removeEventListener("focusout",z),R.removeEventListener("pointermove",N),R.removeEventListener("pointerleave",P),window.removeEventListener("blur",N),window.removeEventListener("focus",O)}}},[E,p.isClosePausedRef]);const C=x.useCallback(({tabbingDirection:R})=>{const N=m().map(O=>{const z=O.ref.current,P=[z,...g2(z)];return R==="forwards"?P:P.reverse()});return(R==="forwards"?N.reverse():N).flat()},[m]);return x.useEffect(()=>{const R=b.current;if(R){const M=Fe(N=>{const O=N.altKey||N.ctrlKey||N.metaKey;if(N.key==="Tab"&&!O){const P=document.activeElement,H=N.shiftKey;if(N.target===R&&H){y.current?.focus();return}const Z=C({tabbingDirection:H?"backwards":"forwards"}),J=Z.findIndex(te=>te===P);Jl(Z.slice(J+1))?N.preventDefault():H?y.current?.focus():v.current?.focus()}},"handleKeyDown");return R.addEventListener("keydown",M),()=>R.removeEventListener("keydown",M)}},[m,C]),c.jsxs(Oj,{ref:g,role:"region","aria-label":u.replace("{hotkey}",T),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&c.jsx(P1,{ref:y,onFocusFromOutsideViewport:()=>{const R=C({tabbingDirection:"forwards"});Jl(R)}}),c.jsx(vp.Slot,{scope:r,children:c.jsx(kn.ol,{tabIndex:-1,...h,ref:A})}),E&&c.jsx(P1,{ref:v,onFocusFromOutsideViewport:()=>{const R=C({tabbingDirection:"backwards"});Jl(R)}})]})},"ToastViewport")),Zj="ToastFocusProxy",P1=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,onFocusFromOutsideViewport:l,...u}=n,h=Dc(Zj,r);return c.jsx(yp,{tabIndex:0,...u,ref:i,style:{position:"fixed"},onFocus:p=>{const m=p.relatedTarget;!h.viewport?.contains(m)&&l()}})},"ToastFocusProxy")),_c="Toast",Jj="toast.swipeStart",eC="toast.swipeMove",tC="toast.swipeCancel",nC="toast.swipeEnd",aC=x.forwardRef(Fe(function(n,i){const{forceMount:r,open:l,defaultOpen:u,onOpenChange:h,...p}=n,[m,g]=r2({prop:l,defaultProp:u??!0,onChange:h,caller:_c});return c.jsx(gp,{present:r||m,children:c.jsx(rC,{open:m,...p,ref:i,onClose:()=>g(!1),onPause:oa(n.onPause),onResume:oa(n.onResume),onSwipeStart:Bt(n.onSwipeStart,y=>{y.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Bt(n.onSwipeMove,y=>{const{x:v,y:b}=y.detail.delta;y.currentTarget.setAttribute("data-swipe","move"),y.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${v}px`),y.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${b}px`)}),onSwipeCancel:Bt(n.onSwipeCancel,y=>{y.currentTarget.setAttribute("data-swipe","cancel"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),y.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),y.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Bt(n.onSwipeEnd,y=>{const{x:v,y:b}=y.detail.delta;y.currentTarget.setAttribute("data-swipe","end"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),y.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${v}px`),y.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${b}px`),g(!1)})})})},"Toast")),[iC,sC]=d2(_c,{onClose(){}}),rC=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,type:l="foreground",duration:u,open:h,onClose:p,onEscapeKeyDown:m,onPause:g,onResume:y,onSwipeStart:v,onSwipeMove:b,onSwipeCancel:A,onSwipeEnd:T,...E}=n,C=Dc(_c,r),R=u2(r),[M,N]=x.useState(null),O=en(i,N),z=x.useRef(null),P=x.useRef(null),H=u||C.duration,L=x.useRef(0),I=x.useRef(H),Z=x.useRef(0),{onToastAdd:J,onToastRemove:te}=C,le=oa(()=>{M?.contains(document.activeElement)&&C.viewport?.focus(),p()}),he=x.useCallback(D=>
17{!D||D===1/0||(window.clearTimeout(Z.current),L.current=new Date().getTime(),Z.current=window.setTimeout(le,D))},[le]);x.useEffect(()=>{const D=C.viewport;if(D){const Y=Fe(()=>{he(I.current),y?.()},"handleResume"),G=Fe(()=>{const ne=new Date().getTime()-L.current;I.current=I.current-ne,window.clearTimeout(Z.current),g?.()},"handlePause");return D.addEventListener(yf,G),D.addEventListener(vf,Y),()=>{D.removeEventListener(yf,G),D.removeEventListener(vf,Y)}}},[C.viewport,H,g,y,he]),x.useEffect(()=>{h&&!C.isClosePausedRef.current&&he(H)},[h,H,C.isClosePausedRef,he]),x.useEffect(()=>()=>{window.clearTimeout(Z.current)},[]),x.useEffect(()=>(J(),()=>te()),[J,te]);const ge=x.useMemo(()=>M?bp(M):null,[M]);return C.viewport?c.jsxs(c.Fragment,{children:[ge&&c.jsx(oC,{__scopeToast:r,role:"status","aria-live":l==="foreground"?"assertive":"polite",children:ge}),c.jsx(iC,{scope:r,onClose:le,children:Oc.createPortal(c.jsx(vp.ItemSlot,{scope:r,children:c.jsx(Mj,{asChild:!0,onEscapeKeyDown:Bt(m,D=>{R().some(G=>G.ref.current?.contains(D.target))||le()}),children:c.jsx(kn.li,{tabIndex:0,"data-state":h?"open":"closed","data-swipe-direction":C.swipeDirection,...E,ref:O,style:{userSelect:"none",touchAction:"none",...n.style},onKeyDown:Bt(n.onKeyDown,D=>{D.key==="Escape"&&(m?.(D.nativeEvent),D.nativeEvent.defaultPrevented||le())}),onPointerDown:Bt(n.onPointerDown,D=>{D.button===0&&(z.current={x:D.clientX,y:D.clientY})}),onPointerMove:Bt(n.onPointerMove,D=>{if(!z.current)return;const Y=D.clientX-z.current.x,G=D.clientY-z.current.y,ne=!!P.current,j=["left","right"].includes(C.swipeDirection),W=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,ae=j?W(0,Y):0,ee=j?0:W(0,G),oe=D.pointerType==="touch"?10:2,ce={x:ae,y:ee},re={originalEvent:D,delta:ce};ne?(P.current=ce,Br(eC,b,re,{discrete:!1})):L1(ce,C.swipeDirection,oe)?(P.current=ce,Br(Jj,v,re,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(Y)>oe||Math.abs(G)>oe)&&(z.current=null)}),onPointerUp:Bt(n.onPointerUp,D=>{const Y=P.current,G=D.target;if(G.hasPointerCapture(D.pointerId)&&G.releasePointerCapture(D.pointerId),P.current=null,z.current=null,Y){const ne=D.currentTarget,j={originalEvent:D,delta:Y};L1(Y,C.swipeDirection,C.swipeThreshold)?Br(nC,T,j,{discrete:!0}
17):Br(tC,A,j,{discrete:!0}),ne.addEventListener("click",W=>W.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null},"ToastImpl")),oC=Fe(e=>{const{__scopeToast:n,children:i,...r}=e,l=Dc(_c,n),[u,h]=x.useState(!1),[p,m]=x.useState(!1);return p2(()=>h(!0)),x.useEffect(()=>{const g=window.setTimeout(()=>m(!0),1e3);return()=>window.clearTimeout(g)},[]),p?null:c.jsx(e2,{asChild:!0,container:l.announcerContainer||void 0,children:c.jsx(yp,{...r,children:u&&c.jsxs(c.Fragment,{children:[l.label," ",i]})})})},"ToastAnnounce"),lC=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,...l}=n;return c.jsx(kn.div,{...l,ref:i})},"ToastTitle")),cC=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,...l}=n;return c.jsx(kn.div,{...l,ref:i})},"ToastDescription")),uC="ToastAction",dC=x.forwardRef(Fe(function(n,i){const{altText:r,...l}=n;return r.trim()?c.jsx(f2,{altText:r,asChild:!0,children:c.jsx(h2,{...l,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${uC}\`. Expected non-empty \`string\`.`),null)},"ToastAction")),hC="ToastClose",h2=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,...l}=n,u=sC(hC,r);return c.jsx(f2,{asChild:!0,children:c.jsx(kn.button,{type:"button",...l,ref:i,onClick:Bt(n.onClick,u.onClose)})})},"ToastClose")),f2=x.forwardRef(Fe(function(n,i){const{__scopeToast:r,altText:l,...u}=n;return c.jsx(kn.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":l||void 0,...u,ref:i})},"ToastAnnounceExclude"));function bp(e){const n=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&n.push(r.textContent),m2(r)){const l=r.ariaHidden||r.hidden||r.style.display==="none",u=r.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const h=r.dataset.radixToastAnnounceAlt;h&&n.push(h)}else n.push(...bp(r))}}),n}Fe(bp,"getAnnounceTextContent");function Br(e,n,i,{discrete:r}){const l=i.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:i});n&&l.addEventListener(e,n,{once:!0}),r?fp(l,u):l.dispatchEvent(u)}Fe(Br,"handleAndDispatchCustomEvent");var L1=Fe((e,n,i=0)=>{const r=Math.abs(e.x),l=Math.abs(e.y),u=r>l;return n==="left"||n==="right"?u&&r>i:!u&&l>i},"isDeltaInDirection");function p2(e=()=>{}){const n=oa(e);En(()=>{let i=0,r=0;return i=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(i),window.cancelAnimationFrame(r)}},[n])}Fe(p2,"useNextFrame");function m2(e){return e.nodeType===e.ELEMENT_NODE}Fe(m2,"isHTMLElement");function g2(e){const n=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Fe(r=>{const l=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||l?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;i.nextNode();)n.push(i.currentNode);return n}Fe(g2,"getTabbableCandidates");function Jl(e){const n=document.activeElement;return e.some(i=>i===n?!0:(i.focus(),document.activeElement!==n))}Fe(Jl,"focusFirst");var fC=Xj,y2=$j,v2=aC,b2=lC,w2=cC,x2=dC,T2=h2;const pC=(e,n)=>{const i=new Array(e.length+n.length);for(let r=0;r<e.length;r++)i[r]=e[r];for(let r=0;r<n.length;r++)i[e.length+r]=n[r];return i},mC=(e,n)=>({classGroupId:e,validator:n}),S2=(e=new Map,n=null,i)=>({nextPart:e,validators:n,classGroupId:i}),mc="-",V1=[],gC="arbitrary..",yC=e=>{const n=bC(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:h=>{if(h.startsWith("[")&&h.endsWith("]"))return vC(h);const p=h.split(mc),m=p[0]===""&&p.length>1?1:0;return A2(p,m,n)},getConflictingClassGroupIds:(h,p)=>{if(p){const m=r[h],g=i[h];return m?g?pC(g,m):m:g||V1}return i[h]||V1}}},A2=(e,n,i)=>{if(e.length-n===0)return i.classGroupId;const l=e[n],u=i.nextPart.get(l);if(u){const g=A2(e,n+1,u);if(g)return g}const h=i.validators;if(h===null)return;const p=n===0?e.join(mc):e.slice(n).join(mc),m=h.length;for(let g=0;g<m;g++){const y=h[g];if(y.validator(p))return y.classGroupId}},vC=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),i=n.indexOf(":"),r=n.slice(0,i);return r?gC+r:void 0})(),bC=e=>
vendor: 7,816 bytes, line 17
17{const{theme:n,classGroups:i}=e;return wC(i,n)},wC=(e,n)=>{const i=S2();for(const r in e){const l=e[r];wp(l,i,r,n)}return i},wp=(e,n,i,r)=>{const l=e.length;for(let u=0;u<l;u++){const h=e[u];xC(h,n,i,r)}},xC=(e,n,i,r)=>{if(typeof e=="string"){TC(e,n,i);return}if(typeof e=="function"){SC(e,n,i,r);return}AC(e,n,i,r)},TC=(e,n,i)=>{const r=e===""?n:E2(n,e);r.classGroupId=i},SC=(e,n,i,r)=>{if(EC(e)){wp(e(r),n,i,r);return}n.validators===null&&(n.validators=[]),n.validators.push(mC(i,e))},AC=(e,n,i,r)=>{const l=Object.entries(e),u=l.length;for(let h=0;h<u;h++){const[p,m]=l[h];wp(m,E2(n,p),i,r)}},E2=(e,n)=>{let i=e;const r=n.split(mc),l=r.length;for(let u=0;u<l;u++){const h=r[u];let p=i.nextPart.get(h);p||(p=S2(),i.nextPart.set(h,p)),i=p}return i},EC=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,jC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,i=Object.create(null),r=Object.create(null);const l=(u,h)=>{i[u]=h,n++,n>e&&(n=0,r=i,i=Object.create(null))};return{get(u){let h=i[u];if(h!==void 0)return h;if((h=r[u])!==void 0)return l(u,h),h},set(u,h){u in i?i[u]=h:l(u,h)}}},bf="!",z1=":",CC=[],B1=(e,n,i,r,l)=>({modifiers:e,hasImportantModifier:n,baseClassName:i,maybePostfixModifierPosition:r,isExternal:l}),RC=e=>{const{prefix:n,experimentalParseClassName:i}=e;let r=l=>{const u=[];let h=0,p=0,m=0,g;const y=l.length;for(let E=0;E<y;E++){const C=l[E];if(h===0&&p===0){if(C===z1){u.push(l.slice(m,E)),m=E+1;continue}if(C==="/"){g=E;continue}}C==="["?h++:C==="]"?h--:C==="("?p++:C===")"&&p--}const v=u.length===0?l:l.slice(m);let b=v,A=!1;v.endsWith(bf)?(b=v.slice(0,-1),A=!0):v.startsWith(bf)&&(b=v.slice(1),A=!0);const T=g&&g>m?g-m:void 0;return B1(u,A,b,T)};if(n){const l=n+z1,u=r;r=h=>h.startsWith(l)?u(h.slice(l.length)):B1(CC,!1,h,void 0,!0)}if(i){const l=r;r=u=>i({className:u,parseClassName:l})}return r},kC=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((i,r)=>{n.set(i,1e6+r)}),i=>{const r=[];let l=[];for(let u=0;u<i.length;u++){const h=i[u],p=h[0]==="[",m=n.has(h);p||m?(l.length>0&&(l.sort(),r.push(...l),l=[]),r.push(h)):l.push(h)}return l.length>0&&(l.sort(),r.push(...l)),r}},NC=e=>({cache:jC(e.cacheSize),parseClassName:RC(e),sortModifiers:kC(e),postfixLookupClassGroupIds:MC(e),...yC(e)}),MC=e=>{const n=Object.create(null),i=e.postfixLookupClassGroups;if(i)for(let r=0;r<i.length;r++)n[i[r]]=!0;return n},OC=/\s+/,DC=(e,n)=>{const{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u,postfixLookupClassGroupIds:h}=n,p=[],m=e.trim().split(OC);let g="";for(let y=m.length-1;y>=0;y-=1){const v=m[y],{isExternal:b,modifiers:A,hasImportantModifier:T,baseClassName:E,maybePostfixModifierPosition:C}=i(v);if(b){g=v+(g.length>0?" "+g:g);continue}let R=!!C,M;if(R){const H=E.substring(0,C);M=r(H);const L=M&&h[M]?r(E):void 0;L&&L!==M&&(M=L,R=!1)}else M=r(E);if(!M){if(!R){g=v+(g.length>0?" "+g:g);continue}if(M=r(E),!M){g=v+(g.length>0?" "+g:g);continue}R=!1}const N=A.length===0?"":A.length===1?A[0]:u(A).join(":"),O=T?N+bf:N,z=O+M;if(p.indexOf(z)>-1)continue;p.push(z);const P=l(M,R);for(let H=0;H<P.length;++H){const L=P[H];p.push(O+L)}g=v+(g.length>0?" "+g:g)}return g},_C=(...e)=>{let n=0,i,r,l="";for(;n<e.length;)(i=e[n++])&&(r=j2(i))&&(l&&(l+=" "),l+=r);return l},j2=e=>{if(typeof e=="string")return e;let n,i="";for(let r=0;r<e.length;r++)e[r]&&(n=j2(e[r]))&&(i&&(i+=" "),i+=n);return i},PC=(e,...n)=>{let i,r,l,u;const h=m=>{const g=n.reduce((y,v)=>v(y),e());return i=NC(g),r=i.cache.get,l=i.cache.set,u=p,p(m)},p=m=>{const g=r(m);if(g)return g;const y=DC(m,i);return l(m,y),y};return u=h,(...m)=>u(_C(...m))},LC=[],rt=e=>{const n=i=>i[e]||LC;return n.isThemeGetter=!0,n},C2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,VC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,zC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BC=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,UC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,HC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,FC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Pa=e=>VC.test(e),Ee=e=>!!e&&!Number.isNaN(Number(e)),Pn=e=>!!e&&Number.isInteger(Number(e)),Eh=e=>e.endsWith("%")&&Ee(e.slice(0,-1)),aa=e=>zC.test(e),k2=()=>!0,qC=e=>BC.test(e)&&!UC.test(e),xp=()=>!1,IC=e=>HC.test(e),GC=e=>FC.test(e),YC=e=>!ue(e)&&!de(e),WC=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),XC=e=>Ia(e,O2,xp),ue=e=>C2.test(e),di=e=>Ia(e,D2,qC),U1=e=>Ia(e,nR,Ee),KC=e=>Ia(e,P2,k2),QC=e=>Ia(e,_2,xp),H1=e=>Ia(e,N2,xp),$C=e=>Ia(e,M2,GC),zl=e=>Ia(e,L2,IC),de=e=>R2.test(e),Dr=e=>Ai(e,D2),ZC=e=>Ai(e,_2),F1=e=>Ai(e,N2),JC=e=>Ai(e,O2),eR=e=>Ai(e,M2),Bl=e=>Ai(e,L2,!0),tR=e=>Ai(e,P2,!0),Ia=(e,n,i)=>{const r=C2.exec(e);return r?r[1]?n(r[1]):i(r[2]):!1},Ai=(e,n,i=!1)=>{const r=R2.exec(e);return r?r[1]?n(r[1]):i:!1},N2=e=>e==="position"||e==="percentage",M2=e=>e==="image"||e==="url",O2=e=>e==="length"||e==="size"||e==="bg-size",D2=e=>e==="length",nR=e=>e==="number",_2=e=>e==="family-name",P2=e=>e==="number"||e==="weight",L2=e=>e==="shadow",aR=()=>{const e=rt("color"),n=rt("font"),i=rt("text"),r=rt("font-weight"),l=rt("tracking"),u=rt("leading"),h=rt("breakpoint"),p=rt("container"),m=rt("spacing"),g=rt("radius"),y=rt("shadow"),v=rt("inset-shadow"),b=rt("text-shadow"),A=rt("drop-shadow"),T=rt("blur"),E=rt("perspective"),C=rt("aspect"),R=rt("ease"),M=rt("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],z=()=>[...O(),de,ue],P=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],L=()=>[de,ue,m],I=()=>[Pa,"full","auto",...L()],Z=()=>[Pn,"none","subgrid",de,ue],J=()=>["auto",{span:["full",Pn,de,ue]},Pn,de,ue],te=()=>[Pn,"auto",de,ue],le=()=>["auto","min","max","fr",de,ue],he=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ge=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...L()],Y=()=>[Pa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],G=()=>[Pa,"screen","full","dvw","lvw","svw","min","max","fit",...L()],ne=()=>[Pa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...L()],j=()=>[e,de,ue],W=()=>[...O(),F1,H1,{position:[de,ue]}],ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ee=()=>["auto","cover","contain",JC,XC,{size:[de,ue]}],oe=()=>[Eh,Dr,di],ce=()=>["","none","full",g,de,ue],re=()=>["",Ee,Dr,di],fe=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>[Ee,Eh,F1,H1],Ie=()=>["","none",T,de,ue],Ge=()=>["none",Ee,de,ue],De=()=>["none",Ee,de,ue],yt=()=>[Ee,de,ue],ct=()=>[Pa,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[aa],breakpoint:[aa],color:[k2],container:[aa],"drop-shadow":[aa],ease:["in","out","in-out"],font:[YC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[aa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[aa],shadow:[aa],spacing:["px",Ee],text:[aa],"text-shadow":[aa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Pa,ue,de,C]}],container:["container"],"container-type":[{"@container":["","normal","size",de,ue]}
vendor: 6,141 bytes, line 17
17],"container-named":[WC],columns:[{columns:[Ee,ue,de,p]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:z()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Pn,"auto",de,ue]}],basis:[{basis:[Pa,"full","auto",p,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,Pa,"auto","initial","none",ue]}],grow:[{grow:["",Ee,de,ue]}],shrink:[{shrink:["",Ee,de,ue]}],order:[{order:[Pn,"first","last","none",de,ue]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:J()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...he(),"normal"]}],"justify-items":[{"justify-items":[...ge(),"normal"]}],"justify-self":[{"justify-self":["auto",...ge()]}],"align-content":[{content:["normal",...he()]}],"align-items":[{items:[...ge(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ge(),{baseline:["","last"]}]}],"place-content":[{"place-content":he()}],"place-items":[{"place-items":[...ge(),"baseline"]}],"place-self":[{"place-self":["auto",...ge()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pbs:[{pbs:L()}],pbe:[{pbe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...G()]}],"min-inline-size":[{"min-inline":["auto",...G()]}],"max-inline-size":[{"max-inline":["none",...G()]}],"block-size":[{block:["auto",...ne()]}],"min-block-size":[{"min-block":["auto",...ne()]}],"max-block-size":[{"max-block":["none",...ne()]}],w:[{w:[p,"screen",...Y()]}],"min-w":[{"min-w":[p,"screen","none",...Y()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[h]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",i,Dr,di]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,tR,KC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Eh,ue]}],"font-family":[{font:[ZC,QC,n]}],"font-features":[{"font-features":[ue]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,de,ue]}],"line-clamp":[{"line-clamp":[Ee,"none",de,U1]}],leading:[{leading:[u,...L()]}],"list-image":[{"list-image":["none",de,ue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,ue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",de,di]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[Ee,"auto",de,ue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"tab-size":[{tab:[Pn,de,ue]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:W()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:ee()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Pn,de,ue],radial:["",de,ue],conic:[Pn,de,ue]},eR,$C]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:oe()}
vendor: 7,427 bytes, line 17
17],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:re()}],"border-w-x":[{"border-x":re()}],"border-w-y":[{"border-y":re()}],"border-w-s":[{"border-s":re()}],"border-w-e":[{"border-e":re()}],"border-w-bs":[{"border-bs":re()}],"border-w-be":[{"border-be":re()}],"border-w-t":[{"border-t":re()}],"border-w-r":[{"border-r":re()}],"border-w-b":[{"border-b":re()}],"border-w-l":[{"border-l":re()}],"divide-x":[{"divide-x":re()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":re()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...fe(),"hidden","none"]}],"divide-style":[{divide:[...fe(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-bs":[{"border-bs":j()}],"border-color-be":[{"border-be":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,de,ue]}],"outline-w":[{outline:["",Ee,Dr,di]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",y,Bl,zl]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",v,Bl,zl]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[Ee,di]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":re()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",b,Bl,zl]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[Ee,de,ue]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":se()}],"mask-image-linear-to-pos":[{"mask-linear-to":se()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":se()}],"mask-image-t-to-pos":[{"mask-t-to":se()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":se()}],"mask-image-r-to-pos":[{"mask-r-to":se()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":se()}],"mask-image-b-to-pos":[{"mask-b-to":se()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":se()}],"mask-image-l-to-pos":[{"mask-l-to":se()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":se()}],"mask-image-x-to-pos":[{"mask-x-to":se()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":se()}],"mask-image-y-to-pos":[{"mask-y-to":se()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[de,ue]}],"mask-image-radial-from-pos":[{"mask-radial-from":se()}],"mask-image-radial-to-pos":[{"mask-radial-to":se()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":se()}],"mask-image-conic-to-pos":[{"mask-conic-to":se()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:W()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:ee()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",de,ue]}],filter:[{filter:["","none",de,ue]}],blur:[{blur:Ie()}],brightness:[{brightness:[Ee,de,ue]}],contrast:[{contrast:[Ee,de,ue]}],"drop-shadow":[{"drop-shadow":["","none",A,Bl,zl]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",Ee,de,ue]}],"hue-rotate":[{"hue-rotate":[Ee,de,ue]}],invert:[{invert:["",Ee,de,ue]}],saturate:[{saturate:[Ee,de,ue]}],sepia:[{sepia:["",Ee,de,ue]}],"backdrop-filter":[{"backdrop-filter":["","none",de,ue]}],"backdrop-blur":[{"backdrop-blur":Ie()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,de,ue]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,de,ue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,de,ue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,de,ue]}],"backdrop-invert":[{"backdrop-invert":["",Ee,de,ue]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,de,ue]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,de,ue]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,de,ue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,ue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",de,ue]}],ease:[{ease:["linear","initial",R,de,ue]}],delay:[{delay:[Ee,de,ue]}],animate:[{animate:["none",M,de,ue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,de,ue]}],"perspective-origin":[{"perspective-origin":z()}],rotate:[{rotate:Ge()}],"rotate-x":[{"rotate-x":Ge()}],"rotate-y":[{"rotate-y":Ge()}],"rotate-z":[{"rotate-z":Ge()}],scale:[{scale:De()}],"scale-x":[{"scale-x":De()}],"scale-y":[{"scale-y":De()}],"scale-z":[{"scale-z":De()}],"scale-3d":["scale-3d"],skew:[{skew:yt()}],"skew-x":[{"skew-x":yt()}],"skew-y":[{"skew-y":yt()}],transform:[{transform:[de,ue,"","none","gpu","cpu"]}],"transform-origin":[{origin:z()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ct()}],"translate-x":[{"translate-x":ct()}],"translate-y":[{"translate-y":ct()}],"translate-z":[{"translate-z":ct()}],"translate-none":["translate-none"],zoom:[{zoom:[Pn,de,ue]}],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}
vendor: 8,043 bytes, line 17
17],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",de,ue]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":j()}],"scrollbar-track-color":[{"scrollbar-track":j()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mbs":[{"scroll-mbs":L()}],"scroll-mbe":[{"scroll-mbe":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pbs":[{"scroll-pbs":L()}],"scroll-pbe":[{"scroll-pbe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",de,ue]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[Ee,Dr,di,U1]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},iR=PC(aR);function V2(e){var n,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(n=0;n<l;n++)e[n]&&(i=V2(e[n]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function z2(){for(var e,n,i=0,r="",l=arguments.length;i<l;i++)(e=arguments[i])&&(n=V2(e))&&(r&&(r+=" "),r+=n);return r}function tn(...e){return iR(z2(e))}const q1=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,I1=z2,sR=(e,n)=>i=>{var r;if(n?.variants==null)return I1(e,i?.class,i?.className);const{variants:l,defaultVariants:u}=n,h=Object.keys(l).map(g=>{const y=i?.[g],v=u?.[g];if(y===null)return null;const b=q1(y)||q1(v);return l[g][b]}),p=i&&Object.entries(i).reduce((g,y)=>{let[v,b]=y;return b===void 0||(g[v]=b),g},{}),m=n==null||(r=n.compoundVariants)===null||r===void 0?void 0:r.reduce((g,y)=>{let{class:v,className:b,...A}=y;return Object.entries(A).every(T=>{let[E,C]=T;return Array.isArray(C)?C.includes({...u,...p}[E]):{...u,...p}[E]===C})?[...g,v,b]:g},[]);return I1(e,h,m,i?.class,i?.className)},rR=fC,B2=x.forwardRef(({className:e,...n},i)=>c.jsx(y2,{ref:i,className:tn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...n}));B2.displayName=y2.displayName;const oR=sR("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),U2=x.forwardRef(({className:e,variant:n,...i},r)=>c.jsx(v2,{ref:r,className:tn(oR({variant:n}),e),...i}));U2.displayName=v2.displayName;const lR=x.forwardRef(({className:e,...n},i)=>c.jsx(x2,{ref:i,className:tn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...n}));lR.displayName=x2.displayName;const H2=x.forwardRef(({className:e,...n},i)=>c.jsx(T2,{ref:i,className:tn("absolute right-2 top-2 rounded-md p-1 text-foreground
17/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...n,children:c.jsx(Rf,{className:"h-4 w-4"})}));H2.displayName=T2.displayName;const F2=x.forwardRef(({className:e,...n},i)=>c.jsx(b2,{ref:i,className:tn("text-sm font-semibold",e),...n}));F2.displayName=b2.displayName;const q2=x.forwardRef(({className:e,...n},i)=>c.jsx(w2,{ref:i,className:tn("text-sm opacity-90",e),...n}));q2.displayName=w2.displayName;const cR=1,uR=1e6;let jh=0;function dR(){return jh=(jh+1)%Number.MAX_SAFE_INTEGER,jh.toString()}const Ch=new Map,G1=e=>{if(Ch.has(e))return;const n=setTimeout(()=>{Ch.delete(e),Xr({type:"REMOVE_TOAST",toastId:e})},uR);Ch.set(e,n)},hR=(e,n)=>{switch(n.type){case"ADD_TOAST":return{...e,toasts:[n.toast,...e.toasts].slice(0,cR)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(i=>i.id===n.toast.id?{...i,...n.toast}:i)};case"DISMISS_TOAST":{const{toastId:i}=n;return i?G1(i):e.toasts.forEach(r=>{G1(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===i||i===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==n.toastId)}}},ec=[];let tc={toasts:[]};function Xr(e){tc=hR(tc,e),ec.forEach(n=>{n(tc)})}function fR({...e}){const n=dR(),i=l=>Xr({type:"UPDATE_TOAST",toast:{...l,id:n}}),r=()=>Xr({type:"DISMISS_TOAST",toastId:n});return Xr({type:"ADD_TOAST",toast:{...e,id:n,open:!0,onOpenChange:l=>{l||r()}}}),{id:n,dismiss:r,update:i}}function pR(){const[e,n]=x.useState(tc);return x.useEffect(()=>(ec.push(n),()=>{const i=ec.indexOf(n);i>-1&&ec.splice(i,1)}),[e]),{...e,toast:fR,dismiss:i=>Xr({type:"DISMISS_TOAST",toastId:i})}}function mR(){const{toasts:e}=pR();return c.jsxs(rR,{children:[e.map(function({id:n,title:i,description:r,action:l,...u}){return c.jsxs(U2,{...u,children:[c.jsxs("div",{className:"grid gap-1",children:[i&&c.jsx(F2,{children:i}),r&&c.jsx(q2,{children:r})]}),l,c.jsx(H2,{})]},n)}),c.jsx(B2,{})]})}const gR=["top","right","bottom","left"],Ua=Math.min,sa=Math.max,gc=Math.round,Ul=Math.floor,ra=e=>({x:e,y:e}),yR={left:"right",right:"left",bottom:"top",top:"bottom"};function I2(e,n,i){return sa(e,Ua(n,i))}function ca(e,n){return typeof e=="function"?e(n):e}function Ha(e){return e.split("-")[0]}function Ns(e){return e.split("-")[1]}function Tp(e){return e==="x"?"y":"x"}function Sp(e){return e==="y"?"height":"width"}function zn(e){const n=e[0];return n==="t"||n==="b"?"y":"x"}function Ap(e){return Tp(zn(e))}function vR(e,n,i){i===void 0&&(i=!1);const r=Ns(e),l=Ap(e),u=Sp(l);let h=l==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[u]>n.floating[u]&&(h=yc(h)),[h,yc(h)]}function bR(e){const n=yc(e);return[wf(e),n,wf(n)]}function wf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Y1=["left","right"],W1=["right","left"],wR=["top","bottom"],xR=["bottom","top"];function TR(e,n,i){switch(e){case"top":case"bottom":return i?n?W1:Y1:n?Y1:W1;case"left":case"right":return n?wR:xR;default:return[]}}function SR(e,n,i,r){const l=Ns(e);let u=TR(Ha(e),i==="start",r);return l&&(u=u.map(h=>h+"-"+l),n&&(u=u.concat(u.map(wf)))),u}function yc(e){const n=Ha(e);return yR[n]+e.slice(n.length)}function AR(e){var n,i,r,l;return{top:(n=e.top)!=null?n:0,right:(i=e.right)!=null?i:0,bottom:(r=e.bottom)!=null?r:0,left:(l=e.left)!=null?l:0}}function G2(e){return typeof e!="number"?AR(e):{top:e,right:e,bottom:e,left:e}}function vc(e){const{x:n,y:i,width:r,height:l}=e;return{width:r,height:l,top:i,left:n,right:n+r,bottom:i+l,x:n,y:i}}function X1(e,n,i){let{reference:r,floating:l}=e;const u=zn(n),h=Ap(n),p=Sp(h),m=Ha(n),g=u==="y",y=r.x+r.width/2-l.width/2,v=r.y+r.height/2-l.height/2,b=r[p]/2-l[p]/2;let A;switch(m){case"top":A={x:y,y:r.y-l.height};break;case"bottom":A={x:y,y:r.y+r.height};break;case"right":A={x:r.x+r.width,y:v};break;case"left":A={x:r.x-l.width,y:v};break;default:A={x:r.x,y:r.y}}const T=Ns(n);return T&&(A[h]+=b*(T==="end"?1:-1)*(i&&g?-1:1)),A}async function ER(e,n){var i;n===void 0&&(n={});const{x:r,y:l,platform:u,rects:h,elements:p,strategy:m}=e,{boundary:g="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:b=!1,padding:A=0}=ca(n,e),T=G2(A),C=p[b?v==="floating"?"reference":"floating":v],R=vc(await u.getClippingRect
vendor: 4,550 bytes, line 17
17({element:(i=await(u.isElement==null?void 0:u.isElement(C)))==null||i?C:C.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(p.floating)),boundary:g,rootBoundary:y,strategy:m})),M=v==="floating"?{x:r,y:l,width:h.floating.width,height:h.floating.height}:h.reference,N=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p.floating)),O=await(u.isElement==null?void 0:u.isElement(N))&&await(u.getScale==null?void 0:u.getScale(N))||{x:1,y:1},z=vc(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:M,offsetParent:N,strategy:m}):M);return{top:(R.top-z.top+T.top)/O.y,bottom:(z.bottom-R.bottom+T.bottom)/O.y,left:(R.left-z.left+T.left)/O.x,right:(z.right-R.right+T.right)/O.x}}const jR=50,CR=async(e,n,i)=>{const{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:h}=i,p=h.detectOverflow?h:{...h,detectOverflow:ER},m=await(h.isRTL==null?void 0:h.isRTL(n));let g=await h.getElementRects({reference:e,floating:n,strategy:l}),{x:y,y:v}=X1(g,r,m),b=r,A=0;const T={};for(let E=0;E<u.length;E++){const C=u[E];if(!C)continue;const{name:R,fn:M}=C,{x:N,y:O,data:z,reset:P}=await M({x:y,y:v,initialPlacement:r,placement:b,strategy:l,middlewareData:T,rects:g,platform:p,elements:{reference:e,floating:n}});y=N??y,v=O??v,T[R]={...T[R],...z},P&&A<jR&&(A++,typeof P=="object"&&(P.placement&&(b=P.placement),P.rects&&(g=P.rects===!0?await h.getElementRects({reference:e,floating:n,strategy:l}):P.rects),{x:y,y:v}=X1(g,b,m)),E=-1)}return{x:y,y:v,placement:b,strategy:l,middlewareData:T}},RR=e=>({name:"arrow",options:e,async fn(n){const{x:i,y:r,placement:l,rects:u,platform:h,elements:p,middlewareData:m}=n,{element:g,padding:y=0}=ca(e,n)||{};if(g==null)return{};const v=G2(y),b={x:i,y:r},A=Ap(l),T=Sp(A),E=await h.getDimensions(g),C=A==="y",R=C?"top":"left",M=C?"bottom":"right",N=C?"clientHeight":"clientWidth",O=u.reference[T]+u.reference[A]-b[A]-u.floating[T],z=b[A]-u.reference[A],P=await(h.getOffsetParent==null?void 0:h.getOffsetParent(g));let H=P?P[N]:0;(!H||!await(h.isElement==null?void 0:h.isElement(P)))&&(H=p.floating[N]||u.floating[T]);const L=O/2-z/2,I=H/2-E[T]/2-1,Z=Ua(v[R],I),J=Ua(v[M],I),te=H-E[T]-J,le=H/2-E[T]/2+L,he=I2(Z,le,te),ge=!m.arrow&&Ns(l)!=null&&le!==he&&u.reference[T]/2-(le<Z?Z:J)-E[T]/2<0,D=ge?le<Z?le-Z:le-te:0;return{[A]:b[A]+D,data:{[A]:he,centerOffset:le-he-D,...ge&&{alignmentOffset:D}},reset:ge}}}),kR=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var i,r;const{placement:l,middlewareData:u,rects:h,initialPlacement:p,platform:m,elements:g}=n,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:E=!0,...C}=ca(e,n);if((i=u.arrow)!=null&&i.alignmentOffset)return{};const R=Ha(l),M=zn(p),N=Ha(p)===p,O=await(m.isRTL==null?void 0:m.isRTL(g.floating)),z=b||(N||!E?[yc(p)]:bR(p)),P=T!=="none";!b&&P&&z.push(...SR(p,E,T,O));const H=[p,...z],L=await m.detectOverflow(n,C),I=[];let Z=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&I.push(L[R]),v){const he=vR(l,h,O);I.push(L[he[0]],L[he[1]])}if(Z=[...Z,{placement:l,overflows:I}],!I.every(he=>he<=0)){var J,te;const he=(((J=u.flip)==null?void 0:J.index)||0)+1,ge=H[he];if(ge&&(!(v==="alignment"?M!==zn(ge):!1)||Z.every(G=>zn(G.placement)===M?G.overflows[0]>0:!0)))return{data:{index:he,overflows:Z},reset:{placement:ge}};let D=(te=Z.filter(Y=>Y.overflows[0]<=0).sort((Y,G)=>Y.overflows[1]-G.overflows[1])[0])==null?void 0:te.placement;if(!D)switch(A){case"bestFit":{var le;const Y=(le=Z.filter(G=>{if(P){const ne=zn(G.placement);return ne===M||ne==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(ne=>ne>0).reduce((ne,j)=>ne+j,0)]).sort((G,ne)=>G[1]-ne[1])[0])==null?void 0:le[0];Y&&(D=Y);break}case"initialPlacement":D=p;break}if(l!==D)return{reset:{placement:D}}}return{}}}};function K1(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function Q1(e){return gR.some(n=>e[n]>=0)}const NR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:i,platform:r}=n,{strategy:l="referenceHidden",...u}=ca(e,n);switch(l){case"referenceHidden":{const h=await r.detectOverflow(n,{...u,elementContext:"reference"}),p=K1(h,i.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:Q1(p)}}}case"escaped":{const h=await r.detectOverflow(n,{...u,altBoundary:!0}),p=K1(h,i.floating);return{data:{escapedOffsets:p,escaped:Q1(p)}}}default:return{}}}}},Y2=new Set(["left","top"]);
17async function MR(e,n){const{placement:i,platform:r,elements:l}=e,u=await(r.isRTL==null?void 0:r.isRTL(l.floating)),h=Ha(i),p=Ns(i),m=zn(i)==="y",g=Y2.has(h)?-1:1,y=u&&m?-1:1,v=ca(n,e);let{mainAxis:b,crossAxis:A,alignmentAxis:T}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return p&&typeof T=="number"&&(A=p==="end"?T*-1:T),m?{x:A*y,y:b*g}:{x:b*g,y:A*y}}const OR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var i,r;const{x:l,y:u,placement:h,middlewareData:p}=n,m=await MR(n,e);return h===((i=p.offset)==null?void 0:i.placement)&&(r=p.arrow)!=null&&r.alignmentOffset?{}:{x:l+m.x,y:u+m.y,data:{...m,placement:h}}}}},DR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:i,y:r,placement:l,platform:u}=n,{mainAxis:h=!0,crossAxis:p=!1,limiter:m={fn:M=>{let{x:N,y:O}=M;return{x:N,y:O}}},...g}=ca(e,n),y={x:i,y:r},v=await u.detectOverflow(n,g),b=zn(l),A=Tp(b);let T=y[A],E=y[b];const C=(M,N)=>I2(N+v[M==="y"?"top":"left"],N,N-v[M==="y"?"bottom":"right"]);h&&(T=C(A,T)),p&&(E=C(b,E));const R=m.fn({...n,[A]:T,[b]:E});return{...R,data:{x:R.x-i,y:R.y-r,enabled:{[A]:h,[b]:p}}}}}},_R=function(e){return e===void 0&&(e={}),{options:e,fn(n){var i,r;const{x:l,y:u,placement:h,rects:p,middlewareData:m}=n,{offset:g=0,mainAxis:y=!0,crossAxis:v=!0}=ca(e,n),b={x:l,y:u},A=zn(h),T=Tp(A);let E=b[T],C=b[A];const R=ca(g,n),M=typeof R=="number"?{mainAxis:R,crossAxis:0}:{mainAxis:(i=R.mainAxis)!=null?i:0,crossAxis:(r=R.crossAxis)!=null?r:0};if(y){const z=T==="y"?"height":"width",P=p.reference[T]-p.floating[z]+M.mainAxis,H=p.reference[T]+p.reference[z]-M.mainAxis;E<P?E=P:E>H&&(E=H)}if(v){var N,O;const z=T==="y"?"width":"height",P=Y2.has(Ha(h)),H=p.reference[A]-p.floating[z]+(P&&((N=m.offset)==null?void 0:N[A])||0)+(P?0:M.crossAxis),L=p.reference[A]+p.reference[z]+(P?0:((O=m.offset)==null?void 0:O[A])||0)-(P?M.crossAxis:0);C<H?C=H:C>L&&(C=L)}return{[T]:E,[A]:C}}}},PR=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){const{placement:i,rects:r,platform:l,elements:u}=n,{apply:h=()=>{},...p}=ca(e,n),m=await l.detectOverflow(n,p),g=Ha(i),y=Ns(i),v=zn(i)==="y",{width:b,height:A}=r.floating;let T,E;g==="top"||g==="bottom"?(T=g,E=y===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(E=g,T=y==="end"?"top":"bottom");const C=A-m.top-m.bottom,R=b-m.left-m.right,M=Ua(A-m[T],C),N=Ua(b-m[E],R),O=n.middlewareData.shift,z=!O;let P=M,H=N;O!=null&&O.enabled.x&&(H=R),O!=null&&O.enabled.y&&(P=C),z&&!y&&(v?H=b-2*sa(m.left,m.right):P=A-2*sa(m.top,m.bottom)),await h({...n,availableWidth:H,availableHeight:P});const L=await l.getDimensions(u.floating);return b!==L.width||A!==L.height?{reset:{rects:!0}}:{}}}};function Pc(){return typeof window<"u"}function Ms(e){return W2(e)?(e.nodeName||"").toLowerCase():"#document"}function Ft(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function ua(e){var n;return(n=(W2(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function W2(e){return Pc()?e instanceof Node||e instanceof Ft(e).Node:!1}function Un(e){return Pc()?e instanceof Element||e instanceof Ft(e).Element:!1}function Ga(e){return Pc()?e instanceof HTMLElement||e instanceof Ft(e).HTMLElement:!1}function $1(e){return!Pc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ft(e).ShadowRoot}function Lc(e){const{overflow:n,overflowX:i,overflowY:r,display:l}=Hn(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+i)&&l!=="inline"&&l!=="contents"}function LR(e){return/^(table|td|th)$/.test(Ms(e))}function Vc(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const VR=/transform|translate|scale|rotate|perspective|filter/,zR=/paint|layout|strict|content/,hi=e=>!!e&&e!=="none";let Rh;function Ep(e){const n=Un(e)?Hn(e):e;return hi(n.transform)||hi(n.translate)||hi(n.scale)||hi(n.rotate)||hi(n.perspective)||!jp()&&(hi(n.backdropFilter)||hi(n.filter))||VR.test(n.willChange||"")||zR.test(n.contain||"")}function BR(e){let n=Ti(e);for(;Ga(n)&&!eo(n);){if(Ep(n))return n;if(Vc(n))return null;n=Ti(n)}return null}function jp(){return Rh==null&&(Rh=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Rh}function eo(e){return/^(html|body|#document)$/.test(Ms(e))}function Hn(e){return Ft(e).getComputedStyle(e)}function zc(e){return Un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ti(e){if(Ms(e)==="html")return e;const n=e.assignedSlot||e.parentNode||$1(e)&&e.host||ua(e);return $1(n)?n.host:n}function X2(e){const n=Ti(e);return eo(n)?(e.ownerDocument||e).body:Ga(n)&&Lc(n)?n:X2(n)}function to(e,n,i){var r;n===void 0&&(n=[]),i===void 0&&(i=!0);const l=X2(e),u=l===((r=e.ownerDocument)==null?void 0:r.body),h=Ft(l);
17if(u){const p=xf(h);return n.concat(h,h.visualViewport||[],Lc(l)?l:[],p&&i?to(p):[])}else return n.concat(l,to(l,[],i))}function xf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function K2(e){const n=Hn(e);let i=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Ga(e),u=l?e.offsetWidth:i,h=l?e.offsetHeight:r,p=gc(i)!==u||gc(r)!==h;return p&&(i=u,r=h),{width:i,height:r,$:p}}function Cp(e){return Un(e)?e:e.contextElement}function vs(e){const n=Cp(e);if(!Ga(n))return ra(1);const i=n.getBoundingClientRect(),{width:r,height:l,$:u}=K2(n);let h=(u?gc(i.width):i.width)/r,p=(u?gc(i.height):i.height)/l;return(!h||!Number.isFinite(h))&&(h=1),(!p||!Number.isFinite(p))&&(p=1),{x:h,y:p}}const UR=ra(0);function Q2(e){const n=Ft(e);return!jp()||!n.visualViewport?UR:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function HR(e,n,i){return n===void 0&&(n=!1),!!i&&n&&i===Ft(e)}function Si(e,n,i,r){n===void 0&&(n=!1),i===void 0&&(i=!1);const l=e.getBoundingClientRect(),u=Cp(e);let h=ra(1);n&&(r?Un(r)&&(h=vs(r)):h=vs(e));const p=HR(u,i,r)?Q2(u):ra(0);let m=(l.left+p.x)/h.x,g=(l.top+p.y)/h.y,y=l.width/h.x,v=l.height/h.y;if(u&&r){const b=Ft(u),A=Un(r)?Ft(r):r;let T=b,E=xf(T);for(;E&&A!==T;){const C=vs(E),R=E.getBoundingClientRect(),M=Hn(E),N=R.left+(E.clientLeft+parseFloat(M.paddingLeft))*C.x,O=R.top+(E.clientTop+parseFloat(M.paddingTop))*C.y;m*=C.x,g*=C.y,y*=C.x,v*=C.y,m+=N,g+=O,T=Ft(E),E=xf(T)}}return vc({width:y,height:v,x:m,y:g})}function Bc(e,n){const i=zc(e).scrollLeft;return n?n.left+i:Si(ua(e)).left+i}function $2(e,n){const i=e.getBoundingClientRect(),r=i.left+n.scrollLeft-Bc(e,i),l=i.top+n.scrollTop;return{x:r,y:l}}function FR(e){let{elements:n,rect:i,offsetParent:r,strategy:l}=e;const u=l==="fixed",h=ua(r),p=n?Vc(n.floating):!1;if(r===h||p&&u)return i;let m={scrollLeft:0,scrollTop:0},g=ra(1);const y=ra(0),v=Ga(r);if((v||!u)&&((Ms(r)!=="body"||Lc(h))&&(m=zc(r)),v)){const A=Si(r);g=vs(r),y.x=A.x+r.clientLeft,y.y=A.y+r.clientTop}const b=h&&!v&&!u?$2(h,m):ra(0);return{width:i.width*g.x,height:i.height*g.y,x:i.x*g.x-m.scrollLeft*g.x+y.x+b.x,y:i.y*g.y-m.scrollTop*g.y+y.y+b.y}}function qR(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function IR(e){const n=zc(e),i=e.ownerDocument.body,r=sa(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=sa(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let u=-n.scrollLeft+Bc(e);const h=-n.scrollTop;return Hn(i).direction==="rtl"&&(u+=sa(e.clientWidth,i.clientWidth)-r),{width:r,height:l,x:u,y:h}}const GR=25;function YR(e,n,i){i===void 0&&(i="viewport");
17const r=i==="layoutViewport",l=Ft(e),u=ua(e),h=l.visualViewport;let p=u.clientWidth,m=u.clientHeight,g=0,y=0;if(h){const b=!jp()||n==="fixed";r?b||(g=-h.offsetLeft,y=-h.offsetTop):(p=h.width,m=h.height,b&&(g=h.offsetLeft,y=h.offsetTop))}if(Bc(u)<=0){const b=u.ownerDocument,A=b.body,T=getComputedStyle(A),E=b.compatMode==="CSS1Compat"&&parseFloat(T.marginLeft)+parseFloat(T.marginRight)||0,C=Math.abs(u.clientWidth-A.clientWidth-E),R=getComputedStyle(u).scrollbarGutter==="stable both-edges"?C/2:C;R<=GR&&(p-=R)}return{width:p,height:m,x:g,y}}function WR(e,n){const i=Si(e,!0,n==="fixed"),r=i.top+e.clientTop,l=i.left+e.clientLeft,u=vs(e),h=e.clientWidth*u.x,p=e.clientHeight*u.y,m=l*u.x,g=r*u.y;return{width:h,height:p,x:m,y:g}}function Z1(e,n,i){let r;if(n==="viewport"||n==="layoutViewport")r=YR(e,i,n);else if(n==="document")r=IR(ua(e));else if(Un(n))r=WR(n,i);else{const l=Q2(e);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return vc(r)}function XR(e,n){const i=n.get(e);if(i)return i;let r=to(e,[],!1).filter(p=>Un(p)&&Ms(p)!=="body"),l=null;const u=Hn(e).position==="fixed";let h=u?Ti(e):e;for(;Un(h)&&!eo(h);){const p=Hn(h),m=Ep(h),g=l?l.position:u?"fixed":"";!m&&(g==="fixed"||g==="absolute"&&p.position==="static")?r=r.filter(v=>v!==h):l=p,h=Ti(h)}return n.set(e,r),r}function KR(e){let{element:n,boundary:i,rootBoundary:r,strategy:l}=e;const h=[...i==="clippingAncestors"?Vc(n)?[]:XR(n,this._c):[].concat(i),r],p=Z1(n,h[0],l);let m=p.top,g=p.right,y=p.bottom,v=p.left;for(let b=1;b<h.length;b++){const A=Z1(n,h[b],l);m=sa(A.top,m),g=Ua(A.right,g),y=Ua(A.bottom,y),v=sa(A.left,v)}return{width:g-v,height:y-m,x:v,y:m}}function QR(e){const{width:n,height:i}=K2(e);return{width:n,height:i}}function $R(e,n,i){const r=Ga(n),l=ua(n),u=i==="fixed",h=Si(e,!0,u,n);let p={scrollLeft:0,scrollTop:0};const m=ra(0);if((r||!u)&&((Ms(n)!=="body"||Lc(l))&&(p=zc(n)),r)){const b=Si(n,!0,u,n);m.x=b.x+n.clientLeft,m.y=b.y+n.clientTop}!r&&l&&(m.x=Bc(l));const g=l&&!r&&!u?$2(l,p):ra(0),y=h.left+p.scrollLeft-m.x-g.x,v=h.top+p.scrollTop-m.y-g.y;return{x:y,y:v,width:h.width,height:h.height}}function kh(e){return Hn(e).position==="static"}function J1(e,n){if(!Ga(e)||Hn(e).position==="fixed")return null;if(n)return n(e);let i=e.offsetParent;return ua(e)===i&&(i=i.ownerDocument.body),i}function Z2(e,n){const i=Ft(e);if(Vc(e))return i;if(!Ga(e)){let l=Ti(e);for(;l&&!eo(l);){if(Un(l)&&!kh(l))return l;l=Ti(l)}return i}let r=J1(e,n);for(;r&&LR(r)&&kh(r);)r=J1(r,n);return r&&eo(r)&&kh(r)&&!Ep(r)?i:r||BR(e)||i}const ZR=async function(e){const n=this.getOffsetParent||Z2,i=this.getDimensions,r=await i(e.floating);return{reference:$R(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function JR(e){return Hn(e).direction==="rtl"}const ek={convertOffsetParentRelativeRectToViewportRelativeRect:FR,getDocumentElement:ua,getClippingRect:KR,getOffsetParent:Z2,getElementRects:ZR,getClientRects:qR,getDimensions:QR,getScale:vs,isElement:Un,isRTL:JR};function J2(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function tk(e,n,i){let r=null,l;const u=ua(e);function h(){var y;clearTimeout(l),(y=r)==null||y.disconnect(),r=null}function p(y,v){y===void 0&&(y=!1),v===void 0&&(v=1),h();const b=e.getBoundingClientRect(),{left:A,top:T,width:E,height:C}=b;if(y||n(),!E||!C)return;const R=Ul(T),M=Ul(u.clientWidth-(A+E)),N=Ul(u.clientHeight-(T+C)),O=Ul(A),P={rootMargin:-R+"px "+-M+"px "+-N+"px "+-O+"px",threshold:sa(0,Ua(1,v))||1};let H=!0;function L(I){const Z=I[0].intersectionRatio;if(!J2(b,e.getBoundingClientRect()))return p();if(Z!==v){if(!H)return p();Z?p(!1,Z):l=setTimeout(()=>{p(!1,1e-7)},1e3)}H=!1}try{r=new IntersectionObserver(L,{...P,root:u.ownerDocument})}catch{r=new IntersectionObserver(L,P)}r.observe(e)}const m=Ft(e),g=()=>p(i);return m.addEventListener("resize",g),p(!0),()=>{m.removeEventListener("resize",g),h()}}function nk(e,n,i,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:m=!1}=r,g=Cp(e),y=l||u?[...g?to(g):[],...n?to(n):[]]:[];
vendor: 4,116 bytes, line 17
17y.forEach(R=>{l&&R.addEventListener("scroll",i),u&&R.addEventListener("resize",i)});const v=g&&p?tk(g,i,u):null;let b=-1,A=null;h&&(A=new ResizeObserver(R=>{let[M]=R;M&&M.target===g&&A&&n&&(A.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var N;(N=A)==null||N.observe(n)})),i()}),g&&!m&&A.observe(g),n&&A.observe(n));let T,E=m?Si(e):null;m&&C();function C(){const R=Si(e);E&&!J2(E,R)&&i(),E=R,T=requestAnimationFrame(C)}return i(),()=>{var R;y.forEach(M=>{l&&M.removeEventListener("scroll",i),u&&M.removeEventListener("resize",i)}),v?.(),(R=A)==null||R.disconnect(),A=null,m&&cancelAnimationFrame(T)}}const ak=OR,ik=DR,sk=kR,rk=PR,ok=NR,eb=RR,lk=_R,ck=(e,n,i)=>{const r=new Map,l=i??{},u={...ek,...l.platform,_c:r};return CR(e,n,{...l,platform:u})};var uk=typeof document<"u",dk=function(){},nc=uk?x.useLayoutEffect:dk;function bc(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let i,r,l;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(i=e.length,i!==n.length)return!1;for(r=i;r--!==0;)if(!bc(e[r],n[r]))return!1;return!0}if(l=Object.keys(e),i=l.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!{}.hasOwnProperty.call(n,l[r]))return!1;for(r=i;r--!==0;){const u=l[r];if(!(u==="_owner"&&e.$$typeof)&&!bc(e[u],n[u]))return!1}return!0}return e!==e&&n!==n}function eT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tb(e,n){const i=eT(e);return Math.round(n*i)/i}function Nh(e){const n=x.useRef(e);return nc(()=>{n.current=e}),n}function hk(e){e===void 0&&(e={});const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:l,elements:{reference:u,floating:h}={},transform:p=!0,whileElementsMounted:m,open:g}=e,[y,v]=x.useState({x:0,y:0,strategy:i,placement:n,middlewareData:{},isPositioned:!1}),[b,A]=x.useState(r);bc(b,r)||A(r);const[T,E]=x.useState(null),[C,R]=x.useState(null),M=x.useCallback(G=>{G!==P.current&&(P.current=G,E(G))},[]),N=x.useCallback(G=>{G!==H.current&&(H.current=G,R(G))},[]),O=u||T,z=h||C,P=x.useRef(null),H=x.useRef(null),L=x.useRef(y),I=m!=null,Z=Nh(m),J=Nh(l),te=Nh(g),le=x.useCallback(()=>{if(!P.current||!H.current)return;const G={placement:n,strategy:i,middleware:b};J.current&&(G.platform=J.current),ck(P.current,H.current,G).then(ne=>{const j={...ne,isPositioned:te.current!==!1};he.current&&!bc(L.current,j)&&(L.current=j,Oc.flushSync(()=>{v(j)}))})},[b,n,i,J,te]);nc(()=>{g===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,v(G=>({...G,isPositioned:!1})))},[g]);const he=x.useRef(!1);nc(()=>(he.current=!0,()=>{he.current=!1}),[]),nc(()=>{if(O&&(P.current=O),z&&(H.current=z),O&&z){if(Z.current)return Z.current(O,z,le);le()}},[O,z,le,Z,I]);const ge=x.useMemo(()=>({reference:P,floating:H,setReference:M,setFloating:N}),[M,N]),D=x.useMemo(()=>({reference:O,floating:z}),[O,z]),Y=x.useMemo(()=>{const G={position:i,left:0,top:0};if(!D.floating)return G;const ne=tb(D.floating,y.x),j=tb(D.floating,y.y);return p?{...G,transform:"translate("+ne+"px, "+j+"px)",...eT(D.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:ne,top:j}},[i,p,D.floating,y.x,y.y]);return x.useMemo(()=>({...y,update:le,refs:ge,elements:D,floatingStyles:Y}),[y,le,ge,D,Y])}const fk=e=>{function n(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){const{element:r,padding:l}=typeof e=="function"?e(i):e;return r&&n(r)?r.current!=null?eb({element:r.current,padding:l}).fn(i):{}:r?eb({element:r,padding:l}).fn(i):{}}}},pk=(e,n)=>{const i=ak(e);return{name:i.name,fn:i.fn,options:[e,n]}},mk=(e,n)=>{const i=ik(e);return{name:i.name,fn:i.fn,options:[e,n]}},gk=(e,n)=>({fn:lk(e).fn,options:[e,n]}),yk=(e,n)=>{const i=sk(e);return{name:i.name,fn:i.fn,options:[e,n]}},vk=(e,n)=>{const i=rk(e);return{name:i.name,fn:i.fn,options:[e,n]}},bk=(e,n)=>{const i=ok(e);return{name:i.name,fn:i.fn,options:[e,n]}},wk=(e,n)=>{const i=fk(e);return{name:i.name,fn:i.fn,options:[e,n]}};var xk=Object.defineProperty,Tk=(e,n)=>xk(e,"name",{value:n,configurable:!0});function tT(e){const[n,i]=x.useState(void 0);return En(()=>
17{if(e){i({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let h,p;if("borderBoxSize"in u){const m=u.borderBoxSize,g=Array.isArray(m)?m[0]:m;h=g.inlineSize,p=g.blockSize}else h=e.offsetWidth,p=e.offsetHeight;i({width:h,height:p})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else i(void 0)},[e]),n}Tk(tT,"useSize");var Sk=Object.defineProperty,bs=(e,n)=>Sk(e,"name",{value:n,configurable:!0}),nT="Popper",[aT,iT]=ks(nT),[z9,Ak]=aT(nT),sT="PopperContent",[Ek,B9]=aT(sT),jk=x.forwardRef(bs(function(n,i){const{__scopePopper:r,side:l="bottom",sideOffset:u=0,align:h="center",alignOffset:p=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:y=[],collisionPadding:v=0,sticky:b="partial",hideWhenDetached:A=!1,updatePositionStrategy:T="optimized",onPlaced:E,...C}=n,R=Ak(sT,r),[M,N]=x.useState(null),O=en(i,N),[z,P]=x.useState(null),H=tT(z),L=H?.width??0,I=H?.height??0,Z=l+(h!=="center"?"-"+h:""),J=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},te=Array.isArray(y)?y:[y],le=te.length>0,he={padding:J,boundary:te.filter(rT),altBoundary:le},{refs:ge,floatingStyles:D,placement:Y,isPositioned:G,middlewareData:ne}=hk({strategy:"fixed",placement:Z,whileElementsMounted:bs((...se)=>nk(...se,{animationFrame:T==="always"}),"whileElementsMounted"),elements:{reference:R.anchor},middleware:[pk({mainAxis:u+I,alignmentAxis:p}),g&&mk({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?gk():void 0,...he}),g&&yk({...he}),vk({...he,apply:bs(({elements:se,rects:Ie,availableWidth:Ge,availableHeight:De})=>{const{width:yt,height:ct}=Ie.reference,yn=se.floating.style;yn.setProperty("--radix-popper-available-width",`${Ge}px`),yn.setProperty("--radix-popper-available-height",`${De}px`),yn.setProperty("--radix-popper-anchor-width",`${yt}px`),yn.setProperty("--radix-popper-anchor-height",`${ct}px`)},"apply")}),z&&wk({element:z,padding:m}),Ck({arrowWidth:L,arrowHeight:I}),A&&bk({strategy:"referenceHidden",...he,boundary:le?he.boundary:void 0})]}),j=R.setPlacementState;En(()=>(j(Y),()=>{j(void 0)}),[Y,j]);const[W,ae]=Rp(Y),ee=oa(E);En(()=>{G&&ee?.()},[G,ee]);const oe=ne.arrow?.x,ce=ne.arrow?.y,re=ne.arrow?.centerOffset!==0,[fe,Q]=x.useState();return En(()=>{M&&Q(window.getComputedStyle(M).zIndex)},[M]),c.jsx("div",{ref:ge.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:G?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[ne.transformOrigin?.x,ne.transformOrigin?.y].join(" "),...ne.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:c.jsx(Ek,{scope:r,placedSide:W,placedAlign:ae,onArrowChange:P,arrowX:oe,arrowY:ce,shouldHideArrow:re,children:c.jsx(kn.div,{"data-side":W,"data-align":ae,...C,ref:O,style:{...C.style,animation:G?C.style?.animation:"none"}})})})},"PopperContent"));function rT(e){return e!==null}bs(rT,"isNotNull");var Ck=bs(e=>({name:"transformOrigin",options:e,fn(n){const{placement:i,rects:r,middlewareData:l}=n,h=l.arrow?.centerOffset!==0,p=h?0:e.arrowWidth,m=h?0:e.arrowHeight,[g,y]=Rp(i),v={start:"0%",center:"50%",end:"100%"}[y],b=(l.arrow?.x??0)+p/2,A=(l.arrow?.y??0)+m/2;let T="",E="";return g==="bottom"?(T=h?v:`${b}px`,E=`${-m}px`):g==="top"?(T=h?v:`${b}px`,E=`${r.floating.height+m}px`):g==="right"?(T=`${-m}px`,E=h?v:`${A}px`):g==="left"&&(T=`${r.floating.width+m}px`,E=h?v:`${A}px`),{data:{x:T,y:E}}}}),"transformOrigin");function Rp(e){const[n,i="center"]=e.split("-");return[n,i]}bs(Rp,"getSideAndAlignFromPlacement");var Rk=jk,kk=Object.defineProperty,Ot=(e,n)=>kk(e,"name",{value:n,configurable:!0}),[kp,U9]=ks("Tooltip",[iT]),Nk=iT(),Mk="TooltipProvider",Ok=700,nb="tooltip.open",[Dk,_k]=kp(Mk),Pk=Ot(e=>{const{__scopeTooltip:n,delayDuration:i=Ok,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:u}=e,h=x.useRef(!0),p=x.useRef(!1),m=x.useRef(0);return x.useEffect(()=>{const g=m.current;return()=>window.clearTimeout(g)},[]),c.jsx(Dk,{scope:n,isOpenDelayedRef:h,delayDuration:i,onOpen:x.useCallback(()=>{r<=0||(window.clearTimeout(m.current),h.current=!1)},[r]),onClose:x.useCallback(()=>{r<=0||(window.clearTimeout(m.current),m.current=window.setTimeout(()=>h.current=!0,r))},[r]),isPointerInTransitRef:p,onPointerInTransitChange:x.useCallback(g=>{p.current=g},[]),disableHoverableContent:l,children:u})},"TooltipProvider"),Lk="Tooltip",[H9,Uc]=kp(Lk),oT="TooltipPortal",[Vk,zk]=kp(oT,{forceMount:void 0}),Bk=Ot(e=>{const{__scopeTooltip:n,forceMount:i,children:r,container:l}=e,u=Uc(oT,n);return c.jsx(Vk,{scope:n,forceMount:i,children:c.jsx(gp,{present:i||u.open,children:c.jsx(e2,{asChild:!0,container:l,children:r})})})},"TooltipPortal"),no="TooltipContent",Uk=x.forwardRef(Ot(function(n,i){const r=zk(no,n.__scopeTooltip),{forceMount:l=r.forceMount,side:u="top",...h}=n,p=Uc(no,n.__scopeTooltip);return c.jsx(gp,{present:l||p.open,children:p.disableHoverableContent?c.jsx(lT,{side:u,...h,ref:i}):c.jsx(Hk,{side:u,...h,ref:i})})},"TooltipContent")),Hk=x.forwardRef(Ot(function(n,i){const r=Uc(no,n.__scopeTooltip),l=_k(no,n.__scopeTooltip),u=x.useRef(null),h=en(i,u),[p,m]=x.useState(null),{trigger:g,onClose:y}=r,v=u.current,{onPointerInTransitChange:b}=l,A=x.useCallback(()=>{m(null),b(!1)},[b]),T=x.useCallback((E,C)=>{const R=E.currentTarget,M={x:E.clientX,y:E.clientY},N=cT(M,R.getBoundingClientRect()),O=uT(M,N),z=dT(C.getBoundingClientRect()),P=fT([...O,...z]);m(P),b(!0)},[b]);return x.useEffect(()=>()=>A(),[A]),x.useEffect(()=>{if(g&&v){const E=Ot(R=>T(R,v),"handleTriggerLeave"),C=Ot(R=>T(R,g),"handleContentLeave");return g.addEventListener("pointerleave",E),v.addEventListener("pointerleave",C),()=>{g.removeEventListener("pointerleave",E),v.removeEventListener("pointerleave",C)}}},[g,v,T,A]),x.useEffect(()=>{if(p){const E=Ot(C=>{const R=C.target,M={x:C.clientX,y:C.clientY},N=g?.contains(R)||v?.contains(R),O=!hT(M,p);N?A():O&&(A(),y())},"handleTrackPointerGrace");return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[g,v,p,y,A]),c.jsx(lT,{...n,ref:h})},"TooltipContentHoverable")),Fk=Hx("TooltipContent"),lT=x.forwardRef(Ot(function(n,i){const{__scopeTooltip:r,children:l,"aria-label":u,id:h,onEscapeKeyDown:p,onPointerDownOutside:m,...g}=n,y=Uc(no,r),v=Nk(r),{onClose:b}=y;x.useEffect(()=>(document.addEventListener(nb,b),()=>document.removeEventListener(nb,b)),[b]),x.useEffect(()=>{if(y.trigger){const T=Ot(E=>{E.target instanceof Node&&E.target.contains(y.trigger)&&b()},"handleScroll");return window.addEventListener("scroll",T,{capture:!0}),()=>window.removeEventListener("scroll",T,{capture:!0})}},[y.trigger,b]);const{setContentId:A}=y;return En(()=>(A(h),()=>{A(void 0)}),[h,A]),c.jsx($x,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:T=>T.preventDefault(),onDismiss:b,children:c.jsxs(Rk,{"data-state":y.stateAttribute,role:u?void 0:"tooltip",id:u?void 0:y.contentId,...v,...g,ref:i,style:{...g.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(Fk,{children:l}),u?c.jsx(Ij,{id:y.contentId,role:"tooltip",children:u}):null]})})},"TooltipContentImpl"));function cT(e,n){const i=Math.abs(n.top-e.y),r=Math.abs(n.bottom-e.y),l=Math.abs(n.right-e.x),u=Math.abs(n.left-e.x);switch(Math.min(i,r,l,u)){case u:return"left";case l:return"right";case i:return"top";case r:return"bottom";default:throw new Error("unreachable")}}Ot(cT,"getExitSideFromRect");function uT(e,n,i=5){const r=[];switch(n){case"top":r.push({x:e.x-i,y:e.y+i},{x:e.x+i,y:e.y+i});break;case"bottom":r.push({x:e.x-i,y:e.y-i},{x:e.x+i,y:e.y-i});break;case"left":r.push({x:e.x+i,y:e.y-i},{x:e.x+i,y:e.y+i});break;case"right":r.push({x:e.x-i,y:e.y-i},{x:e.x-i,y:e.y+i});break}return r}Ot(uT,"getPaddedExitPoints");
17function dT(e){const{top:n,right:i,bottom:r,left:l}=e;return[{x:l,y:n},{x:i,y:n},{x:i,y:r},{x:l,y:r}]}Ot(dT,"getPointsFromRect");function hT(e,n){const{x:i,y:r}=e;let l=!1;for(let u=0,h=n.length-1;u<n.length;h=u++){const p=n[u],m=n[h],g=p.x,y=p.y,v=m.x,b=m.y;y>r!=b>r&&i<(v-g)*(r-y)/(b-y)+g&&(l=!l)}return l}Ot(hT,"isPointInPolygon");function fT(e){const n=e.slice();return n.sort((i,r)=>i.x<r.x?-1:i.x>r.x?1:i.y<r.y?-1:i.y>r.y?1:0),pT(n)}Ot(fT,"getHull");function pT(e){if(e.length<=1)return e.slice();const n=[];for(let r=0;r<e.length;r++){const l=e[r];for(;n.length>=2;){const u=n[n.length-1],h=n[n.length-2];if((u.x-h.x)*(l.y-h.y)>=(u.y-h.y)*(l.x-h.x))n.pop();else break}n.push(l)}n.pop();const i=[];for(let r=e.length-1;r>=0;r--){const l=e[r];for(;i.length>=2;){const u=i[i.length-1],h=i[i.length-2];if((u.x-h.x)*(l.y-h.y)>=(u.y-h.y)*(l.x-h.x))i.pop();else break}i.push(l)}return i.pop(),n.length===1&&i.length===1&&n[0].x===i[0].x&&n[0].y===i[0].y?n:n.concat(i)}Ot(pT,"getHullPresorted");var qk=Pk,Ik=Bk,mT=Uk;const Gk=qk,Yk=x.forwardRef(({className:e,sideOffset:n=4,...i},r)=>c.jsx(Ik,{children:c.jsx(mT,{ref:r,sideOffset:n,className:tn("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...i})}));Yk.displayName=mT.displayName;const gT=x.forwardRef(({className:e,...n},i)=>c.jsx("div",{ref:i,className:tn("rounded-xl border bg-card text-card-foreground shadow",e),...n}));gT.displayName="Card";const Wk=x.forwardRef(({className:e,...n},i)=>c.jsx("div",{ref:i,className:tn("flex flex-col space-y-1.5 p-6",e),...n}));Wk.displayName="CardHeader";const Xk=x.forwardRef(({className:e,...n},i)=>c.jsx("div",{ref:i,className:tn("font-semibold leading-none tracking-tight",e),...n}));Xk.displayName="CardTitle";const Kk=x.forwardRef(({className:e,...n},i)=>c.jsx("div",{ref:i,className:tn("text-sm text-muted-foreground",e),...n}));Kk.displayName="CardDescription";const yT=x.forwardRef(({className:e,...n},i)=>c.jsx("div",{ref:i,className:tn("p-6 pt-0",e),...n}));yT.displayName="CardContent";const Qk=x.forwardRef(({className:e,...n},i)=>c.jsx("div",{ref:i,className:tn("flex items-center p-6 pt-0",e),...n}));Qk.displayName="CardFooter";function vT(){return c.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:c.jsx(gT,{className:"w-full max-w-md mx-4",children:c.jsxs(yT,{className:"pt-6",children:[c.jsxs("div",{className:"flex mb-4 gap-2",children:[c.jsx($3,{className:"h-8 w-8 text-red-500"}),c.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),c.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}var bT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ab=Va.createContext&&Va.createContext(bT),$k=["attr","size","title"];function Zk(e,n){if(e==null)return{};var i,r,l=Jk(e,n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r<u.length;r++)i=u[r],n.indexOf(i)===-1&&{}.propertyIsEnumerable.call(e,i)&&(l[i]=e[i])}return l}function Jk(e,n){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.indexOf(r)!==-1)continue;i[r]=e[r]}return i}function wc(){return wc=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},wc.apply(null,arguments)}function ib(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),i.push.apply(i,r)}return i}function xc(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};
vendor: 5,271 bytes, line 17
17n%2?ib(Object(i),!0).forEach(function(r){eN(e,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ib(Object(i)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))})}return e}function eN(e,n,i){return(n=tN(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function tN(e){var n=nN(e,"string");return typeof n=="symbol"?n:n+""}function nN(e,n){if(typeof e!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,n);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function wT(e){return e&&e.map((n,i)=>Va.createElement(n.tag,xc({key:i},n.attr),wT(n.child)))}function nn(e){return n=>Va.createElement(aN,wc({attr:xc({},e.attr)},n),wT(e.child))}function aN(e){var n=i=>{var r=e.attr,l=e.size,u=e.title,h=Zk(e,$k),p=l||i.size||"1em",m;return i.className&&(m=i.className),e.className&&(m=(m?m+" ":"")+e.className),Va.createElement("svg",wc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,r,h,{className:m,style:xc(xc({color:e.color||i.color},i.style),e.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),u&&Va.createElement("title",null,u),e.children)};return ab!==void 0?Va.createElement(ab.Consumer,null,i=>n(i)):n(bT)}function iN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"},child:[]}]})(e)}function sN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M0 2.8645v4.9972c0 1.8834 1.3315 3.1297 3.0835 3.1297a2.9652 2.9652 0 0 0 2.1502-.876v.7425H6.445V2.8645H5.223v4.9339c0 1.2642-.8696 2.1198-1.9954 2.122-1.1386-.0023-1.997-.834-1.997-2.122V2.8645zm7.3625 0v7.9934h1.163v-.7318a2.9915 2.9915 0 0 0 2.1177.876c1.714.048 3.1295-1.3283 3.1295-3.0429s-1.4155-3.091-3.1295-3.0429a2.9674 2.9674 0 0 0-2.107.876V2.8645zm9.8857 2.0561c-1.6752-.0074-3.0369 1.3492-3.0356 3.0245 0 1.7366 1.3732 3.0373 3.1537 3.0373a3.123 3.123 0 0 0 2.5578-1.2438l-.8495-.6177a2.0498 2.0498 0 0 1-1.7083.8585c-.9763.0126-1.8147-.6915-1.971-1.6553h4.818v-.379c0-1.734-1.254-3.0238-2.9638-3.0245zm6.1632.0667a1.5943 1.5943 0 0 0-1.376.7657v-.7186h-1.163v5.8235h1.1741V7.5465c0-.9023.5581-1.4847 1.3268-1.4847h.4949V4.9886c-.1576.0013-.3186-.0009-.4568-.0013zm-6.2034.944a1.844 1.844 0 0 1 1.8337 1.486H15.424a1.844 1.844 0 0 1 1.784-1.486zm-6.6589.0056c1.1223-.0084 2.0365.8992 2.0364 2.0215-.0026 1.1203-.914 2.0258-2.0343 2.021a2.0151 2.0151 0 0 1-1.4159-.5987A2.0152 2.0152 0 0 1 8.55 7.9592a2.0152 2.0152 0 0 1 .5838-1.422 2.0152 2.0152 0 0 1 1.4153-.6003zM0 12.9864v7.9716h5.7222v-1.3666H1.5458v-1.971h4.0647v-1.314H1.5458v-1.9556h4.1764v-1.3644zm14.5608.4097v1.6861h-1.1519v1.338h1.1545v3.143c0 .7927.5712 1.4209 1.6005 1.4209h1.6425L17.8 19.646h-1.1412c-.3482 0-.5714-.1509-.5714-.464v-2.7683H17.8v-1.3316h-1.7062v-1.686zm-5.2974 1.5275c-1.7348-.0103-3.141 1.4035-3.1214 3.1382.0196 1.7346 1.4575 3.1163 3.1915 3.0668a2.9915 2.9915 0 0 0 1.912-.6655v.532h1.5175v-5.9129h-1.509v.5257a3.0047 3.0047 0 0 0-1.9205-.6835c-.0244-.0007-.0492-.0006-.0701-.0008zm11.771.0077c-1.5855 0-2.7002.6437-2.7002 1.8854 0 .8607.6132 1.4213 1.936 1.695l1.4478.3286c.5694.1095.7224.2585.7224.4906 0 .3701-.438.6022-1.1279.6022-.876 0-1.3774-.1907-1.5723-.8477h-1.533c.219 1.2307 1.1563 2.05 3.0484 2.05h.0022c1.752 0 2.7422-.819 2.7422-1.9534 0-.8059-.5847-1.4084-1.8089-1.6668l-1.2943-.2605c-.7511-.1358-.988-.2738-.988-.5454 0-.357.3616-.5757 1.0295-.5757.7227 0 1.2527.1925 1.406.8473h1.5175c-.0854-1.2286-.9899-2.0497-2.8273-2.0497zM9.467 16.1815c1.0092.0096 1.8188.8369 1.8067 1.8461.0014 1.0046-.8198 1.816-1.8243 1.8025-1.0075-.0048-1.8203-.8256-1.8155-1.833.0048-1.0076.8255-1.8204 1.833-1.8156z"},child:[]}]})(e)}function rN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
17-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},child:[]}]})(e)}function oN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.621 8.7913c-1.0182 0-2.0126.3081-2.0126 1.3264 0 1.7523 3.0784.8285 3.0784 1.8941 0 .3552-.5446.4976-.9709.4976-.7814 0-1.3499-.1186-2.0366-.5212v.8764c.521.1657 1.208.2602 1.9894.2602 1.0656 0 2.0602-.2841 2.0602-1.3024 0-1.847-3.0787-1.0182-3.0787-1.9181 0-.3552.4974-.4972.9236-.4972.7341 0 1.5155.2131 1.9418.6157v-.9473h-.0473c-.5446-.1657-1.3026-.2842-1.8472-.2842zm9.7329 0c-1.6103.0237-2.7233.9236-2.7233 2.226 0 1.255 1.0184 2.1075 2.5103 2.1075 1.5865 0 2.6996-.8996 2.6996-2.202 0-1.2787-.9948-2.1315-2.4866-2.1315zm-4.31.024c-1.847 0-3.0547.8758-3.0547 2.2256 0 1.2314 1.1132 2.0603 2.7945 2.0603.5447 0 1.018-.071 1.5863-.213V11.846c-.4026.4262-.876.592-1.397.592-.9945 0-1.6578-.6154-1.6578-1.5153 0-.8762.7106-1.5157 1.6815-1.5157.5447 0 .9709.1893 1.3024.5208v-.9945c-.3552-.0947-.8052-.1181-1.2551-.1181zM.16 8.9334v.9945c.3552-.2605 1.0658-.3787 1.8472-.3787v2.6996c0 .4026-.0239.4971-.2133.7103h1.563c-.1658-.2132-.213-.3314-.213-.7103V9.5256h.0472c.6868 0 1.4917.1182 1.847.4023v-.9945zm5.3044 0c.1657.2131.1894.3318.1894.7107v2.6047c0 .4026-.0237.5208-.1894.7103h3.7654v-.971c-.521.379-1.492.3793-1.8945.3556h-.545v-1.113h.4028c.2842 0 .7576.0234 1.0418.1181v-.8287c-.2842.0947-.7813.1185-1.0418.1185h-.4027V9.5728h.5449c.4973 0 1.3496.095 1.6575.3791V8.9334zm15.7474.4973c.8288 0 1.3737.6869 1.3737 1.5394.0236.8288-.5212 1.5153-1.35 1.5153-.8525 0-1.397-.6865-1.397-1.5153 0-.8525.5445-1.5394 1.3733-1.5394zm-19.3703 4.689c-.4973 0-.8763.2602-1.0658.4496 0 0-.45.45-.7578.6158-.0237 0-.0237.0236 0 .0236h2.7945c.5446 0 .805-.1895 1.1366-.4736 0 0 .4736-.4497.8288-.5918.0236 0 .0236-.0236 0-.0236zm4.8068 0c-.4973 0-.876.2602-1.0418.4496 0 0-.45.45-.7579.6158-.0236 0-.0236.0236 0 .0236H7.643c.5447 0 .8051-.1895 1.1367-.4736 0 0 .4736-.4497.8051-.5918.0237 0 .0237-.0236 0-.0236zm4.7835 0c-.4736 0-.8523.2602-1.0418.4496 0 0-.45.45-.7578.6158-.0237 0-.0237.0236 0 .0236h2.794c.5447 0 .8056-.1895 1.1371-.4736 0 0 .4736-.4497.8051-.5918.0237 0 .0237-.0236 0-.0236zm4.8071 0c-.4736 0-.8523.2602-1.0417.4496 0 0-.45.45-.7579.6158-.0237 0-.0237.0236 0 .0236h2.7941c.5447 0 .8051-.1895 1.1367-.4736 0 0 .4736-.4497.805-.5918.0238 0 .0238-.0236 0-.0236zm4.8072 0c-.4736 0-.8523.2602-1.0654.4496 0 0-.45.45-.7579.6158-.0237 0-.0237.0236 0 .0236h2.8178c.5446 0 .805-.1895 1.1366-.4736 0 0 .4736-.4497.8051-.5918.0237 0 .0237-.0236 0-.0236z"},child:[]}]})(e)}function lN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.0005 0C18.627 0 24 5.373 24 12.0005 24 18.627 18.627 24 11.9995 24 5.373 24 0 18.627 0 11.9995 0 5.373 5.373 0 12.0005 0zm0 19.826a7.8265 7.8265 0 10-.001-15.652C7.7133 4.2246 4.2653 7.7136 4.2653 12c0 4.2864 3.448 7.7754 7.7342 7.826h.001zm0-3.9853a3.8402 3.8402 0 110-7.6803c2.1204.0006 3.839 1.7197 3.839 3.8401s-1.7186 3.8396-3.839 3.8402z"},child:[]}]})(e)}function cN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M15.337 23.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914 21.104h.023zM11.71 11.305s-.81-.424-1.774-.424c-1.447 0-1.504.906-1.504 1.141 0 1.232 3.24 1.715 3.24 4.629 0 2.295-1.44 3.76-3.406 3.76-2.354 0-3.54-1.465-3.54-1.465l.646-2.086s1.245 1.066 2.28 1.066c.675 0 .975-.545.975-.932 0-1.619-2.654-1.694-2.654-4.359-.034-2.237 1.571-4.416 4.827-4.416 1.257 0 1.875.361 1.875.361l-.945 2.715-.02.01zM11.17.83c.136 0 .271.038.405.135-.984.465-2.064 1.639-2.508 3.992-.656.213-1.293.405-1.889.578C7.697 3.75 8.951.84 11.17.84V.83zm1.235 2.949v.135c-.754.232-1.583.484-2.394.736.466-1.777 1.333-2.645 2.085-2.971.193.501.309 1.176.309 2.1zm.539-2.234c.694.074 1.141.867 1.429 1.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992 1.289c-.02 0-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.
17176-2.37-2.508-2.37h-.115C12.135.209 11.669 0 11.265 0 8.159 0 6.675 3.877 6.21 5.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83 14.063-1.83 14.063L15.009 24l.927-21.166z"},child:[]}]})(e)}function uN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M15.014 3.713a18.383 18.383 0 0 0-1.626.084c-.816.082-1.714.245-2.53.408l.57 6.368.246 1.96.654 6.857 1.55-.083 1.796-.162v-.082l-.408-4.081v-.573a19.201 19.201 0 0 0 2.04-.408 10.164 10.164 0 0 0 1.633-.816 5.257 5.257 0 0 0 1.714-2.041 6.53 6.53 0 0 0 .409-2.774 4.751 4.751 0 0 0-2.858-4.082 7.347 7.347 0 0 0-2.694-.572 18.383 18.383 0 0 0-.496-.003zm-10.775.98a18.383 18.383 0 0 0-1.626.085A14.026 14.026 0 0 0 0 5.105l.572 6.366.163 1.96.654 6.857 1.551-.082 1.795-.164-.327-4.081v-.571a19.197 19.197 0 0 0 2.041-.408 10.164 10.164 0 0 0 1.633-.817 5.257 5.257 0 0 0 1.714-2.04 5.967 5.967 0 0 0 .408-2.695A4.653 4.653 0 0 0 7.43 5.267a7.347 7.347 0 0 0-2.695-.57 18.383 18.383 0 0 0-.496-.004zM15.1 6.731a1.233 1.233 0 0 1 .085.006 3.265 3.265 0 0 1 1.468.325 2.065 2.065 0 0 1 1.062 1.633 2.596 2.596 0 0 1-.164 1.143 1.861 1.861 0 0 1-.571.817 2.449 2.449 0 0 1-1.306.572 1.78 1.78 0 0 1-.653.081l-.409-4.49a1.233 1.233 0 0 1 .488-.087zm-10.942.98a1.233 1.233 0 0 1 .17.005 3.265 3.265 0 0 1 1.47.327 2.065 2.065 0 0 1 1.06 1.633 4.947 4.947 0 0 1-.163 1.143 1.861 1.861 0 0 1-.573.816 2.449 2.449 0 0 1-1.305.57 1.78 1.78 0 0 1-.653.082l-.408-4.49a1.233 1.233 0 0 1 .402-.086zm17.801 7.27A2.04 2.04 0 1 0 24 17.023a2.04 2.04 0 0 0-2.04-2.04z"},child:[]}]})(e)}function dN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"},child:[]}]})(e)}function hN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M15.629 9.619c1.421 1.429 2.58 3.766 1.917 5.152-1.778 3.715-15.04 10.226-16.169 9.1C.252 22.746 6.768 9.476 10.481 7.697c1.388-.66 3.724.51 5.152 1.92l-.005.014v-.012zm7.028-1.566c-.231-.855-.821-1.717-1.7-1.82-1.61-.186-4.151 2.663-3.971 3.339.181.69 3.766 1.875 5.1.915.691-.494.781-1.56.556-2.414l.015-.02zM17.666.158c1.198.324 2.407 1.148 2.551 2.382.261 2.259-3.732 5.819-4.68 5.564-.948-.251-2.618-5.284-1.269-7.162.695-.972 2.201-1.106 3.399-.788v.004h-.001z"},child:[]}]})(e)}function fN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M6.056 12.132v-4.92h1.2v3.026c.59-.703 1.402-.906 2.202-.906 1.34 0 2.828.904 2.828 2.855 0 .233-.015.457-.06.668.24-.953 1.274-1.305 2.896-1.344.51-.018 1.095-.018 1.56-.018v-.135c0-.885-.556-1.244-1.53-1.244-.72 0-1.245.3-1.305.81h-1.275c.136-1.29 1.5-1.62 2.686-1.62 1.064 0 1.995.27 2.415 1.02l-.436-.84h1.41l2.055 4.125 2.055-4.126H24l-3.72 7.305h-1.346l1.07-2.04-2.33-4.38c.13.255.2.555.2.93v2.46c0 .346.01.69.04 1.005H16.8a6.543 6.543 0 01-.046-.765c-.603.734-1.32.96-2.32.96-1.48 0-2.272-.78-2.272-1.695 0-.15.015-.284.037-.405-.3 1.246-1.36 2.086-2.767 2.086-.87 0-1.694-.315-2.2-.93 0 .24-.015.494-.04.734h-1.18c.02-.39.04-.855.04-1.245v-1.05h-4.83c.065 1.095.818 1.74 1.853 1.74.718 0 1.355-.3 1.568-.93h1.24c-.24 1.29-1.61 1.725-2.79 1.725C.95 15.009 0 13.822 0 12.232c0-1.754.982-2.91 3.116-2.91 1.688 0 2.93.886 2.94 2.806v.005zm9.137.183c-1.095.034-1.77.233-1.77.95 0 .465.36.97 1.305.97 1.26 0 1.935-.69 1.935-1.814v-.13c-.45 0-.99.006-1.484.022h.012zm-6.06 1.875c1.11 0 1.876-.806 1.876-2.02s-.768-2.02-1.893-2.02c-1.11 0-1.89.806-1.89 2.02s.76
175 2.02 1.875 2.02h.03zm-4.35-2.514c-.044-1.125-.854-1.546-1.725-1.546-.944 0-1.694.474-1.815 1.546z"},child:[]}]})(e)}function pN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M23.071 8.409a6.09 6.09 0 00-5.396-3.228H.584A.589.589 0 00.17 6.184L3.894 9.93a1.752 1.752 0 001.242.516h12.049a1.554 1.554 0 11.031 3.108H8.91a.589.589 0 00-.415 1.003l3.725 3.747a1.75 1.75 0 001.242.516h3.757c4.887 0 8.584-5.225 5.852-10.413"},child:[]}]})(e)}function mN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16.861 0l-1.127 10.584L13.81 1.66 7.777 2.926l1.924 8.922-8.695 1.822 1.535 7.127L17.832 24l3.498-7.744L22.994.636 16.861 0zM11.39 13.61a.755.755 0 01.322.066c.208.093.56.29.63.592.103.434.004.799-.312 1.084v.002c-.315.284-.732.258-1.174.113-.441-.145-.637-.672-.47-1.309.124-.473.71-.544 1.004-.549zm4.142.548c.447-.012.832.186 1.05.543.217.357.107.75-.122 1.143h-.002c-.229.392-.83.445-1.422.16-.399-.193-.397-.684-.353-.983a.922.922 0 01.193-.447c.142-.177.381-.408.656-.416Z"},child:[]}]})(e)}function gN(e){return nn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M20.218 3.14h-7.083v3.6H9.352l7.359 8.582L24 6.67h-3.782zM0 17.26h3.782v3.6h7.083v-3.6h3.783l-7.29-8.583z"},child:[]}]})(e)}function Np({index:e,total:n,title:i,description:r}){return c.jsxs("div",{className:"carousel-explainer",children:[c.jsxs("div",{className:"carousel-explainer-header",children:[c.jsxs("span",{className:"carousel-explainer-counter",children:[String(e+1).padStart(2,"0"),c.jsxs("span",{className:"carousel-explainer-total",children:["/ ",String(n).padStart(2,"0")]})]}),c.jsx("span",{className:"carousel-explainer-category",children:i})]}),c.jsx("p",{className:"carousel-explainer-description",children:r})]})}const Hl=[{id:"social",title:"Social",text:"Social apps surface cast profiles, live reactions and the group chat without searching.",tvLabel:"The cast",phoneLabel:"Cast profiles",detail:"1.2K reacting live",scene:"social",image:"app-sync/social.webp",icons:[{Icon:dN,color:"#E1306C"},{Icon:rN,color:"#000000"},{Icon:iN,color:"#25D366"}]},{id:"shopping",title:"Shopping",text:"Shopping apps surface the exact product on screen, ready to buy.",tvLabel:"Featured item",phoneLabel:"Featured products",detail:"From $89 · Free shipping",scene:"shopping",image:"app-sync/shopping.webp",icons:[{Icon:cN,color:"#95BF47"},{Icon:lN,color:"#CC0000"},{Icon:fN,color:"#E53238"}]},{id:"supermarket",title:"Supermarket",text:"Supermarket apps add ingredients from the recipe on TV to your shopping list.",tvLabel:"The recipe",phoneLabel:"Ingredients list",detail:"6 items added",scene:"cooking",image:"app-sync/supermarket.webp",icons:[{Icon:oN,color:"#00539F"},{Icon:hN,color:"#003D29"}]},{id:"food",title:"Food Delivery",text:"Food delivery apps open to the restaurant featured in the commercial.",tvLabel:"Restaurant ad",phoneLabel:"Order from here",detail:"Arrives in 22 min",scene:"food",image:"app-sync/food.webp",icons:[{Icon:sN,color:"#06C167"},{Icon:mN,color:"#00CCBC"},{Icon:pN,color:"#FF3008"}]},{id:"betting",title:"Betting",text:"Betting apps open to the right odds for the match on TV.",tvLabel:"Live match",phoneLabel:"Match odds",detail:"RIV 1.85 · VAL 4.20",scene:"sport",image:"app-sync/betting.webp",icons:[{Icon:gN,color:"#FFB805"},{Icon:uN,color:"#00483A"}]}];function yN(){return c.jsxs("div",{className:"solution-content",children:[c.jsx("div",{className:"solution-eyebrow",children:"The allt reality"}),c.jsx("h2",{className:"display",children:"No scan. No search. No new behaviour."}),c.jsx("p",{className:"solution-copy",children:"Viewers open the app they were already going to use. One tap syncs it with what's on TV and takes them straight to the relevant content. Same instinct, fewer steps."}),c.jsx("p",{className:"solution-list",children:"Shopping apps. Food delivery. Tickets. Travel. Betting. Social."}),c.jsxs("p",{className:"solution-bridge",children:["Depending on what's being watched — and who's watching it — every app on a viewer's phone can become a way to engage. ",c.jsx("strong",{children:"allt works with all of them, meeting the viewer inside their chosen app and speeding up what happens next."})]})]})}function vN(){const e=Dt(),[n,i]=x.useState(0),[r,l]=x.useState(!1);x.useEffect(()=>{if(e||r)return;const h=setInterval(()=>{i(p=>(p+1)%Hl.length)},4200);return()=>clearInterval(h)},[e,r]);const u=Hl[n];return c.jsx("div",{className:"allt-wrap",children:c.jsxs("div",{className:"solution-panel",children:[c.jsx(yN,{}),c.jsxs("div",{className:"app-sync-visual",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[c.jsxs("div",{className:"app-sync-stage","aria-hidden":"true",children:[c.jsxs("div",{className:"app-sync-tv",children:[c.jsxs("div",{className:"app-sync-tv-live",children:[c.jsx("span",{})," LIVE TV"]}),c.jsx("div",{className:"app-sync-tv-scene",children:c.jsx(bi,{mode:"wait",children:u.image?c.jsx(ie.img,{src:`/media/${u.image}`,alt:"",className:"app-sync-tv-content app-sync-tv-photo",initial:{opacity:0}
17,animate:{opacity:1},exit:{opacity:0},transition:{duration:e?0:.4}},u.id):c.jsx(ie.div,{className:`app-sync-tv-content scene-${u.scene}`,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:e?0:.4}},u.id)})})]}),c.jsxs("div",{className:"app-sync-phone",children:[c.jsx("span",{className:"app-sync-pulse"}),c.jsxs("div",{className:"app-sync-phone-screen",children:[c.jsx("div",{className:"app-sync-phone-notch"}),c.jsxs("div",{className:"app-sync-phone-top",children:["YOUR APP ",c.jsx("span",{children:"●●●"})]}),c.jsxs("div",{className:"app-sync-phone-confirm",children:[c.jsx("img",{src:"/brand/allt-infinity-mark.png",alt:""})," SYNCED TO TV"]}),c.jsx(bi,{mode:"wait",children:c.jsxs(ie.div,{className:"app-sync-phone-content",initial:{opacity:0,x:e?0:12},animate:{opacity:1,x:0},exit:{opacity:0,x:e?0:-12},transition:{duration:e?0:.32},children:[c.jsx("div",{className:"app-sync-phone-icons",children:u.icons.map(({Icon:h,color:p},m)=>c.jsx("div",{className:"app-sync-phone-icon",style:{color:p},children:c.jsx(h,{})},m))}),c.jsxs("div",{className:"app-sync-phone-card",children:[c.jsx("span",{children:u.title}),c.jsx("strong",{children:u.phoneLabel})]})]},u.id)}),c.jsx("div",{className:"app-sync-phone-home"})]})]})]}),c.jsxs("div",{className:"app-sync-footer",children:[c.jsx(bi,{mode:"wait",children:c.jsx(ie.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:e?0:.3},children:c.jsx(Np,{index:n,total:Hl.length,title:u.title,description:u.text})},u.id)}),c.jsx("div",{className:"app-sync-dots",children:Hl.map((h,p)=>c.jsx("button",{type:"button",className:`app-sync-dot${p===n?" active":""}`,"aria-label":`Show the ${h.title} example`,onClick:()=>i(p),"data-testid":`button-carousel-${h.id}`},h.id))}),c.jsx("div",{className:"app-sync-disclaimer",children:"Illustrative app examples"})]})]})]})})}const ds=(e,n,i,r)=>(1-r)**2*e+2*(1-r)*r*n+r**2*i;function bN({children:e}){const n=x.useRef(null),i=x.useRef(null),{scrollYProgress:r}=qa({target:n,offset:["start start","end end"]}),l=Dt(),u=ye(r,[0,.5],[.5,1]),h=ye(r,[.1,.7],[0,1]),p=ye(r,[.23,.85],[0,1]),m=ye(r,[.52,1],[0,1]),g=ye(r,()=>1),y=l?g:p,v=l?g:h,b=l?g:u,A=l?g:m,T=ye(y,P=>ds(-200,330,1200,P)),E=ye(y,P=>ds(880,300,270,P)),C=ye(v,P=>ds(-180,430,1180,P)),R=ye(v,P=>ds(160,450,860,P)),M=ye(A,P=>ds(-160,720,1200,P)),N=ye(A,P=>ds(350,900,590,P)),O=kt(500),z=kt(-450);return x.useEffect(()=>{const P=()=>{const L=i.current;if(!L)return;const I=L.getPointAtLength(b.get()*L.getTotalLength());O.set(I.x),z.set(I.y)};return P(),b.on("change",P)},[b,O,z]),c.jsxs("div",{ref:n,className:"broadcasters-page",children:[c.jsx("div",{className:"broadcasters-background","aria-hidden":"true",children:c.jsxs("svg",{viewBox:"0 0 1000 1000",preserveAspectRatio:"xMidYMid slice",className:"broadcasters-arcs",children:[c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:"broadcastCyan",x1:"0",y1:"0",x2:"1",y2:"0",children:[c.jsx("stop",{offset:"0%",stopColor:"#17bae3ff",stopOpacity:"0"}),c.jsx("stop",{offset:"50%",stopColor:"#17bae3ff",stopOpacity:"0.4"}),c.jsx("stop",{offset:"100%",stopColor:"#17bae3ff",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"broadcastRed",x1:"0",y1:"0",x2:"1",y2:"0",children:[c.jsx("stop",{offset:"0%",stopColor:"#ed1e24ff",stopOpacity:"0"}),c.jsx("stop",{offset:"50%",stopColor:"#ed1e24ff",stopOpacity:"0.4"}),c.jsx("stop",{offset:"100%",stopColor:"#ed1e24ff",stopOpacity:"0"})]})]}),c.jsx(ie.path,{d:"M -200,880 Q 330,300 1200,270",fill:"none",stroke:"url(#broadcastCyan)",strokeWidth:"110",strokeLinecap:"round",style:{pathLength:y}}),c.jsx(ie.path,{d:"M -200,880 Q 330,300 1200,270",fill:"none",stroke:"#17bae3ff",strokeWidth:"2",opacity:"0.6",style:{pathLength:y}}),c.jsx(ie.circle,{cx:T,cy:E,r:"6",fill:"#17bae3ff",opacity:"0.9"}),c.jsx(ie.path,{d:"M -180,160 Q 430,450 1180,860",fill:"none",stroke:"url(#broadcastRed)",strokeWidth:"48",strokeLinecap:"round",style:{pathLength:v}}),c.jsx(ie.path,{d:"M -180,160 Q 430,450 1180,860",fill:"none",stroke:"#ed1e24ff",strokeWidth:"2",opacity:"0.5",style:{pathLength:v}}),c.jsx(ie.circle,{cx:C,cy:R,r:"6",fill:"#ed1e24ff",opacity:"0.9"}),c.jsxs("g",{className:"broadcasters-yellow-arc",children:[c.jsx(ie.path,{d:"M 500,-450 Q 700,450 300,1100",fill:"none",stroke:"#f5c518ff",strokeWidth:"90",strokeLinecap:"round",opacity:"0.16",style:{pathLength:b}}),c.jsx(ie.path,{ref:i,d:"M 500,-450 Q 700,450 300,1100",fill:"none",stroke:"#f5c518ff",strokeWidth:"2",opacity:"0.8",style:{pathLength:b}}),c.jsx(ie.circle,{cx:O,cy:z,r:"5",fill:"#f5c518ff"})]}),c.jsx(ie.path,{d:"M -160,350 Q 720,900 1200,590",fill:"none",stroke:"#2ecc71ff",strokeWidth:"50",strokeLinecap:"round",opacity:"0.14",style:{pathLength:A}}),c.jsx(ie.path,{d:"M -160,350 Q 720,900 1200,590",fill:"none",stroke:"#2ecc71ff",strokeWidth:"2",opacity:"0.7",style:{pathLength:A}}),c.jsx(ie.circle,{cx:M,cy:N,r:"5",fill:"#2ecc71ff"})]})}),c.jsx("div",{className:"broadcasters-content",children:e})]})}const wN=[{initials:"JF",name:"James Forster",role:"Co-founder and CEO · Sydney",image:"james-forster.webp",fullBleed:!0,introduction:"James is Co-founder and CEO of allt, the technology closing the last 10 feet between the TV and the viewer. He brings 20 years of marketing, strategy, advertising and management experience, including leading strategy and marketing and working as a software product manager.",more:["His career has taken him from Shanghai and Singapore to New York and Sydney. Under his leadership, allt has moved from a granted US patent to integration work with Foxtel Media and a growing partner network. allt was announced at Foxtel Media’s Upfront in Sydney in September 2025, and has since built out affiliate, retail media and advanced advertising opportunities across the second screen.","James is focused on one thing: making the moment someone reaches for their phone while watching TV finally count, for viewers, broadcasters and brands alike."]},{initials:"DG",name:"Dave Glasson",role:"Co-founder, Product and Technology · Sydney",image:"dave-glasson.webp",introduction:"Dave leads product and technology at allt. The genesis of allt comes from his early days in London using Shazam and thinking there should be a way to do this for more than just audio.",more:["Years later he wrote the patent for allt’s core technology. He created Fit2Buy.com, an online fitting room, and previously managed treasury, settlement and negotiation at Fox Symes. He brings 15 years of finance and start-up experience."]},{initials:"JS",name:"Joshua Seiden",role:"Chief Technology Officer · Denver",image:"joshua-seiden.webp",introduction:"Joshua is a senior technology executive with 30+ years building and commercialising emerging technologies at Fortune 50 scale. He spent 29 years at Comcast, rising from Senior Systems Engineer to VP of Emerging Products at Comcast Labs.",more:["At Comcast he led a global team across generative AI, machine learning, IoT, robotics and computer vision, and launched the company’s corporate accelerator program across three locations.","A holder of 15 patents, Joshua has presented technology roadmaps to boards of directors and C-suite executives, driven strategic partnerships with major media and sports franchises, and overseen technical due diligence for acquisitions through Comcast Ventures and corporate accelerator programs. Today he brings the same enterprise-grade rigour to startups and growth-stage companies, with a specialty in helping technology companies build relationships with North American cable operators, telcos and large media companies. Joshua also sits on the allt board."]}],xN=[{initials:"CD",name:"Clive Dickens",role:"Board member · Sydney",image:"clive-dickens.webp",introduction:"Clive is a media and technology leader with three decades across the UK and Australia. He co-founded Absolute Radio in the UK, then held senior digital roles at Southern Cross Austereo, Seven West Media and Yahoo7.",more:["As Chief Digital Officer at Seven West Media he helped build the 7plus streaming platform, and as VP of Television, Content and Product Development at Optus he led initiatives including Optus 5G Home and its sports streaming rights strategy. He has served on the boards of Airtasker and Freeview Australia, and founded The Meliora Company in 2025 to help leaders unlock growth in the AI age."]},{initials:"JK",name:"Joe King",role:"Board member · Seattle",image:"joe-king.
17webp",introduction:"Product leader and early-stage investor. Previously at Amazon and Microsoft."},{initials:"JC",name:"James Gillingham",role:"Board member · Washington D.C.",image:"james-gillingham.webp",introduction:"James sits on the board representing CableLabs, an allt shareholder, where he leads Technology Strategy and Development on the board.",more:["He was previously a Vice President at Comcast and a founding member of Xumo, the Comcast and Charter joint venture."]},{initials:"SC",name:"Scott Caruso",role:"Board member · Denver",image:"scott-caruso.webp",introduction:"Scott is a career entrepreneur, veteran investor and lifelong teacher who now leads strategic ventures at the intersection of innovation and entrepreneurship.",more:["He started programming on paper tape in the 1970s, had an email address on ARPANET in 1985 and joined Sun Microsystems in the late 1980s. He co-founded a successful ISP in the 1990s, spent a decade as a venture capital investor in high-tech start-ups, and most recently founded and led a clean-tech company. Scott is CEO of GridVisibility, Inc."]},{initials:"TC",name:"Todd Collart",role:"Board member · Silicon Valley",image:"todd-collart.webp",introduction:"Todd Collart is a media and technology executive, entrepreneur, and advisor with more than 30 years of experience spanning entertainment, digital media, and technology.",more:["As a former senior executive at Deluxe and Rovi/TiVo and founder of InterActual, Todd has built businesses, developed innovative media technologies, and advised emerging companies. He brings a combination of industry expertise, strategic perspective, and hands-on operating experience to his role as an advisor at Allt."]}];function sb({person:e}){const[n,i]=x.useState(!1),r=`bio-${e.initials.toLowerCase()}`,l=`/team/${e.image}`;return c.jsxs("article",{className:"person","data-testid":`card-person-${e.initials}`,children:[c.jsx("div",{className:`person-portrait${e.fullBleed?" person-portrait--full-bleed":""}`,style:{"--portrait-image":`url("${l}")`},children:c.jsx("img",{src:l,alt:e.name,loading:"lazy",width:400,height:400,"data-testid":`img-person-${e.initials}`})}),c.jsxs("div",{className:"person-content",children:[c.jsxs("div",{className:"person-heading",children:[c.jsx("h3",{children:e.name}),c.jsx("p",{className:"person-role",children:e.role})]}),c.jsx("p",{className:"person-bio",children:e.introduction}),e.more&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"person-more",id:r,hidden:!n,children:e.more.map(u=>c.jsx("p",{children:u},u))}),c.jsxs("button",{type:"button",className:"person-toggle","aria-expanded":n,"aria-controls":r,onClick:()=>i(!n),"data-testid":`button-bio-${e.initials}`,children:[n?"Show less":"Read full bio",c.jsx(Cf,{size:14,"aria-hidden":"true",className:n?"person-toggle-open":""})]})]})]})]})}const xT=JSON.parse(`[{"path":"/insights/betstop-can-close-your-accounts-it-cant-yet-close-whats-on-your-screen/","title":"BetStop can close your accounts. It can’t yet close what’s on your screen.","seoTitle":"BetStop can close your accounts. It can't yet close what's on your screen. • Allt.tv","description":"BetStop, the National Self-Exclusion Register, does exactly what it says. Register once and every licensed wagering provider in Australia has to close your accounts and stop contacting you. It is government-run, operated by Dataworks under contract to the ACMA, and by most measures it works...","excerpt":"BetStop, the National Self-Exclusion Register, does exactly what it says. Register once and every licensed wagering provider in Australia has to close your accounts and stop contacting you. It is government-run, operated by Dataworks under contract to the ACMA, and by most measures it works…","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2026-09-17T06:02:00+00:00","image":"u6133757278_photorealistic_candid_photograph_a_middle_aged_ma_52c67493-bb45-4351-8af6-39d4f486afd9_0-1.png","imageAlt":"BetStop can close your accounts. It can’t yet close what’s on your screen.","html":"<p><span style=\\"font-weight: 400;\\">
17BetStop, the National Self-Exclusion Register, does exactly what it says. Register once and every licensed wagering provider in Australia has to close your accounts and stop contacting you. It is government-run, operated by Dataworks under contract to the ACMA, and by most measures it works well. Over 50,000 people have registered since it launched in August 2023, and the ACMA&#8217;s own statutory review found the system performing strongly on take-up and enforcement.</span></p>\\n<p><span style=\\"font-weight: 400;\\">But BetStop was built to govern the account. It was never built to govern the screen.</span></p>\\n<div id=\\"attachment_1028\\" style=\\"width: 310px\\" class=\\"wp-caption aligncenter\\"><img fetchpriority=\\"high\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-1028\\" class=\\"size-medium wp-image-1028\\" src=\\"/media/insights/u6133757278_amber_glowing_unlocked_padlock_-ar_9151_-profil_e43aebe9-be49-4c19-b692-beb7e74a7336_1-1-300x168.png\\" alt=\\"\\" width=\\"300\\" height=\\"168\\" /><p id=\\"caption-attachment-1028\\" class=\\"wp-caption-text\\">The TV remains a source of exposure for self excluded gamblers</p></div>\\n<h2><span style=\\"font-weight: 400;\\">What the new laws actually cover</span></h2>\\n<p><span style=\\"font-weight: 400;\\">The Interactive Gambling Amendment (Gambling Reform) Act 2026 passed Parliament on 19 August and received Royal Assent a week later. From 1 January 2027 it introduces some of the most significant advertising restrictions the industry has seen: a ban on wagering ads during live sport and at sports venues, new limits on inducement marketing, and a national Wagering Advertising Opt-out Register.</span></p>\\n<p><span style=\\"font-weight: 400;\\">It is a genuinely broad package. Direct marketing of inducements is now banned for 14 days after signup, for three months after someone deregisters from BetStop, and permanently for anyone flagged as at risk. Commissions tied to customer activity are gone. The ACMA gets stronger blocking powers over illegal operators.</span></p>\\n<p><span style=\\"font-weight: 400;\\">Read closely, the reform still sits on two pillars. One is the account, BetStop, strengthened. The other is online exposure, the opt-out register, a single place for Australians to switch off wagering ads on the online platforms and social media services they use. Both are real and both matter. But the opt-out register is built for feeds and apps, it has no way to reach the primary screen someone is watching the football on. A person can opt out of every wagering ad on their phone and still have the same ads play uninterrupted on the television in front of them, because nothing currently connects that register to the broadcast itself. That link only exists if something like Allt&#8217;s technology is sitting in between.</span></p>\\n<h2><span style=\\"font-weight: 400;\\">The missing layer is two-way</span></h2>\\n<p><span style=\\"font-weight: 400;\\">A self-excluded person can still sit down to watch a broadcast where the second screen in their hand is the primary channel wagering brands compete for. A parent managing what their kids see has no equivalent lever at all, there is no register for household viewing, only individual account settings that a child doesn&#8217;t have and an ad ban that only applies during live sport itself.</span></p>\\n<p><span style=\\"font-weight: 400;\\">What&#8217;s missing isn&#8217;t another list to register on. It&#8217;s a live, two-way connection between the person watching and the screen they&#8217;re watching on, one that can work the other way to how second-screen technology is normally pitched. Most of what gets built for the second screen is designed to push something to the viewer, a targeted ad, a synced offer, a retail moment. Allt&#8217;s underlying infrastructure is two-way by design, so the same real-time sync that can serve a specific ad to a specific viewer can just as easily suppress one, tell the broadcast stream this viewer should not see wagering content, and have that instruction actually reach the screen.</span></p>\\n<div id=\\"attachment_1029\\" style=\\"width: 310px\\" class=\\"wp-caption aligncenter\\"><img decoding=\\"async\\" aria-describedby=\\"caption-attachment-1029\\" class=\\"size-medium wp-image-1029\\" src=\\"/media/insights/u6133757278_abstract_geometric_illustration_on_a_deep_navy_ba_d3658472-b1ea-48d7-a746-84a18e6bb9f0_1-300x168.png\\" alt=\\"\\" width=\\"300\\" height=\\"168\\" /><p id=\\"caption-attachment-1029\\" class=\\"wp-caption-text\\">A real-time sync can serve or suppress a specific TV ad to a specific viewer</p></div>\\n<p><span style=\\"font-weight: 400;\\">That is the layer BetStop and the opt-out register cannot currently offer: consent and control sitting with the individual, in the moment, rather than a setting applied uniformly by a platform or a blanket rule applied to a whole ad break.</span></p>\\n<h2><span style=\\"font-weight: 400;\\">Where this stands today</span></h2>\\n<p><span style=\\"font-weight: 400;\\">Worth being direct about where this stands today. This is real on addressable inventory, streaming and BVOD, where an ad decision can already be made per viewer or per session. It&#8217;s not yet possible on linear free to air broadcast, where every household gets the same ad unless the smart TV itself supports addressable insertion, though that technology is moving quickly and won&#8217;t stay this limited for long.</span></p>\\n<div id=\\"attachment_1030\\" style=\\"width: 310px\\" class=\\"wp-caption aligncenter\\"><img decoding=\\"async\\" aria-describedby=\\"caption-attachment-1030\\" class=\\"size-medium wp-image-1030\\" src=\\"/media/insights/u6133757278_quiet_domestic_sce
17ne_silhouette_of_an_adult_and_a_c1963fce-8ce7-494d-bbfa-b95d73194ab7_3-300x168.png\\" alt=\\"\\" width=\\"300\\" height=\\"168\\" /><p id=\\"caption-attachment-1030\\" class=\\"wp-caption-text\\">Who is actually watching the verified streaming account?</p></div>\\n<p dir=\\"ltr\\">A signal that suppresses gambling advertising on someone&#8217;s screen only means something if the platform showing that screen can trust it. Streaming and broadcast subscriptions are routinely held in someone else&#8217;s name, a partner, a parent, a flatmate, which means even a platform that wanted to check a viewer&#8217;s BetStop status against the account on file could be checking the wrong person entirely. A national, government-run register is one strong way to solve that trust problem at scale, and it&#8217;s the conversation we think is most worth having first. It isn&#8217;t the only way a broadcaster or a wagering operator could stand this up. The same two-way infrastructure works just as well built directly into a broadcaster&#8217;s own app or a wagering operator&#8217;s own verified customer base, and several of those conversations are already under way.</p>\\n<p dir=\\"ltr\\">BetStop already carries the authority and the register. Allt already carries the two-way, real-time infrastru
17cture sitting inside broadcaster and streaming apps. Put together, a BetStop registration or a verified parental setting could travel with the person into the viewing moment itself, not just their account. That&#8217;s the version of this worth building first, but it&#8217;s one path among several rather than a gate everything else has to pass through.</p>\\n<h2><span style=\\"font-weight: 400;\\">Where it goes from there</span></h2>\\n<p><span style=\\"font-weight: 400;\\">Once that link exists, whether it starts with BetStop, with a broadcaster, or with a wagering operator&#8217;s own verified customers, it stops being only a protection tool and starts being something the industry has a reason to adopt directly, not as an extra cost, but as a practical way to demonstrate compliance with the new inducement and advertising rules taking effect from January. A verifiable, real-time record that a self-excluded or opted-out viewer was never served wagering content is a stronger compliance position than an ad ban applied at the platform level and hoped to hold.</span></p>\\n<div id=\\"attachment_1031\\" style=\\"width: 310px\\" class=\\"wp-caption aligncenter\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-1031\\" class=\\"size-medium wp-image-1031\\" src=\\"/media/insights/u6133757278_photorealistic_close-up_a_hand_holding_a_smartpho_b4eb79b5-3b34-4c55-8a72-c8ab26462c81_2-300x168.png\\" alt=\\"\\" width=\\"300\\" height=\\"168\\" /><p id=\\"caption-attachment-1031\\" class=\\"wp-caption-text\\">True protection exists when the phone can connect to the broadcast directly.</p></div>\\n<p><span style=\\"font-weight: 400;\\">BetStop solved the account. This is the conversation about solving the screen, and we&#8217;re having it on more than one front.</span></p>\\n"},{"path":"/insights/death-by-a-thousand-slices-part-2-no-cake-for-you/","title":"Death by a Thousand Slices, Part 2: No cake for you!","seoTitle":"Death by a Thousand Slices, Part 2: No cake for you! • Allt.tv","description":"Last time, I looked at viewers slicing away at broadcast revenue from both ends: hating ads, hating gambling spots, but still expecting top-tier live sport for free. This time, the knife is coming for more. The UK’s junk food ad restrictions set a strict precedent:...","excerpt":"Last time, I looked at viewers slicing away at broadcast revenue from both ends: hating ads, hating gambling spots, but still expecting top-tier live sport for free. This time, the knife is coming for more. The UK’s junk food ad restrictions set a strict precedent:…","category":"Insights","author":"Dave Glasson [CEO, allt.tv]","date":"2026-09-16T07:16:24+00:00","image":"no-cake-for-you.jpg","imageAlt":"Death by a Thousand Slices, Part 2: No cake for you!","html":"<p class=\\"_709c7bd9 _36daa308 _0dec5920 ff67ead4 _90ecec7c _9e6eb484 d053d6bb faa38b3b d75cb20e e104035a e8ccc78a _9b88209a b1eeeb18 _130f9ae7\\"><span class=\\"_79e3dc96 _5499daae f2ca5123 f852cf51\\" tabindex=\\"-1\\" data-testid=\\"expandable-text-box\\">Last time, I looked at viewers slicing away at broadcast revenue from both ends: hating ads, hating gambling spots, but still expecting top-tier live sport for free.</span></p>\\n<p>This time, the knife is coming for more.</p>\\n<p>The UK’s junk food ad restrictions set a strict precedent: no products high in fat, salt, or sugar (HFSS) on TV before 9:00 PM, plus a blanket digital ban. The EU has circled similar measures for years. Locally, a Cancer Council-led coalition brought that exact pitch to Australian MPs at a Preventive Health Roundtable: pull unhealthy food marketing out of children&#8217;s sight across broadcast, social, and gaming.</p>\\n<p>It is a completely fair point. No one is arguing against parents who want fewer fast-food mascots interrupting Saturday morning cartoons.</p>\\n<p>And yet.</p>\\n<p>Right as I’m typing this, a Macca’s ad flashes across my screen promoting a &#8220;free food for life&#8221; gold card. I had no idea it existed until it aired, BUT I WANT ONE! That aside, because I’ve spent my career in broadcast, I know exactly what that spot represents: top-of-funnel, big-budget brand spend. That capital underwrites the free-to-air news and sport everyone expects to remain cost-free.</p>\\n<p>Strip those ads out entirely and the cost doesn&#8217;t disappear; it just migrates onto a household subscription invoice.</p>\\n<p>
17Parents want clean feeds for their kids. I want my shot at free fries. As the classic Old El Paso girl asked twenty years ago: ¿Por qué no los dos?</p>\\n<p>Why not both?</p>\\n<p>Give parents the switch. Let viewers toggle sensitive ad categories off when the kids are in the room, and back on when they aren’t. It is the exact same permission-based, audience-aware layer that solves the gambling ad squeeze.</p>\\n<p>Broadcasters don&#8217;t need to panic about evaporating inventory. If a fast-food ad can&#8217;t run during a family co-viewing slot, dynamic delivery serves a family-friendly retail campaign instead. The ad break remains the same length and retains its value, arguably gaining value, because the audience profile is verified rather than guessed.</p>\\n<p>Every new restriction doesn’t have to shrink the market. Framed correctly, it creates verified context that advertisers will gladly pay a premium to access.<br />\\nThat is the core thesis behind what we&#8217;re building at allt: giving broadcasters a direct, consent-driven connection to the actual person on the couch.</p>\\n<p>Knowing your audience, transparently and without being creepy, solves far more than just gambling compliance.</p>\\n<p>More slices to come.</p>\\n<div class=\\"abd3f6f8 _80d97675 _005955e4 f852cf51\\"></div>\\n"},{"path":"/news/allt-partners-with-meliora-as-broadcasters-rethink-revenue-amid-wagering-advertising-reforms/","title":"allt partners with Meliora as broadcasters rethink revenue amid wagering advertising reforms","seoTitle":"allt partners with Meliora as broadcasters rethink revenue amid wagering advertising reforms • Allt.tv","description":"Strategic partnership combines allt’s technology with Meliora Creative’s media and technology expertise, with Meliora Managing Partner Clive Dickens joining the allt board. SYDNEY, 2nd September, 2026 – Connected-TV technology company allt has entered a strategic partnership with Meliora Creative to supp
17ort the commercial development and...","excerpt":"Strategic partnership combines allt’s technology with Meliora Creative’s media and technology expertise, with Meliora Managing Partner Clive Dickens joining the allt board. SYDNEY, 2nd September, 2026 – Connected-TV technology company allt has entered a strategic partnership with Meliora Creative to support the commercial development and…","category":"News","author":"James Forster [CEO, allt.tv]","date":"2026-09-02T06:58:56+00:00","image":"Meliora-team.jpg","imageAlt":"allt partners with Meliora as broadcasters rethink revenue amid wagering advertising reforms","html":"<h4><i><span style=\\"font-weight: 400;\\">Strategic partnership combines allt’s technology with Meliora Creative’s media and technology expertise, with Meliora Managing Partner Clive Dickens joining the allt board.</span></i></h4>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"wp-image-1009 aligncenter\\" src=\\"/media/insights/Meliora-logo-300x65.jpg\\" alt=\\"\\" width=\\"240\\" height=\\"52\\" /> <img loading=\\"lazy\\" decoding=\\"async\\" class=\\"wp-image-1008 aligncenter\\" src=\\"/media/insights/allt-tv-png-300x118.png\\" alt=\\"\\" width=\\"255\\" height=\\"100\\" /></p>\\n<p><em><b>SYDNEY, 2nd September, 2026</b></em><span style=\\"font-weight: 400;\\"> &#8211; Connected-TV technology company </span><strong><em>allt</em></strong><span style=\\"font-weight: 400;\\"> has entered a strategic partnership with </span><em><b>Meliora Creative</b></em><span style=\\"font-weight: 400;\\"> to support the commercial development and expansion of its second-screen technology in Australia and international markets.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The partnership comes as Australia’s media and wagering industries consider the potential implications of proposed changes to gambling advertising.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The Australian Government introduced the </span><em><b>Interactive Gambling Amendment (Gambling Reform) Bill 2026</b></em><span style=\\"font-weight: 400;\\"> and ratified by both houses of parliament in August, with new restrictions on wagering advertising across television, digital platforms and sporting environments.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The issue of sports wagering advertising is raising a broader commercial question for broadcasters and rights holders: how can they develop new revenue models around the audiences and engagement their content already creates?</span></p>\\n<p><span style=\\"font-weight: 400;\\">allt’s technology is designed to connect a viewer’s mobile device with what they are watching on television in real time, allowing broadcasters and commercial partners to create digital experiences around individual moments in content without requiring viewers to download a separate companion app.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The technology has potential applications across wagering, retail media and affiliate commerce, creating new ways for broadcasters to connect audience attention on the television screen with advertising activity taking place on the viewer’s phone.</span></p>\\n<p><span style=\\"font-weight: 400;\\">For allt CEO and Co-Founder </span><em><b>James Forster</b></em><span style=\\"font-weight: 400;\\">, the opportunity is broader than a single regulatory change.</span></p>\\n<blockquote>\\n<h6><span style=\\"font-weight: 400;\\">“There has understandably been a lot of focus on what the reforms will mean for existing wagering advertising models. The other question for broadcasters is what they build next.</span></h6>\\n<p>&nbsp;</p>\\n<h6><span style=\\"font-weight: 400;\\">“Our starting point is very simple: people are already watching television with a phone in their hand. The broadcast creates the attention and, often, the intent. We’ve built technology designed to connect those two screens in real time and create new commercial opportunities around that behaviour.</span></h6>\\n<p>&nbsp;</p>\\n<h6><span style=\\"font-weight: 400;\\">“Wagering is one application, but the opportunity is much broader. Retail media and affiliate commerce are also areas where broadcasters can think differently about the value created by the audiences and content they already have.</span></h6>\\n<p>&nbsp;</p>\\n<h6><span style=\\"font-weight: 400;\\">“That’s what makes the partnership with Meliora valuable for us. They bring people who understand the realities of transforming established media businesses, alongside relationships and experience across media, advertising technology, wagering, gaming and international markets.”</span></h6>\\n<p>&nbsp;</p></blockquote>\\n<div id=\\"attachment_1011\\" style=\\"width: 310px\\" class=\\"wp-caption aligncenter\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-1011\\" class=\\"wp-image-1011 size-medium\\" src=\\"/media/insights/Meliora-team-300x162.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"162\\" /><p id=\\"caption-attachment-1011\\" class=\\"wp-caption-text\\">Meliora team: Jack Lonergan, Clive Dickens and Mel Lee</p></div>\\n<p><span style=\\"font-weight: 400;\\">Meliora Managing Partner </span><em><b>Clive Dickens will also join the allt board</b></em><span style=\\"font-weight: 400;\\">, bringing decades of international experience across media, technology and digital transformation.</span></p>\\n<p><span style=\\"font-weight: 400;\\">Dickens said the debate around wagering advertising reflects a wider challenge already confronting media businesses.</span></p>\\n<blockquote>\\n<h6>
17<span style=\\"font-weight: 400;\\">“Whether regulation moves quickly, slowly or ultimately changes shape through the parliamentary process, the strategic question for media owners is the same: where does future revenue growth come from?</span></h6>\\n<p>&nbsp;</p>\\n<h6><span style=\\"font-weight: 400;\\">“Traditional media businesses are operating through a long-term shift in how audiences consume content, how advertisers reach them and where commercial value is created. Regulation adds another dimension to that challenge, but the need to keep developing new revenue models exists regardless.</span></h6>\\n<p>&nbsp;</p>\\n<h6><span style=\\"font-weight: 400;\\">“What interested us about allt is that the technology starts with behaviour that already exists. Audiences are watching television while using another screen. allt is looking at how broadcasters can create more value from the connection between the two.&#8221;</span></h6>\\n<p>&nbsp;</p></blockquote>\\n<p><span style=\\"font-weight: 400;\\">For Meliora Creative, the partnership also reflects its focus on working with technology businesses addressing structural changes across the media industry.</span></p>\\n<p><span style=\\"font-weight: 400;\\">Its team brings senior operating experience from major media and technology businesses, with networks spanning the advertising technology ecosystem, sports, wagering and gaming sectors and international media markets.</span></p>\\n<p><span style=\\"font-weight: 400;\\">For allt, the partnership provides access to that experience and network as it develops relationships with broadcasters, rights holders and commercial partners and continues to build the market for second-screen monetisation.</span></p>\\n<p>______________________________</p>\\n<h4><b>About allt</b></h4>\\n<p><span style=\\"font-weight: 400;\\">Allt Inc. is a Sydney-founded, Delaware-incorporated technology company with patented content-to-device synchronisation technology that connects a viewer’s primary screen to their smartphone in real time. Allt’s platform creates new commercial and data opportunities for broadcasters, streaming platforms, and advertisers through second-screen engagement. The company has completed the Boomtown Comcast accelerator in Colorado. For more information, visit </span><a href=\\"http://allt.tv/insights\\"><span style=\\"font-weight: 400;\\">allt.tv/insights</span></a><span style=\\"font-weight: 400;\\">.</span></p>\\n<h4><b>About Meliora</b></h4>\\n<p><span style=\\"font-weight: 400;\\">Meliora operates at the intersection of media, technology and artificial intelligence, working with businesses navigating structural industry change.</span></p>\\n<h4><b>Media enquiries</b></h4>\\n<p><b>allt</b></p>\\n<p><span style=\\"font-weight: 400;\\">James Forster, </span><a href=\\"mailto:[email protected]\\"><span style=\\"font-weight: 400;\\">[email protected]</span></a></p>\\n<h5><b>Meliora</b></h5>\\n<p>Mel Lee, <a href=\\"mailto:[email protected]\\">[email protected]</a></p>\\n<p>&nbsp;</p>\\n"},{"path":"/insights/whats-left-after-the-bans-australias-gambling-reform-and-the-second-screen-opportunity/","title":"What’s left after the bans: Australia’s gambling reform and the second-screen opportunity","seoTitle":"What's left after the bans: Australia's gambling reform and the second-screen opportunity • Allt.tv","description":"On 19 August 2026, the Interactive Gambling Amendment (Gambling Reform) Bill 2026 passed the Australian Parliament. From 1 January 2027, most of the traditional wagering marketing playbook stops working. No more athlete or influencer endorsements. No wagering ads on player or official uniforms, or inside...","excerpt":"On 19 August 2026, the Interactive Gambling Amendment (Gambling Reform) Bill 2026 passed the Australian Parliament. From 1 January 2027, most of the traditional wagering marketing playbook stops working. No more athlete or influencer endorsements. No wagering ads on player or official uniforms, or inside…","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2026-08-26T07:16:53+00:00","image":"u6133757278_Wide_cinematic_shot_person_on_a_couch_watching_a__10c4ef87-d649-430b-99a6-616fc5eb565f_1.png","imageAlt":"What’s left after the bans: Australia’s gambling reform and the second-screen opportunity","html":"<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"3:1-3:204;93-296\\">On 19 August 2026, the Interactive Gambling Amendment (Gambling Reform) Bill 2026 passed the Australian Parliament. From 1 January 2027, most of the traditional wagering marketing playbook stops working.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"5:1-5:584;298-881\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"size-medium wp-image-997 alignleft\\" src=\\"/media/insights/u6133757278_Australian_sports_stadium_at_night_under_floodlig_e4836846-8fe9-4705-8297-e756c27c922e_0-300x168.png\\" alt=\\"\\" width=\\"300\\" height=\\"168\\" />
17No more athlete or influencer endorsements. No wagering ads on player or official uniforms, or inside sports venues. Television spots capped at three per hour between 5am and 8.30pm. A blackout window on every live match, running from 15 minutes before kickoff to five minutes after the final whistle. A new national Wagering Advertising Opt-out Register. And tighter rules again on direct marketing of inducements, now banned for 14 days after signup, for three months after a person deregisters from BetStop, and indefinitely for anyone flagged as at risk of gambling-related harm.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"7:1-7:309;883-1191\\">It&#8217;s the most significant gambling advertising reform in Australia&#8217;s history, and it stops short of the full ban recommended by the 2023 Murphy inquiry. That compromise is exactly what makes this moment interesting for broadcasters and operators. The bill narrows the field considerably. It doesn&#8217;t close it.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" dir=\\"ltr\\" data-sourcepos=\\"9:1-9:25;1193-1217\\">What actually changed</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"11:1-11:495;1219-1713\\">The headline restriction is the live-sport blackout: no wagering advertising on broadcast or online content services from 15 minutes before a live sporting event starts until five minutes after it ends, within the 5am to 8.30pm window. Add the three-ad-per-hour cap outside that window, the uniform and venue bans, and the end of athlete and influencer endorsement, and the reform touches almost every channel gambling operators have historically relied on to reach audiences during live sport.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"13:1-13:440;1715-2154\\">The opt-out register adds a second layer. Once live, it gives consumers a single place to switch off wagering advertising across participating services, funded by a levy on the industry. Combined with the new inducement rules, which now apply not just to new customers but to anyone the system identifies as at risk, operators are looking at a materially smaller and more tightly governed marketing surface than they had twelve months ago.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"15:1-15:112;2156-2267\\">None of this is subtle. It was designed to be a serious constraint, and for the channels it targets, it is one.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" dir=\\"ltr\\" data-sourcepos=\\"17:1-17:34;2269-2302\\">The gap the bill doesn&#8217;t reach</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"19:1-19:357;2304-2660\\">What the reform doesn&#8217;t touch is the moment itself. A viewer watching a match on their TV, reaching for their phone during a break in play or right as the siren sounds, hasn&#8217;t changed their behaviour because Parliament passed a bill. The attention and the intent are still there. What&#8217;s changed is which commercial channels are allowed to meet that moment.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"21:1-21:644;2662-3305\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"size-medium wp-image-996 alignleft\\" src=\\"/media/insights/u6133757278_Close-up_of_a_hand_holding_a_smartphone_with_a_su_08ba332e-d045-42cf-835a-6dbb68cdf045_0-240x300.png\\" alt=\\"\\" width=\\"240\\" height=\\"300\\" />This is where second-screen engagement sits differently to everything else in this list. allt&#8217;s broadcaster-side SDK connects a viewer&#8217;s phone to what&#8217;s playing on their TV in real time, without requiring the viewer to open an app, scan a code, or change any behaviour at all. It isn&#8217;t a paid advertising placement. It isn&#8217;t an inducement targeted at an individual customer. It isn&#8217;t a uniform, a venue sign, or an athlete endorsement. It&#8217;s a sync between the broadcast and the second screen, and the commercial activity it drives, whether retail, affiliate, or brand engagement, happens outside the categories this bill was built to restrict.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"23:1-23:562;3307-3868\\">That distinction matters beyond just what&#8217;s technically permitted. In a regulatory environment that&#8217;s clearly heading toward tighter controls on how gambling and wagering brands reach audiences, a broadcaster-side, privacy-forward architecture that never asks a viewer to do anything is a position that ages well. It works within the direction the regulation is moving, not around the edge of where it currently stops. That&#8217;
17s a meaningfully different conversation to have with a broadcaster or a regulator than one about a channel that&#8217;s simply not yet covered.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" dir=\\"ltr\\" data-sourcepos=\\"25:1-25:36;3870-3905\\">What this means for broadcasters</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"27:1-27:314;3907-4220\\">Broadcasters are the ones absorbing the ad inventory hit directly. Three spots an hour, a blackout window around the exact moment audiences are most engaged, and the loss of uniform and venue signage all reduce the commercial value of live sport rights at the point where that value has historically been highest.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"29:1-29:457;4222-4678\\">Second-screen sync doesn&#8217;t replace lost ad inventory, but it does give broadcasters a second commercial layer that sits on top of the broadcast itself rather than inside the ad break. Retail media, affiliate commerce, and brand engagement tied to what&#8217;s actually happening on screen can generate revenue from the same live moment without adding a fourth ad to an hour that&#8217;s now capped at three, and without touching anything the blackout window restricts.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" dir=\\"ltr\\" data-sourcepos=\\"31:1-31:33;4680-4712\\">What this means for operators</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"33:1-33:367;4714-5080\\">For wagering operators, the reform removes several of the highest-reach channels they&#8217;ve used to build and retain customers: endorsement, venue presence, uncapped ad frequency around the moments that matter most. The inducement rules add friction on the retention side too, restricting exactly when and to whom operators can market once someone&#8217;s already a customer.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"35:1-35:514;5082-5595\\">Second-screen engagement offers a different kind of channel entirely. Rather than reaching a broad TV audience with a paid ad, it connects with the specific audience already watching a specific broadcast, in real time, through a mechanism that isn&#8217;t classified as advertising or direct marketing in the way this bill defines those terms. For operators rebuilding their marketing mix around a materially narrower set of options, that&#8217;s a channel worth understanding properly rather than dismissing as a workaround.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" dir=\\"ltr\\" data-sourcepos=\\"37:1-37:23;5597-5619\\">The broader pattern</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"39:1-39:364;5621-5984\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignleft wp-image-995 size-thumbnail\\" src=\\"/media/insights/u6133757278_Dark_cinematic_photograph_of_a_hand_holding_a_glo_aba09f3c-2f6f-472f-a5e7-90078a1f9a43_2-150x150.png\\" alt=\\"\\" width=\\"150\\" height=\\"150\\" />This bill is Australia&#8217;s answer to a question every major market is now asking: how much commercial access should gambling and wagering brands have to live sport audiences. The specifics differ by jurisdiction, but the direction is consistent. Advertising-based access to the live sport moment is getting more restricted, not less, and that trend isn&#8217;t reversing.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"41:1-41:280;5986-6265\\">Channels built around device-to-device sync rather than paid advertising aren&#8217;t a response to this particular bill. They&#8217;re a structural fit for the direction regulation is heading across every market having this conversation. Australia&#8217;s reform just made that fit easier to see.</p>\\n<hr class=\\"border-border-200 border-t-0.5 my-3 mx-1.5\\" />\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" dir=\\"ltr\\" data-sourcepos=\\"45:1-45:221;6272-6492\\"><em>allt.tv connects broadcasters, brands, and operators to the second screen without requiring any change in viewer behaviour. If you&#8217;re rethinking your commercial mix ahead of January 2027, we&#8217;d welcome the conversation.</em></p>\\n"},{"path":"/insights/the-all-you-can-watch-buffet-better-coverage-fewer-ads-same-price/","title":"The All You Can Watch Buffet: Better Coverage, Fewer Ads, Same Price","seoTitle":"The All You Can Watch Buffet: Better Coverage, Fewer Ads, Same Price • Allt.tv","description":"Death by a Thousand Slices You can’t have your cake and eat it too. When viewer expectations and market economics collide, something always gives. As sport fans, we want it all. Every game live, better production every season, more angles, better commentary. We want zero...","excerpt":"Death by a Thousand Slices You can’t have your cake and eat it too. When viewer expectations and market economics collide, something always gives. As sport fans, we want it all. Every game live, better production every season, more angles, better commentary. We want zero…","category":"Insights","author":"Dave Glasson [CEO, allt.tv]","date":"2026-08-26T06:53:50+00:00","image":"broadcast-cake.jpg","imageAlt":"The All You Can Watch Buffet: Better Coverage, Fewer Ads, Same Price","html":"<p><strong>Death by a Thousand Slices</strong></p>\\n<p><em>You can&#8217;t have your cake and eat it too. When viewer expectations and market economics collide, something always gives.</em></p>\\n<p>As sport fans, we want it all. Every game live, better production every season, more angles, better commentary. We want zero interruptions and we especially don&#8217;t want another gambling ad shoved into the pre-game or halftime. And we don&#8217;t want to pay a cent more for any of it.</p>\\n<p><strong>
17Pick two. That&#8217;s usually how it goes.</strong></p>\\n<p>Better coverage costs money. The NRL just locked in a $5.3 billion, seven-year rights deal with Nine and Foxtel (2028–2034), on top of the AFL&#8217;s $4.5 billion deal a few years earlier. That&#8217;s the price of the broadcasts we keep asking to get bigger and better.</p>\\n<p>Fewer ads costs money too, just differently. Federal Parliament passed the Interactive Gambling Amendment (Gambling Reform) Bill 2026 last week: no betting ads from fifteen minutes before a live match to five minutes after the final whistle, no athletes or influencers spruiking odds, no more betting logos at the venue or on the jersey. It&#8217;s a reform most fans have wanted for years. It also switches off one of the biggest ad categories that&#8217;s historically helped pay for the coverage we love.</p>\\n<p>Same story everywhere. The UK&#8217;s had a whistle-to-whistle ban since 2019, and this season Premier League clubs are pulling betting logos off their shirt fronts for good. Thats about £60 million a year gone. Ontario banned athletes and celebrities from iGaming ads back in 2024. Belgium, the Netherlands and France all tightened their rules again around this year&#8217;s World Cup. Even the US, still the loosest market going, is starting to feel it. Prop-bet bans creeping through college sport, states hiking betting taxes, sweepstakes operators under pressure. Nobody stays a free-for-all forever.</p>\\n<p><strong>So: better coverage, fewer ads, same price. Pick two, because the money to fund all three at once doesn&#8217;t exist.</strong></p>\\n<p>Traditionally, that leaves two doors. Door one: the ad load doesn&#8217;t shrink, it just changes shape; louder, less relevant categories filling the gap left by gambling dollars. Door two: the paywall gets steeper, because if advertising can&#8217;t fully carry a multi-billion-dollar rights bill, the subscription has to.</p>\\n<p>Or door three: new technology that opens up an entirely new revenue stream for broadcasters. New inventory, new formats, new ways to attract advertising dollars without more ads in the broadcast or a bigger bill for viewers. That&#8217;s the door I find most interesting. It&#8217;s also basically what we&#8217;re building at allt.</p>\\n"},{"path":"/insights/dealmaker-2026-bringing-true-affiliate-attribution-to-ctv/","title":"DealMaker 2026: Bringing True Affiliate Attribution to CTV","seoTitle":"DealMaker 2026: Bringing True Affiliate Attribution to CTV • Allt.tv","description":"Transcript of presentation to the Rakuten Advertising DealMaker Australia 2026 Conference. Presented by James Forster – CEO of Allt.tv 13th of August, 2026 at Jones Bay Wharf, Sydney, Australia [SLIDE 1 – INTRO AFFILIATE CTV – approx 10 sec] [SLIDE 2 – TEN FEET –...","excerpt":"Transcript of presentation to the Rakuten Advertising DealMaker Australia 2026 Conference. Presented by James Forster – CEO of Allt.tv 13th of August, 2026 at Jones Bay Wharf, Sydney, Australia [SLIDE 1 – INTRO AFFILIATE CTV – approx 10 sec] [SLIDE 2 – TEN FEET –…","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2026-08-25T00:37:51+00:00","image":"DealMaker-2026-Slide-1.jpg","imageAlt":"DealMaker 2026: Bringing True Affiliate Attribution to CTV","html":"<h5>Transcript of presentation to the Rakuten Advertising DealMaker Australia 2026 Conference.</h5>\\n<h5>Presented by James Forster &#8211; CEO of Allt.tv</h5>\\n<h5>13th of August, 2026 at Jones Bay Wharf, Sydney, Australia</h5>\\n<p><span style=\\"font-weight: 400;\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-979\\" src=\\"/media/insights/DealMaker-2026-Slide-1-1024x576.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"394\\" /></span></p>\\n<p><span style=\\"font-weight: 400;\\">[SLIDE 1 &#8211; INTRO AFFILIATE CTV &#8211; approx 10 sec]</span></p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-978 size-full\\" src=\\"/media/insights/DealMaker-2026-Slide-2-e1787617850681.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"394\\" /></p>\\n<p><span style=\\"font-weight: 400;\\">[SLIDE 2 &#8211; TEN FEET &#8211; approx 30 sec]</span><span style=\\"font-weight: 400;\\"><br />\\n</span><span style=\\"font-weight: 400;\\">Hi everyone, I&#8217;m James, CEO of allt. We built allt to close what we call the last 10 feet (sounds better than 3.048 metres and our american partners just wouldn’t understand), the gap between the TV screen and the viewer sitting right in front of it. That&#8217;s what I want to talk to you about today.</span></p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-977 size-full\\" src=\\"/media/insights/DealMaker-2026-Slide-3-e1787617943642.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"394\\" /></p>\\n<p><span style=\\"font-weight: 400;\\">[SLIDE 3 &#8211; THE PROBLEM &#8211; approx 60 sec]</span><span style=\\"font-weight: 400;\\"><br />\\n</span><span style=\\"font-weight: 400;\\">Here&#8217;s the problem. If you&#8217;re running affiliate through Rakuten today, your web channel is fully accountable, every click tracked, every dollar of commission tied to a result. TV has never worked that way. Brands pour huge budgets into CTV and walk away with reach numbers, impressions, nothing that tells you what actually happened after someone saw that ad. allt exists to close that gap, so CTV finally works the way your web channel already does.</span></p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-976 size-full\\" src=\\"/media/insights/DealMaker-2026-Slide-4-e1787618028268.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"392\\" /></p>\\n<p><span style=\\"font-weight: 400;\\">[SLIDE 4 &#8211; WHAT ALLT SOLVES &#8211; approx 75 sec]</span><span style=\\"font-weight: 400;\\"><br />\\n</span><span style=\\"font-weight: 400;\\">So what does that actually mean for brands. Three things. First, provable path-to-purchase attribution, we connect what someone watches directly to a transaction, the same iROAS and ROAS accountability you already expect from web publishers. Second, retail media that shows up in the moment, inside the apps people already have open, contextually matched to what&#8217;s on their TV right now. And third, affiliate commission capture on entertainment-driven purchase intent, this is a $630 billion opportunity globally that currently sits entirely outside the affiliate ecosystem. allt is how you get access to it.</span></p>\\n<p><span style=\\"font-weight: 400;\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-982 size-full\\" src=\\"/media/insights/DealMaker-2026-Slide-5-e1787618044497.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"394\\" />[SLIDE 5 &#8211; PROOF &#8211; approx 90 sec] </span></p>\\n<p><span style=\\"font-weight: 400;\\">So how does this work for brands.</span></p>\\n<p><span style=\\"font-weight: 400;\\">An awareness ad is now recognised in an app interaction — not on any app, yours — the impression has a proof trail for the first time.</span></p>\\n<p><span style=\\"font-weight: 400;\\">A brand placement stays live for the duration of the content, not just the moment it appears on screen.</span></p>\\n<p><span style=\\"font-weight: 400;\\">A sponsorship gives you the whole show — every viewer, every moment, not just the bumpers.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The right product in front of the right viewer the moment they open your app. No searching required.</span></p>\\n<p><span style=\\"font-weight: 400;\\"><br />\\n</span><span style=\\"font-weight: 400;\\">Let’s make this concrete with two real scenarios. First, entertainment. Someone&#8217;s watching a cooking show on BINGE, they open the Woolworths app on their phone. allt recognises what they&#8217;re watching and surfaces recipe-matched products, already sitting in their cart. That purchase gets tracked straight back to the viewing moment, through allt&#8217;
17s attribution, integrated with the Rakuten affiliate infrastructure you already use. Second, live sport. Someone&#8217;s watching Kayo, big moment in the game, and a retail or FMCG advertiser delivers a contextual offer straight into the app they&#8217;ve already got open. One touch, full attribution. No content tagging, no ACR, no privacy risk on either side.</span></p>\\n<p><span style=\\"font-weight: 400;\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-981 size-full\\" src=\\"/media/insights/DealMaker-2026-Slide-6-e1787618059523.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"394\\" />[SLIDE 6 &#8211; THE ASK &#8211; approx 60 sec]</span><span style=\\"font-weight: 400;\\"><br />\\n</span><span style=\\"font-weight: 400;\\">Getting live is simple. a lightweight SDK in your app, covering iOS and Android globally. Typical integration is 30 days. And commercially, it&#8217;s familiar, once we have you on board the same commission structure you&#8217;re already running with Rakuten for web publishing can now work on C-TV. With Foxtel already launching us to their advertisers in their Upfronts event at white bay power station and other broadcasters here and internationally not far behind &#8211; it’s the perfect time to get onboard. &gt;&gt;&gt;</span></p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-980 size-full\\" src=\\"/media/insights/DealMaker-2026-Slide-7-e1787618087152.jpg\\" alt=\\"\\" width=\\"700\\" height=\\"394\\" /></p>\\n"},{"path":"/insights/for-broadcasters-maximise-content-roi-by-monetising-the-second-screen/","title":"Maximise Live Sports ROI by Monetising the Second Screen","seoTitle":"Maximise Live Sports ROI by Monetising the Second Screen • Allt.tv","description":"Every broadcaster can tell you how engaged their audience is. Fewer can tell you what that engagement is worth. Second screen behaviour has been treated as a measurement problem for years. Track it, report it, use it to sell ad packages. That’s the old model....","excerpt":"Every broadcaster can tell you how engaged their audience is. Fewer can tell you what that engagement is worth. Second screen behaviour has been treated as a measurement problem for years. Track it, report it, use it to sell ad packages. That’s the old model….","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2026-07-17T02:57:21+00:00","image":"10-feet-with-infinity-static.jpg","imageAlt":"Maximise Live Sports ROI by Monetising the Second Screen","html":"<p>Every broadcaster can tell you how engaged their audience is. Fewer can tell you what that engagement is worth.</p>\\n<p>Second screen behaviour has been treated as a measurement problem for years. Track it, report it, use it to sell ad packages. That&#8217;s the old model. The opportunity in front of broadcasters now is different: turn the moment a viewer picks up their phone during a match into a direct commercial transaction, without asking them to change a single habit.</p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"size-medium wp-image-965 aligncenter\\" src=\\"/media/insights/second-screening-300x157.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"157\\" /></p>\\n<p><strong>The gap in the current model</strong></p>\\n<p>A viewer watching a game already reaches for their phone constantly, and the scale of that behaviour is well documented. Around 88% of Americans use a second screen while watching TV, and for sports specifically the number is even more concentrated: 49% of football viewers use two or more screens at once, and 69% pick up a second screen after seeing something on air to find more information. During major live events, that behaviour tips into commerce outright. Research from a recent World Cup showed nearly a third of fans actively purchasing during live matches, with a further 26% browsing offers tied to the tournament.</p>\\n<p>Right now, almost all of that value flows to whoever owns the phone screen, not whoever owns the broadcast. Google, social platforms, and retailers themselves capture the intent that the broadcast created.</p>\\n<p>That&#8217;
17s the gap. The broadcaster does the hard work of holding attention. Somebody else monetises the moment attention turns into action.</p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"wp-image-966 aligncenter\\" src=\\"/media/insights/the-last-10-feet-1024x567.jpg\\" alt=\\"\\" width=\\"674\\" height=\\"373\\" /></p>\\n<p><strong>Retail media and affiliate commerce as the fix</strong></p>\\n<p>Retail media and affiliate commerce give broadcasters a way to capture that value instead of leaking it, and both are already among the fastest-growing categories in advertising and commerce. Global retail media spend hit roughly $184 billion in 2025 and is on track to pass $300 billion by 2030, growing faster than search or social. Affiliate marketing is smaller but growing at a similar clip, with the global market on track to pass $20 billion in 2026 at close to 15% annual growth, and businesses seeing an average return of $6.50 for every dollar spent.</p>\\n<p>Retail media puts relevant, contextual product placement in front of a viewer while their attention is highest, during the broadcast itself. Affiliate commerce lets a broadcaster earn a commission when that attention converts into a purchase, whether that&#8217;s a jersey, tickets, or a subscription.</p>\\n<p>Neither of these is a new category. What&#8217;s new is the ability to connect them directly to what&#8217;s happening on screen, in real time, without building a companion app and hoping viewers download it.</p>\\n<div id=\\"attachment_961\\" style=\\"width: 610px\\" class=\\"wp-caption aligncenter\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-961\\" class=\\"wp-image-961\\" src=\\"/media/insights/maccas-squeezeback-2-1024x797.jpg\\" alt=\\"\\" width=\\"600\\" height=\\"467\\" /><p id=\\"caption-attachment-961\\" class=\\"wp-caption-text\\">Squeezeback/L-bar ad example using allt sync</p></div>\\n<p><strong>Where sync technology fits</strong></p>\\n<p>This is the piece that&#8217;s been missing. Allt&#8217;s sync technology links a viewer&#8217;s mobile device to what they&#8217;re watching on TV in real time, deployed broadcaster-side via SDK 
17integration. No app download. No change in viewer behaviour. The broadcaster already has the infrastructure; Allt sits inside it.</p>\\n<p>That link is what makes retail media and affiliate commerce practical at scale rather than a manual, campaign-by-campaign effort. When the platform knows what&#8217;s on screen at any given second, contextual commerce stops being a guess and becomes a real-time trigger.</p>\\n<p><strong>Proof in the partnerships</strong></p>\\n<p>This isn&#8217;t theoretical. Allt&#8217;s relationships with Rakuten Advertising and Impact.com exist specifically to connect that in-broadcast moment to affiliate and retail media infrastructure that already has scale and existing retailer relationships. The technology handles the sync. The commercial partners handle the transaction. The broadcaster captures a revenue line that previously went to someone else entirely.</p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"wp-image-963 size-medium aligncenter\\" src=\\"/media/insights/sports-broadcast-control-room-e1784256420607-300x184.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"184\\" /></p>\\n<p><strong>The bigger shift</strong></p>\\n<p>Advertising revenue across broadcast has been under pressure for years, and that pressure isn&#8217;t easing. Linear TV ad revenue is forecast to fall from around $55 billion in 2025 to under $52 billion in 2026, and under $48 billion the year after, a decline that&#8217;s expected to continue as budgets keep shifting toward streaming and connected TV. Retail media and affiliate commerce represent a genuinely new line, not a reshuffling of the existing ad pie, and one of the few growing faster than the channel it&#8217;s replacing. For broadcasters evaluating where the next few points of revenue growth actually come from, the answer increasingly sits in the second screen moment they already own but haven&#8217;t yet monetised.</p>\\n<p>The infrastructure to capture it exists today, and it doesn&#8217;t require rebuilding how your audience watches.</p>\\n<hr />\\n<p><strong>Worth a conversation</strong></p>\\n<p>If you&#8217;re evaluating where the next few points of ad revenue growth come from, and want to see how this works on your own platform, it&#8217;s worth a conversation.</p>\\n<p>[email protected]</p>\\n"},{"path":"/insights/for-broadcasters-sports-betting-revenue-and-regulatory-reform-dont-have-to-be-at-odds/","title":"For Broadcasters: Sports Betting Revenue and Regulatory Reform Don’t Have to Be at Odds","seoTitle":"For Broadcasters: Sports Betting Revenue and Regulatory Reform Don't Have to Be at Odds • Allt.tv","description":"The intent is there. The conversion isn’t. Sports betting is a speed business. A viewer watching live sport is a high-intent customer, and every operator is spending heavily to acquire exactly that customer. Perhaps the biggest opportunity to increase customer value is in reducing friction...","excerpt":"The intent is there. The conversion isn’t. Sports betting is a speed business. A viewer watching live sport is a high-intent customer, and every operator is spending heavily to acquire exactly that customer. Perhaps the biggest opportunity to increase customer value is in reducing friction…","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2026-07-16T05:23:21+00:00","image":"u6133757278_Flat-design_illustration_close-up_of_a_hand_holdi_8404684a-883b-449a-aa34-9fe5a68d214b_2.png","imageAlt":"For Broadcasters: Sports Betting Revenue and Regulatory Reform Don’t Have to Be at Odds","html":"<h2>The intent is there. The conversion isn&#8217;t.</h2>\\n<p>Sports betting is a speed business. A viewer watching live sport is a high-intent customer, and every operator is spending heavily to acquire exactly that customer. Perhaps the biggest opportunity to increase customer value is in reducing friction in the gap between a viewer deciding they want to bet and actually getting the bet placed.</p>\\n<p><strong>Where the gap actually happens</strong></p>\\n<p>A viewer sees a moment: a substitution, a shift in momentum, a scoring chance. The instinct to act is immediate. Acting on it today means leaving the broadcast, whether that&#8217;s opening a separate app and finding the right market, or in markets like Australia, picking up the phone and calling the operator directly, since in-play bets there can&#8217;t be placed in-app. The exact mechanics differ by market, but the pattern doesn&#8217;t: the decision happens on the broadcast, and the action happens somewhere else, with the moment often gone by the time it does.</p>\\n<p>That gap is where operators lose a customer they already paid to acquire, and where broadcasters lose a commercial relationship that belongs to them. The attention, the context, and the emotional trigger all happen on the broadcast. The transaction doesn&#8217;t.</p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone size-medium wp-image-949\\" src=\\"/media/insights/sports-bar-celebration-300x300.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"300\\" /></p>\\n<p><strong>Closing it without building a betting product</strong></p>\\n<p>The fix isn&#8217;t a betting app. It&#8217;s removing the search and the friction between what&#8217;
17s on screen and whatever step comes next for the viewer, whether that&#8217;s an in-app bet slip or the right operator on the other end of a call. With sync in place, the right event, market, and odds are already surfaced the moment the viewer picks up their phone. No searching for what to bet on, even where the final step still has to happen somewhere else.</p>\\n<p>That&#8217;s not a product feature for the operator, it&#8217;s a conversion rate transformation for a customer they&#8217;re already carrying the cost of acquiring. And because it runs broadcaster-side, deployed silently alongside the existing feed, there&#8217;s no new app for the viewer to download and no habit to relearn.</p>\\n<p><strong>Why the Canadian market matters right now</strong></p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"21:1-21:572;2082-2653\\">Canada is one of the clearest examples of why timing matters here. Single-event betting was legalised in 2021 and the market hasn&#8217;t slowed since, hitting an estimated USD $4.1B in gross gaming revenue in 2024. Ontario alone now has 48 licensed operators competing for the same viewers, and Alberta opens its own regulated market on July 13, with more than 30 operators already lining up to enter. That&#8217;s an open, competitive, fast-growing environment where the operator who reduces friction between intent and conversion first has a real advantage, not a theoretical one.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"23:1-23:939;2655-3593\\">Ontario is also worth watching for a second reason. A bill currently before the provincial legislature would restrict gambling advertising in the province, arriving at a moment when the market is setting handle records almost every month. It hasn&#8217;t passed yet, but it&#8217;s a signal that the advertising conversation playing out in Australia isn&#8217;t unique to one market. Regulators everywhere are converging on the same question: how much gambling promotion should reach a shared broadcast audience, versus an audience that&#8217;s already opted in. iGaming Ontario&#8217;s own research points to why that distinction matters. Independent research commissioned by the regulator found that only around 9% of Ontario players were still gambling exclusively on unregulated sites in 2026, down from roughly double that a year earlier, evidence that a well-built regulated channel with real player protections earns trust rather than pushing players elsewhere.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"25:1-25:356;3595-3950\\">There&#8217;s a compliance angle too. A sync layer that operates inside the wagering app itself, rather than as broadcast-side advertising, sits outside the kind of gambling ad restrictions increasingly being introduced across markets, while still satisfying player verification frameworks operators already have to meet. That matters more every year, not less.</p>\\n<p><strong>A market too large to leave unaddressed</strong></p>\\n<p>Zoom out and the numbers make the case on their own. The US wagering market hit a record USD $13.7B in 2024, with live betting now accounting for roughly half of mature markets and over 80% of wagers placed via mobile. Globally, the market sits around USD $114B and is growing at roughly 11% a year through 2032.</p>\\n<p><strong><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone size-medium wp-image-948\\" src=\\"/media/insights/family-game-night--300x300.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"300\\" /></strong></p>\\n<p><strong>Why Australia is the clearest example of all</strong></p>\\n<p>Australia is where this dynamic is most visible. The market is significant on its own, around AUD $2.2B in GGR across 230-plus licensed bookmakers, but it&#8217;s heading into a ban on gambling advertising during live sport broadcasts from January 2027, alongside a cap of three gambling ads per hour outside those windows. For operators, that closes off the channel that&#8217;s historically driven the fastest path from viewer to bettor: the on-screen prompt during the broadcast itself. The scale of that channel today is worth noting. Regulator data shows gambling ads have been running at close to three per ad break during NRL and AFL broadcasts, and the government&#8217;s own estimate is that the reforms will cut gambling ad exposure for Australians under 25 by around 80%.</p>\\n<p>It&#8217;s worth being clear about why that reform exists. Children watching sport with family shouldn&#8217;t be absorbing a constant stream of betting prompts during the broadcast, and viewers already struggling with problem gambling shouldn&#8217;t have that struggle triggered by an ad appearing mid-match, in their own living room, with no way to opt out of seeing it. That&#8217;s a reasonable position, and it&#8217;s one operators themselves have largely accepted rather than fought outright. Responsible Wagering Australia, the industry&#8217;s own peak body, has publicly acknowledged that ad volumes had climbed too high and pointed to steps the sector had already taken to pull them back, even while pushing for a more consultative process on the detail. That&#8217;s a useful marker: this isn&#8217;t an industry claiming the problem doesn&#8217;t exist, it&#8217;s one negotiating over where the line should sit, while still representing a sector that contributes b
17illions to the Australian economy and tens of thousands of jobs.</p>\\n<p>That&#8217;s precisely the problem allt.tv&#8217;s silent connection solves, and it&#8217;s worth being precise about why. There&#8217;s no on-screen ad, no broadcast-facing prompt, no visible call to action layered over the game for every viewer to see, regardless of age or vulnerability. The connection happens device-to-device, and any interaction only happens inside a wagering app the viewer has already installed, already verified their age with, and already completed any self-exclusion steps on. It doesn&#8217;t reach a child watching the game. It doesn&#8217;t reach someone who has actively excluded themselves from betting products. It only ever reaches an adult who has already opted in to that operator&#8217;s platform and been through that operator&#8217;s own protections.</p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone size-medium wp-image-951\\" src=\\"/media/insights/pm-gambling-ads-2-251x300.jpg\\" alt=\\"\\" width=\\"251\\" height=\\"300\\" /></p>\\n<p>That&#8217;s not a way around the intent of the reform, it&#8217;s an approach built around the same intent: keep gambling promotion out of shared, broadcast-facing spaces where anyone watching is exposed to it, and keep it inside the verified, opted-in environments where an operator already knows who they&#8217;re talking to. The reform is about where the exposure happens, not about whether an adult who has already gone through verification can find their own way to a market they were already looking for.</p>\\n<p>That makes it not just compliant with the reform, but aligned with the reasoning behind it. Operators lose their loudest acquisition channel in January 2027. The ones who&#8217;ve already built the quiet one, working inside the protections rather than around them, won&#8217;t have noticed the change.</p>\\n<p>The architecture behind this kind of sync layer is jurisdiction-agnostic by design. The same silent connection that works in Sydney works in Toronto, London, or Chicago, adaptable to different regulatory environments without requiring a different build for each one.</p>\\n<p><strong>The opportunity for broadcasters</strong></p>\\n<p>Wagering operators are already spending heavily to acquire the exact viewer sitting in front of a broadcaster&#8217;s content. The broadcaster&#8217;s role isn&#8217;t to become a betting operator, it&#8217;s to own the infrastructure that makes that spend convert more efficiently, and to be part of the value that creates rather than a bystander to it.</p>\\n<p>The broadcasters best placed to benefit will be the ones with the sync infrastructure already in place before this becomes standard, not the ones starting from zero once it does.</p>\\n<p data-sourcepos=\\"53:1-53:23;8457-8479\\">~~~</p>\\n<h2 class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"53:1-53:23;8457-8479\\"><em><strong>Where allt.tv fits in</strong></em></h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"55:1-55:465;8481-8945\\">This is the exact problem allt was built to solve. Our sync technology links a viewer&#8217;s mobile device to what&#8217;
17s on their TV in real time, deployed broadcaster-side via SDK integration, with no app download and no change in viewer behaviour required. It&#8217;s already been integrated with a major Australian broadcast platform, and the underlying approach is protected by a granted US patent.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"57:1-57:318;8947-9264\\">The commercial layer built on top of that sync connection already spans retail media, affiliate commerce, and the wagering-specific approach outlined above. The architecture is jurisdiction-agnostic by design, built to sit inside different regulatory environments rather than requiring a different build for each one.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"59:1-59:225;9266-9490\\">If any of this is relevant to where your platform is headed, particularly around player acquisition efficiency or navigating advertising restrictions without losing your fastest conversion channel, it&#8217;s worth a conversation.</p>\\n<p data-sourcepos=\\"59:1-59:225;9266-9490\\">[email protected]</p>\\n"},{"path":"/news/allt-tv-featured-in-rakuten-advertising-partner-spotlight-2026/","title":"allt.tv Featured in Rakuten Advertising Partner Spotlight -2026","seoTitle":"allt.tv Featured in Rakuten Advertising Partner Spotlight -2026 • Allt.tv","description":"We’re excited to share that Allt has been recognized in Rakuten Advertising’s Q2 2026 Affiliate Partner Spotlight, a roundup celebrating standout publishers across loyalty, cashback, travel, discovery, and ecommerce in the APAC region. Why Allt Made the List Rakuten’s spotlight highlights partners that are pushing...","excerpt":"We’re excited to share that Allt has been recognized in Rakuten Advertising’s Q2 2026 Affiliate Partner Spotlight, a roundup celebrating standout publishers across loyalty, cashback, travel, discovery, and ecommerce in the APAC region. Why Allt Made the List Rakuten’s spotlight highlights partners that are pushing…","category":"News","author":"James Forster [CEO, allt.tv]","date":"2026-07-14T05:55:46+00:00","image":"rakuten-allt-2.jpg","imageAlt":"allt.tv Featured in Rakuten Advertising Partner Spotlight -2026","html":"<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"3:1-3:323;78-400\\">We&#8217;re excited to share that Allt has been recognized in <a class=\\"underline underline underline-offset-2 decoration-1 decoration-current/40 hover:decoration-current focus:decoration-current\\" href=\\"https://blog.rakutenadvertising.com/en-au/news/q2-affiliate-partner-spotlight-2026/\\">Rakuten Advertising&#8217;s Q2 2026 Affiliate Partner Spotlight</a>, a roundup celebrating standout publishers across loyalty, cashback, travel, discovery, and ecommerce in the APAC region.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" data-sourcepos=\\"5:1-5:26;402-427\\">Why Allt Made the List</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"7:1-7:408;429-836\\">Rakuten&#8217;s spotlight highlights partners that are pushing performance marketing into new territory, and Allt was called out for exactly that. The feature describes how Allt is helping redefine where performance marketing can happen — building a bridge between TV viewing and mobile commerce, so participating apps can connect with consumers who are watching television while actively engaged on their phones.</p>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"9:1-9:472;838-1309\\">By surfacing relevant offers during these high-dwell, high-attention &#8220;second screen&#8221; moments, Allt gives brands a way to reach audiences in a genuinely new, contextually relevant environment — well beyond the traditional web placements affiliate marketing has relied on. Rakuten framed it as a glimpse of where the industry is heading: performance marketing moving into moments of natural discovery and consideration, rather than staying confined to established channels.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" data-sourcepos=\\"11:1-11:16;1311-1326\\">Good Company</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"13:1-13:376;1328-1703\\">Allt was featured alongside a strong lineup of emerging and notable publishers in this quarter&#8217;s spotlight, including ANZ NZ&#8217;s new card-linked offer program, Flight Centre Group&#8217;s World360 Rewards, furniture discovery platform ufurnish, social shopping app Locker, Australian cashback newcomer PS Rewards, EatClub&#8217;s dining-rewards program, and Hong Kong marketplace HKTVmall.</p>\\n<h2 class=\\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\\" data-sourcepos=\\"15:1-15:27;1705-1731\\">Read the Full Spotlight</h2>\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"17:1-18:165;1733-2024\\">You can read Rakuten Advertising&#8217;s complete Q2 2026 Partner Spotlight, including details on all the featured publishers, here: 👉 <a class=\\"underline underline underline-offset-2 decoration-1 decoration-current/40 hover:decoration-current focus:decoration-current\\" href=\\"https://blog.rakutenadvertising.com/en-au/news/q2-affiliate-partner-spotlight-2026/\\">blog.rakutenadvertising.com/en-au/news/q2-affiliate-partner-spotlight-2026</a></p>\\n<hr class=\\"border-border-200 border-t-0.5 my-3 mx-1.5\\" />\\n<p class=\\"font-claude-response-body break-words whitespace-normal\\" data-sourcepos=\\"22:1-22:120;2031-2150\\"><em>Want to learn more about how Allt connects TV and mobile commerce? <a class=\\"underline underline underline-offset-2 decoration-1 decoration-current/40 hover:decoration-current focus:decoration-current\\" href=\\"https://allt.tv/\\">Visit allt.tv</a> or get in touch.</em></p>\\n"},{"path":"/news/foxtel-media-launches-retail-plus-powered-by-allt-tv-to-connect-commerce-and-content/","title":"Foxtel Media launches Retail Plus powered by Allt.tv to connect commerce and content","seoTitle":"Foxtel Media launches Retail Plus powered by Allt.tv to connect commerce and content • Allt.tv","description":"Foxtel Media is partnering with allt.tv to deliver smarter second-screen experiences and interactive retail advertising. In a global and Australian TV first, the technology connects the apps viewers already use on their phones to the content they are watching on TV in real time, making key moments and offers instantly actionable.","excerpt":"  Sydney – 11 September 2025: Foxtel Media is introducing Retail Plus, a new retail media offering designed to help brands reach audiences with smarter targeting, seamless e-commerce integration, and premium content that drives measurable business outcomes. Announced at Foxtel Media’s Upfront at Sydney’s White Bay…","category":"News","author":"James Forster [CEO, allt.tv]","date":"2025-09-15T01:57:30+00:00","image":"2026_UPFRONT_FOXTELMEDIA_Photo_00560_Nev-Hasan-and-Karen-Papalia-1024x683.jpg","imageAlt":"Foxtel Media launches Retail Plus powered by Allt.tv to connect commerce and content","html":"<div id=\\"attachment_893\\" style=\\"width: 410px\\" class=\\"wp-caption alignnone\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-893\\" class=\\"wp-image-893\\" src=\\"/media/insights/Enter-the-game-1024x683.jpeg\\" alt=\\"\\" width=\\"400\\" height=\\"267\\" /><p id=\\"caption-attachment-893\\" class=\\"wp-caption-text\\">Foxtel Upfront 26 Launches allt.tv at spectacular White Bay Power Station, Sydney</p></div>\\n<p>&nbsp;</p>\\n<p><strong>Sydney – 11 September 2025:</strong> Foxtel Media is introducing Retail Plus, a new retail media offering designed to help brands reach audiences with smarter targeting, seamless e-commerce integration, and premium content that drives measurable business outcomes.</p>\\n<p>Announced at Foxtel Media’s Upfront at Sydney’s White Bay Power Station, Retail Plus builds on outcome-led research showing that the combination of highly targeted premium video with in-store retail brands delivers a powerful result multiplier. By leveraging trusted, high-engagement channels, Retail Plus equips retail partners to build their brands and deliver exceptional experiences for customers.</p>\\n<p>Launching first in pharmaceuticals and beauty with Chemist Warehouse, the new retail division 
17will expand further to grocery, hardware, electronics, and fashion, combining data-driven insights with high-engagement channels. These strategic retail partners will be at the front of the queue, working with Foxtel Media to shape and launch new retail products and content experiences, and create more value and better outcomes for key suppliers and customers.</p>\\n<p>Ilias Babalis, General Manager, Sales, Chemist Warehouse said, “We have always thrived by meeting customers where they are: in-store, online, and now directly through the content they love. Retail Plus gives us a chance to connect with audiences in a way that feels natural and immediate, while strengthening the relationship between our brand and millions of Australian shoppers.”</p>\\n<div id=\\"attachment_890\\" style=\\"width: 276px\\" class=\\"wp-caption alignnone\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-890\\" class=\\"wp-image-890\\" src=\\"/media/insights/PXL_20250911_081830325-226x300.jpg\\" alt=\\"\\" width=\\"266\\" height=\\"353\\" /><p id=\\"caption-attachment-890\\" class=\\"wp-caption-text\\">Dave Glasson &amp; James Forster at allt.tv + Foxtel launch</p></div>\\n<div id=\\"attachment_892\\" style=\\"width: 310px\\" class=\\"wp-caption alignnone\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-892\\" class=\\"wp-image-892 size-medium\\" src=\\"/media/insights/wb-power-station-upfronts-26-300x200.jpeg\\" alt=\\"\\" width=\\"300\\" height=\\"200\\" /><p id=\\"caption-attachment-892\\" class=\\"wp-caption-text\\">White Bay Power Station, Sydney</p></div>\\n<p><strong>Smarter second-screen experiences</strong></p>\\n<p>Foxtel Media is partnering with <a href=\\"https://ctd0404.na1.hubspotlinksstarter.com/Ctc/GE+113/cTd0404/VXc8Kn6Sxj_JW4Lx4Jp28JrQtW7zr5cm5CjNDhN6R-BYK3m2nnW69sMD-6lZ3nJW2b2y9325hC76W5H2z4x4Gn243W6HBxZ74hpxLfW3twR_f1KL_9DW835X0D5_nrGmW3kr-MN3_XPyxN2Lvg263xgn5W7h8T9J4MgpThW74p0fj4mSbKmW193Qcl9cBQLrW63XXCb3jBrvzW7j4g507fFcQ8W78gPs33SDnJ7W4q8Z9x1s5jfWW1FpqDY9hWRR7W8tX-dw5fm0pcW2P_K2f308x-6W8nh3_S72DTNQW7DM-z-1QJRklW1YcNXy84LYyHf8b2DhF04\\" target=\\"_blank\\" rel=\\"noopener\\" data-saferedirecturl=\\"https://www.google.com/url?q=https://cTd0404.na1.hubspotlinksstarter.com/Ctc/GE%2B113/cTd0404/VXc8Kn6Sxj_JW4Lx4Jp28JrQtW7zr5cm5CjNDhN6R-BYK3m2nnW69sMD-6lZ3nJW2b2y9325hC76W5H2z4x4Gn243W6HBxZ74hpxLfW3twR_f1KL_9DW835X0D5_nrGmW3kr-MN3_XPyxN2Lvg263xgn5W7h8T9J4MgpThW74p0fj4mSbKmW193Qcl9cBQLrW63XXCb3jBrvzW7j4g507fFcQ8W78gPs33SDnJ7W4q8Z9x1s5jfWW1FpqDY9hWRR7W8tX-dw5fm0pcW2P_K2f308x-6W8nh3_S72DTNQW7DM-z-1QJRklW1YcNXy84LYyHf8b2DhF04&amp;source=gmail&amp;ust=1757666190258000&amp;usg=AOvVaw3AFn-kXxTGLFfMxAdbolEj\\">allt.tv</a> to deliver smarter second-screen experiences and interactive retail advertising. In a global and Australian TV first, the technology connects the apps viewers already use on their phones to the content they are watching on TV in real time, making key moments and offers instantly actionable.</p>\\n<p>By integrating directly into existing behaviours, the service removes barriers like QR codes or promo searches and instead creates seamless pathways from inspiration to transaction. For example, a food delivery app offer can appear automatically during a live sports broadcast when audiences are most likely to order in, while a grocery shopping app can pre-fill a cart with ingredients featured in a cooking program, turning entertainment into immediate retail action.</p>\\n<p>James Forster, CEO of <a href=\\"http://allt.tv/\\" target=\\"_blank\\" rel=\\"noopener\\" data-saferedirecturl=\\"https://www.google.com/url?q=http://allt.tv&amp;source=gmail&amp;ust=1757666190258000&amp;usg=AOvVaw1cagixyt3W-LySLeFziz9f\\">allt.tv</a> said: “Retail Plus powered by <a href=\\"http://allt.tv/\\" target=\\"_blank\\" rel=\\"noopener\\" data-saferedirecturl=\\"https://www.google.com/url?q=http://allt.tv&amp;source=gmail&amp;ust=1757666190258000&amp;usg=AOvVaw1cagixyt3W-LySLeFziz9f\\">allt.tv</a> is redefining what TV can do for brands and viewers. By seamlessly linking premium content with real-time engagement, we’re turning every moment into an opportunity for interaction and action, creating a level of impact and measurement that surpasses all retail advertising options in the market r
17ight now.”</p>\\n<p>This technology integrates premium TV content with real-time immediacy of mobile commerce, creating richer, more interactive experiences and a seamless connection between viewing and consumer actions.</p>\\n<p>Nev Hasan, Chief Sales Officer, Foxtel Media, said: “Retail Plus was born from a clear shift in consumer behaviour. People expect relevance, convenience and instant access, and they’re no longer separating how they watch, shop and discover. Retail media needs to evolve with that mindset. With Retail Plus, we’re connecting content, commerce and daily life in a way that feels effortless to the viewer, but deeply valuable to brands. We’re harnessing data and technology to make these moments more intuitive, and combining that with the power of premium entertainment to drive real outcomes.”</p>\\n<div id=\\"attachment_888\\" style=\\"width: 410px\\" class=\\"wp-caption alignnone\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-888\\" class=\\"wp-image-888\\" src=\\"/media/insights/2026_UPFRONT_FOXTELMEDIA_Photo_00560_Nev-Hasan-and-Karen-Papalia-1024x683.jpg\\" alt=\\"\\" width=\\"400\\" height=\\"267\\" /><p id=\\"caption-attachment-888\\" class=\\"wp-caption-text\\">Nev Hasan and Karen Papalia</p></div>\\n<p>&nbsp;</p>\\n<p><strong>For more information contact:</strong></p>\\n<p>Erin Zillman</p>\\n<p>Head of Marketing and Communications, Foxtel Media</p>\\n<p>+61 402 711 210 / <a href=\\"mailto:[email protected]\\" target=\\"_blank\\" rel=\\"noopener\\">[email protected]</a></p>\\n<p>&nbsp;</p>\\n<p>James Forster</p>\\n<p>CEO, Allt.tv</p>\\n<p><a href=\\"mailto:[email protected]\\" target=\\"_blank\\" rel=\\"noopener\\">[email protected]</a></p>\\n<p><strong>** PRESS RELEASE ENDS**</strong></p>\\n"},{"path":"/insights/the-shoppable-struggle-why-interactive-tv-ads-arent-clicking-yet/","title":"The Shoppable Struggle: Why Interactive TV Ads Aren’t Clicking (Yet)","seoTitle":"The Shoppable Struggle: Why Interactive TV Ads Aren't Clicking (Yet) • Allt.tv","description":"Shoppable TV ads burst onto the scene promising a seamless blend of entertainment and e-commerce. Imagine: being captivated by a stunning new jacket featured in your favorite show and buying it with a simple click of your remote. No more frantic Googling, no more digging...","excerpt":"Shoppable TV ads burst onto the scene promising a seamless blend of entertainment and e-commerce. Imagine: being captivated by a stunning new jacket featured in your favorite show and buying it with a simple click of your remote. No more frantic Googling, no more digging…","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2024-06-27T06:06:11+00:00","image":"qr-code-frustration.jpg","imageAlt":"man holding remote frustrated by qr code ad","html":"<p><span style=\\"font-weight: 400;\\">Shoppable TV ads burst onto the scene promising a seamless blend of entertainment and e-commerce. Imagine: being captivated by a stunning new jacket featured in your favorite show and buying it with a simple click of your remote. No more frantic Googling, no more digging through websites. The future of shopping, delivered right to your living room.</span></p>\\n<p><span style=\\"font-weight: 400;\\">While the concept holds immense potential, the reality is proving to be a bit more complicated. Shoppable TV ads, despite their promise, are facing a significant hurdle: </span><b>us, the viewers.</b><span style=\\"font-weight: 400;\\"> We&#8217;re hesitant, and for good reason. The current execution of shoppable TV ads simply isn&#8217;t hitting the mark, creating a disconnect between the allure of instant gratification and the reality of clunky user experience.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The struggle boils down to two primary approaches, both with their own set of drawbacks:</span></p>\\n<ol>\\n<li><b> The Remote Control Roadblock:</b><span style=\\"font-weight: 400;\\"> Many shoppable ads rely on using your TV remote to navigate clunky on-screen menus. This method, while seemingly straightforward, disrupts the viewing experience. Wrestling with multiple buttons to enter payment information while trying to follow the plot of your show is a recipe for frustration, not a seamless shopping experience.</span></li>\\n<li><b> The QR Code Conundrum:</b><span style=\\"font-weight: 400;\\"> The alternative? Pulling out your phone, aiming your camera at a fleeting QR code, and waiting for the relevant website to load. While QR codes have seen a resurgence in recent years, their implementation in shoppable TV ads feels jarring. It forces viewers to disengage from the content they&#8217;re enjoying, creating friction in a process that should be frictionless.</span></li>\\n</ol>\\n<div id=\\"attachment_875\\" style=\\"width: 310px\\" class=\\"wp-caption aligncenter\\"><img loading=\\"lazy\\" decoding=\\"async\\" aria-describedby=\\"caption-attachment-875\\" class=\\"size-medium wp-image-875\\" src=\\"/media/insights/uniqode-shoppable-TV-qr-code-example-300x168.png\\" alt=\\"denim clothing ad on TV with qr code scanned by phone\\" width=\\"300\\" height=\\"168\\" /><p id=\\"caption-attachment-875\\" class=\\"wp-caption-text\\">Uniqode Shoppable Ad Example</p></div>\\n<p>&nbsp;</p>\\n<p><span style=\\"font-weight: 400;\\">These methods highlight a fundamental disconnect between the aspiration and the e</span><span style=\\"font-weight: 400;\\">xecution of shoppable TV ads. Instead of enhancing the viewing experience, they interrupt it, leaving viewers frustrated and less likely to engage in the future.</span></p>\\n<p><span style=\\"font-weight: 400;\\">Just this month I had a rep from one of the worlds biggest retailers bemoaning to me the (valid) question posed to him from his biggest supplier to justify their connected TV ad co-spends </span><strong><i>“Show me the data&#8230; How do I know I’m getting return on my ad spend with you?”</i></strong></p>\\n<p><b>So, what&#8217;s the solution?</b><span style=\\"font-weight: 400;\\"> How can we bridge the gap between the promise of shoppable TV and the reality of user experience? Here are a few ideas:</span></p>\\n<ul>\\n<li style=\\"font-weight: 400;\\" aria-level=\\"1\\"><b>Seamless Integration:</b><span style=\\"font-weight: 400;\\"> Shoppable TV ads need to be organically woven into the viewing experience, not jarring interruptions. Imagine subtle prompts appearing as a product catches your eye, offering the option to learn more with a simple voice command or a single button press on your remote.</span></li>\\n<li style=\\"font-weight: 400;\\" aria-level=\\"1\\"><b>Personalized Recommendations:</b><span style=\\"font-weight: 400;\\"> Instead of generic product placements, imagine receiving personalized recommendations based on your viewing habits and preferences. Or even dynamic on-screen ads that build off your interactions. This level of customization would make the shopping experience feel more relevant and less intrusive.</span></li>\\n<li style=\\"font-weight: 400;\\" aria-level=\\"1\\"><b>Enhanced Functionality:</b><span style=\\"font-weight: 400;\\"> The technology needs to catch up with the ambition. Voice control, intuitive interfaces, and streamlined payment options are crucial for creating a truly seamless experience.</span></li>\\n</ul>\\n<p><span style=\\"font-weight: 400;\\">The potential of shoppable TV ads remains undeniable. The ability to instantly purchase what you see on screen holds immense appeal for both consumers and advertisers. There are companies out there making awesome strides such as </span><b>Prime Video</b><span style=\\"font-weight: 400;\\">
17 and Melbourne-based ad-tech provider </span><b>Vudoo </b><span style=\\"font-weight: 400;\\">with their </span><i><span style=\\"font-weight: 400;\\">shop anywhere</span></i> <span style=\\"font-weight: 400;\\">ads</span><b>. </b><span style=\\"font-weight: 400;\\">However, to truly unlock this potential, the focus needs to shift from simply inserting shoppable elements into existing ad formats to creating a truly integrated and user-friendly experience.</span></p>\\n<p><span style=\\"font-weight: 400;\\">Until then, the shoppable struggle will likely continue. Viewers will remain hesitant, and the promise of a seamless fusion between entertainment and e-commerce will remain unfulfilled. The key to success lies in understanding that shoppable TV isn&#8217;t just about adding a &#8220;buy now&#8221; button; it&#8217;s about creating a holistic and enjoyable experience that complements, rather than disrupts, the way we consume content.</span></p>\\n<h6><span style=\\"font-weight: 400;\\">Allt.tv is the connective tissue that bridges the gap between the TV and the couch giving viewers and advertisers what they want, simplicity and delight and quantifiable return on ad spend respectively. It’s time to ditch the outdated and clunky TV remote and the QR code and connect viewers&#8217; phones (where they are conditioned to engage) directly to their TV content.</span></h6>\\n<h3>about the author</h3>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"size-full wp-image-842 alignleft\\" src=\\"/media/insights/James-Mugshot.jpg\\" alt=\\"\\" width=\\"238\\" height=\\"229\\" />James is the co-founder of allt.tv.</p>\\n<p>With over 20 years experience in advertising, marketing and strategy, he’s the first to bring a brand’s perspective into the room and incessantly championing the “why” of everything we do at allt.</p>\\n"},{"path":"/insights/the-great-wall-how-can-ott-advertisers-break-through-the-disconnect-with-viewer-engagements/","title":"The Great Wall – How can OTT advertisers break through the disconnect with viewer engagements?","seoTitle":"The Great Wall - How can OTT advertisers break through the disconnect with viewer engagements? • Allt.tv","description":"The reality is unless you’re running a single market, single channel, single call to action message campaign… you really don’t have an accurate view of attribution and ROI for your ad spend. If you’ve ever stuck your head  into a marketing content strategy meeting you’d...","excerpt":"The reality is unless you’re running a single market, single channel, single call to action message campaign… you really don’t have an accurate view of attribution and ROI for your ad spend. If you’ve ever stuck your head into a marketing content strategy meeting you’d…","category":"Insights","author":"James Forster [CEO, allt.tv]","date":"2023-05-16T05:47:15+00:00","image":"TV-brickwall.jpg","imageAlt":"3 people watching a TV on a brick wall","html":"<h4><span style=\\"font-weight: 400;\\">The reality is unless you’re running a single market, single channel, single call to action message campaign… you really don’t have an accurate view of attribution and ROI for your ad spend.</span></h4>\\n<p><span style=\\"font-weight: 400;\\">If you’ve ever stuck your head  into a marketing content strategy meeting you’d likely have heard a word that gets P&amp;L owners and content teams frothing at its mention… “engagement”</span></p>\\n<p><span style=\\"font-weight: 400;\\">Sure it’s one of the marketing buzzwords that gets thrown around by any marketing team worth their salt and even those that aren’t… But what really is engagement and why is it so important when creating and delivering commercial content?</span></p>\\n<p><span style=\\"font-weight: 400;\\">MIT defined </span><i><span style=\\"font-weight: 400;\\">engagement</span></i><span style=\\"font-weight: 400;\\"> as:</span></p>\\n<blockquote>\\n<h5 style=\\"text-align: center;\\"><i><span style=\\"font-weight: 400;\\">“the extent to which the viewer is focused on the experience being shown on the TV”</span></i></h5>\\n</blockquote>\\n<p><span style=\\"font-weight: 400;\\">But, is this really the extent of the engagement taking place? </span></p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone size-medium wp-image-838\\" src=\\"/media/insights/TV-viewing-300x195.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"195\\" /></p>\\n<p><span style=\\"font-weight: 400;\\">Indeed, when we look at engagement we really should be taking into account viewer actions taken as a result of the content they’re engaging with. Following socials of actors or shows, tweeting about the show, looking for a product they s
17aw in the content or an ad, looking up more information, sports odds research or betting.</span></p>\\n<p><span style=\\"font-weight: 400;\\">The problem, herein, lies with how do we know what second screen activity is inspired by the content and advertising viewed? The great wall exists between the TV and the phone in the viewer&#8217;s hand.</span></p>\\n<p><span style=\\"font-weight: 400;\\">If we return to the headline definition of engagement being; how focussed a viewer is on the experience being shown on TV, then the data is showing those creating and delivering content are on a colloquial hiding to nothing. </span></p>\\n<p><span style=\\"font-weight: 400;\\">With over 90% of millennials and over 70% of the rest of us being shown to be using their second screen (i.e. their smartphone or tablet) whilst viewing TV content &#8211; be it streaming or traditional broadcast &#8211; the fight, it seems, for engagement is certainly an uphill battle. </span></p>\\n<p><span style=\\"font-weight: 400;\\"><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-840 \\" src=\\"/media/insights/TV-viewing-habits-1024x610.jpg\\" alt=\\"\\" width=\\"735\\" height=\\"438\\" /></span></p>\\n<p><span style=\\"font-weight: 400;\\">So how do we show attribution and effectiveness of ad spend when this great wall of disconnect exists?</span></p>\\n<h4><span style=\\"font-weight: 400;\\">The answer is to break down that wall! </span></h4>\\n<p><span style=\\"font-weight: 400;\\">Call to actions with “search for xyz” or scan this QR code on screen (quick before it goes away!) are the first steps in this attempt. There are surely more elegant solutions that meet the viewer where they are rather than forcing new and tedious behaviour.</span></p>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone size-medium wp-image-835\\" src=\\"/media/insights/QR-memorabilia-300x195.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"195\\" /> <img loading=\\"lazy\\" decoding=\\"async\\" class=\\"alignnone wp-image-836\\" src=\\"/media/insights/QR-rugby-300x208.jpg\\" alt=\\"\\" width=\\"278\\" height=\\"193\\" /></p>\\n<p><span style=\\"font-weight: 400;\\">Whilst there are those purists still entrenched in the big 5 global content producers that want to fight this trend.. </span></p>\\n<blockquote>\\n<h5><span style=\\"font-weight: 400;\\">if i had a dollar for every time a media executive said to me “eyeballs on our content is paramount, anything that distracts viewers from “</span><i><span style=\\"font-weight: 400;\\">my</span></i><span style=\\"font-weight: 400;\\">” content is not for us”</span></h5>\\n</blockquote>\\n<p><span style=\\"font-weight: 400;\\">There is an increasing cohort that has “seen the light” and realises the horse has bolted and it makes far more sense to embrace viewers behaviour than to try and stop it, change it, or reverse it.</span></p>\\n<h4><span style=\\"font-weight: 400;\\">Ok. Fine, but&#8230; How do we break down that wall?</span></h4>\\n<p><span style=\\"font-weight: 400;\\">The simple answer, that has been staring us in the face for 2 decades -by connecting the viewers&#8217; phones to their TV’s. Allowing viewers to lean in to their content and be rewarded with contextually relevant experiences in the third party platforms of the advertisers.</span></p>\\n<p><span style=\\"font-weight: 400;\\">Open instagram or twitter and see the profiles of those on screen , be it advertisers or talent. By connecting the platforms where viewers are on while consuming content we break down the wall of disconnect and can provide a better experience for viewers and a clear attribution and ROI for advertisers. </span></p>\\n<p>If connectedness is important to humans, the extent to which a brand or a business is an extension of our humanness would seem to be intrinsically linked to &#8220;how&#8221; we connect with them<span style=\\"font-weight: 400;\\">… so what’s stopping us from just making it easier?</span></p>\\n<p style=\\"text-align: center;\\">~~~</p>\\n<h6 style=\\"text-align: center;\\"><i><span style=\\"font-weight: 400;\\">allt.tv has patented technology that privately and seamlessly connects content to viewers&#8217; phones. Now every app on a phone can be a second screen app and viewer activity can be attributed directly to a viewing session</span></i></h6>\\n<p>&nbsp;</p>\\n<h3>about the author</h3>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"size-full wp-image-842 alignleft\\" src=\\"/media/insights/James-Mugshot.jpg\\" alt=\\"\\" width=\\"238\\" height=\\"229\\" />James is the co-founder of allt.tv.</p>\\n<p>With over 20 years experience in advertising, marketing and strategy, he&#8217;s the first to bring a brand&#8217;s perspective into the room and incessantly championing the &#8220;why&#8221; of everything we do at allt.</p>\\n<p>&nbsp;</p>\\n"},{"path":"/insights/smart-tv-os-the-new-front-line-of-the-streaming-wars/","title":"Smart TV OS… The New Front Line of “The Streaming Wars”","seoTitle":"Smart TV OS… The New Front Line of \\"The Streaming Wars\\" • Allt.tv","description":"Streaming has been the focal point of the entertainment industry for the last 5-10 years with all major content providers introducing their own services and viewers flocking to the space in ever increasing numbers; in 2021 more than 140 million accounts were activated on streaming...","excerpt":"Streaming has been the focal point of the entertainment industry for the last 5-10 years with all major content providers introducing their own services and viewers flocking to the space in ever increasing numbers; in 2021 more than 140 million accounts were activated on streaming…","category":"Insights","author":"Dave Glasson [CEO, allt.tv]","date":"2022-05-30T05:56:24+00:00","image":"allt-girl-on-sofa-with-phone-scaled.jpeg","imageAlt":"Girl sitting on a sofa holding her phone looking at TV","html":"<p><span style=\\"font-weight: 400;\\">Streaming has been the focal point of the entertainment industry for the last 5-10 years with all major content providers introducing their own services and viewers flocking to the space in ever increasing numbers; in 2021 more than 140 million accounts were activated on streaming services in the USA alone. With all this activity much attention has been paid to the top of the funnel (the content owners and their corresponding OTT apps) in what has been colloquially described as </span><i><span style=\\"font-weight: 400;\\">The Streaming Wars</span></i><span style=\\"font-weight: 400;\\">. Headlines repeatedly tout the subscription numbers of Netflix vs Amazon vs Disney+ vs Peacock etc. Yet somewhat overlooked in all this has been the Operating Systems of our TVs which represent the true frontline of this war. Because while the fight may be </span><i><span style=\\"font-weight: 400;\\">between</span></i><span style=\\"font-weight: 400;\\"> the major players, the battleground they spar over is for the attention and wallet of the viewer, and with the TV being the final point of contact in the content delivery chain it’s OS represents the physical frontline of the entire streaming ecosystem. </span></p>\\n<p><span style=\\"font-weight: 400;\\">As 2022 plays out, the display OS will become increasingly important for a number of reasons:</span></p>\\n<ul>\\n<li style=\\"font-weight: 400;\\"><span style=\\"font-weight: 400;\\">As IP based content delivery accelerates the OS provides opportunities for analytics, user targeting, revenue and interactivity</span></li>\\n<li style=\\"font-weight: 400;\\"><span style=\\"font-weight: 400;\\">Aggregation of OTT services is wanted by viewers and is most easily achieved at the OS level</span></li>\\n<li style=\\"font-weight: 400;\\"><span style=\\"font-weight: 400;\\">Viewers are demonstrating a clear shift away from cheaper streaming dongles and toward smart TVs</span></li>\\n<li style=\\"font-weight: 400;\\"><span style=\\"font-weight: 400;\\">Cable Operators can use a display OS to expand outside their traditional cable footprint and take their services internationally at a fraction of the cost of expanding a cable network</span></li>\\n</ul>\\n<p>&nbsp;</p>\\n<h3>
17How we got here</h3>\\n<p><span style=\\"font-weight: 400;\\">Historically, the display device (TV) that sat in the living room was the </span><i><span style=\\"font-weight: 400;\\">dumb end</span></i><span style=\\"font-weight: 400;\\"> of a </span><i><span style=\\"font-weight: 400;\\">dumb pipe</span></i><span style=\\"font-weight: 400;\\">. CRT TVs, which became Flat Screens, were designed to perform a single function; displaying content via an aerial or RCA cords. They were unaware of who the viewer was or what was being watched. As content delivery evolved into cable we saw the introduction of Set-Top-Boxes which introduced new opportunities like basic interactive programming, shoppableTV and features such as EPGs, DVRs and </span><i><span style=\\"font-weight: 400;\\">catch-up</span></i><span style=\\"font-weight: 400;\\">. The arrival of the internet, IPTV and OTT / On Demand services led to low cost streaming dongles from Roku, Amazon and Google which enabled viewers to access these services without having to replace their TVs. Netflix became the </span><i><span style=\\"font-weight: 400;\\">must have</span></i><span style=\\"font-weight: 400;\\"> OTT service. During this time as CRT TVs evolved to flat screens the traditional manufacturers were replaced by a new breed of technology companies that began to create the </span><i><span style=\\"font-weight: 400;\\">Smart / Connected TV </span></i><span style=\\"font-weight: 400;\\">category; TVs with an operating system and CPU that were capable of accessing the internet. Smart TVs became an essential feature of the home.</span></p>\\n<p>&nbsp;</p>\\n<h3>No longer the Dummy</h3>\\n<p><span style=\\"font-weight: 400;\\">This new generation of TVs were also cheaper and far easier to set up. Manufacturers began to pay attention to their interfaces, ensuring they were much more user friendly; gone were the days of complicated set-ups and tuning, replaced by devices that would work as soon as they were taken out of the box and plugged in. Usually they came preloaded with the most popular OTT apps. Each update brought with it new features and capabilities that benefited both the viewer and the upstream broadcasters. These devices were now living up to their </span><i><span style=\\"font-weight: 400;\\">smart</span></i><span style=\\"font-weight: 400;\\"> name. </span></p>\\n<p>&nbsp;</p>\\n<h3>Endless Features, Expanding ARPU</h3>\\n<p><span style=\\"font-weight: 400;\\">Casting, video streaming, music streaming, better quality video, lower latency, universal search, voice search and BLE remotes all enhanced the viewer experience. Suddenly the features the viewer wanted could be delivered via an update to the operating system, especially features that existed across various platforms, such as universal search. </span></p>\\n<p><span style=\\"font-weight: 400;\\">Concurrently, capabilities like ACR (Automatic Content Recognition) replaced the traditional panel ratings system and created enormous volumes of real-time analytics which fed into more effective targeting opportunities for advertisers. The integrated nature of these TVs also meant the OS operator was now able to build their own ad networks and businesses; a transition is now underway where the initial sale of a streaming device is of lesser value than the ongoing relationship with the viewer. The most recent quarterly results from Roku show device revenue of ~$100m vs Platform revenue of ~$700m. And while the current focus has been on the opportunities for the OS platforms, the true potential allows for all parties in the content delivery chain to benefit.</span></p>\\n<p>&nbsp;</p>\\n<h3>No longer the end of the pipe</h3>\\n<p><span style=\\"font-weight: 400;\\">In the industry we speak of ‘last mile’ technologies that deliver the content to the TV screen and in a traditional broadcast setup the TV represents the </span><i><span style=\\"font-weight: 400;\\">end of the pipe</span></i><span style=\\"font-weight: 400;\\">. In these traditional scenarios the prevailing view was that as soon as the viewer wasn’t watching the screen, the connection to them was lost, and as such, 2nd screening and other engagement options were seen as detrimental to the broadcaster. However, when we take into account the connectivity capabilities of Smart TVs what was an issue is now an opportunity. Rather than being the end of the pipe the TV is capable of covering the final 10 feet, or the gap between the TV and the viewer sitting on their couch, or more importantly between the TV and the phone in their hand and the devices in their home. The TV OS isn’t just the frontline of the war, it is the gateway to an engaged viewer.</span></p>\\n<p>&nbsp;</p>\\n<h3>Connected Entertainment</h3>\\n<p><span style=\\"font-weight: 400;\\">Recent standards in IoT like </span><i><span style=\\"font-weight: 400;\\">Matter</span></i><span style=\\"font-weight: 400;\\"> allow all types of connected devices to easily communicate with one another, including smartTVs. Now, rather than the 2nd screen and other IoT devices (smart speakers, lights, appliances and toys) being divorced from the viewing experience, connected TVs allow the devices in the home network to be integrated into the viewing experience so the content we stream can now control the home environment. Imagine watching a horror movie on </span><i><span style=\\"font-weight: 400;\\">Shudder</span></i><span style=\\"font-weight: 400;\\">, and as the killer approaches your smart lights begin to dim, smart speakers in other rooms whisper and make noises to heighten the tension, then, as the villain strikes, the whole house flashes blood red. Or smart fridges remembering every recipe from every cooking show ever watched and next generation smart toys interacting in real time with live content. By bridging the last 10 feet the only limitation to these interactions is the imagination of the creative teams behind the content. </span></p>\\n<p><span style=\\"font-weight: 400;\\">Arguably the greatest opportunity with connected entertainment lies in the hands of the viewer; specifically their phones. A connection to the 2nd screen extends the broadcaster&#8217;s relationship to the fingertips of the viewer, and into their corresponding online activity. Interactive advertising features like SIMID which were traditionally only available on HTML video can now be extended to the viewers phones enhancing existing advertising campaigns and providing true ROI. Similar shoppable opportunities to connect viewers to products seen in content and importantly trace sales and return commissions have the potential to unlock enormous new revenue streams for every stakeholder in the content delivery value chain. Latency buffers can allow social apps like Twitter to sync to the on screen action not only enhancing engagement but also preventing spoilers caused by latency between on field time and on screen time. The endless variety in content and the apps used to engage again mean the only limitation is imagination.</span></p>\\n<p>&nbsp;</p>\\n<h3>What lies ahead</h3>\\n<p><span style=\\"font-weight: 400;\\">The SmartTV market is dominated by a few key players. In the USA Roku and Samsung (Tizen) hold market leading positions, followed by LG, Vizio and TCL. Globally Samsung and LG are dominant, with Android rapidly gaining due to partnerships with many smaller manufacturers. Amazon and Comcast have both begun selling TVs with their respective operating systems installed. For cable operators like Comcast selling Xclass TVs is a significantly cheaper way to expand outside of their existing cable network footprint without having to build expensive infrastru
17cture; in the EU Sky has begun offering free Xclass TVs when viewers sign up for a ‘cable’ package. </span><i><span style=\\"font-weight: 400;\\">Quite possibly  the next TV you get will be free.</span></i><span style=\\"font-weight: 400;\\"> Aggregation of these operating systems is likely to occur, but only after an expensive fight for audience numbers. </span></p>\\n<p><span style=\\"font-weight: 400;\\">All the while viewers will enjoy increasingly enhanced viewing experiences on TVs that will get smarter with every update. The viewer may be the battleground, but they will also be the ultimate beneficiary of a better viewing experience.</span></p>\\n<p>&nbsp;</p>\\n<h5>About allt</h5>\\n<p><span style=\\"font-weight: 400;\\">allt creates connected entertainment opportunities by linking the devices in our home and the phones in our hands to the content we stream to our TVs. Using the existing firmware capabilities of streaming and IoT devices allt’s first in market solution enables connected entertainment without content tags or any disruption to existing production or distribution workflows. Compatible with every display OS, phone OS, IoT device and all content, allt allows partners to capitalize on their existing audience footprint without the hassle of painful end-to-end integrations. The future of entertainment is connected, the future of entertainment is allt. Find out more at allt.tv</span></p>\\n<p>&nbsp;</p>\\n<h5>About the author</h5>\\n<p><img loading=\\"lazy\\" decoding=\\"async\\" class=\\"size-medium wp-image-809 alignleft\\" src=\\"/media/insights/Dave-Glasson-300x266.jpg\\" alt=\\"\\" width=\\"300\\" height=\\"266\\" /></p>\\n<p><span style=\\"font-weight: 400;\\">Dave is the co-founder of allt and is also a self-confessed metadata fanatic who has spent a lifetime in media as a fan, editor and technology architect. The author of multiple patents across an array of industries and with experience in finance and online retail Dave has always come back to the entertainment industry as both a passion and inspiration for new technologies that will help the industry.</span></p>\\n"}]`),Ur=xT,rb=10,Tf=e=>`/media/insights/${e}`;function TT(e){return new Intl.DateTimeFormat("en-AU",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}).format(new Date(e))}function ST(e){return e.replace(/\s*\[[^\]]+\]\s*/g,"").trim()}function Sf({article:e,compact:n=!1}){return c.jsxs("div",{className:`insight-byline${n?" insight-byline--compact":""}`,children:[c.jsx("span",{className:"insight-category",children:e.category}),c.jsx("span",{className:"insight-meta-separator","aria-hidden":"true",children:"/"}),c.jsx("time",{dateTime:e.date,children:TT(e.date)}),!n&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"insight-meta-separator","aria-hidden":"true",children:"/"}),c.jsx("span",{children:ST(e.author)})]})]})}function TN({page:e}){return c.jsxs("nav",{className:"insight-pagination","aria-label":"Insights pages",children:[e>1?c.jsxs(Le,{className:"insight-page-link insight-page-link--previous",href:"/insights/","aria-label":"Previous page",children:[c.jsx("span",{"aria-hidden":"true",children:"←"})," Previous"]}):c.jsx("span",{}),c.jsxs("div",{className:"insight-page-count",children:[c.jsxs("span",{className:"insight-page-current",children:["0",e]}),c.jsx("span",{className:"insight-page-divider",children:"/"}),c.jsx("span",{children:"02"})]}),e<2?c.jsxs(Le,{className:"insight-page-link",href:"/insights/page/2/","aria-label":"Next page",children:["Older stories ",c.jsx("span",{"aria-hidden":"true",children:"→"})]}):c.jsx("span",{})]})}function SN({page:e=1}){const n=e===2?2:1,i=(n-1)*rb,r=Ur.slice(i,i+rb),l=r[0],u=r.slice(1);return c.jsxs("div",{className:"insights-page",children:[c.jsx("section",{className:"insights-intro",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsxs("div",{className:"insights-overline",children:[c.jsx("span",{className:"insights-live-dot"})," allt journal ",c.jsx("span",{className:"insights-overline-slash",children:"/"})," news & insights"]}),c.jsxs("div",{className:"insights-intro-heading",children:[c.jsxs("h1",{children:["The signal",c.jsx("br",{}),"behind the ",c.jsx("em",{children:"screen."})]}),c.jsx("p",{children:"Ideas on live television, mobile behaviour and the moments where the two meet."})]}),c.jsxs("div",{className:"insights-intro-footer",children:[c.jsx("span",{children:"Independent thinking from inside the broadcast"}),c.jsxs("span",{className:"insights-scroll-note",children:["Scroll to explore ",c.jsx("i",{"aria-hidden":"true",children:"↓"})]})]})]})}),l&&c.jsx("section",{className:"insights-featured-section","aria-label":"Featured story",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsxs("div",{className:"insights-section-label",children:[c.jsx("span",{children:"01"})," The latest signal ",c.jsx("span",{className:"insights-label-rule"})]}),c.jsxs(Le,{href:l.path,className:"insights-featured","data-testid":`link-featured-${n}`,children:[c.jsxs("div",{className:"insights-featured-image",children:[c.jsx("img",{src:Tf(l.image),alt:l.imageAlt||l.title,loading:"eager"}),c.jsx("span",{className:"insights-image-index",children:"ALLT / JOURNAL"})]}),c.jsxs("div",{className:"insights-featured-copy",children:[c.jsx(Sf,{article:l}),c.jsx("h2",{children:l.title}),c.jsx("p",{children:l.excerpt}),c.jsxs("span",{className:"insights-read-link",children:["Read the story ",c.jsx("span",{"aria-hidden":"true",children:"↗"})]}),c.jsx("span",{className:"insights-featured-mark","aria-hidden":"true",children:"a."})]})]})]})}),c.jsx("section",{className:"insights-archive-section",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsxs("div",{className:"insights-archive-heading",children:[c.jsxs("div",{children:[c.jsxs("div",{className:"insights-section-label",children:[c.jsx("span",{children:"02"})," In the conversation ",c.jsx("span",{className:"insights-label-rule"})]}),c.jsxs("h2",{children:["More from the ",c.jsx("em",{children:"journal."})]})]}),c.jsxs("div",{className:"insights-archive-note",children:["Perspectives, announcements",c.jsx("br",{}),"and things worth thinking about."]})]}),c.jsx("div",{className:"insights-card-grid",children:u.map((h,p)=>c.jsxs(Le,{href:h.path,className:"insights-story-card","data-testid":`card-insight-${p+1}-page-${n}`,children:[c.jsxs("div",{className:"insights-card-image",children:[c.jsx("img",{src:Tf(h.image),alt:h.imageAlt||h.title,loading:"lazy"}),c.jsx("span",{className:"insights-card-arrow","aria-hidden":"true",children:"↗"})]}),c.jsxs("div",{className:"insights-card-copy",children:[c.jsx(Sf,{article:h,compact:!0}),c.jsx("h3",{children:h.title}),c.jsx("p",{children:h.excerpt}),c.jsxs("span",{className:"insights-card-read",children:["Read article ",c.jsx("span",{"aria-hidden":"true",children:"→"})]})]})]},h.path))}
17),u.length===0&&c.jsx("p",{className:"insights-empty",children:"More stories are on their way."}),c.jsx(TN,{page:n})]})}),c.jsx("section",{className:"insights-endnote",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsx("span",{children:"THE VIEWER IS ALREADY HERE."}),c.jsxs("p",{children:["The phone is in the room.",c.jsx("br",{}),"The opportunity is in the connection."]}),c.jsxs("span",{className:"insights-endnote-symbol","aria-hidden":"true",children:["allt",c.jsx("span",{children:"."})]})]})})]})}function AN({path:e}){const n=Ur.findIndex(h=>h.path===e),i=Ur[n];if(!i)return c.jsx("main",{className:"insights-page insight-not-found",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsx("div",{className:"insights-overline",children:"allt journal / archive"}),c.jsx("h1",{children:"This signal went quiet."}),c.jsx("p",{children:"We couldn’t find that story. It may have moved, but the archive is still here."}),c.jsxs(Le,{href:"/insights/",className:"insight-back-link",children:[c.jsx("span",{"aria-hidden":"true",children:"←"})," Back to all insights"]})]})});const r=Ur[n-1],l=Ur[n+1],u=i.html.replace(/<h1(\s|>)/gi,"<h2$1").replace(/<\/h1>/gi,"</h2>");return c.jsxs("article",{className:"insights-page insight-article",children:[c.jsx("header",{className:"insight-article-head",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsxs(Le,{href:"/insights/",className:"insight-back-link",children:[c.jsx("span",{"aria-hidden":"true",children:"←"})," All insights"]}),c.jsxs("div",{className:"insight-article-head-grid",children:[c.jsxs("div",{children:[c.jsxs("div",{className:"insights-overline",children:["allt journal ",c.jsx("span",{className:"insights-overline-slash",children:"/"})," ",i.category]}),c.jsx("h1",{children:i.title})]}),c.jsxs("div",{className:"insight-article-deck",children:[c.jsx("p",{children:i.excerpt}),c.jsx(Sf,{article:i})]})]})]})}),i.image&&c.jsxs("div",{className:"insight-article-hero-image",children:[c.jsx("img",{src:Tf(i.image),alt:i.imageAlt||i.title}),c.jsxs("span",{children:["ALLT / ",i.category.toUpperCase()]})]}),c.jsxs("div",{className:"insights-wrap insight-body-layout",children:[c.jsxs("aside",{className:"insight-body-aside",children:[c.jsx("span",{className:"insight-aside-label",children:"A perspective by"}),c.jsx("strong",{children:ST(i.author)}),c.jsx("time",{dateTime:i.date,children:TT(i.date)}),c.jsx(Le,{href:"/insights/",className:"insight-aside-return",children:"← Journal index"})]}),c.jsx("div",{className:"insight-content",dangerouslySetInnerHTML:{__html:u}})]}),c.jsx("nav",{className:"insight-related","aria-label":"Related articles",children:c.jsxs("div",{className:"insights-wrap",children:[c.jsxs("div",{className:"insights-section-label",children:[c.jsx("span",{children:"03"})," Keep reading ",c.jsx("span",{className:"insights-label-rule"})]}),c.jsxs("div",{className:"insight-related-grid",children:[r?c.jsxs(Le,{href:r.path,className:"insight-related-card",children:[c.jsx("span",{children:"← Previous story"}),c.jsx("strong",{children:r.title})]}):c.jsx("span",{}),l?c.jsxs(Le,{href:l.path,className:"insight-related-card insight-related-card--next",children:[c.jsx("span",{children:"Next story →"}),c.jsx("strong",{children:l.title})]}):c.jsx("span",{})]}),c.jsxs(Le,{href:"/insights/",className:"insight-back-link insight-related-back",children:[c.jsx("span",{"aria-hidden":"true",children:"←"})," Back to all insights"]})]})})]})}const _r="https://allt.tv",EN="News and insights from allt on live TV, second-screen experiences, advertising, and the technology connecting content to action.",Mh="allt | The last 10 feet between TV and mobile",Oh="allt connects live TV to the apps on viewers' phones in real time. No QR codes, no searching, no on-screen prompts.";function pt(e,n,i){let r=document.head.querySelector(e);const l=r?.getAttribute("content");r||(r=document.createElement("meta"),document.head.appendChild(r));for(const[h,p]of Object.entries(n))r.setAttribute(h,p);const u=r;i.push(()=>l==null?u.remove():u.setAttribute("content",l))}function AT({article:e,page:n}){return x.useEffect(()=>{const i=e?.path??(n===2?"/insights/page/2/":"/insights/"),r=e?.seoTitle??(n===2?"News & Insights — Page 2 • Allt.tv":"News & Insights • Allt.tv"),l=e?.description??EN,u=`${_r}${i}`,h=e?.image?`${_r}/media/insights/${e.image}`:`${_r}/brand/allt-social.png`,p=[];document.title=r,pt('meta[name="description"]',{name:"description",content:l},p),pt('meta[property="og:title"]',{property:"og:title",content:r},p),pt('meta[property="og:description"]',{property:"og:description",content:l},p),pt('meta[property="og:url"]',{property:"og:url",content:u},p),pt('meta[property="og:type"]',{property:"og:type",content:e?"article":"website"},p),pt('meta[property="og:image"]',{property:"og:image",content:h},p),pt('meta[name="twitter:title"]',{name:"twitter:title",content:r},p),pt('meta[name="twitter:description"]',{name:"twitter:description",content:l},p),pt('meta[name="twitter:image"]',{name:"twitter:image",content:h},p);let m=document.head.querySelector('link[rel="canonical"]');m||(m=document.createElement("link"),m.rel="canonical",document.head.appendChild(m)),m.href=u,e&&pt('meta[property="article:published_time"]',{property:"article:published_time",content:e.date},p);const g=document.head.querySelector("script[data-insights-schema]")??document.createElement("script");return g.type="application/ld+json",g.dataset.insightsSchema="",g.textContent=JSON.stringify(e?{"@context":"https://schema.org","@type":"Article",headline:e.title,de
17scription:l,datePublished:e.date,author:{"@type":"Person",name:e.author||"allt"},image:h,mainEntityOfPage:u}:{"@context":"https://schema.org","@type":"CollectionPage",name:"News & Insights",url:u,description:l}),document.head.appendChild(g),()=>{p.forEach(y=>y()),document.title=Mh,pt('meta[name="description"]',{name:"description",content:Oh},[]),pt('meta[property="og:title"]',{property:"og:title",content:Mh},[]),pt('meta[property="og:description"]',{property:"og:description",content:Oh},[]),pt('meta[property="og:image"]',{property:"og:image",content:`${_r}/brand/allt-social.png`},[]),pt('meta[property="og:type"]',{property:"og:type",content:"website"},[]),pt('meta[name="twitter:title"]',{name:"twitter:title",content:Mh},[]),pt('meta[name="twitter:description"]',{name:"twitter:description",content:Oh},[]),pt('meta[name="twitter:image"]',{name:"twitter:image",content:`${_r}/brand/allt-social.png`},[]),g.remove(),m.remove(),document.head.querySelector('meta[property="article:published_time"]')?.remove()}},[e,n]),null}function jN(e){const n=`${e.replace(/\/+$/,"")}/`;return xT.find(i=>i.path===n)}const Fl=e=>`/media/${e}`,CN="M 105 157 C 145 157 178 168 214 186 C 249 204 283 225 318 247 C 351 265 388 292 418 279 C 458 282 489 249 498 210",RN="M 498 210 C 488 174 458 144 428 136 C 393 130 361 156 329 212",kN="M 292 252 C 277 283 255 321 230 351 C 198 382 164 399 123 397 C 79 395 42 369 20 336 C 4 310 1 282 8 259 C 17 218 48 174 78 161 C 87 157 96 156 105 157",fi=[{eyebrow:"01 / LIVE STREAM",title:"The stream stays live.",detail:"A viewer is watching Harvest Channel. The programme already on screen keeps playing while allt recognizes a connected viewer."},{eyebrow:"02 / VIEWER CONNECTS",title:"Open any participating app.",detail:"The viewer opens FreshMart. allt links that real app activity to the live stream, without asking them to leave what they are watching."},{eyebrow:"03 / INTEREST SIGNAL",title:"A retailer can respond.",detail:"FreshMart can use that signal to compete for the viewer’s next eligible ad opportunity with a message that fits the moment."},{eyebrow:"04 / RETURN TO TV",title:"The next slot is informed.",detail:"The decision travels back to the stream for a future eligible slot. It never replaces the ad that is already playing."}];function NN(){const e=Dt(),n=`cinema-logo-wake-mask-${x.useId().replace(/:/g,"")}`,[i,r]=x.useState(0),[l,u]=x.useState(!1),[h,p]=x.useState(!1),[m,g]=x.useState(!1),[y,v]=x.useState(!1),b=l||h||m&&!y||e,A=x.useRef(null),T=x.useRef(null),E=x.useRef(null),C=x.useRef(null),R=Dx(A,{once:!0,margin:"-8%"}),M=kt(0),N=ye(M,fe=>fe>.001?1:0),O=kt(0),z=ye(O,fe=>fe<.998?1:0),P=kt(0),H=ye(P,fe=>fe>.001?1:0),L=kt(0),I=kt(0),Z=ye(I,fe=>fe>.001?1:0),J=kt(0),te=ye(O,fe=>{const Q=T.current;return Q?Q.getPointAtLength(fe*Q.getTotalLength()).x:288}),le=ye(O,fe=>{const Q=T.current;return Q?Q.getPointAtLength(fe*Q.getTotalLength()).y:258}),he=ye(L,fe=>{const Q=E.current;return Q?Q.getPointAtLength(fe*Q.getTotalLength()).x:498}),ge=ye(L,fe=>{const Q=E.current;return Q?Q.getPointAtLength(fe*Q.getTotalLength()).y:210}),D=ye(J,fe=>{const Q=C.current;return Q?Q.getPointAtLength(fe*Q.getTotalLength()).x:292}),Y=ye(J,fe=>{const Q=C.current;return Q?Q.getPointAtLength(fe*Q.getTotalLength()).y:252}),[G,ne]=x.useState(null),[j,W]=x.useState(!1),ae=fe=>{r((fe+fi.length)%fi.length),u(!0)};x.useEffect(()=>{if(b)return;const fe=window.setTimeout(()=>{r(Q=>(Q+1)%fi.length)},7200);return()=>window.clearTimeout(fe)},[b,i]),x.useEffect(()=>{if(!R)return;let fe=!1;const Q=[],se=(Ge,De,yt)=>{if(e)return Ge.set(De),Promise.resolve();const ct=Ox(Ge,De,{duration:yt,ease:[.3,0,.2,1]});return Q.push(ct),ct};return(async()=>{if(ne(null),W(!1),O.set(0),L.set(0),J.set(0),P.set(0),I.set(0),M.set(i===0?0:i>=2?1:0),i===1&&await Promise.all([se(M,1,1.5),se(O,1,1.5)]),i===3){if(ne("upper"),await Promise.all([se(P,1,.78),se(L,1,.78)]),fe||(ne("gap"),e||await new Promise(Ge=>window.setTimeout(Ge,220)),fe))return;ne("lower"),await Promise.all([se(I,1,1.35),se(J,1,1.35)]),fe||(ne(null),W(!0))}})(),()=>{fe=!0,Q.forEach(Ge=>Ge.stop())}},[R,O,M,e,J,I,L,P,i]);const ee=i===1||i===2,oe=i>0,ce=i===1?"Synced with TV":i===2?"FreshMart ad chosen":"Decision sent to TV",re=["LIVE STREAM SIGNAL","PHONE SYNCED WITH TV","RETAIL MEDIA AD CHOSEN","NEXT AD SLOT QUEUED"][i];return c.jsxs("div",{className:"cinema-stage",ref:A,"data-testid":"visual-two-way-loop",onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),onFocusCapture:()=>{g(!0),v(!1)},onBlurCapture:fe=>{fe.currentTarget.contains(fe.relatedTarget)||(g(!1),v(!1))},children:[c.jsx("div",{className:"cinema-grid","aria-hidden":"true"}),c.jsxs("div",{className:"cinema-devices",children:[c.jsxs("div",{className:"cinema-tv","aria-label":"Live television broadcast",children:[c.jsx("div",{className:"cinema-screen",children:c.jsxs("div",{className:"cinema-match",children:[c.jsx("img",{className:"cinema-program-image",src:Fl("cinematic-return-supermarket.png"),alt:"A chef preparing citrus herb salmon on Harvest Channel"}),c.jsxs("span",{className:"cinema-live",children:[c.jsx(Sb,{size:9})," LIVE"]}),c.jsx("div",{className:`cinema-ad-queued ${j?"is-visible":""}`,children:"NEXT AD SLOT QUEUED"})]})}),c.jsxs("div",{className:"cinema-tv-chin",children:[c.jsx("span",{children:"HARVEST CHANNEL"}),c.jsx("span",{className:"tv-signal",children:"•••"})]}),c.jsxs("span",{className:"device-caption tv-caption",children:[c.jsx("b",{children:"01"})," THE LIVE STREAM"]})]}),c.jsx("div",{className:"cinema-logo-symbol",role:"img","aria-label":"allt two-way connection",children:c.jsxs("svg",{className:"cinema-logo-trace",viewBox:"0 0 512 512",fill:"none","aria-hidden":"true",children:[c.jsx("defs",{children:c.jsxs("mask",{id:n,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"512",height:"512",style:{maskType:"luminance"},children:[c.jsx("rect",{width:"512",height:"512",fill:"black"}),c.jsx(ie.path,{ref:T,className:"cinema-trace-reveal",d:CN,style:{pathLength:M,opacity:N}}),c.jsx(ie.path,{ref:E,className:"cinema-trace-reveal",d:RN,style:{pathLength:P,opacity:H}}),c.jsx(ie.path,{ref:C,className:"cinema-trace-reveal",d:kN,style:{pathLength:I,opacity:Z}})]})}),c.jsx("image",{className:"cinema-logo-wake-image",href:Fl("cinematic-return-logo.png"),mask:`url(#${n})`,preserveAspectRatio:"xMidYMid meet"}),c.jsx(ie.circle,{className:`cinema-trace-packet ${i===1?"":"is-hidden"}`,style:{opacity:i===1?z:0},r:"5",cx:te,cy:le}),G==="upper"&&c.jsx(ie.circle,{className:"cinema-trace-packet",r:"5",cx:he,cy:ge}),G==="lower"&&c.jsx(ie.circle,{className:"cinema-trace-packet",r:"5",cx:D,cy:Y})]})}),c.jsxs("div",{className:`cinema-phone ${ee?"is-reacting":""}`,children:[c.jsx("div",{className:"phone-shell",children:c.jsxs("div",{className:"phone-screen","aria-live":"polite",children:[c.jsx("img",{className:"phone-app-image",src:Fl(i===0?"cinematic-return-freshmart.png":"cinematic-return-recipe
17-received.png"),alt:i===0?"FreshMart grocery app with fresh produce and weekly specials":"FreshMart recipe received screen with a synced salmon recipe and ingredient checklist"}),c.jsx("div",{className:"phone-island"}),oe&&c.jsxs(ie.div,{className:"phone-response",initial:{opacity:0},animate:{opacity:1},transition:{duration:.2,ease:"linear"},children:[c.jsxs("div",{className:`signal-beacon ${ee?"is-active":""}`,"aria-hidden":"true",children:[c.jsx("span",{}),c.jsx("span",{}),c.jsx("span",{})]}),c.jsx("span",{className:"phone-response-mark",children:i===1?"↔":"✓"}),c.jsx("small",{children:i===1?"TV CONNECTION":i===3?"RETURN SIGNAL":"NEXT AD DECISION"}),c.jsx("strong",{children:ce}),c.jsx("span",{className:"phone-response-ref",children:i===1?"LIVE STREAM FOUND":i===3?"NEXT SLOT ONLY":"QUEUED FOR RETURN"})]},i),c.jsx("div",{className:"phone-home"})]})}),c.jsxs("span",{className:"device-caption phone-caption",children:[c.jsx("b",{children:"02"})," THE VIEWER’S APP"]})]})]}),c.jsx("div",{className:"cinema-context","aria-live":"polite",children:c.jsx(bi,{mode:"wait",children:c.jsx(ie.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:e?0:.3},children:c.jsx(Np,{index:i,total:fi.length,title:re,description:fi[i].detail})},i)})}),c.jsxs("div",{className:"connection-carousel",role:"region","aria-roledescription":"carousel","aria-label":"How the two-way TV connection works",children:[c.jsx("div",{className:"connection-carousel-progress","aria-label":`Stage ${i+1} of ${fi.length}`,children:fi.map((fe,Q)=>c.jsx("button",{type:"button",className:`connection-stage-dot ${Q===i?"is-current":""}`,"aria-label":`Show stage ${Q+1}: ${fe.title}`,"aria-current":Q===i?"step":void 0,onClick:()=>ae(Q)},fe.eyebrow))}),c.jsx("div",{className:"connection-carousel-actions",children:c.jsx("button",{type:"button",className:"connection-carousel-toggle","aria-label":e?"Automatic playback disabled by reduced-motion preference":l?"Resume carousel":"Pause carousel",disabled:!!e,onClick:()=>{u(fe=>!fe),v(l)},children:e?"Still":l?"Play":"Pause"})})]})]})}function MN(){return c.jsx("section",{id:"connection",className:"rule-section cinematic-return","aria-labelledby":"connection-heading",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs("div",{className:"solution-panel",children:[c.jsxs("div",{className:"solution-content",children:[c.jsx("div",{className:"solution-eyebrow",children:"03 / The connection"}),c.jsx("h2",{className:"display",id:"connection-heading",children:"Persistent. Two-way. Live."}),c.jsxs("div",{className:"body-copy",children:[c.jsx("p",{children:"TV's traditional one-way model wasn't built to respond to an individual viewer. allt creates a return path. Once a viewer connects an app to their stream, what they do in that app can inform the next ad decision on their TV."}),c.jsx("p",{children:"Open a supermarket app while watching, and that retailer could bid for the next eligible ad slot with a message it knows is relevant to that viewer. The stream can respond to a real signal of interest as it happens."}),c.jsx("p",{children:"That's the shift: from one-way broadcasting to live, two-way viewing that can be more personal, dynamic and interactive."}),c.jsxs(Le,{href:"/how-it-works/",className:"button-ghost","data-testid":"link-home-connection",children:["How the connection works ",c.jsx(Tb,{size:15})]})]})]}),c.jsxs("div",{className:"cinema-visual",children:[c.jsx("p",{className:"cinema-visual-intro",children:"The viewer just opens an app. Any app. allt meets them there."}),c.jsx(NN,{})]})]})})})}const Dh=e=>`/media/${e}`,ON="M 105 157 C 145 157 178 168 214 186 C 249 204 283 225 318 247 C 351 265 388 292 418 279 C 458 282 489 249 498 210",DN="M 498 210 C 488 174 458 144 428 136 C 393 130 361 156 329 212",_N="M 292 252 C 277 283 255 321 230 351 C 198 382 164 399 123 397 C 79 395 42 369 20 336 C 4 310 1 282 8 259 C 17 218 48 174 78 161 C 87 157 96 156 105 157",Tn=[{eyebrow:"01 / THE REQUEST",title:"A viewer asks their agent.",message:"Get me tickets to the next match",detail:"Watching the match, a viewer tells their phone’s AI agent what they want."},{eyebrow:"02 / THE AGENT CAN ACT",title:"The agent can act.",message:"Lakers vs Warriors, Tue Apr 9",detail:"allt syncs the agent to the broadcast. Context arrives: Lakers vs Warriors. The agent finds tickets to the next game and offers them up."},{eyebrow:"03 / COMMISSION RETURNED",title:"The broadcaster stays in the loop.",message:"Ticket commission received",detail
17:"The purchase travels back through allt, so the broadcaster is credited for the transaction it inspired."}];function PN(){const e=Dt(),n=`ai-logo-wake-mask-${x.useId().replace(/:/g,"")}`,[i,r]=x.useState(0),[l,u]=x.useState(!1),[h,p]=x.useState(!1),[m,g]=x.useState(!1),[y,v]=x.useState(!1),b=l||h||m&&!y||e,A=x.useRef(null),T=x.useRef(null),E=x.useRef(null),C=x.useRef(null),R=Dx(A,{once:!0,margin:"-8%"}),M=kt(0),N=ye(M,Q=>Q>.001?1:0),O=kt(0),z=ye(O,Q=>Q<.998?1:0),P=kt(0),H=ye(P,Q=>Q>.001?1:0),L=kt(0),I=kt(0),Z=ye(I,Q=>Q>.001?1:0),J=kt(0),te=ye(O,Q=>{const se=T.current;return se?se.getPointAtLength(Q*se.getTotalLength()).x:288}),le=ye(O,Q=>{const se=T.current;return se?se.getPointAtLength(Q*se.getTotalLength()).y:258}),he=ye(L,Q=>{const se=E.current;return se?se.getPointAtLength(Q*se.getTotalLength()).x:498}),ge=ye(L,Q=>{const se=E.current;return se?se.getPointAtLength(Q*se.getTotalLength()).y:210}),D=ye(J,Q=>{const se=C.current;return se?se.getPointAtLength(Q*se.getTotalLength()).x:292}),Y=ye(J,Q=>{const se=C.current;return se?se.getPointAtLength(Q*se.getTotalLength()).y:252}),[G,ne]=x.useState(null),[j,W]=x.useState(!1),[ae,ee]=x.useState(0),oe=Tn[0].message;x.useEffect(()=>{if(!R||i!==0)return;if(ee(0),e){ee(oe.length);return}let Q;const se=window.setTimeout(()=>{let Ie=0;const Ge=2e3/oe.length;Q=window.setInterval(()=>{Ie+=1,ee(Ie),Ie>=oe.length&&Q&&window.clearInterval(Q)},Ge)},150);return()=>{window.clearTimeout(se),Q&&window.clearInterval(Q)}},[R,i,e,oe]);const ce=Tn.length-1,re=Q=>{r((Q+Tn.length)%Tn.length),u(!0)};x.useEffect(()=>{if(!R||b)return;const Q=window.setTimeout(()=>{r(se=>(se+1)%Tn.length)},4200);return()=>window.clearTimeout(Q)},[R,b,i]),x.useEffect(()=>{if(!R)return;let Q=!1;const se=[],Ie=(De,yt,ct)=>{if(e)return De.set(yt),Promise.resolve();const yn=Ox(De,yt,{duration:ct,ease:[.3,0,.2,1]});return se.push(yn),yn};return(async()=>{if(ne(null),W(!1),O.set(0),L.set(0),J.set(0),P.set(0),I.set(0),M.set(i===0?0:i>=2?1:0),i===1&&await Promise.all([Ie(M,1,1.5),Ie(O,1,1.5)]),i===ce){if(ne("upper"),await Promise.all([Ie(P,1,.78),Ie(L,1,.78)]),Q||(ne("gap"),e||await new Promise(De=>window.setTimeout(De,220)),Q))return;ne("lower"),await Promise.all([Ie(I,1,1.35),Ie(J,1,1.35)]),Q||(ne(null),W(!0))}})(),()=>{Q=!0,se.forEach(De=>De.stop())}},[R,O,M,e,J,I,L,P,i,ce]);const fe=i>=1;return c.jsxs("div",{className:"ai-stage",ref:A,"data-testid":"visual-ai-context",onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),onFocusCapture:()=>{g(!0),v(!1)},onBlurCapture:Q=>{Q.currentTarget.contains(Q.relatedTarget)||(g(!1),v(!1))},children:[c.jsx("div",{className:"ai-grid","aria-hidden":"true"}),c.jsxs("div",{className:"ai-devices",children:[c.jsxs("div",{className:"ai-tv","aria-label":"Live sports broadcast",children:[c.jsxs("div",{className:"ai-tv-screen",children:[c.jsx("img",{className:"ai-tv-program-image",src:Dh("ai-context-basketball-match.webp"),alt:"Lakers vs Warriors live basketball match"}),c.jsxs("span",{className:"ai-tv-live",children:[c.jsx(Sb,{size:9})," LIVE"]}),c.jsx("div",{className:`ai-ticket-badge ${j?"is-visible":""}`,children:"TICKET COMMISSION RECEIVED"})]}),c.jsxs("div",{className:"ai-tv-chin",children:[c.jsx("span",{children:"COURTSIDE NETWORK"}),c.jsx("span",{className:"ai-tv-signal",children:"•••"})]}),c.jsxs("span",{className:"device-caption tv-caption",children:[c.jsx("b",{children:"01"})," THE LIVE STREAM"]})]}),c.jsx("div",{className:"ai-logo-symbol",role:"img","aria-label":"allt two-way connection",children:c.jsxs("svg",{className:"ai-logo-trace",viewBox:"0 0 512 512",fill:"none","aria-hidden":"true",children:[c.jsx("defs",{children:c.jsxs("mask",{id:n,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"512",height:"512",style:{maskType:"luminance"},children:[c.jsx("rect",{width:"512",height:"512",fill:"black"}),c.jsx(ie.path,{ref:T,className:"ai-trace-reveal",d:ON,style:{pathLength:M,opacity:N}}),c.jsx(ie.path,{ref:E,className:"ai-trace-reveal",d:DN,style:{pathLength:P,opacity:H}}),c.jsx(ie.path,{ref:C,className:"ai-trace-reveal",d:_N,style:{pathLength:I,opacity:Z}})]})}),c.jsx("image",{className:"ai-logo-wake-image",href:Dh("cinematic-return-logo.png"),mask:`url(#${n})`,preserveAspectRatio:"xMidYMid meet"}),c.jsx(ie.circle,{className:`ai-trace-packet ${i===1?"":"is-hidden"}`,style:{opacity:i===1?z:0},r:"5",cx:te,cy:le}),G==="upper"&&c.jsx(ie.circle,{className:"ai-trace-packet",r:"5",cx:he,cy:ge}),G==="lower"&&c.jsx(ie.circle,{className:"ai-trace-packet",r:"5",cx:D,cy:Y})]})}),c.jsxs("div",{className:`ai-phone ${fe?"is-reacting":""}`,children:[c.jsx("div",{className:"ai-phone-shell",children:c.jsxs("div",{className:"ai-phone-screen","aria-live":"polite",children:[c.jsx("div",{className:"ai-phone-island"}),c.jsxs("div",{className:"ai-chat",children:[ae>0&&c.jsxs(ie.div,{className:"ai-chat-bubble ai-chat-user",children:[oe.slice(0,ae),ae<oe.length&&c.jsx("span",{className:"ai-chat-caret"})]}),i>=1&&c.jsxs(ie.div,{className:"ai-chat-bubble ai-chat-agent ai-chat-sync",initial:{opacity:0,y:6}
17,animate:{opacity:1,y:0},transition:{duration:.22,delay:.5},children:[c.jsx("img",{className:"ai-chat-logo",src:Dh("cinematic-return-logo.png"),alt:""}),"Synced to TV"]}),i>=1&&c.jsxs(ie.div,{className:"ai-chat-bubble ai-chat-agent",initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.22,delay:1.05},children:[c.jsx("span",{className:"ai-chat-agent-label",children:"AGENT"}),"Context received: Lakers vs Warriors"]}),i>=1&&c.jsxs(ie.div,{className:"ai-chat-bubble ai-chat-agent",initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.22,delay:1.8},children:[Tn[1].message,c.jsx("span",{className:"ai-chat-cta",children:"View tickets"})]})]}),c.jsx("div",{className:"ai-phone-home"})]})}),c.jsxs("span",{className:"device-caption phone-caption",children:[c.jsx("b",{children:"02"})," THE VIEWER'S AGENT"]})]})]}),c.jsx("div",{className:"ai-context-copy","aria-live":"polite",children:c.jsx(bi,{mode:"wait",children:c.jsx(ie.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:e?0:.3},children:c.jsx(Np,{index:i,total:Tn.length,title:Tn[i].title,description:Tn[i].detail})},i)})}),c.jsxs("div",{className:"ai-carousel",role:"region","aria-roledescription":"carousel","aria-label":"How allt gives AI agents context",children:[c.jsx("div",{className:"ai-carousel-progress","aria-label":`Stage ${i+1} of ${Tn.length}`,children:Tn.map((Q,se)=>c.jsx("button",{type:"button",className:`ai-stage-dot ${se===i?"is-current":""}`,"aria-label":`Show stage ${se+1}: ${Q.title}`,"aria-current":se===i?"step":void 0,onClick:()=>re(se)},Q.eyebrow))}),c.jsx("div",{className:"ai-carousel-actions",children:c.jsx("button",{type:"button",className:"ai-carousel-toggle","aria-label":e?"Automatic playback disabled by reduced-motion preference":l?"Resume carousel":"Pause carousel",disabled:!!e,onClick:()=>{u(Q=>!Q),v(l)},children:e?"Still":l?"Play":"Pause"})})]})]})}function LN(){return c.jsx("section",{id:"ai",className:"rule-section ai-context","aria-labelledby":"ai-context-heading",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs("div",{className:"solution-panel",children:[c.jsxs("div",{className:"solution-content",children:[c.jsx("div",{className:"solution-eyebrow",children:"04 / The AI layer"}),c.jsx("h2",{className:"display",id:"ai-context-heading",children:"The context AI agents are missing."}),c.jsxs("div",{className:"body-copy",children:[c.jsx("p",{children:"AI agents are becoming the way people act on impulse. They hear phrases like “get me tickets,” “order that,” “find out more,” and act on them. But an agent on a viewer's phone has no idea what's actually playing on their TV. allt gives it that context."}),c.jsx("p",{children:"A viewer watching the match says “get me tickets to the next game.” Their agent knows which teams, because allt told it what was on screen. It's a small role in a very large AI stack, but an essential one, providing the same kind of context an MCP server gives an AI model so it can act."}),c.jsx("p",{children:"For broadcasters, it's bigger than that. When an agent acts on something your broadcast inspired, you need a path into that moment, or the transaction happens invisibly, inside someone else's app, and you never see it. allt is how broadcasters let agents connect to their content, on their own terms, instead of being cut out of it."}),c.jsx("p",{className:"ai-context-aside",children:"It's the same economics Meta's Muse is chasing in AI payments. We're just protecting the broadcaster's side of that transaction, not the agent's."})]})]}),c.jsx("div",{className:"ai-visual",children:c.jsx(PN,{})})]})})})}const VN=new Set([204,205,304]),zN="application/json, application/problem+json";function ET(e){return typeof Request<"u"&&e instanceof Request}function BN(e,n){return n?n.toUpperCase():ET(e)?e.method.toUpperCase():"GET"}function UN(e){return typeof URL<"u"&&e instanceof URL}function HN(e){return typeof e=="string"?e:UN(e)?e.toString():e.url}function FN(...e){const n=new Headers;for(const i of e)i&&new Headers(i).forEach((r,l)=>{n.set(l,r)});return n}
17function jT(e){const n=e.get("content-type");return n?n.split(";",1)[0].trim().toLowerCase():null}function Af(e){return e==="application/json"||!!e?.endsWith("+json")}function CT(e){return!!(e&&(e.startsWith("text/")||e==="application/xml"||e==="text/xml"||e.endsWith("+xml")||e==="application/x-www-form-urlencoded"))}function RT(e,n){return!!(n==="HEAD"||VN.has(e.status)||e.headers.get("content-length")==="0"||e.body===null)}function kT(e){return e.charCodeAt(0)===65279?e.slice(1):e}function NT(e){const n=e.trimStart();return n.startsWith("{")||n.startsWith("[")}function Pr(e,n){if(!e||typeof e!="object")return;const i=e[n];if(typeof i!="string")return;const r=i.trim();return r===""?void 0:r}function qN(e,n=300){return e.length>n?`${e.slice(0,n-1)}…`:e}function IN(e,n){const i=`HTTP ${e.status} ${e.statusText}`;if(typeof n=="string"){const h=n.trim();return h?`${i}: ${qN(h)}`:i}const r=Pr(n,"title"),l=Pr(n,"detail"),u=Pr(n,"message")??Pr(n,"error_description")??Pr(n,"error");return r&&l?`${i}: ${r} — ${l}`:l?`${i}: ${l}`:u?`${i}: ${u}`:r?`${i}: ${r}`:i}class GN extends Error{name="ApiError";status;statusText;data;headers;response;method;url;constructor(n,i,r){super(IN(n,i)),Object.setPrototypeOf(this,new.target.prototype),this.status=n.status,this.statusText=n.statusText,this.data=i,this.headers=n.headers,this.response=n,this.method=r.method,this.url=n.url||r.url}}class YN extends Error{name="ResponseParseError";status;statusText;headers;response;method;url;rawBody;cause;constructor(n,i,r,l){super(`Failed to parse response from ${l.method} ${n.url||l.url} (${n.status} ${n.statusText}) as JSON`),Object.setPrototypeOf(this,new.target.prototype),this.status=n.status,this.statusText=n.statusText,this.headers=n.headers,this.response=n,this.method=l.method,this.url=n.url||l.url,this.rawBody=i,this.cause=r}}async function WN(e,n){const i=await e.text(),r=kT(i);if(r.trim()==="")return null;try{return JSON.parse(r)}catch(l){throw new YN(e,i,l,n)}}async function XN(e,n){if(RT(e,n))return null;const i=jT(e.headers);if(i&&!Af(i)&&!CT(i))return typeof e.blob=="function"?e.blob():e.text();const r=await e.text(),l=kT(r);if(l.trim()==="")return null;if(Af(i)||NT(l))try{return JSON.parse(l)}catch{return r}return r}function KN(e){const n=jT(e.headers);return Af(n)?"json":CT(n)||n==null?"text":"blob"}async function QN(e,n,i){if(RT(e,i.method))return null;switch(n==="auto"?KN(e):n){case"json":return WN(e,i);case"text":{const l=await e.text();return l===""?null:l}case"blob":if(typeof e.blob!="function")throw new TypeError('Blob responses are not supported in this runtime. Use responseType "json" or "text" instead.');return e.blob()}}async function $N(e,n={}){e=e;const{responseType:i="auto",headers:r,...l}=n,u=BN(e,l.method);if(l.body!=null&&(u==="GET"||u==="HEAD"))throw new TypeError(`customFetch: ${u} requests cannot have a body.`);const h=FN(ET(e)?e.headers:void 0,r);typeof l.body=="string"&&!h.has("content-type")&&NT(l.body)&&h.set("content-type","application/json"),i==="json"&&!h.has("accept")&&h.set("accept",zN);const p={method:u,url:HN(e)},m=await fetch(e,{...l,method:u,headers:h});if(!m.ok){const g=await XN(m,u);throw new GN(m,g,p)}return await QN(m,i,p)}const ZN=()=>"/api/contact",JN=async(e,n)=>{const i=r=>{if(!r)return{};if(r instanceof Headers)return Object.fromEntries(r.entries());if(Symbol.iterator in r)return Object.fromEntries(Array.from(r,u=>Array.from(u)));const l={};for(const[u,h]of Object.entries(r))h!==void 0&&(l[u]=h);return l};return $N(ZN(),{...n,method:"POST",headers:{"Content-Type":"application/json",...i(n?.headers)},body:JSON.stringify(e)})},e9=()=>["submitContact"],t9=e=>{const n=e9(),{mutation:i,request:r}={mutation:{mutationKey:n},request:void 0};return{mutationFn:u=>{const{data:h}=u??{};return JN(h,r)},...i}},n9=e=>U3(t9()),a9=["Book a demo","Broadcasting","Advertising or agency","Regulated categories","Press or partnership"];function i9(){const[e,n]=x.useState({name:"",email:"",organisation:"",reason:"Book a demo",message:"",website:""}),[i,r]=x.useState(!1),[l,u]=x.useState(""),h=x.useRef(void 0),p=x.useRef(!1),m=n9();function g(v,b){n(A=>({...A,[v]:b})),h.current=void 0,u("")}async function y(v){if(v.preventDefault(),!p.current){p.current=!0,u(""),h.
17current||=crypto.randomUUID();try{const b=await m.mutateAsync({data:{...e,submissionId:h.current}});if(b.status!=="accepted"||!b.id)throw new Error("Delivery was not confirmed.");r(!0)}catch(b){const A=b?.data?.error;u(typeof A=="string"?A:"We couldn't confirm your enquiry was sent. Please try again or email [email protected] directly.")}finally{p.current=!1}}}return c.jsx("div",{className:"contact-form",children:i?c.jsxs(ie.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"form-success",role:"status","data-testid":"status-contact-success",children:[c.jsx(K3,{size:18,style:{verticalAlign:"middle",marginRight:8}}),"Thanks. Your enquiry has been submitted to the allt team. We will reply to ",e.email,"."]}):c.jsxs("form",{onSubmit:y,"data-testid":"form-contact","aria-busy":m.isPending,children:[c.jsxs("fieldset",{className:"contact-fields",disabled:m.isPending,children:[c.jsxs("div",{className:"field",children:[c.jsx("label",{htmlFor:"name",children:"Name"}),c.jsx("input",{id:"name",name:"name",autoComplete:"name",required:!0,maxLength:100,value:e.name,onChange:v=>g("name",v.target.value),"data-testid":"input-contact-name"})]}),c.jsxs("div",{className:"field",children:[c.jsx("label",{htmlFor:"email",children:"Work email"}),c.jsx("input",{id:"email",name:"email",type:"email",autoComplete:"email",required:!0,maxLength:254,value:e.email,onChange:v=>g("email",v.target.value),"data-testid":"input-contact-email"})]}),c.jsxs("div",{className:"field",children:[c.jsx("label",{htmlFor:"organisation",children:"Organisation"}),c.jsx("input",{id:"organisation",name:"organisation",autoComplete:"organization",required:!0,maxLength:200,value:e.organisation,onChange:v=>g("organisation",v.target.value),"data-testid":"input-contact-organisation"})]}),c.jsxs("div",{className:"field",children:[c.jsx("label",{htmlFor:"reason",children:"I am here about"}),c.jsx("select",{id:"reason",name:"reason",value:e.reason,onChange:v=>g("reason",v.target.value),"data-testid":"select-contact-reason",children:a9.map(v=>c.jsx("option",{children:v},v))})]}),c.jsxs("div",{className:"field",children:[c.jsx("label",{htmlFor:"message",children:"A little context"}),c.jsx("textarea",{id:"message",name:"message",maxLength:5e3,value:e.message,onChange:v=>g("message",v.target.value),"data-testid":"textarea-contact-message"})]}),c.jsxs("div",{className:"contact-honeypot","aria-hidden":"true",children:[c.jsx("label",{htmlFor:"contact-website",children:"Leave this field empty"}),c.jsx("input",{id:"contact-website",name:"website",tabIndex:-1,autoComplete:"off",value:e.website,onChange:v=>g("website",v.target.value)})]})]}),l&&c.jsxs("div",{className:"contact-error",role:"alert","data-testid":"status-contact-error",children:[c.jsx("p",{children:l}),c.jsx("a",{href:"mailto:[email protected]",children:"Email [email protected]"})]}),c.jsx(ie.button,{whileHover:{scale:m.isPending?1:1.02},whileTap:{scale:.98},className:"button-primary",type:"submit",disabled:m.isPending,"data-testid":"button-contact-submit",children:m.isPending?c.jsxs(c.Fragment,{children:["Sending… ",c.jsx(J3,{size:15,className:"contact-spinner"})]}):c.jsxs(c.Fragment,{children:["Send enquiry ",c.jsx(sA,{size:15})]})})]})})}const s9=new B3,ao=e=>`/brand/${e}`,ob=[{label:"For Broadcasters",href:"/for-broadcasters/"},{label:"For Advertisers",href:"/for-advertisers/"},{label:"Regulated Categories",href:"/regulated-categories/"},{label:"How It Works",href:"/how-it-works/"},{label:"News & Insights",href:"/insights/"},{label:"About",href:"/about/"}];function xe({children:e,delay:n=0,y:i=16,className:r="",style:l={}}){const h=Dt()?0:i;return c.jsx(ie.div,{initial:{opacity:0,y:h},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-10%"},transition:{duration:.8,ease:[.16,1,.3,1],delay:n},className:r,style:l,children:e})}function r9(){const[e,n]=x.useState({x:-1e3,y:-1e3}),[i,r]=x.useState(!1);return x.useEffect(()=>{r(!0);const l=u=>{n({x:u.clientX,y:u.clientY})};return window.addEventListener("mousemove",l),()=>window.removeEventListener("mousemove",l)},[]),i?c.jsx("div",{className:"pointer-glow",style:{left:e.x,top:e.y}}):null}function o9(){const[e,n]=x.useState(!1),[i]=kf();return c.jsxs("header",{className:"site-header",children:[c.jsxs("div",{className:"allt-wrap header-inner",children:[c.jsx(Le,{href:"/",className:"brand","data-testid":"link-home",children:c.jsxs("picture",{children:[c.jsx("source",{media:"(prefers-reduced-motion: reduce)",srcSet:ao("allt-red-reverse-small.png")}),c.jsx("img",{src:ao("allt-logo-header.webp"),alt:"allt",width:"425",height:"215"})]})}),c.jsx("nav",{className:"nav-links","aria-label":"Main navigation",children:ob.map(r=>c.jsx(Le,{href:r.href,className:`nav-link ${i===r.href||i===r.href.slice(0,-1)?"active":""}`,"data-testid":`link-nav-${r.label.toLowerCase().replaceAll(" ","-")}`,children:r.label},r.href))}),c.jsxs(Le,{href:"/contact-us/",className:"header-cta","data-testid":"link-header-demo",children:["Book a demo ",c.jsx(ic,{size:14})]}),c.jsx("button",{className:"menu-button",onClick:()=>n(r=>!r),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"mobile-navigation","data-testid":"button-mobile-menu",children:e?c.jsx(Rf,{size:22}):c.jsx(tA,{size:22})})]}),e&&c.jsxs("nav",{id:"mobile-navigation",className:"mobile-nav","aria-label":"Mobile navigation",children:[ob.map(r=>c.jsx(Le,{href:r.href,className:"nav-link",onClick:()=>n(!1),"data-testid":`link-mobile-${r.label.toLowerCase().replaceAll(" ","-")}`,children:r.label},r.href)),c.jsxs(Le,{href:"/contact-us/",className:"header-cta",onClick:()=>n(!1),"data-testid":"link-mobile-demo",children:["Book a demo ",c.jsx(ic,{size:14})]})]})]})}function l9(){return c.jsx("footer",{className:"site-footer",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs("div",{className:"footer-grid",children:[c.jsxs("div",{children:[c.jsx(Le,{href:"/",className:"brand brand-footer","data-testid":"link-footer-home",children:c.jsx("img",{src:ao("allt-red-reverse.png"),alt:"allt",width:"942",height:"476",loading:"lazy"})}),c.jsx("p",{className:"footer-brand-copy",children:"Closing the last 10 feet between live TV and the apps on a viewer's phone."})]}),c.jsxs("div",{children:[c.jsx("div",{className:"footer-label",children:"Explore"}),c.jsxs("div",{className:"footer-nav",children:[c.jsx(Le,{href:"/about/","data-testid":"link-footer-about",children:"About"}),c.jsx(Le,{href:"/how-it-works/","data-testid":"link-footer-how",children:"How it works"}),c.jsx(Le,{href:"/insights/","data-testid":"link-footer-insights",children:"News & Insights"})]})]}),c.jsxs("div",{children:[c.jsx("div",{className:"footer-label",children:"Start a conversation"}),c.jsxs("div",{className:"footer-nav",children:[c.jsx(Le,{href:"/contact-us/","data-testid":"link-footer-contact",children:"Book a demo"}),c.jsx("a",{href:"mailto:[email protected]","data-testid":"link-footer-email",children:"[email protected]"})]})]})]}),c.jsxs("div",{className:"footer-bottom",children:[c.jsx("span",{children:"© 2026 Allt Inc. Sydney-founded. Delaware-incorporated."}),c.jsxs("span",{className:"footer-legal-links",children:[c.jsx(Le,{href:"/privacy-policy/","data-testid":"link-footer-privacy",children:"Privacy Policy"}),c.jsx(Le,{href:"/terms-conditions/","data-testid":"link-footer-terms",children:"Terms & Conditions"})]}),c.jsx("span",{children:"Patented · US 11,263,657 B2"})]})]})})}function c9({children:e}){return c.jsxs("div",{className:"site-shell",children:[c.jsx(r9,{}),c.jsx(o9,{}),c.jsx("main",{className:"page-main",children:e}),c.jsx(l9,{})]})}function u9(){return c.jsx("div",{className:"ticker","aria-label":"allt principles",children:c.jsx("div",{className:"ticker-track",children:["No QR codes","No searching","No on-screen prompts","Two-way","Compliant by architecture","No QR codes","No searching","No on-screen prompts","Two-way","Compliant by architecture"].map((e,n)=>c.jsx("span",{className:"ticker-item",children:e},`${e}-${n}`))})})}function d9({target:e,suffix:n="%",duration:i=1.1}){const[r,l]=x.useState(0),u=Dt(),h=x.useRef(!1),p=()=>
17{if(h.current)return;if(h.current=!0,u){l(e);return}const m=performance.now(),g=y=>{const v=Math.min(1,(y-m)/(i*1e3)),b=1-Math.pow(1-v,3);l(Math.round(b*e)),v<1&&requestAnimationFrame(g)};requestAnimationFrame(g)};return c.jsxs(ie.div,{className:"stat-value",onViewportEnter:p,viewport:{once:!0,margin:"-10%"},"data-testid":"text-stat-countup",children:[r,n]})}function h9(){const e=["Your ad stack","Your delivery pipeline","Your content IDs","Your player"];return c.jsxs("div",{className:"keep-stage","data-testid":"visual-keep-stage",children:[c.jsxs("div",{className:"keep-stage-panel",children:[c.jsx("span",{className:"eyebrow",children:"What you keep"}),c.jsx("ul",{className:"keep-stage-list",children:e.map((n,i)=>c.jsx(xe,{delay:i*.15,y:10,children:c.jsx("li",{children:n})},n))}),c.jsx(xe,{delay:e.length*.15,y:10,children:c.jsx("p",{className:"keep-stage-closer",children:"Control of your assets."})})]}),c.jsx("div",{className:"keep-stage-divider","aria-hidden":"true"}),c.jsxs(xe,{delay:e.length*.15+.25,y:10,className:"keep-stage-panel",children:[c.jsx("span",{className:"eyebrow",children:"What we bring"}),c.jsx("p",{className:"keep-stage-closer keep-stage-bring-text",children:"The connection."})]})]})}function f9(){const e=Dt(),[n,i]=x.useState(()=>typeof window<"u"&&window.matchMedia("(max-width: 700px)").matches),r=x.useRef(null),l=x.useRef(null),u=x.useRef(null),h=x.useRef([]),{scrollYProgress:p}=qa({target:r,offset:["start center","end center"]});return x.useEffect(()=>{const m=window.matchMedia("(max-width: 700px)"),g=()=>i(m.matches);return m.addEventListener("change",g),g(),()=>m.removeEventListener("change",g)},[]),x.useEffect(()=>{!n||h.current.length||(h.current=Array.from({length:192},(m,g)=>{const y=new Image;return y.decoding="async",y.src=`/media/qr-frames/frame-${String(g).padStart(3,"0")}.webp`,y}))},[n]),x.useEffect(()=>{let m=0;const g=()=>{cancelAnimationFrame(m),m=requestAnimationFrame(()=>{const b=e?0:Math.min(1,p.get()*1.15);if(n){const E=u.current;if(!E)return;const C=Math.min(191,Math.round(b*191));E.dataset.frame!==String(C)&&(E.src=`/media/qr-frames/frame-${String(C).padStart(3,"0")}.webp`,E.dataset.frame=String(C));return}const A=l.current;if(!A||!Number.isFinite(A.duration))return;const T=b*A.duration;Math.abs(A.currentTime-T)>.015&&(A.currentTime=T),A.pause()})},y=l.current;y?.addEventListener("loadedmetadata",g);const v=p.on("change",g);return g(),()=>{y?.removeEventListener("loadedmetadata",g),v(),cancelAnimationFrame(m)}},[p,e,n]),c.jsxs(c.Fragment,{children:[c.jsxs("div",{ref:r,className:"problem-solution-container",children:[c.jsx("div",{className:"problem-video-bg",children:c.jsxs("div",{className:"problem-video-sticky",children:[n?c.jsx("img",{ref:u,src:"/media/qr-frames/frame-000.webp","data-frame":"0",alt:"","aria-hidden":"true",className:"problem-frame-sequence"}):c.jsxs("video",{ref:l,playsInline:!0,muted:!0,preload:"auto",className:"problem-video",children:[c.jsx("source",{src:"/media/qr-code-explodes-scroll.webm",type:"video/webm"}),c.jsx("source",{src:"/media/qr-code-explodes-scroll.mp4",type:"video/mp4"})]}),c.jsx("div",{className:"problem-video-gradient"})]})}),c.jsx("div",{className:"problem-content",children:c.jsx("section",{className:"rule-section",style:{borderBottom:0,paddingBottom:0,paddingTop:60,borderTop:0,background:"transparent"},children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker problem-intro",style:{marginBottom:40},children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"02 / The broken promise"}),c.jsxs("h2",{className:"display problem-headline",children:["We killed the QR code ",c.jsx("span",{children:"(and all the other clunky solutions)."})]})]}),c.jsx("p",{children:c.jsx("span",{className:"problem-statement-text",children:"TV interactivity kept asking viewers to scan, search or navigate away from what they were watching. Each extra step introduced friction, broke the moment and most importantly asked the viewer to change their behaviour."})})]}),c.jsx("div",{className:"friction-grid",children:[{title:"QR Codes",desc:"Let's face it, viewers rarely use them. Too slow, unnatural and annoying.",fact:{id:"qr-codes",year:"1994",sourceLabel:"DENSO WAVE",sourceUrl:"https://www.denso-wave.com/en/technology/vol1.html",text:c.jsxs(c.Fragment,{children:["QR codes were developed in Japan to track parts on manufacturing lines. Great for a factory floor. Not made for a TV screen. ",c.jsx("strong",{children:"allt was built for TV, by peo
17ple who love it."})]})}},{title:"TV Remotes",desc:"Turn a simple impulse into a trail of button presses.",fact:{id:"tv-remotes",year:"1977",sourceLabel:"Wikipedia",sourceUrl:"https://en.wikipedia.org/wiki/Qube_(cable_television)",text:c.jsxs(c.Fragment,{children:["QUBE launched in Columbus, Ohio in 1977 — the first interactive TV trial, using the remote to vote and shop live. Groundbreaking for its time. Still just as many button presses, decades later. ",c.jsx("strong",{children:"allt needs zero."})]})}},{title:"Overlays",desc:"Put a prompt over the very thing viewers came to watch.",fact:{id:"overlays",year:"1980s",sourceLabel:"Mux",sourceUrl:"https://www.mux.com/blog/the-broadcast-squeezeback-rebuilt-with-css-grid-and-webvtt",text:c.jsxs(c.Fragment,{children:["Squeezebacks started in the early 1980s as an expensive special effect that a network specifically budgeted for. By the late 90s, it was standard practice to use squeeze credits to promote the next show — it had stopped being a choice and become routine. As Mux puts it, “a full twenty years passed between possible and routine.” ",c.jsx("strong",{children:"It's taken another twenty years to build something better."})]})}},{title:"Searching",desc:"Lose the connection to the viewer the second they start typing.",fact:{id:"searching",year:"Today",text:c.jsxs(c.Fragment,{children:["Entertainment-inspired economic activity is only ever estimated, because today the 10 foot gap between the screen and the action is mostly closed by untraceable search. Sports betting alone runs to about $100B a year (Statista). Fandom built by watching sport on TV feeds more than $600B in sports tourism (Grand View Research). TV-driven product discovery drives $145B in US retail spending (Shopsense AI). Commerce media is already a $178B category in its own right (GroupM), and food ordered to the couch during a night of TV adds roughly $200B more. All up, that is well over $1 trillion a year, with no way yet to trace how much of it the screen actually inspired. ",c.jsx("strong",{children:"That is the gap allt is built to close."})]})}}].map((m,g)=>c.jsx(xe,{delay:g*.1,children:c.jsxs(ie.div,{className:"friction-card",whileHover:{backgroundColor:"rgba(34,25,32,0.98)",borderColor:"rgba(237,30,36,0.4)",y:-4},children:[c.jsx("div",{className:"friction-icon",children:c.jsx(Rf,{size:16,color:"var(--red)"})}),c.jsx("h3",{children:m.title}),c.jsx("p",{children:m.desc}),m.fact&&c.jsxs(m9,{id:m.fact.id,label:`Fun fact / ${m.fact.year}`,children:[c.jsx("p",{children:m.fact.text}),m.fact.sourceUrl&&c.jsxs("a",{href:m.fact.sourceUrl,target:"_blank",rel:"noopener noreferrer",children:["Source: ",m.fact.sourceLabel," ↗"]})]})]})},m.title))}),c.jsxs(xe,{className:"friction-verdict",children:[c.jsx("div",{className:"eyebrow",children:"The common flaw"}),c.jsxs("h3",{children:["Four workarounds. None solves the real problem. ",c.jsx("span",{children:"Changing user behaviour is hard."})]}),c.jsxs("p",{children:["These tools weren't built for second-screening — they were repurposed, and the industry hasn't had a new idea in 50 years. Every scan, search or button press slows the viewer down. allt does the opposite — it speeds up what they're already doing. ",c.jsx("strong",{children:"The only infrastructure purpose-built to do this."})]})]})]})})})]}),c.jsx("section",{className:"rule-section solution-section",style:{paddingTop:80,borderTop:"1px solid rgba(244,240,230,.14)",paddingBottom:0},children:c.jsx(vN,{})})]})}function ql({progress:e,start:n,number:i,children:r,subtle:l=!1}){const u=Dt(),h=x.useRef(null);return x.useEffect(()=>{const p=h.current;if(!p)return;if(u){p.style.opacity="1",p.style.transform="none";return}const m=()=>{const y=Math.max(0,Math.min(1,(e.get()-n)/.08));p.style.opacity=String(y),p.style.transform=`translateY(${(1-y)*12}px)`},g=e.on("change",m);return m(),g},[e,n,u]),c.jsxs("div",{ref:h,className:`hero-scroll-line${l?" hero-scroll-context":""}`,style:{opacity:u?1:0},children:[i&&c.jsx("span",{className:"hero-scroll-number","aria-hidden":"true",children:i}),c.jsx("span",{children:r})]})}function p9(){const[e,n]=x.useState(!1);return c.jsxs("div",{className:"data-drawer",children:[c.jsxs("button",{type:"button",className:"data-drawer-toggle",onClick:()=>n(i=>!i),"aria-expanded":e,"data-testid":"button-stats-deep-dive",children:[c.jsx("span",{children:e?"Hide the data":"See the data"}),c.jsx(ie.span,{animate:{rotate:e?45:0},className:"data-drawer-icon",children:c.jsx(Cf,{size:14})})]}),c.jsx(bi,{initial:!1,children:e&&c.jsxs(ie.div,{initial:{height:0,opacity:0}
17,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"data-drawer-content",children:[c.jsxs("ul",{className:"data-list",children:[c.jsxs("li",{children:[c.jsx("span",{className:"data-figure",children:"48%"}),c.jsx("span",{className:"data-text",children:"view or share social content tied to a show they're watching, during or after it."}),c.jsx("a",{href:"https://www.horowitzresearch.com/all/younger-audiences-adopting-lean-in-interactive-tv-features-that-blend-entertainment-social-media-and-commerce/",target:"_blank",rel:"noopener noreferrer",children:"Horowitz Research ↗"})]}),c.jsxs("li",{children:[c.jsx("span",{className:"data-figure",children:"34%"}),c.jsx("span",{className:"data-text",children:"have purchased merchandise, collectibles or fashion inspired by a movie or show."}),c.jsx("a",{href:"https://www.horowitzresearch.com/all/younger-audiences-adopting-lean-in-interactive-tv-features-that-blend-entertainment-social-media-and-commerce/",target:"_blank",rel:"noopener noreferrer",children:"Horowitz Research ↗"})]}),c.jsxs("li",{children:[c.jsx("span",{className:"data-figure",children:"31%"}),c.jsx("span",{className:"data-text",children:"have shopped for products related to a show using QR codes or shopping links — 45% among 18-34 year olds."}),c.jsx("a",{href:"https://www.horowitzresearch.com/all/younger-audiences-adopting-lean-in-interactive-tv-features-that-blend-entertainment-social-media-and-commerce/",target:"_blank",rel:"noopener noreferrer",children:"Horowitz Research ↗"})]}),c.jsxs("li",{children:[c.jsx("span",{className:"data-figure",children:"2 in 3"}),c.jsx("span",{className:"data-text",children:"US social network users are forecast to watch TV while scrolling a second screen in 2026."}),c.jsx("a",{href:"https://www.emarketer.com/content/second-screen-behavior-will-define-ctv-strategy-2026",target:"_blank",rel:"noopener noreferrer",children:"eMarketer ↗"})]})]}),c.jsxs("blockquote",{className:"data-quote",children:["“Interactive ways to engage, share, and even shop while watching is not just an acceptable way to advertise — it's an expected and welcome part of engagement with TV content.”",c.jsx("cite",{children:"Adriana Waterston, EVP Insights & Strategy, Horowitz Research"})]})]},"content")})]})}function m9({id:e,label:n,children:i}){const[r,l]=x.useState(!1);return c.jsxs("div",{className:"fact-drawer",children:[c.jsxs("button",{type:"button",className:"fact-drawer-toggle",onClick:()=>l(u=>!u),"aria-expanded":r,"data-testid":`button-fact-${e}`,children:[c.jsx("span",{children:r?"Hide the story":n}),c.jsx(ie.span,{animate:{rotate:r?45:0},className:"fact-drawer-icon",children:c.jsx(Cf,{size:12})})]}),c.jsx(bi,{initial:!1,children:r&&c.jsx(ie.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"fact-drawer-content",children:i},"content")})]})}function g9(){const e=x.useRef(null),n=x.useRef(null),i=x.useRef(null),r=x.useRef(null),l=x.useRef([]),u=Dt(),[h,p]=x.useState(()=>typeof window<"u"&&window.matchMedia("(max-width: 700px)").matches),{scrollYProgress:m}=qa({target:e,offset:["start start","end end"]});return x.useEffect(()=>{const g=window.matchMedia("(max-width: 700px)"),y=()=>p(g.matches);return g.addEventListener("change",y),y(),()=>g.removeEventListener("change",y)},[]),x.useEffect(()=>{!h||u||l.current.length||(l.current=Array.from({length:96},(g,y)=>{const v=new Image;return v.decoding="async",v.src=`/media/hero-frames/frame-${String(y+1).padStart(3,"0")}.webp`,v}))},[h,u]),x.useEffect(()=>{if(u){n.current?.style.removeProperty("opacity");return}let g=0;const y=()=>{cancelAnimationFrame(g),g=requestAnimationFrame(()=>{const A=Math.max(0,Math.min(1,m.get()));if(h){const C=Math.max(0,Math.min(1,(A-.03)/.18));n.current&&(n.current.style.opacity=String(C*.88));const R=r.current;if(!R)return;const M=Math.min(95,Math.round(A*95));R.dataset.frame!==String(M)&&(R.src=`/media/hero-frames/frame-${String(M+1).padStart(3,"0")}.webp`,R.dataset.frame=String(M));return}n.current?.style.removeProperty("opacity");const T=i.current;if(!T||!Number.isFinite(T.duration))return;const E=Math.min(T.duration-.04,A*T.duration);Math.abs(T.currentTime-E)>.025&&(T.currentTime=E),T.pause()})},v=i.current;v?.addEventListener("loadedmetadata",y);const b=m.on("change",y);return y(),()=>{v?.removeEventListener("loadedmetadata",y),b(),cancelAnimationFrame(g)}},[m,h,u]),c.jsxs(c.Fragment,{children:[c.jsx("section",{ref:e,className:"hero-scroll",children:c.jsxs("div",{className:"hero",children:[c.jsx("div",{className:"hero-grid"}),c.jsx("div",{ref:n,className:"hero-video-panel","aria-hidden":"true",children:u?c.jsx("img",{src:"/media/hero-poster.jpg",alt:"",className:"hero-video"}
17):h?c.jsx("img",{ref:r,src:"/media/hero-frames/frame-001.webp","data-frame":"0",alt:"",className:"hero-video"}):c.jsx("video",{ref:i,playsInline:!0,muted:!0,preload:"auto",poster:"/media/hero-poster.jpg",className:"hero-video",children:c.jsx("source",{src:"/media/hero-sofa-scroll.mp4",type:"video/mp4"})})}),c.jsxs("div",{className:"allt-wrap hero-content",children:[c.jsx(xe,{className:"eyebrow",children:"Sydney / Media technology"}),c.jsx(xe,{delay:.1,className:"display",children:c.jsxs("h1",{children:["The last ",c.jsx("em",{children:"10 feet."})]})}),c.jsx(xe,{delay:.2,children:c.jsx("p",{className:"hero-copy",children:"allt connects live TV to the apps on your viewers' phones, in real time."})}),c.jsxs("div",{className:"hero-scroll-lines","aria-label":"No QR codes. No searching. No on-screen prompts. The experience starts when viewers choose to open an app they already use.",children:[c.jsx(ql,{progress:m,start:.12,number:"01",children:"No QR codes."}),c.jsx(ql,{progress:m,start:.29,number:"02",children:"No searching."}),c.jsx(ql,{progress:m,start:.46,number:"03",children:"No on-screen prompts."}),c.jsx(ql,{progress:m,start:.65,subtle:!0,children:"The experience starts when viewers choose to open an app they already use."})]}),c.jsxs(xe,{delay:.3,className:"hero-actions",children:[c.jsxs(Le,{href:"/contact-us/",className:"button-primary","data-testid":"link-hero-demo",children:["Book a demo ",c.jsx(ic,{size:15})]}),c.jsxs(Le,{href:"/how-it-works/",className:"button-ghost","data-testid":"link-hero-how",children:["See how it works ",c.jsx(Tb,{size:15})]})]}),c.jsxs(xe,{delay:.4,className:"hero-markers",children:[c.jsx("span",{children:"Patented US 11,263,657 B2"}),c.jsx("span",{children:"Piloted on a streaming platform"}),c.jsx("span",{children:"Comcast's Boomtown accelerator"}),c.jsx("span",{children:"Rakuten Advertising Partner Spotlight"})]})]})]})}),c.jsx(u9,{}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker gap-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"01 / The gap"}),c.jsxs("h2",{className:"display",children:["You have the audience. ",c.jsx("em",{children:"Not the value."})]})]}),c.jsx("p",{children:"Every viewer is already on their phone. The moment your content inspires an action, the value moves to whoever's app they open next."})]}),c.jsxs("div",{className:"split gap-layout",children:[c.jsxs(xe,{delay:.1,className:"body-copy gap-body",children:[c.jsxs("p",{children:[c.jsx("strong",{children:"Purchases. Bets. Searches. Social posts. Food orders."})," It happens on every phone, every night — and none of it flows back to the broadcast that started it. 39% of viewers already open an app linked to what's on screen while they watch. It's not a future behaviour — it's already happening, just not through you."]}),c.jsx("p",{children:"The 10 feet between the screen and the phone isn't empty. It's where your value goes to die."}),c.jsx("p",{className:"gap-closer",children:"That's the gap allt closes."})]}),c.jsxs(xe,{delay:.2,className:"stat-panel gap-stat",children:[c.jsx(d9,{target:86}),c.jsxs("div",{className:"stat-label",children:["of internet users use another device while watching TV.",c.jsx("a",{href:"https://www.gwi.com/reports/second-screening-infographic",target:"_blank",rel:"noopener noreferrer",children:"Source: GWI ↗"})]})]}),c.jsx(xe,{delay:.25,className:"gap-data",children:c.jsx(p9,{})})]})]})}),c.jsx(f9,{}),c.jsx(MN,{}),c.jsx(LN,{}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"05 / Three doors"}),c.jsx("h2",{className:"display",children:"One connection. Different reasons to care."})]}
17),c.jsx("p",{children:"Same infrastructure. A different conversation for every team in the room."})]}),c.jsxs("div",{className:"door-grid",children:[c.jsx(xe,{delay:.1,children:c.jsx(Le,{href:"/for-broadcasters/","data-testid":"card-door-broadcasters",children:c.jsxs(ie.div,{className:"door block",whileHover:{backgroundColor:"rgba(13,20,32,1)",y:-4},children:[c.jsx("span",{className:"door-number",children:"01 / BROADCASTERS"}),c.jsxs("div",{children:[c.jsx("h3",{children:"New revenue from the audience you already have."}),c.jsx("p",{children:"On your terms, with no change to your ad stack."})]}),c.jsx("span",{className:"door-arrow",children:"↗"})]})})}),c.jsx(xe,{delay:.2,children:c.jsx(Le,{href:"/for-advertisers/","data-testid":"card-door-advertisers",children:c.jsxs(ie.div,{className:"door block",whileHover:{backgroundColor:"rgba(13,20,32,1)",y:-4},children:[c.jsx("span",{className:"door-number",children:"02 / ADVERTISERS + AGENCIES"}),c.jsxs("div",{children:[c.jsx("h3",{children:"Connect a TV campaign to what happens in your app."}),c.jsx("p",{children:"See what broadcast drove, from impression to order."})]}),c.jsx("span",{className:"door-arrow",children:"↗"})]})})}),c.jsx(xe,{delay:.3,children:c.jsx(Le,{href:"/regulated-categories/","data-testid":"card-door-regulated",children:c.jsxs(ie.div,{className:"door block",whileHover:{backgroundColor:"rgba(13,20,32,1)",y:-4},children:[c.jsx("span",{className:"door-number",children:"03 / REGULATED CATEGORIES"}),c.jsxs("div",{children:[c.jsx("h3",{children:"Give viewers a say over which ads reach them."}),c.jsx("p",{children:"Built on the same connection. Designed for choice."})]}),c.jsx("span",{className:"door-arrow",children:"↗"})]})})})]})]})}),c.jsx("section",{className:"quote-band",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs(xe,{children:[c.jsx("blockquote",{children:"“The last 10 feet was a void. Now it's infrastructure.”"}),c.jsxs("cite",{className:"quote-signature",children:[c.jsx("img",{src:ao("allt-mono.png"),alt:"allt",width:"943",height:"476",loading:"lazy"}),c.jsx("span",{children:"The connection between the screen and the action"})]})]})})})]})}function Os({eyebrow:e,title:n,children:i}){const{scrollY:r}=qa(),l=Dt(),u=ye(r,[0,500],[0,l?0:80]);return c.jsx("section",{className:"page-hero",children:c.jsxs(ie.div,{className:"allt-wrap",style:{y:u},children:[c.jsx(xe,{className:"eyebrow",children:e}),c.jsx(xe,{delay:.1,className:"display",children:c.jsx("h1",{children:n})}),c.jsx(xe,{delay:.2,children:c.jsx("p",{children:i})})]})})}function Mp({items:e,solid:n=!1}){return c.jsx("div",{className:"feature-grid",children:e.map((i,r)=>c.jsx(xe,{delay:r*.1,children:c.jsxs(ie.article,{className:"feature-card h-full",whileHover:{backgroundColor:n?"rgba(13,20,32,0.98)":"rgba(13,20,32,0.8)",y:-4},"data-testid":`card-feature-${r}`,children:[c.jsxs("div",{className:"feature-index",children:["0",r+1," /"]}),c.jsx("h3",{children:i.title}),c.jsx("p",{children:i.body})]})},i.title))})}function po(){return c.jsx("section",{className:"quote-band",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs(xe,{children:[c.jsx("blockquote",{children:"Easier to show than describe."}),c.jsx("cite",{children:c.jsxs(Le,{href:"/contact-us/",style:{color:"inherit"},"data-testid":"link-close-demo",children:["Book a demo ",c.jsx(ic,{size:14})]})})]})})})}function lb(){return c.jsxs(bN,{children:[c.jsx(Os,{eyebrow:"For broadcasters / 01",title:c.jsxs(c.Fragment,{children:["Your content inspires the action. ",c.jsx("em",{children:"Earn from it."})]}),children:"When something on your screen sends a viewer to their phone, the value usually goes to whoever's app they open next. allt is designed to bring some of it back to you."}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"Three ways it pays"}),c.jsx("h2",{className:"display",children:"Every dollar on your terms."})]}),c.jsx("p",{children:"One connection gives your audience more ways to act, and gives your business more ways to share in the value."})]}),c.jsx(Mp,{solid:!0,items:[{title:"Licensed connections",body:"Apps that want to sync with your broadcast do it through you, on your terms. You choose which apps and which categories."},{title:"Affiliate revenue",body:"Purchases your content inspires can return a commission to you, across the whole viewing session, not just while a product is on screen."},{title:"Better breaks",body:"The same ad break, personalised for each viewer. The creative changes. Your ad server, inventory and trafficking do not."}]})]})}),c.jsx("section",{className:"rule-section",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs("div",{className:"split",children:[c.jsx(xe,{children:c.jsx(h9,{})}),c.jsxs(xe,{delay:.1,className:"body-copy",children:[c.jsx("div",{className:"eyebrow",children:"Your stack stays as it is"}),c.jsx("h2",{className:"display",style:{color:"var(--paper)",fontSize:"clamp(38px, 5vw, 65p
17x)",lineHeight:".95",margin:"20px 0"},children:"Nothing changes. Except what the last 10 feet is worth."}),c.jsx("p",{children:"One SDK, dropped straight into your player. It works alongside your ad server and delivery stack exactly as they are today."}),c.jsx("p",{children:"We know SDK fatigue is real — that's exactly why we kept the engineering lift this light. allt can be live in weeks, not months. Just ask our first partners."}),c.jsx("p",{className:"gap-closer",children:"And how many SDKs pay for themselves the moment you turn them on?"})]})]})})}),c.jsx(po,{})]})}function y9(){const e=Dt(),n=[.16,1,.3,1],i={hidden:{opacity:0,x:-40,y:0},visible:{opacity:1,x:0,y:0,transition:{duration:.8,ease:n,delay:.2}}},r={hidden:{opacity:0,x:40,y:0},visible:{opacity:1,x:0,y:0,transition:{duration:.8,ease:n,delay:.8}}},l={hidden:{opacity:0,scale:.8},visible:{opacity:1,scale:1,transition:{duration:.8,ease:n,delay:1.4}}};return c.jsxs(ie.div,{className:"adv-hero-visual",initial:e?"visible":"hidden",animate:"visible","aria-label":"A TV displaying 'Your Ad' connected to a phone displaying 'Your App'",children:[c.jsx("div",{className:"adv-connection-line"}),c.jsx(ie.div,{className:"adv-device adv-tv",variants:i,children:c.jsxs("div",{className:"adv-device-frame",children:[c.jsx("span",{className:"adv-device-context",children:"TV / LIVE"}),c.jsx("span",{className:"adv-device-content",children:"Your Ad"})]})}),c.jsxs(ie.div,{className:"adv-connection",variants:l,children:[c.jsx("img",{src:ao("allt-infinity-mark.png"),alt:"",className:"adv-logo"}),c.jsx("span",{className:"adv-connected-text",children:"Connected"})]}),c.jsx(ie.div,{className:"adv-device adv-phone",variants:r,children:c.jsxs("div",{className:"adv-device-frame",children:[c.jsx("span",{className:"adv-device-context",children:"MOBILE / APP"}),c.jsx("span",{className:"adv-device-content",children:"Your App"})]})})]})}function v9(){const{scrollY:e}=qa(),n=Dt(),i=ye(e,[0,500],[0,n?0:80]);return c.jsx("section",{className:"page-hero advertisers-hero",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs(ie.div,{className:"adv-hero-layout",style:{y:i},children:[c.jsxs("div",{className:"adv-hero-text",children:[c.jsx(xe,{className:"eyebrow",children:"For advertisers + agencies / 02"}),c.jsx(xe,{delay:.1,className:"display",children:c.jsxs("h1",{children:["Connect the TV campaign to what happens in your ",c.jsx("em",{children:"app."})]})}),c.jsx(xe,{delay:.2,children:c.jsx("p",{children:"Broadcast builds the awareness. The purchase happens on a phone. For most campaigns, the gap between the two is dark. allt is designed to light it up."})})]}),c.jsx("div",{className:"adv-hero-animation-container",children:c.jsx(y9,{})})]})})})}function b9({children:e}){const n=x.useRef(null),{scrollYProgress:i}=qa({target:n,offset:["start start","end end"]}),r=Dt(),l=(P,H,L,I)=>(1-I)**2*P+2*(1-I)*I*H+I**2*L,u=ye(i,[0,.55],[.45,1]),h=ye(i,[.15,.7],[0,1]),p=ye(i,[0,.85],[.08,1]),m=ye(i,[.45,1],[0,1]),g=ye(i,()=>1),y=r?g:u,v=r?g:h,b=r?g:p,A=r?g:m,T=ye(y,P=>l(-180,440,1180,P)),E=ye(y,P=>l(420,120,670,P)),C=ye(v,P=>l(1200,430,-120,P)),R=ye(v,P=>l(150,270,900,P)),M=ye(b,P=>l(-200,480,1200,P)),N=ye(b,P=>l(800,380,740,P)),O=ye(A,P=>l(1180,320,-180,P)),z=ye(A,P=>l(950,500,250,P));return c.jsxs("div",{ref:n,className:"advertisers-page",children:[c.jsx("div",{className:"advertisers-background","aria-hidden":"true",children:c.jsxs("svg",{viewBox:"0 0 1000 1000",preserveAspectRatio:"xMidYMid slice",style:{width:"100%",height:"100%",opacity:.85},children:[c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:"advCyan",x1:"0",y1:"0",x2:"1",y2:"0",children:[c.jsx("stop",{offset:"0%",stopColor:"#17bae3ff",stopOpacity:"0"}),c.jsx("stop",{offset:"50%",stopColor:"#17bae3ff",stopOpacity:"0.4"}),c.jsx("stop",{offset:"100%",stopColor:"#17bae3ff",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"advRed",x1:"1",y1:"0",x2:"0",y2:"0",children:[c.jsx("stop",{offset:"0%",stopColor:"#ed1e24ff",stopOpacity:"0"}),c.jsx("stop",{offset:"50%",stopColor:"#ed1e24ff",stopOpacity:"0.4"}),c.jsx("stop",{offset:"100%",stopColor:"#ed1e24ff",stopOpacity:"0"})]})]}),c.jsx(ie.path,{d:"M -180,420 Q 440,120 1180,670",fill:"none",stroke:"url
17(#advCyan)",strokeWidth:"75",strokeLinecap:"round",style:{pathLength:y}}),c.jsx(ie.path,{d:"M -180,420 Q 440,120 1180,670",fill:"none",stroke:"#17bae3ff",strokeWidth:"2",opacity:"0.6",style:{pathLength:y}}),c.jsx(ie.circle,{cx:T,cy:E,r:"6",fill:"#17bae3ff",opacity:"0.9"}),c.jsx(ie.path,{d:"M 1200,150 Q 430,270 -120,900",fill:"none",stroke:"url(#advRed)",strokeWidth:"80",strokeLinecap:"round",style:{pathLength:v}}),c.jsx(ie.path,{d:"M 1200,150 Q 430,270 -120,900",fill:"none",stroke:"#ed1e24ff",strokeWidth:"2",opacity:"0.5",style:{pathLength:v}}),c.jsx(ie.circle,{cx:C,cy:R,r:"6",fill:"#ed1e24ff",opacity:"0.9"}),c.jsx(ie.path,{d:"M -200,800 Q 480,380 1200,740",fill:"none",stroke:"#f5c518ff",strokeWidth:"18",strokeLinecap:"round",opacity:"0.16",style:{pathLength:b}}),c.jsx(ie.path,{d:"M -200,800 Q 480,380 1200,740",fill:"none",stroke:"#f5c518ff",strokeWidth:"2",opacity:"0.8",style:{pathLength:b}}),c.jsx(ie.circle,{cx:M,cy:N,r:"5",fill:"#f5c518ff"}),c.jsx(ie.path,{d:"M 1180,950 Q 320,500 -180,250",fill:"none",stroke:"#2ecc71ff",strokeWidth:"25",strokeLinecap:"round",opacity:"0.14",style:{pathLength:A}}),c.jsx(ie.path,{d:"M 1180,950 Q 320,500 -180,250",fill:"none",stroke:"#2ecc71ff",strokeWidth:"2",opacity:"0.7",style:{pathLength:A}}),c.jsx(ie.circle,{cx:O,cy:z,r:"5",fill:"#2ecc71ff"})]})}),c.jsx("div",{className:"advertisers-content",children:e})]})}function w9(){return c.jsxs(b9,{children:[c.jsx(v9,{}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"The campaign loop"}),c.jsx("h2",{className:"display",children:"The moment your app is opened, the work is already done"})]}),c.jsx("p",{children:"The right offer surfaces without a search, because the app knows the show, the match or the ad break."})]}),c.jsx("div",{className:"process",children:[{t:"01",h:"See",p:"The viewer sees your campaign on live TV."},{t:"02",h:"Open",p:"They open the app they already use."},{t:"03",h:"Connect",p:"allt instantly connects the app to the TV."},{t:"04",h:"Prove",p:"See what the broadcast drove, from impression to order."}].map((e,n)=>c.jsx(xe,{delay:n*.1,children:c.jsxs(ie.article,{whileHover:{backgroundColor:"rgba(13,20,32,0.98)",y:-2},className:"process-step",children:[c.jsxs("strong",{children:[e.t," /"]}),c.jsx("h3",{children:e.h}),c.jsx("p",{children:e.p})]})},e.t))})]})}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsx(Mp,{solid:!0,items:[{title:"Your campaign carries on into the app",body:"Illustrative: a food app offers a deal that expires when the credits roll. A retailer shows the exact product a viewer just saw. A loyalty programme adds bonus points during a live match."},{title:"And back into the break",body:"Your app can tell allt which creative a viewer should see in their next break. The targeting decision stays inside your app. Only the creative moves."},{title:"A trail from impression to order",body:"allt is designed to show what the broadcast drove, so top of funnel spend gets a bottom of funnel proof point."}]}),c.jsx(xe,{delay:.3,style:{marginTop:65},children:c.jsxs("div",{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"For agencies"}),c.jsx("h2",{className:"display",children:"A format between broadcast and mobile."})]}),c.jsx("p",{children:"It extends a TV budget instead of replacing it, and makes the broadcast recommendation easier to defend. Any client with a TV budget and a mobile app has a use case."})]})})]})}),c.jsx(po,{})]})}function x9(){const e=x.useRef(null),{scrollYProgress:n}=qa({target:e,offset:["start start","end end"]}),i=Dt(),r=(H,L,I,Z,J)=>(1-J)**3*H+3*(1-J)**2*J*L+3*(1-J)*J**2*I+J**3*Z,l=ye(n,[0,.4],[.48,1]),u=ye(n,[0,.5],[.16,1]),h=ye(n,[.4,.8],[0,1]),p=ye(n,[.55,.92],[0,1]),m=ye(n,[.35,.45,.85,1],[0,1,1,0]),g=ye(n,()=>1),y=i?g:l,v=i?g:u,b=i?g:h,A=i?g:m,T=i?g:p,E=ye(y,H=>r(-100,400,600,1200,H)),C=ye(y,H=>r(200,0,600,400,H)),R=ye(v,H=>r(-200,300,800,1200,H)),M=ye(v,H=>r(800,1e3,200,500,H)),N=ye(b,H=>r(400,500,300,800,H)),O=ye(b,H=>r(-200,400,800,1200,H)),z=ye(T,H=>r(1200,700,200,-100,H)),P=ye(T,H=>r(900,1100,400,700,H));return c.jsxs("div",{ref:e,className:"regulated-page",children:[c.jsx("div",{className:"regulated-background","aria-hidden":"true",children:c.jsxs("svg",{viewBox:"0 0 1000 1000",preserveAspectRatio:"xMidYMid slice",style:{width:"100%",height:"100%",opacity:.9},children:[c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:"redSweep",x1:"0",y1:"0",x2:"0",y2:"1",children:[c.jsx("stop",{offset:"0%",stopColor:"#ed1e24",stopOpacity:"0"}),c.jsx("stop",{offset:"50%",stopColor:"#ed1e24",stopOpacity:"0.5"}),c.jsx("stop",{offset:"100%",stopColor:"#ed1e24",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"cyanSweep",x1:"0",y1:"0",x2:"1",y2:"1",children:[c.jsx("stop",{offset:"0%",stopColor:"#17bae3",stopOpacity:"0"}),c.jsx("stop",{offset:"100%",stopColor:"#17bae3",stopOpacity:"0.25"})]})]}),c.jsx(ie.path,{d:"M -100,200 C 400,0 600,600 1200,400",fill:"none",stroke:"url
17(#cyanSweep)",strokeWidth:"60",strokeLinecap:"round",style:{pathLength:y}}),c.jsx(ie.path,{d:"M -100,200 C 400,0 600,600 1200,400",fill:"none",stroke:"#17bae3",strokeWidth:"2",opacity:"0.4",style:{pathLength:y}}),c.jsx(ie.circle,{cx:E,cy:C,r:"9",fill:"#17bae3",opacity:"0.85"}),c.jsx(ie.path,{d:"M -200,800 C 300,1000 800,200 1200,500",fill:"none",stroke:"#f5c518",strokeWidth:"12",opacity:"0.27",style:{pathLength:v}}),c.jsx(ie.circle,{cx:R,cy:M,r:"7",fill:"#f5c518",opacity:"0.85"}),c.jsx(ie.path,{d:"M 400,-200 C 500,400 300,800 800,1200",fill:"none",stroke:"url(#redSweep)",strokeWidth:"150",strokeLinecap:"round",style:{pathLength:b,opacity:A}}),c.jsx(ie.path,{d:"M 400,-200 C 500,400 300,800 800,1200",fill:"none",stroke:"#ed1e24",strokeWidth:"4",opacity:"0.6",style:{pathLength:b,opacity:A}}),c.jsx(ie.circle,{cx:N,cy:O,r:"10",fill:"#ed1e24",style:{opacity:A}}),c.jsx(ie.path,{d:"M 1200,900 C 700,1100 200,400 -100,700",fill:"none",stroke:"#2ecc71",strokeWidth:"55",strokeLinecap:"round",opacity:"0.2",style:{pathLength:T}}),c.jsx(ie.path,{d:"M 1200,900 C 700,1100 200,400 -100,700",fill:"none",stroke:"#2ecc71",strokeWidth:"2",opacity:"0.75",style:{pathLength:T}}),c.jsx(ie.circle,{cx:z,cy:P,r:"8",fill:"#2ecc71",style:{opacity:T}})]})}),c.jsxs("div",{className:"regulated-content",children:[c.jsx("section",{className:"regulated-hero",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsx(xe,{className:"eyebrow",children:"Regulated categories / 03"}),c.jsx(xe,{delay:.1,className:"display",children:c.jsxs("h1",{children:["A say over which ads reach ",c.jsx("em",{children:"you."})]})}),c.jsx(xe,{delay:.2,children:c.jsx("p",{children:"Regulators are looking at giving people a say, not only setting rules that apply to everyone. Broadcast has never had a way to act on one person's choice at a time. allt is designed to."})})]})}),c.jsx("section",{className:"rule-section",style:{background:"transparent"},children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"The gap"}),c.jsx("h2",{className:"display",children:"Choice belongs in the connection."})]}),c.jsx("p",{children:"Rules for categories like wagering, alcohol and food aimed at children usually apply to everyone, all the time. Viewing has spread across linear, streaming and catch-up."})]}),c.jsx(Mp,{items:[{title:"AdStop",body:"A viewer, or a parent on their behalf, chooses which categories they do not want to see. While the connection is on, that viewer’s break is designed to load a different creative."},{title:"Households",body:"allt is designed to let a parent switch a category off in the app while children are watching, and back on afterwards. Temporary, opt-in and held by the household."},{title:"Designed and tested internally",body:"Replacing a wagering ad with a different creative for a viewer who has opted out has been designed and tested internally."}]})]})}),c.jsx("section",{className:"rule-section",style:{background:"transparent",borderBottom:"none"},children:c.jsx("div",{className:"allt-wrap",children:c.jsxs("div",{className:"split",children:[c.jsxs(xe,{className:"body-copy",children:[c.jsx("div",{className:"eyebrow",children:"For licensed operators"}),c.jsx("h2",{className:"display",style:{color:"var(--paper)",fontSize:"clamp(38px, 5vw, 65px)",lineHeight:".95",margin:"20px 0"},children:"An opted-in, measurable channel."}),c.jsx("p",{children:"allt works inside an app a verified customer has chosen to open. That gives you a channel designed to sit alongside the rules."}),c.jsx("p",{children:"The same connection is designed to respect a customer who has chosen not to see wagering ads."})]}),c.jsx(xe,{delay:.2,children:c.jsxs("div",{className:"regulated-stage",children:[c.jsxs("div",{className:"stage-caption",children:[c.jsx("span",{children:"VIEWER CHOICE"}),c.jsx("span",{children:"NO DEAD AIR"})]}),c.jsxs("div",{style:{position:"absolute",inset:"25% 20%",border:"1px solid var(--green)",background:"rgba(46, 204, 113, 0.05)",padding:20,color:"var(--green)",fontFamily:"var(--app-font-mono)",fontSize:12,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",borderRadius:8},children:[c.jsx(oA,{size:32,style:{marginBottom:12}}),c.jsx("strong",{style:{fontSize:14,letterSpacing:"0.05em",marginBottom:4},children:"CATEGORY OFF"}),c.jsx("span",{style:{color:"#9ba4a1"},children:"TEMPORARY / OPT-IN / AUDITABLE"})]})]})})]})})})]}),c.jsx(po,{})]})}function T9(){return c.jsx(x9,{})}function S9(){const e=Dt(),[n,i]=x.useState(()=>typeof window<"u"&&window.matchMedia("(max-width: 700px)").matches),r=x.useRef(null),l=x.useRef(null),u=x.useRef(null),h=x.useRef([]),{scrollYProgress:p}=qa({target:r,offset:["start center","end center"]});x.useEffect(()=>{const g=window.matchMedia("(max-width: 700px)"),y=()=>i(g.matches);return g.addEventListener("change",y),y(),()=>g.removeEventListener("change",y)},[]),x.useEffect(()=>{!n||h.current.length||(h.current=Array.from({length:192},(g,y)=>{const v=new Image;return v.decoding="async",v.src=`/media/architecture-frames/frame-${String(y).padStart(3,"0")}.webp`,v}))},[n]),x.useEffect(()=>{let g=0;const y=()=>{cancelAnimationFrame(g),g=requestAnimationFrame(()=>{const A=e?0:Math.min(1,p.get()*1.08);if(n){const C=u.current;if(!C)return;const R=Math.min(191,Math.round(A*191));C.dataset.frame!==String(R)&&(C.src=`/media/architecture-frames/frame-${String(R).padStart(3,"0")}.webp`,C.dataset.frame=String(R));return}const T=l.current;if(!T||!Number.isFinite(T.duration))return;const E=A*T.duration;Math.abs(T.currentTime-E)>.015&&(T.currentTime=E),T.pause()})},v=l.current;v?.addEventListener("loadedmetadata",y);const b=p.on("change",y);return y(),()=>{v?.removeEventListener("loadedmetadata",y),b(),cancelAnimationFrame(g)}},[p,e,n]);const m=[["01 / NOTHING ON SCREEN","No QR codes, no scanning, no audio recognition, no content tagging."],["02 / TWO-WAY","The app knows what’s playing. The broadcast can respond to what happens in the app."],["03 / ANONYMOUS","No personally identifiable information moves between the screen, the app and allt."]];return c.jsxs("div",{ref:r,className:"architecture-scroll",children:[c.jsx("div",{className:"architecture-video-column",children:c.jsxs("div",{className:"architecture-video-frame",children:[n?c.jsx("img",{ref:u,src:"/media/architecture-frames/frame-000.webp","data-frame":"0",alt:"","aria-hidden":"true",className:"architecture-frame-sequence"}
17):c.jsxs("video",{ref:l,playsInline:!0,muted:!0,preload:"auto",className:"architecture-video",children:[c.jsx("source",{src:"/media/architecture-living-room-scroll.webm",type:"video/webm"}),c.jsx("source",{src:"/media/architecture-living-room-scroll.mp4",type:"video/mp4"})]}),c.jsx("div",{className:"architecture-video-shade"}),c.jsxs("div",{className:"architecture-video-caption",children:[c.jsx("span",{children:"THE VIEWER WATCHES"}),c.jsx("span",{children:"THE CONNECTION WORKS"})]})]})}),c.jsx("div",{className:"architecture-steps",children:m.map(([g,y],v)=>c.jsxs(xe,{delay:v*.08,className:"architecture-step",children:[c.jsx("div",{className:"feature-index",children:g}),c.jsx("p",{children:y})]},g))})]})}function A9(){return c.jsxs(c.Fragment,{children:[c.jsx(Os,{eyebrow:"How it works / 04",title:c.jsxs(c.Fragment,{children:["Two SDKs. ",c.jsx("em",{children:"One connection."})]}),children:"A small SDK sits in the player. Another sits in a partner's app. When the phone is in the room and the app is opened, the two connect over Bluetooth Low Energy or the home network."}),c.jsx("section",{className:"rule-section architecture-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"The architecture"}),c.jsx("h2",{className:"display",children:"The viewer does nothing new."})]}),c.jsx("p",{children:"The connection is persistent, two-way and designed to fit what you have."})]}),c.jsx(S9,{})]})}),c.jsx("section",{className:"rule-section",children:c.jsx("div",{className:"allt-wrap",children:c.jsx("div",{className:"credential-list",children:[["FITS","Existing ad server and delivery"],["PATENTED","US 11,263,657 B2"],["ACCELERATED","Boomtown Comcast accelerator in Colorado"],["BUILT + TESTED","Designed and tested internally"],["PILOTED","On a streaming platform"]].map(([e,n],i)=>c.jsx(xe,{delay:i*.1,children:c.jsxs(ie.div,{whileHover:{backgroundColor:"rgba(13,20,32,0.4)",paddingLeft:12},className:"credential",style:{transition:"padding 0.3s ease"},children:[c.jsx("b",{children:e}),c.jsx("span",{children:n})]})},e))})})}),c.jsx(po,{})]})}function E9(){return c.jsxs(c.Fragment,{children:[c.jsx(Os,{eyebrow:"About / 05",title:c.jsxs(c.Fragment,{children:["The team behind the ",c.jsx("em",{children:"last 10 feet."})]}),children:"allt is a Sydney-founded technology company with patented content-to-device synchronisation technology. It connects a viewer's TV to the apps on their phone in real time, so broadcasters, streaming platforms and advertisers can build new revenue around the audiences they already have."}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"Leadership + board"}),c.jsx("h2",{className:"display",children:"Experience that crosses the screen."})]}),c.jsx("p",{children:"The team and board bring experience from Comcast, Xumo, Amazon, Microsoft, Seven West Media and Optus."})]}),c.jsxs("div",{className:"team-group",children:[c.jsxs("h3",{className:"team-group-title",children:["Leadership ",c.jsx("span",{children:"03 people"})]}),c.jsx("div",{className:"people-grid",children:wN.map((e,n)=>c.jsx(xe,{delay:n*.05,className:"team-card-reveal",children:c.jsx(sb,{person:e})},e.name))})]}),c.jsxs("div",{className:"team-group",children:[c.jsxs("h3",{className:"team-group-title",children:["Board ",c.jsx("span",{children:"05 additional profiles"})]}),c.jsx("div",{className:"people-grid",children:xN.map((e,n)=>c.jsx(xe,{delay:n*.05,className:"team-card-reveal",children:c.jsx(sb,{person:e})},e.name))})]})]})}),c.jsx("section",{className:"rule-section",children:c.jsxs("div",{className:"allt-wrap",children:[c.jsxs(xe,{className:"section-kicker",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"Credentials"}),c.jsx("h2",{className:"display",children:"A credible place to start."})]}),c.jsx("p",{children:"Patented, accelerated, backed and recognised. The work continues from Sydney as allt explores international opportunities."})]}),c.jsx("div",{className:"credential-list",children:[["PATENTED","US 11,263,657 B2"],["ACCELERATE
17D","Completed the Boomtown Comcast accelerator in Colorado"],["BACKED","Comcast and CableLabs are shareholders, through the Boomtown Comcast accelerator"],["RECOGNISED","Featured in Rakuten Advertising’s Q2 2026 Affiliate Partner Spotlight"],["COMPANY","Allt Inc., Sydney-founded and Delaware-incorporated"]].map(([e,n],i)=>c.jsx(xe,{delay:i*.1,children:c.jsxs(ie.div,{whileHover:{backgroundColor:"rgba(13,20,32,0.4)",paddingLeft:12},className:"credential",style:{transition:"padding 0.3s ease"},children:[c.jsx("b",{children:e}),c.jsx("span",{children:n})]})},e))})]})}),c.jsx(po,{})]})}function cb({page:e=1}){return c.jsxs(c.Fragment,{children:[c.jsx(AT,{page:e}),c.jsx(SN,{page:e})]})}function ub(){const[e]=kf(),n=jN(e);return n?c.jsxs(c.Fragment,{children:[c.jsx(AT,{article:n}),c.jsx(AN,{path:n.path})]}):c.jsx(vT,{})}function j9(){return c.jsxs(c.Fragment,{children:[c.jsx(Os,{eyebrow:"Contact / 07",title:c.jsxs(c.Fragment,{children:["Easier to show than ",c.jsx("em",{children:"describe."})]}),children:"Tell us what you are trying to connect. We will bring the right conversation, not a generic pitch."}),c.jsx("section",{className:"rule-section",children:c.jsx("div",{className:"allt-wrap",children:c.jsxs("div",{className:"contact-layout",children:[c.jsx(xe,{children:c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow",children:"Start a conversation"}),c.jsx("h2",{className:"display",children:"The last 10 feet is waiting."}),c.jsx("p",{className:"body-copy",children:"For broadcasters, streaming platforms, advertisers, agencies and people working in policy or responsible gambling."}),c.jsx("a",{className:"contact-email",href:"mailto:[email protected]","data-testid":"link-contact-email",children:"[email protected]"})]})}),c.jsx(xe,{delay:.2,children:c.jsx(i9,{})})]})})})]})}const C9=`<h2>Overview</h2>
18<p>In this Privacy Policy, ‘us’ ‘we’ or ‘our’ means Allt Inc. and our related bodies corporate. We are committed to respecting your privacy. Our Privacy Policy sets out how we collect, use, store and disclose your personal information. We are bound by the Australian Privacy Principles contained in the Privacy Act.</p>
19<p>By providing personal information to us, you consent to our collection, use and disclosure of your personal information in accordance with this Privacy Policy and any other arrangements that apply between us. We may change our Privacy Policy from time to time by publishing changes to it on our website. We encourage you to check our website periodically to ensure that you are aware of our current Privacy Policy.</p>
20<p>Personal information includes information or an opinion about an individual that is reasonably identifiable. For example, this may include your name, age, gender, postcode and contact details. It may also include financial information, including your credit card information.</p>
21<h2>What personal information do we collect?</h2>
22<p>We may collect the following types of personal information:</p>
23<ul>
24<li>name;</li>
25<li>mailing or street address;</li>
26<li>email address;</li>
27<li>telephone number and other contact details;</li>
28<li>age or date of birth;</li>
29<li>credit card information;</li>
30<li>your device ID, device type, geo-location information, computer and connection information, statistics on page views, traffic to and from the sites, ad data, IP address and standard web log information;</li>
31<li>details of the products and services we have provided to you or that you have enquired about, including any additional information necessary to deliver those products and services and respond to your enquiries;</li>
32<li>any additional information relating to you that you provide to us directly through our website or app or indirectly through your use of our website or app or online presence or through other websites or accounts from which you permit us to collect information;</li>
33<li>information you provide to us through customer surveys; or</li>
34<li>any other personal information that may be required in order to facilitate your dealings with us.</li>
35</ul>
36<p>We may collect these types of personal information either directly from you, or from third parties. We may collect this information when you:</p>
37<ul>
38<li>register on our website or app;</li>
39<li>communicate with us through correspondence, chats, email, or when you share information with us from other social applications, services or websites;</li>
40<li>interact with our sites, services, content and advertising; or</li>
41<li>invest in our business or enquire as to a potential purchase in our business.</li>
42</ul>
43<p>In addition, when you apply for a job or position with us we may collect certain information from you (including your name, contact details, working history and relevant records checks) from any re
43cruitment consultant, your previous employers and others who may be able to provide information to us to assist in our decision on whether or not to make you an offer of employment or engage you under a contract. This Privacy Policy does not apply to acts and practices in relation to employee records of our current and former employees, which are exempt from the Privacy Act.</p>
44<h2>Why do we collect, use and disclose personal information?</h2>
45<p>We may collect, hold, use and disclose your personal information for the following purposes:</p>
46<ul>
47<li>to enable you to access and use our website or app;</li>
48<li>to operate, protect, improve and optimise our website, app, business and our users’ experience, such as to perform analytics, conduct research and for advertising and marketing;</li>
49<li>to send you service, support and administrative messages, reminders, technical notices, updates, security alerts, and information requested by you;</li>
50<li>to send you marketing and promotional messages and other information that may be of interest to you, including information sent by, or on behalf of, our business partners that we think you may find interesting;</li>
51<li>to administer rewards, surveys, contests, or other promotional activities or events sponsored or managed by us or our business partners;</li>
52<li>to comply with our legal obligations, resolve any disputes that we may have with any of our users, and enforce our agreements with third parties; and</li>
53<li>to consider your employment application.</li>
54</ul>
55<p>We may also disclose your personal information to a trusted third party who also holds other information about you. This third party may combine that information in order to enable it and us to develop anonymised consumer insights so that we can better understand your preferences and interests, personalise your experience and enhance the products and services that you receive.</p>
56<h2>Do we use your personal information for direct marketing?</h2>
57<p>We and/or our carefully selected business partners may send you direct marketing communications and information about our services. This may take the form of emails, SMS, mail or other forms of communication, in accordance with the Spam Act and the Privacy Act. You may opt-out of receiving marketing materials from us by contacting us using the details set out below or by using the opt-out facilities provided (eg an unsubscribe link).</p>
58<h2>To whom do we disclose your personal information?</h2>
59<p>We may disclose personal information for the purposes described in this privacy policy to:</p>
60<ul>
61<li>our employees and related bodies corporate;</li>
62<li>third party suppliers and service providers (including providers for the operation of our websites and/or our business or in connection with providing our products and services to you);</li>
63<li>professional advisers, dealers and agents;</li>
64<li>payment systems operators (eg merchants receiving card payments);</li>
65<li>our existing or potential agents, business partners or partners;</li>
66<li>our sponsors or promoters of any competition that we conduct via our services;</li>
67<li>anyone to whom our assets or businesses (or any part of them) are transferred;</li>
68<li>specific third parties authorised by you to receive information held by us; and/or</li>
69<li>other persons, including government agencies, regulatory bodies and law enforcement agencies, or as required, authorised or permitted by law.</li>
70</ul>
71<h2>Disclosure of personal information outside Australia</h2>
72<p>We may disclose personal information outside of Australia to third party suppliers, cloud providers located in the USA.</p>
73<p>When you provide your personal information to us, you consent to the disclosure of your information outside of Australia and acknowledge that we are not required to ensure that overseas recipients handle that personal information in compliance with Australian Privacy Law. We will, however, take reasonable steps to ensure that any overseas recipient will deal with such personal information in a way that is consistent with the Australian Privacy Principles.</p>
74<h2>Using our website and cookies</h2>
75<p>We may collect personal information about you when you use and access our website.</p>
76<p>
76While we do not use browsing information to identify you personally, we may record certain information about your use of our website, such as which pages you visit, the time and date of your visit and the internet protocol address assigned to your computer.</p>
77<p>We may also use ‘cookies’ or other similar tracking technologies on our website that help us track your website usage and remember your preferences. Cookies are small files that store information on your computer, TV, mobile phone or other device. They enable the entity that put the cookie on your device to recognise you across different websites, services, devices and/or browsing sessions. You can disable cookies through your internet browser but our websites may not work as intended for you if you do so.</p>
78<p>We may also use cookies to enable us to collect data that may include personal information. For example, where a cookie is linked to your account, it will be considered personal information under the Privacy Act. We will handle any personal information collected by cookies in the same way that we handle all other personal information as described in this Privacy Policy.</p>
79<h2>Security</h2>
80<p>We may hold your personal information in either electronic or hard copy form. We take reasonable steps to protect your personal information from misuse, interference and loss, as well as unauthorised access, modification or disclosure and we use a number of physical, administrative, personnel and technical measures to protect your personal information. For example, we limit employee access to personal information and encrypt our storage mechanisms. However, we cannot guarantee the security of your personal information. </p>
81<h2>Links</h2>
82<p>Our website may contain links to websites operated by third parties. Those links are provided for convenience and may not remain current or be maintained. Unless expressly stated otherwise, we are not responsible for the privacy practices of, or any content on, those linked websites, and have no control over or rights in those linked websites. The privacy policies that apply to those other websites may differ substantially from our Privacy Policy, so we encourage individuals to read them before using those websites.</p>
83<h2>Accessing or correcting your personal information</h2>
84<p>You can access the personal information we hold about you by contacting us using the information below. Sometimes, we may not be able to provide you with access to all of your personal information and, where this is the case, we will tell you why. We may also need to verify your identity when you request your personal information.</p>
85<p>If you think that any personal information we hold about you is inaccurate, please contact us and we will take reasonable steps to ensure that it is corrected.</p>
86<h2>Making a complaint</h2>
87<p>If you think we have breached the Privacy Act, or you wish to make a complaint about the way we have handled your personal information, you can contact us using the details set out below. Please include your name, email address and/or telephone number and clearly describe your complaint. We will acknowledge your complaint and respond to you regarding your complaint within a reasonable period of time. If you think that we have failed to resolve the complaint satisfactorily, we will provide you with information about the further steps you can take. </p>
88<h2>Contact Us</h2>
89<p>For further information about our Privacy Policy or practices, or to access or correct your personal information, or make a complaint, please contact us using the details set out below:</p>
90<p><strong>Privacy Officer</strong><br/>
91<a href="mailto:[email protected]">[email protected]</a></p>
92<p><strong>Effective: 4th of February, 2018</strong></p>`,R9=`<h2>Introduction</h2>
93<p>Thank you for visiting our website. This website is owned and operated by <i>Allt Inc</i>.. By accessing and/or using this website and related services, you agree to these Terms and Conditions, which include our Privacy Policy (available at <a href="/privacy-policy/">allt.tv/privacy-policy</a>) (<b><i>Terms</i></b>). You should review our Privacy Policy and these Terms carefully and immediately cease using our website if you do not agree to these Terms.</p>
94<p>In these Terms, ‘us’, ‘we’ and ‘our’ means <i>Allt Inc.</i> and our related bodies corporate.</p>
95<h2>Registration</h2>
96<p>You must be a registered member to access certain features of our website.</p>
97<p>When you register and activate your account, you will provide us with personal information such as your name and email address | telephone number | age | location. You must ensure that this information is accurate and current. We will handle all personal information we collect in accordance with our <a href="/privacy-policy/">Privacy Policy</a></p>
98<p>When you register and activate your account, we will provide you with a username and password. You are responsible for keeping this username and password secure and are responsible for all use and activity carried out under this user name.</p>
99<p>
99If you are under the age of 13 years, you may not create an account or register as a member. If you are 13 or older but under the age of 18, you represent that you have reviewed these Terms with your parent or legal guardian to make sure that you and your parent or legal guardian understand these Terms. If you are a parent or guardian permitting a person under the age of 18 (a <b><i>Minor</i></b>) to create an account, you agree to:</p>
100<ul>
101<li>exercise supervision over the Minor’s use of our website and account;</li>
102<li>assume all risks associated with the Minor’s use of our website and their account, including the transmission of content or information to and from third parties via the Internet;</li>
103<li>ensure that the content and information that the Minor may encounter on our website are suitable for the Minor;</li>
104<li>assume liabilities resulting from the Minor’s use of our website and their account;</li>
105<li>ensure the accuracy and truthfulness of all information submitted by the Minor; and</li>
106<li>provide the consents contained in these Terms on behalf of the Minor.</li>
107</ul>
108<p>We may ask you to confirm that you have your parent’s or guardian’s permission and that they have agreed to these Terms on your behalf, and, even if we do not do this, we will assume that this is the case and will provide access to our website and your account on this basis.</p>
109<h2>Collection Notice</h2>
110<p>We collect personal information about you in order to respond to your enquiry and process your registration and for purposes otherwise set out in our <a href="/privacy-policy/">Privacy Policy</a>.</p>
111<p>We may disclose that information to third parties that help us deliver our services (including information technology suppliers, communication suppliers and our business partners) or as required by law. If you do not provide this information, we may not be able to provide all of our services to you. We may also disclose your personal information to recipients that are located outside of Australia, for cloud storage, website hosting located in the USA.</p>
112<p>Our Privacy Policy explains: (i) how we store and use, and how you may access and correct your personal information; (ii) how you can lodge a complaint regarding the handling of your personal information; and (iii) how we will handle any complaint. If you would like any further information about our privacy policies or practices, please contact us at <a href="mailto:[email protected]">[email protected]</a></p>
113<p>By providing your personal information to us, you consent to the collection, use, storage and disclosure of that information as described in the Privacy Policy and these Terms.</p>
114<h2><b>Accuracy, completeness and timeliness of information</b></h2>
115<p>The information on our website is not comprehensive and is intended to provide a summary of the subject matter covered. While we use all reasonable attempts to ensure the accuracy and completeness of the information on our website, to the extent permitted by law, including the Australian Consumer Law, we make no warranty regarding the information on this website. You should monitor any changes to the information contained on this website.</p>
116<p>We are not liable to you or anyone else if interference with or damage to your computer systems occurs in connection with the use of this website or a linked website. You must take your own precautions to ensure that whatever you select for your use from our website is free of viruses or anything else (such as worms or Trojan horses) that may interfere with or damage the operations of your computer systems.</p>
117<p>We may, from time to time and without notice, change or add to the website (including the Terms) or the information, products or services described in it. However, we do not undertake to keep the website updated. We are not liable to you or anyone else if errors occur in the information on the website or if that information is not up-to-date.</p>
118<h2><b>Promotions and competitions</b></h2>
119<p>For certain campaigns, promotions or contests, additional terms and conditions may apply. If you want to participate in such a campaign, promotion or contest, you need to agree to the relevant terms and conditions applicable to that campaign, promotion or contest. In case of any inconsistency between such terms and conditions and these Terms, those terms and conditions will prevail.</p>
120<h2><b>Linked sites</b></h2>
121<p>Our website may contain links to websites operated by third parties. Those links are provided for c
121onvenience and may not remain current or be maintained. Unless expressly stated otherwise, we do not endorse and are not responsible for the content on those linked websites and have no control over or rights in those linked websites.</p>
122<h2>Intellectual property rights</h2>
123<p>Unless otherwise indicated, we own or license from third parties all rights, title and interest (including copyright, designs, patents, trademarks and other intellectual property rights) in this website and in all of the material (including all text, graphics, logos, audio and software) made available on this website (<strong>Content</strong>).</p>
124<p>Your use of this website and use of and access to any Content does not grant or transfer any rights, title or interest to you in relation to this website or the Content. However we do grant you a licence to access the website and view the Content on the terms and conditions set out in this Agreement and, where applicable, as expressly authorised by us and/or our third party licensors.</p>
125<p>Any reproduction or redistribution of this website or the Content is prohibited and may result in civil and criminal penalties. In addition, you must not copy the Content to any other server, location or support for publication, reproduction or distribution is expressly prohibited.</p>
126<p>All other use, copying or reproduction of this website, the Content or any part of it is prohibited, except to the extent permitted by law.</p>
127<h2>Unacceptable activity</h2>
128<p>You must not do any act that we would deem to be inappropriate, is unlawful or is prohibited by any laws applicable to our website, including but not limited to:</p>
129<ul>
130<li>any act that would constitute a breach of either the privacy (including uploading private or personal information without an individual’s consent) or any other of the legal rights of individuals;</li>
131<li>using this website to defame or libel us, our employees or other individuals;</li>
132<li>uploading files that contain viruses that may cause damage to our property or the property of other individuals;</li>
133<li>posting or transmitting to this website any non-authorised material including, but not limited to, material that is, in our opinion, likely to cause annoyance, or which is defamatory, racist, obscene, threatening, pornographic or otherwise or which is detrimental to or in violation of our systems or a third party’s systems or network security.</li>
134</ul>
135<p>If we allow you to post any information to our website, we have the right to take down this information at our sole discretion and without notice.</p>
136<h2>Warranties and disclaimers</h2>
137<p>To the maximum extent permitted by law, including the Australian Consumer Law, we make no warranties or representations about this website or the Content, including but not limited to warranties or representations that they will be complete, accurate or up-to-date, that access will be uninterrupted or error-free or free from viruses, or that this website will be secure.</p>
138<p>We reserve the right to restrict, suspend or terminate without notice your access to this website, any Content, or any feature of this website at any time without notice and we will not be responsible for any loss, cost, damage or liability that may arise as a result.</p>
139<h2>Liability</h2>
140<p>To the maximum extent permitted by law, including the Australian Consumer Law, in no event shall we be liable for any direct and indirect loss, damage or expense – irrespective of the manner in which it occurs – which may be suffered due to your use of our website and/or the information or materials contained on it, or as a result of the inaccessibility of this website and/or the fact that certain information or materials contained on it are incorrect, incomplete or not up-to-date.</p>
141<h2>Jurisdiction and governing law</h2>
142<p>Your use of the website and these Terms are governed by the law of the state of New South Wales of The Commonwealth of Australia and you submit to the non-exclusive jurisdiction of the courts exercising jurisdiction in New South Wales.</p>`;function k9(){return c.jsxs(c.Fragment,{children:[c.jsx(Os,{eyebrow:"Privacy Policy",title:c.jsxs(c.Fragment,{children:["How we handle ",c.jsx("em",{children:"your information."})]}),children:"allt is committed to respecting your privacy. This policy sets out how we collect, use, store and disclose your personal information."}),c.jsx("section",{className:"rule-section",children:c.jsx("div",{className:"allt-wrap",children:c.jsx("div",{className:"legal-content insight-content",dangerouslySetInnerHTML:{__html:C9}})})})]})}function N9(){return c.jsxs(c.Fragment,{children:[c.jsx(Os,{eyebrow:"Terms & Conditions",title:c.jsxs(c.Fragment,{children:["The terms of using ",c.jsx("em",{children:"our website."})]}),children:"By accessing and using this website and related services, you agree to the terms set out below."}),c.jsx("section",{className:"rule-section",children:c.jsx("div",{className:"allt-wrap",children:c.jsx("div",{className:"legal-content insight-content",dangerouslySetInnerHTML:{__html:R9}})})})]})}function M9(){return c.jsxs(jA,{children:[c.jsx(Rt,{path:"/",component:g9}),c.jsx(Rt,{path:"/for-broadcasters/",component:lb}),c.jsx(Rt,{path:"/for-advertisers/",component:w9}),c.jsx(Rt,{path:"/regulated-categories/",component:T9}),c.jsx(Rt,{path:"/how-it-works/",component:A9}),c.jsx(Rt,{path:"/about/",component:E9}),c.jsx(Rt,{path:"/insights/",children:c.jsx(cb,{})}),c.jsx(Rt,{path:"/insights/page/2/",children:c.jsx(cb,{page:2})}),c.jsx(Rt,{path:"/insights/:slug/",component:ub}),c.jsx(Rt,{path:"/news/:slug/",component:ub}),c.jsx(Rt,{path:"/contact-us/",component:j9}),c.jsx(Rt,{path:"/privacy-policy/",component:k9}),c.jsx(Rt,{path:"/terms-conditions/",component:N9}),c.jsx(Rt,{path:"/for-business/",component:lb}),c.jsx(Rt,{component:vT})]})}function O9({children:e}){const[n]=kf();return x.useEffect(()=>{window.scrollTo(0,0)},[n]),c.jsx(_x,{resetKey:n,children:e})}function D9(){return c.jsx(c3,{client:s9,children:c.jsxs(Gk,{children:[c.jsx(Pb,{base:"/".replace(/\/$/,""),children:c.jsx(c9,{children:c.jsx(O9,{children:c.jsx(M9,{})})})}),c.jsx(mR,{})]})})}o3.createRoot(document.getElementById("root"),{onCaughtError:(e,n)=>{console.error(e,n.componentStack)}}).render(c.jsx(_x,{children:c.jsx(D9,{})}));

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.