PageSourceSearch

https://supermile.ai/assets/index-BLw9_BU3.js

js supermile.ai collected 2026-10-05 12:41:14 UTC 713,656 bytes, 234 lines download raw bytes

vendor: 5,994 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Contact-Cqd93ycD.js","assets/card-D0wTDrJH.js","assets/label-BjXLNQ2u.js","assets/check-LmzHzBCP.js","assets/SignIn-yDJQDv-Q.js","assets/SignUp-DQLna77B.js","assets/Pricing-Dby_3ohZ.js","assets/not-found-CRmhWe9k.js"])))=>i.map(i=>d[i]);
2var Uh=e=>{throw TypeError(e)};var Qc=(e,t,n)=>t.has(e)||Uh("Cannot "+n);var O=(e,t,n)=>(Qc(e,t,"read from private field"),n?n.call(e):t.get(e)),re=(e,t,n)=>t.has(e)?Uh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(Qc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ge=(e,t,n)=>(Qc(e,t,"access private method"),n);var la=(e,t,n,r)=>({set _(i){Y(e,t,i,n)},get _(){return O(e,t,r)}});function Y_(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function ry(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var iy={exports:{}},pc={},sy={exports:{}},Z={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Qo=Symbol.for("react.element"),X_=Symbol.for("react.portal"),J_=Symbol.for("react.fragment"),Z_=Symbol.for("react.strict_mode"),eb=Symbol.for("react.profiler"),tb=Symbol.for("react.provider"),nb=Symbol.for("react.context"),rb=Symbol.for("react.forward_ref"),ib=Symbol.for("react.suspense"),sb=Symbol.for("react.memo"),ob=Symbol.for("react.lazy"),Hh=Symbol.iterator;function ab(e){return e===null||typeof e!="object"?null:(e=Hh&&e[Hh]||e["@@iterator"],typeof e=="function"?e:null)}var oy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ay=Object.assign,ly={};function ws(e,t,n){this.props=e,this.context=t,this.refs=ly,this.updater=n||oy}ws.prototype.isReactComponent={};ws.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ws.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cy(){}cy.prototype=ws.prototype;function nf(e,t,n){this.props=e,this.context=t,this.refs=ly,this.updater=n||oy}var rf=nf.prototype=new cy;rf.constructor=nf;ay(rf,ws.prototype);rf.isPureReactComponent=!0;var qh=Array.isArray,uy=Object.prototype.hasOwnProperty,sf={current:null},dy={key:!0,ref:!0,__self:!0,__source:!0};function py(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)uy.call(t,r)&&!dy.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Qo,type:e,key:s,ref:o,props:i,_owner:sf.current}}function lb(e,t){return{$$typeof:Qo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function of(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qo}function cb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Bh=/\/+/g;function Yc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?cb(""+e.key):t.toString(36)}function Ga(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Qo:case X_:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Yc(o,0):r,qh(i)?(n="",e!=null&&(n=e.replace(Bh,"$&/")+"/"),Ga(i,t,n,"",function(u){return u})):i!=null&&(of(i)&&(i=lb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Bh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",qh(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Yc(s,a);o+=Ga(s,t,n,l,i)}else if(l=ab(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Yc(s,a++),o+=Ga(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function ca(e,t,n){if(e==null)return e;var r=[],i=0;return Ga(e,r,"","",function(s){return t.call(n,s,i++)}),r}function ub(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var dt={current:null},Ka={transition:null},db={ReactCurrentDispatcher:dt,ReactCurrentBatchConfig:Ka,ReactCurrentOwner:sf};function fy(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 9,434 bytes, lines 10-34
10Z.Children={map:ca,forEach:function(e,t,n){ca(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ca(e,function(){t++}),t},toArray:function(e){return ca(e,function(t){return t})||[]},only:function(e){if(!of(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=ws;Z.Fragment=J_;Z.Profiler=eb;Z.PureComponent=nf;Z.StrictMode=Z_;Z.Suspense=ib;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=db;Z.act=fy;Z.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ay({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=sf.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)uy.call(t,l)&&!dy.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Qo,type:e.type,key:i,ref:s,props:r,_owner:o}};Z.createContext=function(e){return e={$$typeof:nb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:tb,_context:e},e.Consumer=e};Z.createElement=py;Z.createFactory=function(e){var t=py.bind(null,e);return t.type=e,t};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:rb,render:e}};Z.isValidElement=of;Z.lazy=function(e){return{$$typeof:ob,_payload:{_status:-1,_result:e},_init:ub}};Z.memo=function(e,t){return{$$typeof:sb,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=Ka.transition;Ka.transition={};try{e()}finally{Ka.transition=t}};Z.unstable_act=fy;Z.useCallback=function(e,t){return dt.current.useCallback(e,t)};Z.useContext=function(e){return dt.current.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e){return dt.current.useDeferredValue(e)};Z.useEffect=function(e,t){return dt.current.useEffect(e,t)};Z.useId=function(){return dt.current.useId()};Z.useImperativeHandle=function(e,t,n){return dt.current.useImperativeHandle(e,t,n)};Z.useInsertionEffect=function(e,t){return dt.current.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return dt.current.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return dt.current.useMemo(e,t)};Z.useReducer=function(e,t,n){return dt.current.useReducer(e,t,n)};Z.useRef=function(e){return dt.current.useRef(e)};Z.useState=function(e){return dt.current.useState(e)};Z.useSyncExternalStore=function(e,t,n){return dt.current.useSyncExternalStore(e,t,n)};Z.useTransition=function(){return dt.current.useTransition()};Z.version="18.3.1";sy.exports=Z;var w=sy.exports;const rr=ry(w),hy=Y_({__proto__:null,default:rr},[w]);/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var pb=w,fb=Symbol.for("react.element"),hb=Symbol.for("react.fragment"),mb=Object.prototype.hasOwnProperty,gb=pb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,vb={key:!0,ref:!0,__self:!0,__source:!0};function my(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)mb.call(t,r)&&!vb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:fb,type:e,key:s,ref:o,props:i,_owner:gb.current}}pc.Fragment=hb;pc.jsx=my;pc.jsxs=my;iy.exports=pc;var c=iy.exports,gy={exports:{}},Rt={},vy={exports:{}},yy={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */(function(e){function t(N,M){var B=N.length;N.push(M);e:for(;0<B;){var K=B-1>>>1,ee=N[K];if(0<i(ee,M))N[K]=M,N[B]=ee,B=K;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var M=N[0],B=N.pop();if(B!==M){N[0]=B;e:for(var K=0,ee=N.length,oe=ee>>>1;K<oe;){var le=2*(K+1)-1,Ie=N[le],me=le+1,tt=N[me];if(0>i(Ie,B))me<ee&&0>i(tt,Ie)?(N[K]=tt,N[me]=B,K=me):(N[K]=Ie,N[le]=B,K=le);else if(me<ee&&0>i(tt,B))N[K]=tt,N[me]=B,K=me;else break e}}return M}function i(N,M){var B=N.sortIndex-M.sortIndex;return B!==0?B:N.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],d=1,p=null,f=3,g=!1,x=!1,h=!1,_=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(N){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=N)r(u),M.sortIndex=M.expirationTime,t(l,M);else break;M=n(u)}}function b(N){if(h=!1,y(N),!x)if(n(l)!==null)x=!0,T(S);else{var M=n(u);M!==null&&F(b,M.startTime-N)}}function S(N,M){x=!1,h&&(h=!1,m(A),A=-1),g=!0;var B=f;try{for(y(M),p=n(l);p!==null&&(!(p.expirationTime>M)||N&&!$());){var K=p.callback;if(typeof K=="function"){p.callback=null,f=p.priorityLevel;var ee=K(p.expirationTime<=M);M=e.unstable_now(),typeof ee=="function"?p.callback=ee:p===n(l)&&r(l),y(M)}else r(l);p=n(l)}if(p!==null)var oe=!0;else{var le=n(u);le!==null&&F(b,le.startTime-M),oe=!1}return oe}finally{p=null,f=B,g=!1}}var k=!1,E=null,A=-1,C=5,R=-1;function $(){return!(e.unstable_now()-R<C)}function L(){if(E!==null){var N=e.unstable_now();R=N;var M=!0;try{M=E(!0,N)}finally{M?U():(k=!1,E=null)}}else k=!1}var U;if(typeof v=="function")U=function(){v(L)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,j=I.port2;I.port1.onmessage=L,U=function(){j.postMessage(null)}}else U=function(){_(L,0)};function T(N){E=N,k||(k=!0,U())}function F(N,M){A=_(function(){N(e.unstable_now())},M)}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(N){N.callback=null},e.unstable_continueExecution=function(){x||g||(x=!0,T(S))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var M=3;break;default:M=f}var B=f;f=M;try{return N()}finally{f=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,M){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var B=f;f=N;try{return M()}finally{f=B}},e.unstable_scheduleCallback=function(N,M,B){var K=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?K+B:K):B=K,N){case 1:var ee=-1;break;case 2:ee=250;break;case 5:ee=1073741823;break;case 4:ee=1e4;break;default:ee=5e3}return ee=B+ee,N={id:d++,callback:M,priorityLevel:N,startTime:B,expirationTime:ee,sortIndex:-1},B>K?(N.sortIndex=B,t(u,N),n(l)===null&&N===n(u)&&(h?(m(A),A=-1):h=!0,F(b,B-K))):(N.sortIndex=ee,t(l,N),x||g||(x=!0,T(S))),N},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(N){var M=f;return function(){var B=f;f=M;try{return N.apply(this,arguments)}finally{f=B}}}})(yy);vy.exports=yy;var yb=vy.exports;/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var xb=w,jt=yb;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var xy=new Set,xo={};function ci(e,t){ss(e,t),ss(e+"Capture",t)}function ss(e,t){for(xo[e]=t,e=0;e<t.length;e++)xy.add(t[e])}var qn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pd=Object.prototype.hasOwnProperty,wb=/^[: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]*$/,Wh={},Vh={};function _b(e){return pd.call(Vh,e)?!0:pd.call(Wh,e)?!1:wb.test(e)?Vh[e]=!0:(Wh[e]=!0,!1)}function bb(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Sb(e,t,n,r){if(t===null||typeof t>"u"||bb(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 34-35
34if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function pt(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ve[e]=new pt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ve[t]=new pt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ve[e]=new pt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ve[e]=new pt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ve[e]=new pt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ve[e]=new pt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ve[e]=new pt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ve[e]=new pt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ve[e]=new pt(e,5,!1,e.toLowerCase(),null,!1,!1)});var af=/[\-:]([a-z])/g;function lf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(af,lf);Ve[t]=new pt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(af,lf);Ve[t]=new pt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(af,lf);Ve[t]=new pt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ve[e]=new pt(e,1,!1,e.toLowerCase(),null,!1,!1)});Ve.xlinkHref=new pt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ve[e]=new pt(e,1,!1,e.toLowerCase(),null,!0,!0)});function cf(e,t,n,r){var i=Ve.hasOwnProperty(t)?Ve[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Sb(t,n,i,r)&&(n=null),r||i===null?_b(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Qn=xb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ua=Symbol.for("react.element"),Ei=Symbol.for("react.portal"),ki=Symbol.for("react.fragment"),uf=Symbol.for("react.strict_mode"),fd=Symbol.for("react.profiler"),wy=Symbol.for("react.provider"),_y=Symbol.for("react.context"),df=Symbol.for("react.forward_ref"),hd=Symbol.for("react.suspense"),md=Symbol.for("react.suspense_list"),pf=Symbol.for("react.memo"),or=Symbol.for("react.lazy"),by=Symbol.for("react.offscreen"),Gh=Symbol.iterator;function Cs(e){return e===null||typeof e!="object"?null:(e=Gh&&e[Gh]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Object.assign,Xc;function Gs(e){if(Xc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xc=t&&t[1]||""}return`
35`+Xc+e}var Jc=!1;function Zc(e,t){if(!e||Jc)return"";Jc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 4,643 bytes, lines 35-38
35catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
36`),s=r.stack.split(`
37`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
38`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Jc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Gs(e):""}function Eb(e){switch(e.tag){case 5:return Gs(e.type);case 16:return Gs("Lazy");case 13:return Gs("Suspense");case 19:return Gs("SuspenseList");case 0:case 2:case 15:return e=Zc(e.type,!1),e;case 11:return e=Zc(e.type.render,!1),e;case 1:return e=Zc(e.type,!0),e;default:return""}}function gd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ki:return"Fragment";case Ei:return"Portal";case fd:return"Profiler";case uf:return"StrictMode";case hd:return"Suspense";case md:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _y:return(e.displayName||"Context")+".Consumer";case wy:return(e._context.displayName||"Context")+".Provider";case df:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pf:return t=e.displayName||null,t!==null?t:gd(e.type)||"Memo";case or:t=e._payload,e=e._init;try{return gd(e(t))}catch{}}return null}function kb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gd(t);case 8:return t===uf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ar(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ab(e){var t=Sy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function da(e){e._valueTracker||(e._valueTracker=Ab(e))}function Ey(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function gl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function vd(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Kh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ar(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ky(e,t){t=t.checked,t!=null&&cf(e,"checked",t,!1)}function yd(e,t){ky(e,t);var n=Ar(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xd(e,t.type,n):t.hasOwnProperty("defaultValue")&&xd(e,t.type,Ar(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Qh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}
vendor: 12,109 bytes, line 38
38function xd(e,t,n){(t!=="number"||gl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ks=Array.isArray;function zi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ar(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function wd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return Se({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Yh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(Ks(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ar(n)}}function Ay(e,t){var n=Ar(t.value),r=Ar(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Xh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Cy(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _d(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Cy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var pa,Py=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(pa=pa||document.createElement("div"),pa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=pa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ro={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cb=["Webkit","ms","Moz","O"];Object.keys(ro).forEach(function(e){Cb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ro[t]=ro[e]})});function Ny(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ro.hasOwnProperty(e)&&ro[e]?(""+t).trim():t+"px"}function jy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ny(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Pb=Se({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bd(e,t){if(t){if(Pb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Sd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ed=null;function ff(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kd=null,$i=null,Ui=null;function Jh(e){if(e=Jo(e)){if(typeof kd!="function")throw Error(D(280));var t=e.stateNode;t&&(t=vc(t),kd(e.stateNode,e.type,t))}}function Ry(e){$i?Ui?Ui.push(e):Ui=[e]:$i=e}function Ty(){if($i){var e=$i,t=Ui;if(Ui=$i=null,Jh(e),t)for(e=0;e<t.length;e++)Jh(t[e])}}function Oy(e,t){return e(t)}function Iy(){}var eu=!1;function My(e,t,n){if(eu)return e(t,n);eu=!0;try{return Oy(e,t,n)}finally{eu=!1,($i!==null||Ui!==null)&&(Iy(),Ty())}}function _o(e,t){var n=e.stateNode;if(n===null)return null;var r=vc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Ad=!1;if(qn)try{var Ps={};Object.defineProperty(Ps,"passive",{get:function(){Ad=!0}}),window.addEventListener("test",Ps,Ps),window.removeEventListener("test",Ps,Ps)}catch{Ad=!1}function Nb(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var io=!1,vl=null,yl=!1,Cd=null,jb={onError:function(e){io=!0,vl=e}};function Rb(e,t,n,r,i,s,o,a,l){io=!1,vl=null,Nb.apply(jb,arguments)}function Tb(e,t,n,r,i,s,o,a,l){if(Rb.apply(this,arguments),io){if(io){var u=vl;io=!1,vl=null}else throw Error(D(198));yl||(yl=!0,Cd=u)}}function ui(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ly(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Zh(e){if(ui(e)!==e)throw Error(D(188))}function Ob(e){var t=e.alternate;if(!t){if(t=ui(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Zh(i),e;if(s===r)return Zh(i),t;s=s.sibling}throw Error(D(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function Fy(e){return e=Ob(e),e!==null?Dy(e):null}function Dy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Dy(e);if(t!==null)return t;e=e.sibling}return null}var zy=jt.unstable_scheduleCallback,em=jt.unstable_cancelCallback,Ib=jt.unstable_shouldYield,Mb=jt.unstable_requestPaint,je=jt.unstable_now,Lb=jt.unstable_getCurrentPriorityLevel,hf=jt.unstable_ImmediatePriority,$y=jt.unstable_UserBlockingPriority,xl=jt.unstable_NormalPriority,Fb=jt.unstable_LowPriority,Uy=jt.unstable_IdlePriority,fc=null,Sn=null;function Db(e){if(Sn&&typeof Sn.onCommitFiberRoot=="function")try{Sn.onCommitFiberRoot(fc,e,void 0,(e.current.flags&128)===128)}catch{}}var nn=Math.clz32?Math.clz32:Ub,zb=Math.log,$b=Math.LN2;function Ub(e){return e>>>=0,e===0?32:31-(zb(e)/$b|0)|0}var fa=64,ha=4194304;function Qs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function wl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Qs(a):(s&=o,s!==0&&(r=Qs(s)))}else o=n&~i,o!==0?r=Qs(o):s!==0&&(r=Qs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-nn(t),i=1<<n,r|=e[n],t&=~i;return r}function Hb(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-nn(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=Hb(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function Pd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Hy(){var e=fa;return fa<<=1,!(fa&4194240)&&(fa=64),e}function tu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-nn(t),e[t]=n}function Bb(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-nn(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function mf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-nn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ie=0;function qy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var By,gf,Wy,Vy,Gy,Nd=!1,ma=[],yr=null,xr=null,wr=null,bo=new Map,So=new Map,lr=[],Wb="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tm(e,t){switch(e){case"focusin":case"focusout":yr=null;break;case"dragenter":case"dragleave":xr=null;break;case"mouseover":case"mouseout":wr=null;break;case"pointerover":case"pointerout":bo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":So.delete(t.pointerId)}}function Ns(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=Jo(t),t!==null&&gf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Vb(e,t,n,r,i){switch(t){case"focusin":return yr=Ns(yr,e,t,n,r,i),!0;case"dragenter":return xr=Ns(xr,e,t,n,r,i),!0;case"mouseover":return wr=Ns(wr,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return bo.set(s,Ns(bo.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,So.set(s,Ns(So.get(s)||null,e,t,n,r,i)),!0}return!1}function Ky(e){var t=qr(e.target);if(t!==null){var n=ui(t);if(n!==null){if(t=n.tag,t===13){if(t=Ly(n),t!==null){e.blockedOn=t,Gy(e.priority,function(){Wy(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qa(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ed=r,n.target.dispatchEvent(r),Ed=null}else return t=Jo(n),t!==null&&gf(t),e.blockedOn=n,!1;t.shift()}return!0}function nm(e,t,n){Qa(e)&&n.delete(t)}function Gb(){Nd=!1,yr!==null&&Qa(yr)&&(yr=null),xr!==null&&Qa(xr)&&(xr=null),wr!==null&&Qa(wr)&&(wr=null),bo.forEach(nm),So.forEac
vendor: 11,826 bytes, line 38
38h(nm)}function js(e,t){e.blockedOn===t&&(e.blockedOn=null,Nd||(Nd=!0,jt.unstable_scheduleCallback(jt.unstable_NormalPriority,Gb)))}function Eo(e){function t(i){return js(i,e)}if(0<ma.length){js(ma[0],e);for(var n=1;n<ma.length;n++){var r=ma[n];r.blockedOn===e&&(r.blockedOn=null)}}for(yr!==null&&js(yr,e),xr!==null&&js(xr,e),wr!==null&&js(wr,e),bo.forEach(t),So.forEach(t),n=0;n<lr.length;n++)r=lr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<lr.length&&(n=lr[0],n.blockedOn===null);)Ky(n),n.blockedOn===null&&lr.shift()}var Hi=Qn.ReactCurrentBatchConfig,_l=!0;function Kb(e,t,n,r){var i=ie,s=Hi.transition;Hi.transition=null;try{ie=1,vf(e,t,n,r)}finally{ie=i,Hi.transition=s}}function Qb(e,t,n,r){var i=ie,s=Hi.transition;Hi.transition=null;try{ie=4,vf(e,t,n,r)}finally{ie=i,Hi.transition=s}}function vf(e,t,n,r){if(_l){var i=jd(e,t,n,r);if(i===null)du(e,t,r,bl,n),tm(e,r);else if(Vb(i,e,t,n,r))r.stopPropagation();else if(tm(e,r),t&4&&-1<Wb.indexOf(e)){for(;i!==null;){var s=Jo(i);if(s!==null&&By(s),s=jd(e,t,n,r),s===null&&du(e,t,r,bl,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else du(e,t,r,null,n)}}var bl=null;function jd(e,t,n,r){if(bl=null,e=ff(r),e=qr(e),e!==null)if(t=ui(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ly(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return bl=e,null}function Qy(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Lb()){case hf:return 1;case $y:return 4;case xl:case Fb:return 16;case Uy:return 536870912;default:return 16}default:return 16}}var gr=null,yf=null,Ya=null;function Yy(){if(Ya)return Ya;var e,t=yf,n=t.length,r,i="value"in gr?gr.value:gr.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Ya=i.slice(e,1<r?1-r:void 0)}function Xa(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ga(){return!0}function rm(){return!1}function Tt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ga:rm,this.isPropagationStopped=rm,this}return Se(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ga)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ga)},persist:function(){},isPersistent:ga}),t}var _s={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xf=Tt(_s),Xo=Se({},_s,{view:0,detail:0}),Yb=Tt(Xo),nu,ru,Rs,hc=Se({},Xo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Rs&&(Rs&&e.type==="mousemove"?(nu=e.screenX-Rs.screenX,ru=e.screenY-Rs.screenY):ru=nu=0,Rs=e),nu)},movementY:function(e){return"movementY"in e?e.movementY:ru}}),im=Tt(hc),Xb=Se({},hc,{dataTransfer:0}),Jb=Tt(Xb),Zb=Se({},Xo,{relatedTarget:0}),iu=Tt(Zb),eS=Se({},_s,{animationName:0,elapsedTime:0,pseudoElement:0}),tS=Tt(eS),nS=Se({},_s,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),rS=Tt(nS),iS=Se({},_s,{data:0}),sm=Tt(iS),sS={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"},aS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=aS[e])?!!t[e]:!1}function wf(){return lS}var cS=Se({},Xo,{key:function(e){if(e.key){var t=sS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?oS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wf,charCode:function(e){return e.type==="keypress"?Xa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uS=Tt(cS),dS=Se({},hc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),om=Tt(dS),pS=Se({},Xo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wf}),fS=Tt(pS),hS=Se({},_s,{propertyName:0,elapsedTime:0,pseudoElement:0}),mS=Tt(hS),gS=Se({},hc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),vS=Tt(gS),yS=[9,13,27,32],_f=qn&&"CompositionEvent"in window,so=null;qn&&"documentMode"in document&&(so=document.documentMode);var xS=qn&&"TextEvent"in window&&!so,Xy=qn&&(!_f||so&&8<so&&11>=so),am=" ",lm=!1;function Jy(e,t){switch(e){case"keyup":return yS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ai=!1;function wS(e,t){switch(e){case"compositionend":return Zy(t);case"keypress":return t.which!==32?null:(lm=!0,am);case"textInput":return e=t.data,e===am&&lm?null:e;default:return null}}function _S(e,t){if(Ai)return e==="compositionend"||!_f&&Jy(e,t)?(e=Yy(),Ya=yf=gr=null,Ai=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xy&&t.locale!=="ko"?null:t.data;default:return null}}var bS={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 cm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!bS[e.type]:t==="textarea"}function e0(e,t,n,r){Ry(r),t=Sl(t,"onChange"),0<t.length&&(n=new xf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var oo=null,ko=null;function SS(e){d0(e,0)}function mc(e){var t=Ni(e);if(Ey(t))return e}function ES(e,t){if(e==="change")return t}var t0=!1;if(qn){var su;if(qn){var ou="oninput"in document;if(!ou){var um=document.createElement("div");um.setAttribute("oninput","return;"),ou=typeof um.oninput=="function"}su=ou}else su=!1;t0=su&&(!document.documentMode||9<document.documentMode)}function dm(){oo&&(oo.detachEvent("onpropertychange",n0),ko=oo=null)}function n0(e){if(e.propertyName==="value"&&mc(ko)){var t=[];e0(t,ko,e,ff(e)),My(SS,t)}}function kS(e,t,n){e==="focusin"?(dm(),oo=t,ko=n,oo.attachEvent("onpropertychange",n0)):e==="focusout"&&dm()}function AS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return mc(ko)}function CS(e,t){if(e==="click")return mc(t)}function PS(e,t){if(e==="input"||e==="change")return mc(t)}function NS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sn=typeof Object.is=="function"?Object.is:NS;function Ao(e,t){if(sn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!pd.call(t,i)||!sn(e[i],t[i]))return!1}return!0}function pm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fm(e,t){var n=pm(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=pm(n)}}function r0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?r0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function i0(){for(var e=window,t=gl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=gl(e.document)}return t}function bf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jS(e){var t=i0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&r0(n.ownerDocument.documentElement,n)){if(r!==null&&bf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=fm(n,s);var o=fm(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var RS=qn&&"documentMode"in document&&11>=document.documentMode,Ci=null,Rd=null,ao=null,Td=!1;function hm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Td||Ci==null||Ci!==gl(r)||(r=Ci,"selectionStart"in r&&bf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 38
38sNode:r.focusNode,focusOffset:r.focusOffset}),ao&&Ao(ao,r)||(ao=r,r=Sl(Rd,"onSelect"),0<r.length&&(t=new xf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ci)))}function va(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pi={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionend:va("Transition","TransitionEnd")},au={},s0={};qn&&(s0=document.createElement("div").style,"AnimationEvent"in window||(delete Pi.animationend.animation,delete Pi.animationiteration.animation,delete Pi.animationstart.animation),"TransitionEvent"in window||delete Pi.transitionend.transition);function gc(e){if(au[e])return au[e];if(!Pi[e])return e;var t=Pi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in s0)return au[e]=t[n];return e}var o0=gc("animationend"),a0=gc("animationiteration"),l0=gc("animationstart"),c0=gc("transitionend"),u0=new Map,mm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tr(e,t){u0.set(e,t),ci(t,[e])}for(var lu=0;lu<mm.length;lu++){var cu=mm[lu],TS=cu.toLowerCase(),OS=cu[0].toUpperCase()+cu.slice(1);Tr(TS,"on"+OS)}Tr(o0,"onAnimationEnd");Tr(a0,"onAnimationIteration");Tr(l0,"onAnimationStart");Tr("dblclick","onDoubleClick");Tr("focusin","onFocus");Tr("focusout","onBlur");Tr(c0,"onTransitionEnd");ss("onMouseEnter",["mouseout","mouseover"]);ss("onMouseLeave",["mouseout","mouseover"]);ss("onPointerEnter",["pointerout","pointerover"]);ss("onPointerLeave",["pointerout","pointerover"]);ci("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ci("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ci("onBeforeInput",["compositionend","keypress","textInput","paste"]);ci("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ci("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ci("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ys="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(" "),IS=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ys));function gm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Tb(r,t,void 0,e),e.currentTarget=null}function d0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;gm(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;gm(i,a,u),s=l}}}if(yl)throw e=Cd,yl=!1,Cd=null,e}function de(e,t){var n=t[Fd];n===void 0&&(n=t[Fd]=new Set);var r=e+"__bubble";n.has(r)||(p0(t,e,2,!1),n.add(r))}function uu(e,t,n){var r=0;t&&(r|=4),p0(n,e,r,t)}var ya="_reactListening"+Math.random().toString(36).slice(2);function Co(e){if(!e[ya]){e[ya]=!0,xy.forEach(function(n){n!=="selectionchange"&&(IS.has(n)||uu(n,!1,e),uu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ya]||(t[ya]=!0,uu("selectionchange",!1,t))}}function p0(e,t,n,r){switch(Qy(t)){case 1:var i=Kb;break;case 4:i=Qb;break;default:i=vf}n=i.bind(null,t,n,e),i=void 0,!Ad||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function du(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;
vendor: 4,719 bytes, lines 38-39
38if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=qr(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}My(function(){var u=s,d=ff(n),p=[];e:{var f=u0.get(e);if(f!==void 0){var g=xf,x=e;switch(e){case"keypress":if(Xa(n)===0)break e;case"keydown":case"keyup":g=uS;break;case"focusin":x="focus",g=iu;break;case"focusout":x="blur",g=iu;break;case"beforeblur":case"afterblur":g=iu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=im;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Jb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=fS;break;case o0:case a0:case l0:g=tS;break;case c0:g=mS;break;case"scroll":g=Yb;break;case"wheel":g=vS;break;case"copy":case"cut":case"paste":g=rS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=om}var h=(t&4)!==0,_=!h&&e==="scroll",m=h?f!==null?f+"Capture":null:f;h=[];for(var v=u,y;v!==null;){y=v;var b=y.stateNode;if(y.tag===5&&b!==null&&(y=b,m!==null&&(b=_o(v,m),b!=null&&h.push(Po(v,b,y)))),_)break;v=v.return}0<h.length&&(f=new g(f,x,null,n,d),p.push({event:f,listeners:h}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",f&&n!==Ed&&(x=n.relatedTarget||n.fromElement)&&(qr(x)||x[Bn]))break e;if((g||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,g?(x=n.relatedTarget||n.toElement,g=u,x=x?qr(x):null,x!==null&&(_=ui(x),x!==_||x.tag!==5&&x.tag!==6)&&(x=null)):(g=null,x=u),g!==x)){if(h=im,b="onMouseLeave",m="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(h=om,b="onPointerLeave",m="onPointerEnter",v="pointer"),_=g==null?f:Ni(g),y=x==null?f:Ni(x),f=new h(b,v+"leave",g,n,d),f.target=_,f.relatedTarget=y,b=null,qr(d)===u&&(h=new h(m,v+"enter",x,n,d),h.target=y,h.relatedTarget=_,b=h),_=b,g&&x)t:{for(h=g,m=x,v=0,y=h;y;y=di(y))v++;for(y=0,b=m;b;b=di(b))y++;for(;0<v-y;)h=di(h),v--;for(;0<y-v;)m=di(m),y--;for(;v--;){if(h===m||m!==null&&h===m.alternate)break t;h=di(h),m=di(m)}h=null}else h=null;g!==null&&vm(p,f,g,h,!1),x!==null&&_!==null&&vm(p,_,x,h,!0)}}e:{if(f=u?Ni(u):window,g=f.nodeName&&f.nodeName.toLowerCase(),g==="select"||g==="input"&&f.type==="file")var S=ES;else if(cm(f))if(t0)S=PS;else{S=AS;var k=kS}else(g=f.nodeName)&&g.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=CS);if(S&&(S=S(e,u))){e0(p,S,n,d);break e}k&&k(e,f,u),e==="focusout"&&(k=f._wrapperState)&&k.controlled&&f.type==="number"&&xd(f,"number",f.value)}switch(k=u?Ni(u):window,e){case"focusin":(cm(k)||k.contentEditable==="true")&&(Ci=k,Rd=u,ao=null);break;case"focusout":ao=Rd=Ci=null;break;case"mousedown":Td=!0;break;case"contextmenu":case"mouseup":case"dragend":Td=!1,hm(p,n,d);break;case"selectionchange":if(RS)break;case"keydown":case"keyup":hm(p,n,d)}var E;if(_f)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Ai?Jy(e,n)&&(A="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(A="onCompositionStart");A&&(Xy&&n.locale!=="ko"&&(Ai||A!=="onCompositionStart"?A==="onCompositionEnd"&&Ai&&(E=Yy()):(gr=d,yf="value"in gr?gr.value:gr.textContent,Ai=!0)),k=Sl(u,A),0<k.length&&(A=new sm(A,e,null,n,d),p.push({event:A,listeners:k}),E?A.data=E:(E=Zy(n),E!==null&&(A.data=E)))),(E=xS?wS(e,n):_S(e,n))&&(u=Sl(u,"onBeforeInput"),0<u.length&&(d=new sm("onBeforeInput","beforeinput",null,n,d),p.push({event:d,listeners:u}),d.data=E))}d0(p,t)})}function Po(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Sl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=_o(e,n),s!=null&&r.unshift(Po(e,s,i)),s=_o(e,t),s!=null&&r.push(Po(e,s,i))),e=e.return}return r}function di(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function vm(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=_o(n,s),l!=null&&o.unshift(Po(n,l,a))):i||(l=_o(n,s),l!=null&&o.push(Po(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var MS=/\r\n?/g,LS=/\u0000|\uFFFD/g;function ym(e){return(typeof e=="string"?e:""+e).replace(MS,`
39`).replace(LS,"")}
vendor: 4,180 bytes, line 39
39function xa(e,t,n){if(t=ym(t),ym(e)!==t&&n)throw Error(D(425))}function El(){}var Od=null,Id=null;function Md(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ld=typeof setTimeout=="function"?setTimeout:void 0,FS=typeof clearTimeout=="function"?clearTimeout:void 0,xm=typeof Promise=="function"?Promise:void 0,DS=typeof queueMicrotask=="function"?queueMicrotask:typeof xm<"u"?function(e){return xm.resolve(null).then(e).catch(zS)}:Ld;function zS(e){setTimeout(function(){throw e})}function pu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Eo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Eo(t)}function _r(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function wm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var bs=Math.random().toString(36).slice(2),yn="__reactFiber$"+bs,No="__reactProps$"+bs,Bn="__reactContainer$"+bs,Fd="__reactEvents$"+bs,$S="__reactListeners$"+bs,US="__reactHandles$"+bs;function qr(e){var t=e[yn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bn]||n[yn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wm(e);e!==null;){if(n=e[yn])return n;e=wm(e)}return t}e=n,n=e.parentNode}return null}function Jo(e){return e=e[yn]||e[Bn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ni(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function vc(e){return e[No]||null}var Dd=[],ji=-1;function Or(e){return{current:e}}function he(e){0>ji||(e.current=Dd[ji],Dd[ji]=null,ji--)}function ce(e,t){ji++,Dd[ji]=e.current,e.current=t}var Cr={},Ze=Or(Cr),vt=Or(!1),ei=Cr;function os(e,t){var n=e.type.contextTypes;if(!n)return Cr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yt(e){return e=e.childContextTypes,e!=null}function kl(){he(vt),he(Ze)}function _m(e,t,n){if(Ze.current!==Cr)throw Error(D(168));ce(Ze,t),ce(vt,n)}function f0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(D(108,kb(e)||"Unknown",i));return Se({},n,r)}function Al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Cr,ei=Ze.current,ce(Ze,e),ce(vt,vt.current),!0}function bm(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=f0(e,t,ei),r.__reactInternalMemoizedMergedChildContext=e,he(vt),he(Ze),ce(Ze,e)):he(vt),ce(vt,n)}var Ln=null,yc=!1,fu=!1;function h0(e){Ln===null?Ln=[e]:Ln.push(e)}function HS(e){yc=!0,h0(e)}function Ir(){if(!fu&&Ln!==null){fu=!0;var e=0,t=ie;try{var n=Ln;for(ie=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ln=null,yc=!1}catch(i){throw Ln!==null&&(Ln=Ln.slice(e+1)),zy(hf,Ir),i}finally{ie=t,fu=!1}}return null}var Ri=[],Ti=0,Cl=null,Pl=0,Mt=[],Lt=0,ti=null,zn=1,$n="";function zr(e,t){Ri[Ti++]=Pl,Ri[Ti++]=Cl,Cl=e,Pl=t}function m0(e,t,n){Mt[Lt++]=zn,Mt[Lt++]=$n,Mt[Lt++]=ti,ti=e;var r=zn;e=$n;var i=32-nn(r)-1;r&=~(1<<i),n+=1;var s=32-nn(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,zn=1<<32-nn(t)+i|n<<i|r,$n=s+e}else zn=1<<s|n<<i|r,$n=e}function Sf(e){e.return!==null&&(zr(e,1),m0(e,1,0))}function Ef(e){for(;e===Cl;)Cl=Ri[--Ti],Ri[Ti]=null,Pl=Ri[--Ti],Ri[Ti]=null;for(;e===ti;)ti=Mt[--Lt],Mt[Lt]=null,$n=Mt[--Lt],Mt[Lt]=null,zn=Mt[--Lt],Mt[Lt]=null}var Ct=null,kt=null,ge=!1,Zt=null;function g0(e,t){var n=Dt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Sm(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 24,807 bytes, lines 39-41
39return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ct=e,kt=_r(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ct=e,kt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ti!==null?{id:zn,overflow:$n}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Dt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ct=e,kt=null,!0):!1;default:return!1}}function zd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $d(e){if(ge){var t=kt;if(t){var n=t;if(!Sm(e,t)){if(zd(e))throw Error(D(418));t=_r(n.nextSibling);var r=Ct;t&&Sm(e,t)?g0(r,n):(e.flags=e.flags&-4097|2,ge=!1,Ct=e)}}else{if(zd(e))throw Error(D(418));e.flags=e.flags&-4097|2,ge=!1,Ct=e}}}function Em(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ct=e}function wa(e){if(e!==Ct)return!1;if(!ge)return Em(e),ge=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Md(e.type,e.memoizedProps)),t&&(t=kt)){if(zd(e))throw v0(),Error(D(418));for(;t;)g0(e,t),t=_r(t.nextSibling)}if(Em(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){kt=_r(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}kt=null}}else kt=Ct?_r(e.stateNode.nextSibling):null;return!0}function v0(){for(var e=kt;e;)e=_r(e.nextSibling)}function as(){kt=Ct=null,ge=!1}function kf(e){Zt===null?Zt=[e]:Zt.push(e)}var qS=Qn.ReactCurrentBatchConfig;function Ts(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function _a(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function km(e){var t=e._init;return t(e._payload)}function y0(e){function t(m,v){if(e){var y=m.deletions;y===null?(m.deletions=[v],m.flags|=16):y.push(v)}}function n(m,v){if(!e)return null;for(;v!==null;)t(m,v),v=v.sibling;return null}function r(m,v){for(m=new Map;v!==null;)v.key!==null?m.set(v.key,v):m.set(v.index,v),v=v.sibling;return m}function i(m,v){return m=kr(m,v),m.index=0,m.sibling=null,m}function s(m,v,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<v?(m.flags|=2,v):y):(m.flags|=2,v)):(m.flags|=1048576,v)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,v,y,b){return v===null||v.tag!==6?(v=wu(y,m.mode,b),v.return=m,v):(v=i(v,y),v.return=m,v)}function l(m,v,y,b){var S=y.type;return S===ki?d(m,v,y.props.children,b,y.key):v!==null&&(v.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===or&&km(S)===v.type)?(b=i(v,y.props),b.ref=Ts(m,v,y),b.return=m,b):(b=il(y.type,y.key,y.props,null,m.mode,b),b.ref=Ts(m,v,y),b.return=m,b)}function u(m,v,y,b){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=_u(y,m.mode,b),v.return=m,v):(v=i(v,y.children||[]),v.return=m,v)}function d(m,v,y,b,S){return v===null||v.tag!==7?(v=Jr(y,m.mode,b,S),v.return=m,v):(v=i(v,y),v.return=m,v)}function p(m,v,y){if(typeof v=="string"&&v!==""||typeof v=="number")return v=wu(""+v,m.mode,y),v.return=m,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ua:return y=il(v.type,v.key,v.props,null,m.mode,y),y.ref=Ts(m,null,v),y.return=m,y;case Ei:return v=_u(v,m.mode,y),v.return=m,v;case or:var b=v._init;return p(m,b(v._payload),y)}if(Ks(v)||Cs(v))return v=Jr(v,m.mode,y,null),v.return=m,v;_a(m,v)}return null}function f(m,v,y,b){var S=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return S!==null?null:a(m,v,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ua:return y.key===S?l(m,v,y,b):null;case Ei:return y.key===S?u(m,v,y,b):null;case or:return S=y._init,f(m,v,S(y._payload),b)}if(Ks(y)||Cs(y))return S!==null?null:d(m,v,y,b,null);_a(m,y)}return null}function g(m,v,y,b,S){if(typeof b=="string"&&b!==""||typeof b=="number")return m=m.get(y)||null,a(v,m,""+b,S);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case ua:return m=m.get(b.key===null?y:b.key)||null,l(v,m,b,S);case Ei:return m=m.get(b.key===null?y:b.key)||null,u(v,m,b,S);case or:var k=b._init;return g(m,v,y,k(b._payload),S)}if(Ks(b)||Cs(b))return m=m.get(y)||null,d(v,m,b,S,null);_a(v,b)}return null}function x(m,v,y,b){for(var S=null,k=null,E=v,A=v=0,C=null;E!==null&&A<y.length;A++){E.index>A?(C=E,E=null):C=E.sibling;var R=f(m,E,y[A],b);if(R===null){E===null&&(E=C);break}e&&E&&R.alternate===null&&t(m,E),v=s(R,v,A),k===null?S=R:k.sibling=R,k=R,E=C}if(A===y.length)return n(m,E),ge&&zr(m,A),S;if(E===null){for(;A<y.length;A++)E=p(m,y[A],b),E!==null&&(v=s(E,v,A),k===null?S=E:k.sibling=E,k=E);return ge&&zr(m,A),S}for(E=r(m,E);A<y.length;A++)C=g(E,m,A,y[A],b),C!==null&&(e&&C.alternate!==null&&E.delete(C.key===null?A:C.key),v=s(C,v,A),k===null?S=C:k.sibling=C,k=C);return e&&E.forEach(function($){return t(m,$)}),ge&&zr(m,A),S}function h(m,v,y,b){var S=Cs(y);if(typeof S!="function")throw Error(D(150));if(y=S.call(y),y==null)throw Error(D(151));for(var k=S=null,E=v,A=v=0,C=null,R=y.next();E!==null&&!R.done;A++,R=y.next()){E.index>A?(C=E,E=null):C=E.sibling;var $=f(m,E,R.value,b);if($===null){E===null&&(E=C);break}e&&E&&$.alternate===null&&t(m,E),v=s($,v,A),k===null?S=$:k.sibling=$,k=$,E=C}if(R.done)return n(m,E),ge&&zr(m,A),S;if(E===null){for(;!R.done;A++,R=y.next())R=p(m,R.value,b),R!==null&&(v=s(R,v,A),k===null?S=R:k.sibling=R,k=R);return ge&&zr(m,A),S}for(E=r(m,E);!R.done;A++,R=y.next())R=g(E,m,A,R.value,b),R!==null&&(e&&R.alternate!==null&&E.delete(R.key===null?A:R.key),v=s(R,v,A),k===null?S=R:k.sibling=R,k=R);return e&&E.forEach(function(L){return t(m,L)}),ge&&zr(m,A),S}function _(m,v,y,b){if(typeof y=="object"&&y!==null&&y.type===ki&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ua:e:{for(var S=y.key,k=v;k!==null;){if(k.key===S){if(S=y.type,S===ki){if(k.tag===7){n(m,k.sibling),v=i(k,y.props.children),v.return=m,m=v;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===or&&km(S)===k.type){n(m,k.sibling),v=i(k,y.props),v.ref=Ts(m,k,y),v.return=m,m=v;break e}n(m,k);break}else t(m,k);k=k.sibling}y.type===ki?(v=Jr(y.props.children,m.mode,b,y.key),v.return=m,m=v):(b=il(y.type,y.key,y.props,null,m.mode,b),b.ref=Ts(m,v,y),b.return=m,m=b)}return o(m);case Ei:e:{for(k=y.key;v!==null;){if(v.key===k)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(m,v.sibling),v=i(v,y.children||[]),v.return=m,m=v;break e}else{n(m,v);break}else t(m,v);v=v.sibling}v=_u(y,m.mode,b),v.return=m,m=v}return o(m);case or:return k=y._init,_(m,v,k(y._payload),b)}if(Ks(y))return x(m,v,y,b);if(Cs(y))return h(m,v,y,b);_a(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(n(m,v.sibling),v=i(v,y),v.return=m,m=v):(n(m,v),v=wu(y,m.mode,b),v.return=m,m=v),o(m)):n(m,v)}return _}var ls=y0(!0),x0=y0(!1),Nl=Or(null),jl=null,Oi=null,Af=null;function Cf(){Af=Oi=jl=null}function Pf(e){var t=Nl.current;he(Nl),e._currentValue=t}function Ud(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function qi(e,t){jl=e,Af=Oi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(mt=!0),e.firstContext=null)}function Ut(e){var t=e._currentValue;if(Af!==e)if(e={context:e,memoizedValue:t,next:null},Oi===null){if(jl===null)throw Error(D(308));Oi=e,jl.dependencies={lanes:0,firstContext:e}}else Oi=Oi.next=e;return t}var Br=null;function Nf(e){Br===null?Br=[e]:Br.push(e)}function w0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Nf(t)):(n.next=i.next,i.next=n),t.interleaved=n,Wn(e,r)}function Wn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ar=!1;function jf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Hn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function br(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ne&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Wn(e,n)}return i=r.interleaved,i===null?(t.next=t,Nf(r)):(t.next=i.next,i.next=t),r.interleaved=t,Wn(e,n)}function Ja(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mf(e,n)}}function Am(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Rl(e,t,n,r){var i=e.updateQueue;ar=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(s!==null){var p=i.baseState;o=0,d=u=l=null,a=s;do{var f=a.lane,g=a.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,h=a;switch(f=t,g=n,h.tag){case 1:if(x=h.payload,typeof x=="function"){p=x.call(g,p,f);break e}p=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=h.payload,f=typeof x=="function"?x.call(g,p,f):x,f==null)break e;p=Se({},p,f);break e;case 2:ar=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else g={eventTime:g,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=g,l=p):d=d.next=g,o|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(d===null&&(l=p),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);ri|=o,e.lanes=o,e.memoizedState=p}}function Cm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(D(191,i));i.call(r)}}}var Zo={},En=Or(Zo),jo=Or(Zo),Ro=Or(Zo);function Wr(e){if(e===Zo)throw Error(D(174));return e}function Rf(e,t){switch(ce(Ro,t),ce(jo,e),ce(En,Zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_d(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_d(t,e)}he(En),ce(En,t)}function cs(){he(En),he(jo),he(Ro)}function b0(e){Wr(Ro.current);var t=Wr(En.current),n=_d(t,e.type);t!==n&&(ce(jo,e),ce(En,n))}function Tf(e){jo.current===e&&(he(En),he(jo))}var xe=Or(0);function Tl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var hu=[];function Of(){for(var e=0;e<hu.length;e++)hu[e]._workInProgressVersionPrimary=null;hu.length=0}var Za=Qn.ReactCurrentDispatcher,mu=Qn.ReactCurrentBatchConfig,ni=0,be=null,Le=null,$e=null,Ol=!1,lo=!1,To=0,BS=0;function Ke(){throw Error(D(321))}function If(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sn(e[n],t[n]))return!1;return!0}function Mf(e,t,n,r,i,s){if(ni=s,be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Za.current=e===null||e.memoizedState===null?KS:QS,e=n(r,i),lo){s=0;do{if(lo=!1,To=0,25<=s)throw Error(D(301));s+=1,$e=Le=null,t.updateQueue=null,Za.current=YS,e=n(r,i)}while(lo)}if(Za.current=Il,t=Le!==null&&Le.next!==null,ni=0,$e=Le=be=null,Ol=!1,t)throw Error(D(300));return e}function Lf(){var e=To!==0;return To=0,e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $e===null?be.memoizedState=$e=e:$e=$e.next=e,$e}function Ht(){if(Le===null){var e=be.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=$e===null?be.memoizedState:$e.next;if(t!==null)$e=t,Le=e;else{if(e===null)throw Error(D(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},$e===null?be.memoizedState=$e=e:$e=$e.next=e}return $e}function Oo(e,t){return typeof t=="function"?t(e):t}function gu(e){var t=Ht(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Le,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var d=u.lane;if((ni&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=p,o=r):l=l.next=p,be.lanes|=d,ri|=d}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,sn(r,t.memoizedState)||(mt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,be.lanes|=s,ri|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function vu(e){var t=Ht(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);sn(s,t.memoizedState)||(mt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function S0(){}function E0(e,t){var n=be,r=Ht(),i=t(),s=!sn(r.memoizedState,i);if(s&&(r.memoizedState=i,mt=!0),r=r.queue,Ff(C0.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||$e!==null&&$e.memoizedState.tag&1){if(n.flags|=2048,Io(9,A0.bind(null,n,r,i,t),void 0,null),Ue===null)throw Error(D(349));ni&30||k0(n,t,i)}return i}function k0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function A0(e,t,n,r){t.value=n,t.getSnapshot=r,P0(t)&&N0(e)}function C0(e,t,n){return n(function(){P0(t)&&N0(e)})}function P0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sn(e,n)}catch{return!0}}function N0(e){var t=Wn(e,1);t!==null&&rn(t,e,1,-1)}function Pm(e){var t=fn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oo,lastRenderedState:e},t.queue=e,e=e.dispatch=GS.bind(null,be,e),[t.memoizedState,e]}function Io(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function j0(){return Ht().memoizedState}function el(e,t,n,r){var i=fn();be.flags|=e,i.memoizedState=Io(1|t,n,void 0,r===void 0?null:r)}function xc(e,t,n,r){var i=Ht();r=r===void 0?null:r;var s=void 0;if(Le!==null){var o=Le.memoizedState;if(s=o.destroy,r!==null&&If(r,o.deps)){i.memoizedState=Io(t,n,s,r);return}}be.flags|=e,i.memoizedState=Io(1|t,n,s,r)}function Nm(e,t){return el(8390656,8,e,t)}function Ff(e,t){return xc(2048,8,e,t)}function R0(e,t){return xc(4,2,e,t)}function T0(e,t){return xc(4,4,e,t)}function O0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function I0(e,t,n){return n=n!=null?n.concat([e]):null,xc(4,4,O0.bind(null,t,e),n)}function Df(){}function M0(e,t){var n=Ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&If(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function L0(e,t){var n=Ht();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&If(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function F0(e,t,n){return ni&21?(sn(n,t)||(n=Hy(),be.lanes|=n,ri|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,mt=!0),e.memoizedState=n)}function WS(e,t){var n=ie;ie=n!==0&&4>n?n:4,e(!0);var r=mu.transition;mu.transition={};try{e(!1),t()}finally{ie=n,mu.transition=r}}function D0(){return Ht().memoizedState}function VS(e,t,n){var r=Er(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},z0(e))$0(t,n);else if(n=w0(e,t,n,r),n!==null){var i=ct();rn(n,e,r,i),U0(n,t,r)}}function GS(e,t,n){var r=Er(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(z0(e))$0(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,sn(a,o)){var l=t.interleaved;l===null?(i.next=i,Nf(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=w0(e,t,i,r),n!==null&&(i=ct(),rn(n,e,r,i),U0(n,t,r))}}function z0(e){var t=e.alternate;return e===be||t!==null&&t===be}function $0(e,t){lo=Ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function U0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mf(e,n)}}var Il={readContext:Ut,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useInsertionEffect:Ke,useLayoutEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useMutableSource:Ke,useSyncExternalStore:Ke,useId:Ke,unstable_isNewReconciler:!1},KS={readContext:Ut,useCallback:function(e,t){return fn().memoizedState=[e,t===void 0?null:t],e},useContext:Ut,useEffect:Nm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,O0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=fn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=VS.bind(null,be,e),[r.memoizedState,e]},useRef:function(e){var t=fn();return e={current:e},t.memoizedState=e},useState:Pm,useDebugValue:Df,useDeferredValue:function(e){return fn().memoizedState=e},useTransition:function(){var e=Pm(!1),t=e[0];return e=WS.bind(null,e[1]),fn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=be,i=fn();if(ge){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Ue===null)throw Error(D(349));ni&30||k0(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,Nm(C0.bind(null,r,s,e),[e]),r.flags|=2048,Io(9,A0.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=fn(),t=Ue.identifierPrefix;if(ge){var n=$n,r=zn;n=(r&~(1<<32-nn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=To++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=BS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},QS={readContext:Ut,useCallback:M0,useContext:Ut,useEffect:Ff,useImperativeHandle:I0,useInsertionEffect:R0,useLayoutEffect:T0,useMemo:L0,useReducer:gu,useRef:j0,useState:function(){return gu(Oo)},useDebugValue:Df,useDeferredValue:function(e){var t=Ht();return F0(t,Le.memoizedState,e)},useTransition:function(){var e=gu(Oo)[0],t=Ht().memoizedState;return[e,t]},useMutableSource:S0,useSyncExternalStore:E0,useId:D0,unstable_isNewReconciler:!1},YS={readContext:Ut,useCallback:M0,useContext:Ut,useEffect:Ff,useImperativeHandle:I0,useInsertionEffect:R0,useLayoutEffect:T0,useMemo:L0,useReducer:vu,useRef:j0,useState:function(){return vu(Oo)},useDebugValue:Df,useDeferredValue:function(e){var t=Ht();return Le===null?t.memoizedState=e:F0(t,Le.memoizedState,e)},useTransition:function(){var e=vu(Oo)[0],t=Ht().memoizedState;return[e,t]},useMutableSource:S0,useSyncExternalStore:E0,useId:D0,unstable_isNewReconciler:!1};function Qt(e,t){if(e&&e.defaultProps){t=Se({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Hd(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var wc={isMounted:function(e){return(e=e._reactInternals)?ui(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ct(),i=Er(e),s=Hn(r,i);s.payload=t,n!=null&&(s.callback=n),t=br(e,s,i),t!==null&&(rn(t,e,i,r),Ja(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ct(),i=Er(e),s=Hn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=br(e,s,i),t!==null&&(rn(t,e,i,r),Ja(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ct(),r=Er(e),i=Hn(n,r);i.tag=2,t!=null&&(i.callback=t),t=br(e,i,r),t!==null&&(rn(t,e,r,n),Ja(t,e,r))}};function jm(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Ao(n,r)||!Ao(i,s):!0}function H0(e,t,n){var r=!1,i=Cr,s=t.contextType;return typeof s=="object"&&s!==null?s=Ut(s):(i=yt(t)?ei:Ze.current,r=t.contextTypes,s=(r=r!=null)?os(e,i):Cr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Rm(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wc.enqueueReplaceState(t,t.state,null)}function qd(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},jf(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Ut(s):(s=yt(t)?ei:Ze.current,i.context=os(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Hd(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&wc.enqueueReplaceState(i,i.state,null),Rl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function us(e,t){try{var n="",r=t;do n+=Eb(r),r=r.return;while(r);var i=n}catch(s){i=`
40Error generating stack: `+s.message+`
41`+s.stack}return{value:e,source:t,stack:i,digest:null}}function yu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Bd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var XS=typeof WeakMap=="function"?WeakMap:Map;function q0(e,t,n){n=Hn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ll||(Ll=!0,ep=r),Bd(e,t)},n}function B0(e,t,n){n=Hn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Bd(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Bd(e,t),typeof r!="function"&&(Sr===null?Sr=new Set([this]):Sr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Tm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new XS;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=dE.bind(null,e,t,n),t.then(e,e))}
vendor: 8,575 bytes, line 41
41function Om(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Im(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Hn(-1,1),t.tag=2,br(n,t,1))),n.lanes|=1),e)}var JS=Qn.ReactCurrentOwner,mt=!1;function ot(e,t,n,r){t.child=e===null?x0(t,null,n,r):ls(t,e.child,n,r)}function Mm(e,t,n,r,i){n=n.render;var s=t.ref;return qi(t,i),r=Mf(e,t,n,r,s,i),n=Lf(),e!==null&&!mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Vn(e,t,i)):(ge&&n&&Sf(t),t.flags|=1,ot(e,t,r,i),t.child)}function Lm(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Vf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,W0(e,t,s,r,i)):(e=il(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Ao,n(o,r)&&e.ref===t.ref)return Vn(e,t,i)}return t.flags|=1,e=kr(s,r),e.ref=t.ref,e.return=t,t.child=e}function W0(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Ao(s,r)&&e.ref===t.ref)if(mt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(mt=!0);else return t.lanes=e.lanes,Vn(e,t,i)}return Wd(e,t,n,r,i)}function V0(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ce(Mi,bt),bt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ce(Mi,bt),bt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ce(Mi,bt),bt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ce(Mi,bt),bt|=r;return ot(e,t,i,n),t.child}function G0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wd(e,t,n,r,i){var s=yt(n)?ei:Ze.current;return s=os(t,s),qi(t,i),n=Mf(e,t,n,r,s,i),r=Lf(),e!==null&&!mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Vn(e,t,i)):(ge&&r&&Sf(t),t.flags|=1,ot(e,t,n,i),t.child)}function Fm(e,t,n,r,i){if(yt(n)){var s=!0;Al(t)}else s=!1;if(qi(t,i),t.stateNode===null)tl(e,t),H0(t,n,r),qd(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ut(u):(u=yt(n)?ei:Ze.current,u=os(t,u));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Rm(t,o,r,u),ar=!1;var f=t.memoizedState;o.state=f,Rl(t,r,o,i),l=t.memoizedState,a!==r||f!==l||vt.current||ar?(typeof d=="function"&&(Hd(t,n,d,r),l=t.memoizedState),(a=ar||jm(t,n,a,r,f,l,u))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,_0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Qt(t.type,a),o.props=u,p=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ut(l):(l=yt(n)?ei:Ze.current,l=os(t,l));var g=n.getDerivedStateFromProps;(d=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==p||f!==l)&&Rm(t,o,r,l),ar=!1,f=t.memoizedState,o.state=f,Rl(t,r,o,i);var x=t.memoizedState;a!==p||f!==x||vt.current||ar?(typeof g=="function"&&(Hd(t,n,g,r),x=t.memoizedState),(u=ar||jm(t,n,u,r,f,x,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Vd(e,t,n,r,s,i)}function Vd(e,t,n,r,i,s){G0(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&bm(t,n,!1),Vn(e,t,s);r=t.stateNode,JS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=ls(t,e.child,null,s),t.child=ls(t,null,a,s)):ot(e,t,a,s),t.memoizedState=r.state,i&&bm(t,n,!0),t.child}function K0(e){var t=e.stateNode;t.pendingContext?_m(e,t.pendingContext,t.pendingContext!==t.context):t.context&&_m(e,t.context,!1),Rf(e,t.containerInfo)}function Dm(e,t,n,r,i){return as(),kf(i),t.flags|=256,ot(e,t,n,r),t.child}var Gd={dehydrated:null,treeContext:null,retryLane:0};function Kd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Q0(e,t,n){var r=t.pendingProps,i=xe.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ce(xe,i&1),e===null)return $d(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Sc(o,r,0,null),e=Jr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Kd(n),t.memoizedState=Gd,e):zf(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return ZS(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=kr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=kr(a,s):(s=Jr(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Kd(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Gd,r}return s=e.child,e=s.sibling,r=kr(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function zf(e,t){return t=Sc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ba(e,t,n,r){return r!==null&&kf(r),ls(t,e.child,null,n),e=zf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ZS(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=yu(Error(D(422))),ba(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Sc({mode:"visible",children:r.children},i,0,null),s=Jr(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&ls(t,e.child,null,o),t.child.memoizedState=Kd(o),t.memoizedState=Gd,s);if(!(t.mode&1))return ba(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(D(419)),r=yu(s,r,void 0),ba(e,t,o,r)}if(a=(o&e.childLanes)!==0,mt||a){if(r=Ue,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,Wn(e,i),rn(r,e,i,-1))}return Wf(),r=yu(Error(D(421))),ba(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=pE.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,kt=_r(i.nextSibling),Ct=t,ge=!0,Zt=null,e!==null&&(Mt[Lt++
vendor: 5,999 bytes, line 41
41]=zn,Mt[Lt++]=$n,Mt[Lt++]=ti,zn=e.id,$n=e.overflow,ti=t),t=zf(t,r.children),t.flags|=4096,t)}function zm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ud(e.return,t,n)}function xu(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Y0(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(ot(e,t,r.children,n),r=xe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&zm(e,n,t);else if(e.tag===19)zm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ce(xe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Tl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),xu(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Tl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}xu(t,!0,n,null,s);break;case"together":xu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function tl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ri|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=kr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=kr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function eE(e,t,n){switch(t.tag){case 3:K0(t),as();break;case 5:b0(t);break;case 1:yt(t.type)&&Al(t);break;case 4:Rf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ce(Nl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ce(xe,xe.current&1),t.flags|=128,null):n&t.child.childLanes?Q0(e,t,n):(ce(xe,xe.current&1),e=Vn(e,t,n),e!==null?e.sibling:null);ce(xe,xe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Y0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ce(xe,xe.current),r)break;return null;case 22:case 23:return t.lanes=0,V0(e,t,n)}return Vn(e,t,n)}var X0,Qd,J0,Z0;X0=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Qd=function(){};J0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Wr(En.current);var s=null;switch(n){case"input":i=vd(e,i),r=vd(e,r),s=[];break;case"select":i=Se({},i,{value:void 0}),r=Se({},r,{value:void 0}),s=[];break;case"textarea":i=wd(e,i),r=wd(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=El)}bd(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(xo.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(xo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&de("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Z0=function(e,t,n,r){n!==r&&(t.flags|=4)};function Os(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function tE(e,t,n){var r=t.pendingProps;switch(Ef(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return yt(t.type)&&kl(),Qe(t),null;case 3:return r=t.stateNode,cs(),he(vt),he(Ze),Of(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Zt!==null&&(rp(Zt),Zt=null))),Qd(e,t),Qe(t),null;case 5:Tf(t);var i=Wr(Ro.current);if(n=t.type,e!==null&&t.stateNode!=null)J0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return Qe(t),null}if(e=Wr(En.current),wa(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[yn]=t,r[No]=s,e=(t.mode&1)!==0,n){case"dialog":de("cancel",r),de("close",r);break;case"iframe":case"object":case"embed":de("load",r);break;case"video":case"audio":for(i=0;i<Ys.length;
vendor: 29,689 bytes, line 41
41i++)de(Ys[i],r);break;case"source":de("error",r);break;case"img":case"image":case"link":de("error",r),de("load",r);break;case"details":de("toggle",r);break;case"input":Kh(r,s),de("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},de("invalid",r);break;case"textarea":Yh(r,s),de("invalid",r)}bd(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&xa(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&xa(r.textContent,a,e),i=["children",""+a]):xo.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&de("scroll",r)}switch(n){case"input":da(r),Qh(r,s,!0);break;case"textarea":da(r),Xh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=El)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Cy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[yn]=t,e[No]=r,X0(e,t,!1,!1),t.stateNode=e;e:{switch(o=Sd(n,r),n){case"dialog":de("cancel",e),de("close",e),i=r;break;case"iframe":case"object":case"embed":de("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ys.length;i++)de(Ys[i],e);i=r;break;case"source":de("error",e),i=r;break;case"img":case"image":case"link":de("error",e),de("load",e),i=r;break;case"details":de("toggle",e),i=r;break;case"input":Kh(e,r),i=vd(e,r),de("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Se({},r,{value:void 0}),de("invalid",e);break;case"textarea":Yh(e,r),i=wd(e,r),de("invalid",e);break;default:i=r}bd(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?jy(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Py(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&wo(e,l):typeof l=="number"&&wo(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(xo.hasOwnProperty(s)?l!=null&&s==="onScroll"&&de("scroll",e):l!=null&&cf(e,s,l,o))}switch(n){case"input":da(e),Qh(e,r,!1);break;case"textarea":da(e),Xh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ar(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?zi(e,!!r.multiple,s,!1):r.defaultValue!=null&&zi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=El)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Qe(t),null;case 6:if(e&&t.stateNode!=null)Z0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=Wr(Ro.current),Wr(En.current),wa(t)){if(r=t.stateNode,n=t.memoizedProps,r[yn]=t,(s=r.nodeValue!==n)&&(e=Ct,e!==null))switch(e.tag){case 3:xa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xa(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[yn]=t,t.stateNode=r}return Qe(t),null;case 13:if(he(xe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ge&&kt!==null&&t.mode&1&&!(t.flags&128))v0(),as(),t.flags|=98560,s=!1;else if(s=wa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(D(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(D(317));s[yn]=t}else as(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Qe(t),s=!1}else Zt!==null&&(rp(Zt),Zt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||xe.current&1?Fe===0&&(Fe=3):Wf())),t.updateQueue!==null&&(t.flags|=4),Qe(t),null);case 4:return cs(),Qd(e,t),e===null&&Co(t.stateNode.containerInfo),Qe(t),null;case 10:return Pf(t.type._context),Qe(t),null;case 17:return yt(t.type)&&kl(),Qe(t),null;case 19:if(he(xe),s=t.memoizedState,s===null)return Qe(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)Os(s,!1);else{if(Fe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Tl(e),o!==null){for(t.flags|=128,Os(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ce(xe,xe.current&1|2),t.child}e=e.sibling}s.tail!==null&&je()>ds&&(t.flags|=128,r=!0,Os(s,!1),t.lanes=4194304)}else{if(!r)if(e=Tl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Os(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ge)return Qe(t),null}else 2*je()-s.renderingStartTime>ds&&n!==1073741824&&(t.flags|=128,r=!0,Os(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=je(),t.sibling=null,n=xe.current,ce(xe,r?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return Bf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function nE(e,t){switch(Ef(t),t.tag){case 1:return yt(t.type)&&kl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cs(),he(vt),he(Ze),Of(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Tf(t),null;case 13:if(he(xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));as()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(xe),null;case 4:return cs(),null;case 10:return Pf(t.type._context),null;case 22:case 23:return Bf(),null;case 24:return null;default:return null}}var Sa=!1,Je=!1,rE=typeof WeakSet=="function"?WeakSet:Set,V=null;function Ii(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ae(e,t,r)}else n.current=null}function Yd(e,t,n){try{n()}catch(r){Ae(e,t,r)}}var $m=!1;function iE(e,t){if(Od=_l,e=i0(),bf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var g;p!==n||i!==0&&p.nodeType!==3||(a=o+i),p!==s||r!==0&&p.nodeType!==3||(l=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(g=p.firstChild)!==null;)f=p,p=g;for(;;){if(p===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++d===r&&(l=o),(g=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=g}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Id={focusedElem:e,selectionRange:n},_l=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var h=x.memoizedProps,_=x.memoizedState,m=t.stateNode,v=m.getSnapshotBeforeUpdate(t.elementType===t.type?h:Qt(t.type,h),_);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(b){Ae(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return x=$m,$m=!1,x}function co(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Yd(t,n,s)}i=i.next}while(i!==r)}}function _c(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Xd(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ex(e){var t=e.alternate;t!==null&&(e.alternate=null,ex(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yn],delete t[No],delete t[Fd],delete t[$S],delete t[US])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tx(e){return e.tag===5||e.tag===3||e.tag===4}function Um(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Jd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=El));else if(r!==4&&(e=e.child,e!==null))for(Jd(e,t,n),e=e.sibling;e!==null;)Jd(e,t,n),e=e.sibling}function Zd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zd(e,t,n),e=e.sibling;e!==null;)Zd(e,t,n),e=e.sibling}var He=null,Jt=!1;function Jn(e,t,n){for(n=n.child;n!==null;)nx(e,t,n),n=n.sibling}function nx(e,t,n){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(fc,n)}catch{}switch(n.tag){case 5:Je||Ii(n,t);case 6:var r=He,i=Jt;He=null,Jn(e,t,n),He=r,Jt=i,He!==null&&(Jt?(e=He,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):He.removeChild(n.stateNode));break;case 18:He!==null&&(Jt?(e=He,n=n.stateNode,e.nodeType===8?pu(e.parentNode,n):e.nodeType===1&&pu(e,n),Eo(e)):pu(He,n.stateNode));break;case 4:r=He,i=Jt,He=n.stateNode.containerInfo,Jt=!0,Jn(e,t,n),He=r,Jt=i;break;case 0:case 11:case 14:case 15:if(!Je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Yd(n,t,o),i=i.next}while(i!==r)}Jn(e,t,n);break;case 1:if(!Je&&(Ii(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ae(n,t,a)}Jn(e,t,n);break;case 21:Jn(e,t,n);break;case 22:n.mode&1?(Je=(r=Je)||n.memoizedState!==null,Jn(e,t,n),Je=r):Jn(e,t,n);break;default:Jn(e,t,n)}}function Hm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rE),t.forEach(function(r){var i=fE.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Gt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:He=a.stateNode,Jt=!1;break e;case 3:He=a.stateNode.containerInfo,Jt=!0;break e;case 4:He=a.stateNode.containerInfo,Jt=!0;break e}a=a.return}if(He===null)throw Error(D(160));nx(s,o,i),He=null,Jt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){Ae(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)rx(t,e),t=t.sibling}function rx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Gt(t,e),pn(e),r&4){try{co(3,e,e.return),_c(3,e)}catch(h){Ae(e,e.return,h)}try{co(5,e,e.return)}catch(h){Ae(e,e.return,h)}}break;case 1:Gt(t,e),pn(e),r&512&&n!==null&&Ii(n,n.return);break;case 5:if(Gt(t,e),pn(e),r&512&&n!==null&&Ii(n,n.return),e.flags&32){var i=e.stateNode;try{wo(i,"")}catch(h){Ae(e,e.return,h)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&ky(i,s),Sd(a,o);var u=Sd(a,s);for(o=0;o<l.length;o+=2){var d=l[o],p=l[o+1];d==="style"?jy(i,p):d==="dangerouslySetInnerHTML"?Py(i,p):d==="children"?wo(i,p):cf(i,d,p,u)}switch(a){case"input":yd(i,s);break;case"textarea":Ay(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var g=s.value;g!=null?zi(i,!!s.multiple,g,!1):f!==!!s.multiple&&(s.defaultValue!=null?zi(i,!!s.multiple,s.defaultValue,!0):zi(i,!!s.multiple,s.multiple?[]:"",!1))}i[No]=s}catch(h){Ae(e,e.return,h)}}break;case 6:if(Gt(t,e),pn(e),r&4){if(e.stateNode===null)throw Error(D(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(h){Ae(e,e.return,h)}}break;case 3:if(Gt(t,e),pn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Eo(t.containerInfo)}catch(h){Ae(e,e.return,h)}break;case 4:Gt(t,e),pn(e);break;case 13:Gt(t,e),pn(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Hf=je())),r&4&&Hm(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Je=(u=Je)||d,Gt(t,e),Je=u):Gt(t,e),pn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(V=e,d=e.child;d!==null;){for(p=V=d;V!==null;){switch(f=V,g=f.child,f.tag){case 0:case 11:case 14:case 15:co(4,f,f.return);break;case 1:Ii(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(h){Ae(r,n,h)}}break;case 5:Ii(f,f.return);break;case 22:if(f.memoizedState!==null){Bm(p);continue}}g!==null?(g.return=f,V=g):Bm(p)}d=d.sibling}e:for(d=null,p=e;;){if(p.tag===5){if(d===null){d=p;try{i=p.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=p.stateNode,l=p.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Ny("display",o))}catch(h){Ae(e,e.return,h)}}}else if(p.tag===6){if(d===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(h){Ae(e,e.return,h)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Gt(t,e),pn(e),r&4&&Hm(e);break;case 21:break;default:Gt(t,e),pn(e)}}function pn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(tx(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(wo(i,""),r.flags&=-33);var s=Um(e);Zd(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Um(e);Jd(e,a,o);break;default:throw Error(D(161))}}catch(l){Ae(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function sE(e,t,n){V=e,ix(e)}function ix(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var i=V,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Sa;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Je;a=Sa;var u=Je;if(Sa=o,(Je=l)&&!u)for(V=i;V!==null;)o=V,l=o.child,o.tag===22&&o.memoizedState!==null?Wm(i):l!==null?(l.return=o,V=l):Wm(i);for(;s!==null;)V=s,ix(s),s=s.sibling;V=i,Sa=a,Je=u}qm(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,V=s):qm(e)}}function qm(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Je||_c(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Je)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Qt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Cm(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Cm(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var p=d.dehydrated;p!==null&&Eo(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}Je||t.flags&512&&Xd(t)}catch(f){Ae(t,t.return,f)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function Bm(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function Wm(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{_c(4,t)}catch(l){Ae(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){Ae(t,i,l)}}var s=t.return;try{Xd(t)}catch(l){Ae(t,s,l)}break;case 5:var o=t.return;try{Xd(t)}catch(l){Ae(t,o,l)}}}catch(l){Ae(t,t.return,l)}if(t===e){V=null;break}var a=t.sibling;if(a!==null){a.return=t.return,V=a;break}V=t.return}}var oE=Math.ceil,Ml=Qn.ReactCurrentDispatcher,$f=Qn.ReactCurrentOwner,zt=Qn.ReactCurrentBatchConfig,ne=0,Ue=null,Te=null,We=0,bt=0,Mi=Or(0),Fe=0,Mo=null,ri=0,bc=0,Uf=0,uo=null,ht=null,Hf=0,ds=1/0,Mn=null,Ll=!1,ep=null,Sr=null,Ea=!1,vr=null,Fl=0,po=0,tp=null,nl=-1,rl=0;function ct(){return ne&6?je():nl!==-1?nl:nl=je()}function Er(e){return e.mode&1?ne&2&&We!==0?We&-We:qS.transition!==null?(rl===0&&(rl=Hy()),rl):(e=ie,e!==0||(e=window.event,e=e===void 0?16:Qy(e.type)),e):1}function rn(e,t,n,r){if(50<po)throw po=0,tp=null,Error(D(185));Yo(e,n,r),(!(ne&2)||e!==Ue)&&(e===Ue&&(!(ne&2)&&(bc|=n),Fe===4&&cr(e,We)),xt(e,r),n===1&&ne===0&&!(t.mode&1)&&(ds=je()+500,yc&&Ir()))}function xt(e,t){var n=e.callbackNode;qb(e,t);var r=wl(e,e===Ue?We:0);if(r===0)n!==null&&em(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&em(n),t===1)e.tag===0?HS(Vm.bind(null,e)):h0(Vm.bind(null,e)),DS(function(){!(ne&6)&&Ir()}),n=null;else{switch(qy(r)){case 1:n=hf;break;case 4:n=$y;break;case 16:n=xl;break;case 536870912:n=Uy;break;default:n=xl}n=px(n,sx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function sx(e,t){if(nl=-1,rl=0,ne&6)throw Error(D(327));var n=e.callbackNode;if(Bi()&&e.callbackNode!==n)return null;var r=wl(e,e===Ue?We:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Dl(e,r);else{t=r;var i=ne;ne|=2;var s=ax();(Ue!==e||We!==t)&&(Mn=null,ds=je()+500,Xr(e,t));do try{cE();break}catch(a){ox(e,a)}while(!0);Cf(),Ml.current=s,ne=i,Te!==null?t=0:(Ue=null,We=0,t=Fe)}if(t!==0){if(t===2&&(i=Pd(e),i!==0&&(r=i,t=np(e,i))),t===1)throw n=Mo,Xr(e,0),cr(e,r),xt(e,je()),n;if(t===6)cr(e,r);else{if(i=e.current.alternate,!(r&30)&&!aE(i)&&(t=Dl(e,r),t===2&&(s=Pd(e),s!==0&&(r=s,t=np(e,s))),t===1))throw n=Mo,Xr(e,0),cr(e,r),xt(e,je()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:$r(e,ht,Mn);break;case 3:if(cr(e,r),(r&130023424)===r&&(t=Hf+500-je(),10<t)){if(wl(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ct(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ld($r.bind(null,e,ht,Mn),t);break}$r(e,ht,Mn);break;case 4:if(cr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-nn(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oE(r/1960))-r,10<r){e.timeoutHandle=Ld($r.bind(null,e,ht,Mn),r);break}$r(e,ht,Mn);break;case 5:$r(e,ht,Mn);break;default:throw Error(D(329))}}}return xt(e,je()),e.callbackNode===n?sx.bind(null,e):null}function np(e,t){var n=uo;return e.current.memoizedState.isDehydrated&&(Xr(e,t).flags|=256),e=Dl(e,t),e!==2&&(t=ht,ht=n,t!==null&&rp(t)),e}function rp(e){ht===null?ht=e:ht.push.apply(ht,e)}function aE(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!sn(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function cr(e,t){for(t&=~Uf,t&=~bc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-nn(t),r=1<<n;e[n]=-1,t&=~r}}function Vm(e){if(ne&6)throw Error(D(327));Bi();var t=wl(e,0);if(!(t&1))return xt(e,je()),null;var n=Dl(e,t);if(e.tag!==0&&n===2){var r=Pd(e);r!==0&&(t=r,n=np(e,r))}if(n===1)throw n=Mo,Xr(e,0),cr(e,t),xt(e,je()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,$r(e,ht,Mn),xt(e,je()),null}function qf(e,t){var n=ne;ne|=1;try{return e(t)}finally{ne=n,ne===0&&(ds=je()+500,yc&&Ir())}}function ii(e){vr!==null&&vr.tag===0&&!(ne&6)&&Bi();var t=ne;ne|=1;var n=zt.transition,r=ie;try{if(zt.transition=null,ie=1,e)return e()}finally{ie=r,zt.transition=n,ne=t,!(ne&6)&&Ir()}}function Bf(){bt=Mi.current,he(Mi)}function Xr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,FS(n)),Te!==null)for(n=Te.return;n!==null;){var r=n;switch(Ef(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&kl();break;case 3:cs(),he(vt),he(Ze),Of();break;case 5:Tf(r);break;case 4:cs();break;case 13:he(xe);break;case 19:he(xe);break;case 10:Pf(r.type._context);break;case 22:case 23:Bf()}n=n.return}if(Ue=e,Te=e=kr(e.current,null),We=bt=t,Fe=0,Mo=null,Uf=bc=ri=0,ht=uo=null,Br!==null){for(t=0;t<Br.length;t++)if(n=Br[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Br=null}return e}function ox(e,t){do{var n=Te;try{if(Cf(),Za.current=Il,Ol){for(var r=be.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ol=!1}if(ni=0,$e=Le=be=null,lo=!1,To=0,$f.current=null,n===null||n.return===null){Fe=1,Mo=t,Te=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=We,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,p=d.tag;if(!(d.mode&1)&&(p===0||p===11||p===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=Om(o);if(g!==null){g.flags&=-257,Im(g,o,a,s,t),g.mode&1&&Tm(s,u,t),t=g,l=u;var x=t.updateQueue;if(x===null){var h=new Set;h.add(l),t.updateQueue=h}else x.add(l);break e}else{if(!(t&1)){Tm(s,u,t),Wf();break e}l=Error(D(426))}}else if(ge&&a.mode&1){var _=Om(o);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Im(_,o,a,s,t),kf(us(l,a));break e}}s=l=us(l,a),Fe!==4&&(Fe=2),uo===null?uo=[s]:uo.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=q0(s,l,t);Am(s,m);break e;case 1:a=l;var v=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Sr===null||!Sr.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var b=B0(s,a,t);Am(s,b);break e}}s=s.return}while(s!==null)}cx(n)}catch(S){t=S,Te===n&&n!==null&&(Te=n=n.return);continue}break}while(!0)}function ax(){var e=Ml.current;return Ml.current=Il,e===null?Il:e}function Wf(){(Fe===0||Fe===3||Fe===2)&&(Fe=4),Ue===null||!(ri&268435455)&&!(bc&268435455)||cr(Ue,We)}function Dl(e,t){var n=ne;ne|=2;var r=ax();(Ue!==e||We!==t)&&(Mn=null,Xr(e,t));do try{lE();break}catch(i){ox(e,i)}while(!0);if(Cf(),ne=n,Ml.current=r,Te!==null)throw Error(D(261));return Ue=null,We=0,Fe}function lE(){for(;Te!==null;)lx(Te)}function cE(){for(;Te!==null&&!Ib();)lx(Te)}function lx(e){var t=dx(e.alternate,e,bt);e.memoizedProps=e.pendingProps,t===null?cx(e):Te=t,$f.current=null}function cx(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=nE(n,t),n!==null){n.flags&=32767,Te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Fe=6,Te=null;return}}else if(n=tE(n,t,bt),n!==null){Te=n;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);Fe===0&&(Fe=5)}function $r(e,t,n){var r=ie,i=zt.transition;try{zt.transition=null,ie=1,uE(e,t,n,r)}finally{zt.transition=i,ie=r}return null}function uE(e,t,n,r){do Bi();while(vr!==null);if(ne&6)throw Error(D(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Bb(e,s),e===Ue&&(Te=Ue=null,We=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ea||(Ea=!0,px(xl,function(){return Bi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=zt.transition,zt.transition=null;var o=ie;ie=1;var a=ne;ne|=4,$f.current=null,iE(e,n),rx(n,e),jS(Id),_l=!!Od,Id=Od=null,e.current=n,sE(n),Mb(),ne=a,ie=o,zt.transition=s}else e.current=n;if(Ea&&(Ea=!1,vr=e,Fl=i),s=e.pendingLanes,s===0&&(Sr=null),Db(n.stateNode),xt(e,je()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ll)throw Ll=!1,e=ep,ep=null,e;return Fl&1&&e.tag!==0&&Bi(),s=e.pendingLanes,s&1?e===tp?po++:(po=0,tp=e):po=0,Ir(),null}function Bi(){if(vr!==null){var e=qy(Fl),t=zt.transition,n=ie;try{if(zt.transition=null,ie=16>e?16:e,vr===null)var r=!1;else{if(e=vr,vr=null,Fl=0,ne&6)throw Error(D(331));var i=ne;for(ne|=4,V=e.current;V!==null;){var s=V,o=s.child;if(V.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(V=u;V!==null;){var d=V;switch(d.tag){case 0:case 11:case 15:co(8,d,s)}var p=d.child;if(p!==null)p.return=d,V=p;else for(;V!==null;){d=V;var f=d.sibling,g=d.return;if(ex(d),d===u){V=null;break}if(f!==null){f.return=g,V=f;break}V=g}}}var x=s.alternate;if(x!==null){var h=x.child;if(h!==null){x.child=null;do{var _=h.sibling;h.sibling=null,h=_}while(h!==null)}}V=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,V=o;else e:for(;V!==null;){if(s=V,s.flags&2048)switch(s.tag){case 0:case 11:case 15:co(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,V=m;break e}V=s.return}}var v=e.current;for(V=v;V!==null;){o=V;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,V=y;else e:for(o=v;V!==null;){if(a=V,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:_c(9,a)}}catch(S){Ae(a,a.return,S)}if(a===o){V=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,V=b;break e}V=a.return}}if(ne=i,Ir(),Sn&&typeof Sn.onPostCommitFiberRoot=="function")try{Sn.onPostCommitFiberRoot(fc,e)}catch{}r=!0}return r}finally{ie=n,zt.transition=t}}return!1}function Gm(e,t,n){t=us(n,t),t=q0(e,t,1),e=br(e,t,1),t=ct(),e!==null&&(Yo(e,1,t),xt(e,t))}function Ae(e,t,n){if(e.tag===3)Gm(e,e,n);else for(;t!==null;){if(t.tag===3){Gm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Sr===null||!Sr.has(r))){e=us(n,e),e=B0(t,e,1),t=br(t,e,1),e=ct(),t!==null&&(Yo(t,1,e),xt(t,e));break}}t=t.return}}function dE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ct(),e.pingedLanes|=e.suspendedLanes&n,Ue===e&&(We&n)===n&&(Fe===4||Fe===3&&(We&130023424)===We&&500>je()-Hf?Xr(e,0):Uf|=n),xt(e,t)}function ux(e,t){t===0&&(e.mode&1?(t=ha,ha<<=1,!(ha&130023424)&&(ha=4194304)):t=1);var n=ct();e=Wn(e,t),e!==null&&(Yo(e,t,n),xt(e,n))}function pE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ux(e,n)}function fE(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),ux(e,n)}var dx;dx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vt.current)mt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return mt=!1,eE(e,t,n);mt=!!(e.flags&131072)}else mt=!1,ge&&t.flags&1048576&&m0(t,Pl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var i=os(t,Ze.current);qi(t,n),i=Mf(null,t,r,e,i,n);var s=Lf();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yt(r)?(s=!0,Al(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,jf(t),i.updater=wc,t.stateNode=i,i._reactInternals=t,qd(t,r,e,n),t=Vd(null,t,r,!0,s,n)):(t.tag=0,ge&&s&&Sf(t),ot(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=mE(r),e=Qt(r,e),i){case 0:t=Wd(null,t,r,e,n);break e;case 1:t=Fm(null,t,r,e,n);break e;case 11:t=Mm(null,t,r,e,n);break e;case 14:t=Lm(null,t,r,Qt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),Wd(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),Fm(e,t,r,i,n);case 3:e:{if(K0(t),e===null)throw Error(D(387));r=t.pendingProps,s=t.memoizedState,i=s.element,_0(e,t),Rl(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=us(Error(D(423)),t),t=Dm(e,t,r,n,i);break e}else if(r!==i){i=us(Error(D(424)),t),t=Dm(e,t,r,n,i);break e}
vendor: 5,031 bytes, line 41
41else for(kt=_r(t.stateNode.containerInfo.firstChild),Ct=t,ge=!0,Zt=null,n=x0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(as(),r===i){t=Vn(e,t,n);break e}ot(e,t,r,n)}t=t.child}return t;case 5:return b0(t),e===null&&$d(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Md(r,i)?o=null:s!==null&&Md(r,s)&&(t.flags|=32),G0(e,t),ot(e,t,o,n),t.child;case 6:return e===null&&$d(t),null;case 13:return Q0(e,t,n);case 4:return Rf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ls(t,null,r,n):ot(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),Mm(e,t,r,i,n);case 7:return ot(e,t,t.pendingProps,n),t.child;case 8:return ot(e,t,t.pendingProps.children,n),t.child;case 12:return ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,ce(Nl,r._currentValue),r._currentValue=o,s!==null)if(sn(s.value,o)){if(s.children===i.children&&!vt.current){t=Vn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Hn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Ud(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(D(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ud(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}ot(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,qi(t,n),i=Ut(i),r=r(i),t.flags|=1,ot(e,t,r,n),t.child;case 14:return r=t.type,i=Qt(r,t.pendingProps),i=Qt(r.type,i),Lm(e,t,r,i,n);case 15:return W0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),tl(e,t),t.tag=1,yt(r)?(e=!0,Al(t)):e=!1,qi(t,n),H0(t,r,i),qd(t,r,i,n),Vd(null,t,r,!0,e,n);case 19:return Y0(e,t,n);case 22:return V0(e,t,n)}throw Error(D(156,t.tag))};function px(e,t){return zy(e,t)}function hE(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dt(e,t,n,r){return new hE(e,t,n,r)}function Vf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mE(e){if(typeof e=="function")return Vf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===df)return 11;if(e===pf)return 14}return 2}function kr(e,t){var n=e.alternate;return n===null?(n=Dt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function il(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Vf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ki:return Jr(n.children,i,s,t);case uf:o=8,i|=8;break;case fd:return e=Dt(12,n,t,i|2),e.elementType=fd,e.lanes=s,e;case hd:return e=Dt(13,n,t,i),e.elementType=hd,e.lanes=s,e;case md:return e=Dt(19,n,t,i),e.elementType=md,e.lanes=s,e;case by:return Sc(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wy:o=10;break e;case _y:o=9;break e;case df:o=11;break e;case pf:o=14;break e;case or:o=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=Dt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Jr(e,t,n,r){return e=Dt(7,e,r,t),e.lanes=n,e}function Sc(e,t,n,r){return e=Dt(22,e,r,t),e.elementType=by,e.lanes=n,e.stateNode={isHidden:!1},e}function wu(e,t,n){return e=Dt(6,e,null,t),e.lanes=n,e}function _u(e,t,n){return t=Dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gE(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tu(0),this.expirationTimes=tu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}
vendor: 4,921 bytes, line 41
41function Gf(e,t,n,r,i,s,o,a,l){return e=new gE(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Dt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jf(s),e}function vE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ei,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function fx(e){if(!e)return Cr;e=e._reactInternals;e:{if(ui(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(yt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(yt(n))return f0(e,n,t)}return t}function hx(e,t,n,r,i,s,o,a,l){return e=Gf(n,r,!0,e,i,s,o,a,l),e.context=fx(null),n=e.current,r=ct(),i=Er(n),s=Hn(r,i),s.callback=t??null,br(n,s,i),e.current.lanes=i,Yo(e,i,r),xt(e,r),e}function Ec(e,t,n,r){var i=t.current,s=ct(),o=Er(i);return n=fx(n),t.context===null?t.context=n:t.pendingContext=n,t=Hn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=br(i,t,o),e!==null&&(rn(e,i,o,s),Ja(e,i,o)),o}function zl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Km(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Kf(e,t){Km(e,t),(e=e.alternate)&&Km(e,t)}function yE(){return null}var mx=typeof reportError=="function"?reportError:function(e){console.error(e)};function Qf(e){this._internalRoot=e}kc.prototype.render=Qf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));Ec(e,t,null,null)};kc.prototype.unmount=Qf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ii(function(){Ec(null,e,null,null)}),t[Bn]=null}};function kc(e){this._internalRoot=e}kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<lr.length&&t!==0&&t<lr[n].priority;n++);lr.splice(n,0,e),n===0&&Ky(e)}};function Yf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ac(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Qm(){}function xE(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=zl(o);s.call(u)}}var o=hx(t,r,e,0,null,!1,!1,"",Qm);return e._reactRootContainer=o,e[Bn]=o.current,Co(e.nodeType===8?e.parentNode:e),ii(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=zl(l);a.call(u)}}var l=Gf(e,0,!1,null,null,!1,!1,"",Qm);return e._reactRootContainer=l,e[Bn]=l.current,Co(e.nodeType===8?e.parentNode:e),ii(function(){Ec(t,l,n,r)}),l}function Cc(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=zl(o);a.call(l)}}Ec(t,o,e,i)}else o=xE(n,t,e,i,r);return zl(o)}By=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Qs(t.pendingLanes);n!==0&&(mf(t,n|1),xt(t,je()),!(ne&6)&&(ds=je()+500,Ir()))}break;case 13:ii(function(){var r=Wn(e,1);if(r!==null){var i=ct();rn(r,e,1,i)}}),Kf(e,1)}};gf=function(e){if(e.tag===13){var t=Wn(e,134217728);if(t!==null){var n=ct();rn(t,e,134217728,n)}Kf(e,134217728)}};Wy=function(e){if(e.tag===13){var t=Er(e),n=Wn(e,t);if(n!==null){var r=ct();rn(n,e,t,r)}Kf(e,t)}};Vy=function(){return ie};Gy=function(e,t){var n=ie;try{return ie=e,t()}finally{ie=n}};kd=function(e,t,n){switch(t){case"input":if(yd(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=vc(r);if(!i)throw Error(D(90));Ey(r),yd(r,i)}}}break;case"textarea":Ay(e,n);break;case"select":t=n.value,t!=null&&zi(e,!!n.multiple,t,!1)}};Oy=qf;Iy=ii;var wE={usingClientEntryPoint:!1,Events:[Jo,Ni,vc,Ry,Ty,qf]},Is={findFiberByHostInstance:qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_E={bundleType:Is.bundleType,version:Is.version,rendererPackageName:Is.rendererPackageName,rendererConfig:Is.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Qn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fy(e),e===null?null:e.stateNode},findFiberByHostInstance:Is.findFiberByHostInstance||yE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
41if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ka=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ka.isDisabled&&ka.supportsFiber)try{fc=ka.inject(_E),Sn=ka}catch{}}Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wE;Rt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Yf(t))throw Error(D(200));return vE(e,t,null,n)};Rt.createRoot=function(e,t){if(!Yf(e))throw Error(D(299));var n=!1,r="",i=mx;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Gf(e,1,!1,null,null,n,!1,r,i),e[Bn]=t.current,Co(e.nodeType===8?e.parentNode:e),new Qf(t)};Rt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=Fy(t),e=e===null?null:e.stateNode,e};Rt.flushSync=function(e){return ii(e)};Rt.hydrate=function(e,t,n){if(!Ac(t))throw Error(D(200));return Cc(null,e,t,!0,n)};Rt.hydrateRoot=function(e,t,n){if(!Yf(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=mx;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=hx(t,null,e,1,n??null,i,!1,s,o),e[Bn]=t.current,Co(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new kc(t)};Rt.render=function(e,t,n){if(!Ac(t))throw Error(D(200));return Cc(null,e,t,!1,n)};Rt.unmountComponentAtNode=function(e){if(!Ac(e))throw Error(D(40));return e._reactRootContainer?(ii(function(){Cc(null,null,e,!1,function(){e._reactRootContainer=null,e[Bn]=null})}),!0):!1};Rt.unstable_batchedUpdates=qf;Rt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ac(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return Cc(e,t,n,!1,r)};Rt.version="18.3.1-next-f1338f8080-20240426";function gx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gx)}catch(e){console.error(e)}}gx(),gy.exports=Rt;var ea=gy.exports;const bE=ry(ea);var vx,Ym=ea;vx=Ym.createRoot,Ym.hydrateRoot;const SE="modulepreload",EE=function(e){return"/"+e},Xm={},et=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=EE(l),l in Xm)return;Xm[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":SE,u||(p.as="script"),p.crossOrigin="",p.href=l,a&&p.setAttribute("nonce",a),document.head.appendChild(p),u)return new Promise((f,g)=>{p.addEventListener("load",f),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};function kE(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,i,s,o=[],a="",l=e.split("/");for(l[0]||l.shift();i=l.shift();)n=i[0],n==="*"?(o.push(n),a+=i[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=i.indexOf("?",1),s=i.indexOf(".",1),o.push(i.substring(1,~r?r:~s?s:i.length)),a+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(a+=(~r?"?":"")+"\\"+i.substring(s))):a+="/"+i;return{keys:o,pattern:new RegExp("^"+a+(t?"(?=$|/)":"/?$"),"i")}}var yx={exports:{}},xx={};/**
42 * @license React
43 * use-sync-external-store-shim.production.min.js
44 *
45 * Copyright (c) Facebook, Inc. and its affiliates.
46 *
47 * This source code is licensed under the MIT license found in the
48 * LICENSE file in the root directory of this source tree.
49 */var ps=w;function AE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var CE=typeof Object.is=="function"?Object.is:AE,PE=ps.useState,NE=ps.useEffect,jE=ps.useLayoutEffect,RE=ps.useDebugValue;function TE(e,t){var n=t(),r=PE({inst:{value:n,getSnapshot:t}}),i=r[0].inst,s=r[1];return jE(function(){i.value=n,i.getSnapshot=t,bu(i)&&s({inst:i})},[e,n,t]),NE(function(){return bu(i)&&s({inst:i}),e(function(){bu(i)&&s({inst:i})})},[e]),RE(n),n}function bu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!CE(e,n)}catch{return!0}}function OE(e,t){return t()}var IE=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?OE:TE;xx.useSyncExternalStore=ps.useSyncExternalStore!==void 0?ps.useSyncExternalStore:IE;yx.exports=xx;var ME=yx.exports;const LE=hy.useInsertionEffect,FE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wx=FE?w.useLayoutEffect:w.useEffect,DE=LE||wx,Xf=e=>{const t=w.useRef([e,(...n)=>t[0](...n)]).current;return DE(()=>{t[0]=e}),t[1]},zE="popstate",Jf="pushState",Zf="replaceState",$E="hashchange",Jm=[zE,Jf,Zf,$E],UE=e=>{for(const t of Jm)addEventListener(t,e);return()=>{for(const t of Jm)removeEventListener(t,e)}},_x=(e,t)=>ME.useSyncExternalStore(UE,e,t),HE=()=>location.search,qE=({ssrSearch:e=""}={})=>_x(HE,()=>e),Zm=()=>location.pathname,BE=({ssrPath:e}={})=>_x(Zm,e?()=>e:Zm),WE=(e,{replace:t=!1,state:n=null}={})=>history[t?Zf:Jf](n,"",e),VE=(e={})=>[BE(e),WE],eg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[eg]>"u"){for(const e of[Jf,Zf]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,eg,{value:!0})}const GE=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",bx=(e="")=>e==="/"?"":e,KE=(e,t)=>e[0]==="~"?e.slice(1):bx(t)+e,QE=(e="",t)=>GE(tg(bx(e)),tg(t)),tg=e=>{try{return decodeURI(e)}catch{return e}},Sx={hook:VE,searchHook:qE,parser:kE,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:e=>e},Ex=w.createContext(Sx),ta=()=>w.useContext(Ex),kx={},Ax=w.createContext(kx),YE=()=>w.useContext(Ax),Pc=e=>{const[t,n]=e.hook(e);return[QE(e.base,t),Xf((r,i)=>n(KE(r,e.base),i))]},on=()=>Pc(ta()),Cx=(e,t,n,r)=>{const{pattern:i,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),o=i.exec(n)||[],[a,...l]=o;return a!==void 0?[!0,(()=>{const u=s!==!1?Object.fromEntries(s.map((p,f)=>[p,l[f]])):o.groups;let d={...l};return u&&Object.assign(d,u),d})(),...r?[a]:[]]:[!1,null]},XE=({children:e,...t})=>{var d,p;const n=ta(),r=t.hook?Sx:n;let i=r;const[s,o]=((d=t.ssrPath)==null?void 0:d.split("?"))??[];o&&(t.ssrSearch=o,t.ssrPath=s),t.hrefs=t.hrefs??((p=t.hook)==null?void 0:p.hrefs);let a=w.useRef({}),l=a.current,u=l;for(let f in r){const g=f==="base"?r[f]+(t[f]||""):t[f]||r[f];l===u&&g!==u[f]&&(a.current=u={...u}),u[f]=g,g!==r[f]&&(i=u)}return w.createElement(Ex.Provider,{value:i,children:e})},ng=({children:e,component:t},n)=>t?w.createElement(t,{params:n}):typeof e=="function"?e(n):e,JE=e=>{let t=w.useRef(kx),n=t.current;for(const r in e)e[r]!==n[r]&&(n=e);return Object.keys(e).length===0&&(n=e),t.current=n},Pe=({path:e,nest:t,match:n,...r})=>{const i=ta(),[s]=Pc(i),[o,a,l]=n??Cx(i.parser,e,s,t),u=JE({...YE(),...a});if(!o)return null;const d=l?w.createElement(XE,{base:l},ng(r,u)):ng(r,u);return w.createElement(Ax.Provider,{value:u,children:d})},at=w.forwardRef((e,t)=>
49{const n=ta(),[r,i]=Pc(n),{to:s="",href:o=s,onClick:a,asChild:l,children:u,className:d,replace:p,state:f,...g}=e,x=Xf(_=>{_.ctrlKey||_.metaKey||_.altKey||_.shiftKey||_.button!==0||(a==null||a(_),_.defaultPrevented||(_.preventDefault(),i(o,e)))}),h=n.hrefs(o[0]==="~"?o.slice(1):n.base+o,n);return l&&w.isValidElement(u)?w.cloneElement(u,{onClick:x,href:h}):w.createElement("a",{...g,onClick:x,href:h,className:d!=null&&d.call?d(r===o):d,children:u,ref:t})}),Px=e=>Array.isArray(e)?e.flatMap(t=>Px(t&&t.type===w.Fragment?t.props.children:t)):[e],ZE=({children:e,location:t})=>{const n=ta(),[r]=Pc(n);for(const i of Px(e)){let s=0;if(w.isValidElement(i)&&(s=Cx(n.parser,i.props.path,t||r,i.props.nest))[0])return w.cloneElement(i,{match:s})}return null},Aa=e=>{const{to:t,href:n=t}=e,[,r]=on(),i=Xf(()=>r(t||n,e));return wx(()=>{i()},[]),null};var Nc=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(){}},jc=typeof window>"u"||"Deno"in globalThis;function Yt(){}function e2(e,t){return typeof e=="function"?e(t):e}function t2(e){return typeof e=="number"&&e>=0&&e!==1/0}function n2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rg(e,t){return typeof e=="function"?e(t):e}function r2(e,t){return typeof e=="function"?e(t):e}function ig(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==eh(o,t.options))return!1}else if(!Fo(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function sg(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Lo(t.options.mutationKey)!==Lo(s))return!1}else if(!Fo(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function eh(e,t){return((t==null?void 0:t.queryKeyHashFn)||Lo)(e)}function Lo(e){return JSON.stringify(e,(t,n)=>ip(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Fo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Fo(e[n],t[n])):!1}function Nx(e,t){if(e===t)return e;const n=og(e)&&og(t);if(n||ip(e)&&ip(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u<o;u++){const d=n?u:s[u];(!n&&r.includes(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,l++):(a[d]=Nx(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&l++)}return i===o&&l===i?e:a}return t}function DT(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function og(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ip(e){if(!ag(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!ag(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ag(e){return Object.prototype.toString.call(e)==="[object Object]"}function i2(e){return new Promise(t=>{setTimeout(t,e)})}function s2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Nx(e,t):t}function o2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function a2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var th=Symbol();function jx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===th?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Gr,dr,Yi,Qv,l2=(Qv=class extends Nc{constructor(){super();re(this,Gr);re(this,dr);re(this,Yi);Y(this,Yi,t=>{if(!jc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){O(this,dr)||this.setEventListener(O(this,Yi))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,dr))==null||t.call(this),Y(this,dr,void 0))}setEventListener(t){var n;Y(this,Yi,t),(n=O(this,dr))==null||n.call(this),Y(this,dr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){O(this,Gr)!==t&&(Y(this,Gr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 19,010 bytes, line 49
49this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof O(this,Gr)=="boolean"?O(this,Gr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Gr=new WeakMap,dr=new WeakMap,Yi=new WeakMap,Qv),Rx=new l2,Xi,pr,Ji,Yv,c2=(Yv=class extends Nc{constructor(){super();re(this,Xi,!0);re(this,pr);re(this,Ji);Y(this,Ji,t=>{if(!jc&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){O(this,pr)||this.setEventListener(O(this,Ji))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,pr))==null||t.call(this),Y(this,pr,void 0))}setEventListener(t){var n;Y(this,Ji,t),(n=O(this,pr))==null||n.call(this),Y(this,pr,t(this.setOnline.bind(this)))}setOnline(t){O(this,Xi)!==t&&(Y(this,Xi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return O(this,Xi)}},Xi=new WeakMap,pr=new WeakMap,Ji=new WeakMap,Yv),$l=new c2;function u2(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function d2(e){return Math.min(1e3*2**e,3e4)}function Tx(e){return(e??"online")==="online"?$l.isOnline():!0}var Ox=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Su(e){return e instanceof Ox}function Ix(e){let t=!1,n=0,r=!1,i;const s=u2(),o=h=>{var _;r||(f(new Ox(h)),(_=e.abort)==null||_.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Rx.isFocused()&&(e.networkMode==="always"||$l.isOnline())&&e.canRun(),d=()=>Tx(e.networkMode)&&e.canRun(),p=h=>{var _;r||(r=!0,(_=e.onSuccess)==null||_.call(e,h),i==null||i(),s.resolve(h))},f=h=>{var _;r||(r=!0,(_=e.onError)==null||_.call(e,h),i==null||i(),s.reject(h))},g=()=>new Promise(h=>{var _;i=m=>{(r||u())&&h(m)},(_=e.onPause)==null||_.call(e)}).then(()=>{var h;i=void 0,r||(h=e.onContinue)==null||h.call(e)}),x=()=>{if(r)return;let h;const _=n===0?e.initialPromise:void 0;try{h=_??e.fn()}catch(m){h=Promise.reject(m)}Promise.resolve(h).then(p).catch(m=>{var k;if(r)return;const v=e.retry??(jc?0:3),y=e.retryDelay??d2,b=typeof y=="function"?y(n,m):y,S=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,m);if(t||!S){f(m);return}n++,(k=e.onFail)==null||k.call(e,n,m),i2(b).then(()=>u()?void 0:g()).then(()=>{t?f(m):x()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?x():g().then(x),s)}}function p2(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=a=>setTimeout(a,0);const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var lt=p2(),Kr,Xv,Mx=(Xv=class{constructor(){re(this,Kr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),t2(this.gcTime)&&Y(this,Kr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(jc?1/0:5*60*1e3))}clearGcTimeout(){O(this,Kr)&&(clearTimeout(O(this,Kr)),Y(this,Kr,void 0))}},Kr=new WeakMap,Xv),Zi,es,It,Xe,Go,Qr,Xt,On,Jv,f2=(Jv=class extends Mx{constructor(t){super();re(this,Xt);re(this,Zi);re(this,es);re(this,It);re(this,Xe);re(this,Go);re(this,Qr);Y(this,Qr,!1),Y(this,Go,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,It,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,Zi,m2(this.options)),this.state=t.state??O(this,Zi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=O(this,Xe))==null?void 0:t.promise}setOptions(t){this.options={...O(this,Go),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,It).remove(this)}setData(t,n){const r=s2(this.state.data,t,this.options);return Ge(this,Xt,On).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ge(this,Xt,On).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=O(this,Xe))==null?void 0:r.promise;return(i=O(this,Xe))==null||i.cancel(t),n?n.then(Yt).catch(Yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,Zi))}isActive(){return this.observers.some(t=>r2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===th||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!n2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,Xe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,Xe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),O(this,It).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(O(this,Xe)&&(O(this,Qr)?O(this,Xe).cancel({revert:!0}):O(this,Xe).cancelRetry()),this.scheduleGc()),O(this,It).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ge(this,Xt,On).call(this,{type:"invalidate"})}fetch(t,n){var l,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(O(this,Xe))return O(this,Xe).continueRetry(),O(this,Xe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(f=>f.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,i=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(Y(this,Qr,!0),r.signal)})},s=()=>{const p=jx(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),Y(this,Qr,!1),this.options.persister?this.options.persister(p,f,this):p(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),Y(this,es,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&Ge(this,Xt,On).call(this,{type:"fetch",meta:(d=o.fetchOptions)==null?void 0:d.meta});const a=p=>{var f,g,x,h;Su(p)&&p.silent||Ge(this,Xt,On).call(this,{type:"error",error:p}),Su(p)||((g=(f=O(this,It).config).onError)==null||g.call(f,p,this),(h=(x=O(this,It).config).onSettled)==null||h.call(x,this.state.data,p,this)),this.scheduleGc()};return Y(this,Xe,Ix({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var f,g,x,h;if(p===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(_){a(_);return}(g=(f=O(this,It).config).onSuccess)==null||g.call(f,p,this),(h=(x=O(this,It).config).onSettled)==null||h.call(x,p,this.state.error,this),this.scheduleGc()},onError:a,onFail:(p,f)=>{Ge(this,Xt,On).call(this,{type:"failed",failureCount:p,error:f})},onPause:()=>{Ge(this,Xt,On).call(this,{type:"pause"})},onContinue:()=>{Ge(this,Xt,On).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),O(this,Xe).start()}},Zi=new WeakMap,es=new WeakMap,It=new WeakMap,Xe=new WeakMap,Go=new WeakMap,Qr=new WeakMap,Xt=new WeakSet,On=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...h2(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Su(i)&&i.revert&&O(this,es)?{...O(this,es),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),lt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),O(this,It).notify({query:this,type:"updated",action:t})})},Jv);function h2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Tx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function m2(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var hn,Zv,g2=(Zv=class extends Nc{constructor(t={}){super();re(this,hn);this.config=t,Y(this,hn,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??eh(i,n);let o=this.get(s);return o||(o=new f2({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){O(this,hn).has(t.queryHash)||(O(this,hn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=O(this,hn).get(t.queryHash);n&&(t.destroy(),n===t&&O(this,hn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){lt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return O(this,hn).get(t)}getAll(){return[...O(this,hn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ig(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>ig(t,r)):n}notify(t){lt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){lt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){lt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},hn=new WeakMap,Zv),mn,it,Yr,gn,ir,ey,v2=(ey=class extends Mx{constructor(t){super();re(this,gn);re(this,mn);re(this,it);re(this,Yr);this.mutationId=t.mutationId,Y(this,it,t.mutationCache),Y(this,mn,[]),this.state=t.state||y2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){O(this,mn).includes(t)||(O(this,mn).push(t),this.clearGcTimeout(),O(this,it).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,mn,O(this,mn).filter(n=>n!==t)),this.scheduleGc(),O(this,it).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){O(this,mn).length||(this.state.status==="pending"?this.scheduleGc():O(this,it).remove(this))}continue(){var t;return((t=O(this,Yr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,o,a,l,u,d,p,f,g,x,h,_,m,v,y,b,S,k,E;Y(this,Yr,Ix({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,C)=>{Ge(this,gn,ir).call(this,{type:"failed",failureCount:A,error:C})},onPause:()=>{Ge(this,gn,ir).call(this,{type:"pause"})},onContinue:()=>{Ge(this,gn,ir).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,it).canRun(this)}));const n=this.state.status==="pending",r=!O(this,Yr).canStart();try{if(!n){Ge(this,gn,ir).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(i=O(this,it).config).onMutate)==null?void 0:s.call(i,t,this));const C=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));C!==this.state.context&&Ge(this,gn,ir).call(this,{type:"pending",context:C,variables:t,isPaused:r})}const A=await O(this,Yr).start();return await((u=(l=O(this,it).config).onSuccess)==null?void 0:u.call(l,A,t,this.state.context,this)),await((p=(d=this.options).onSuccess)==null?void 0:p.call(d,A,t,this.state.context)),await((g=(f=O(this,it).config).onSettled)==null?void 0:g.call(f,A,null,this.state.variables,this.state.context,this)),await((h=(x=this.options).onSettled)==null?void 0:h.call(x,A,null,t,this.state.context)),Ge(this,gn,ir).call(this,{type:"success",data:A}),A}catch(A){try{throw await((m=(_=O(this,it).config).onError)==null?void 0:m.call(_,A,t,this.state.context,this)),await((y=(v=this.options).onError)==null?void 0:y.call(v,A,t,this.state.context)),await((S=(b=O(this,it).config).onSettled)==null?void 0:S.call(b,void 0,A,this.state.variables,this.state.context,this)),await((E=(k=this.options).onSettled)==null?void 0:E.call(k,void 0,A,t,this.state.context)),A}finally{Ge(this,gn,ir).call(this,{type:"error",error:A})}}finally{O(this,it).runNext(this)}}},mn=new WeakMap,it=new WeakMap,Yr=new WeakMap,gn=new WeakSet,ir=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),lt.batch(()=>{O(this,mn).forEach(r=>{r.onMutationUpdate(t)}),O(this,it).notify({mutation:this,type:"updated",action:t})})},ey);function y2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var _t,Ko,ty,x2=(ty=class extends Nc{constructor(t={}){super();re(this,_t);re(this,Ko);this.config=t,Y(this,_t,new Map),Y(this,Ko,Date.now())}build(t,n,r){const i=new v2({mutationCache:this,mutationId:++la(this,Ko)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=Ca(t),r=O(this,_t).get(n)??[];r.push(t),O(this,_t).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Ca(t);if(O(this,_t).has(n)){const i=(r=O(this,_t).get(n))==null?void 0:r.filter(s=>s!==t);i&&(i.length===0?O(this,_t).delete(n):O(this,_t).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=O(this,_t).get(Ca(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=O(this,_t).get(Ca(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){lt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...O(this,_t).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>sg(n,r))}findAll(t={}){return this.getAll().filter(n=>sg(t,n))}notify(t){lt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return lt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Yt))))}},_t=new WeakMap,Ko=new WeakMap,ty);function Ca(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function lg(e){return{onFetch:(t,n)=>{var d,p,f,g,x;const r=t.options,i=(f=(p=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:p.fetchMore)==null?void 0:f.direction,s=((g=t.state.data)==null?void 0:g.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let h=!1;const _=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},m=jx(t.options,t.fetchOptions),v=async(y,b,S)=>{if(h)return Promise.reject();if(b==null&&y.pages.length)return Promise.resolve(y);const k={queryKey:t.queryKey,pageParam:b,direction:S?"backward":"forward",meta:t.options.meta};_(k);const E=await m(k),{maxPages:A}=t.options,C=S?a2:o2;return{pages:C(y.pages,E,A),pageParams:C(y.pageParams,b,A)}};if(i&&s.length){const y=i==="backward",b=y?w2:cg,S={pages:s,pageParams:o},k=b(r,S);a=await v(S,k,y)}else{const y=e??s.length;do{const b=l===0?o[0]??r.initialPageParam:cg(r,a);if(l>0&&b==null)break;a=await v(a,b),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var h,_;return(_=(h=t.options).persister)==null?void 0:_.call(h,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function cg(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function w2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ke,fr,hr,ts,ns,mr,rs,is,ny,_2=(ny=class{constructor(e={}){re(this,ke);re(this,fr);re(this,hr);re(this,ts);re(this,ns);re(this,mr);re(this,rs);re(this,is);Y(this,ke,e.queryCache||new g2),Y(this,fr,e.mutationCache||new x2),Y(this,hr,e.defaultOptions||{}),Y(this,ts,new Map),Y(this,ns,new Map),Y(this,mr,0)}mount(){la(this,mr)._++,O(this,mr)===1&&(Y(this,rs,Rx.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,ke).onFocus())})),Y(this,is,$l.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,ke).onOnline())})))}unmount(){var e,t;la(this,mr)._--,O(this,mr)===0&&((e=O(this,rs))==null||e.call(this),Y(this,rs,void 0),(t=O(this,is))==null||t.call(this),Y(this,is,void 0))}isFetching(e){return O(this,ke).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,fr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,ke).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=O(this,ke).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(rg(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return O(this,ke).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=O(this,ke).get(r.queryHash),s=i==null?void 0:i.state.data,o=e2(t,s);if(o!==void 0)return O(this,ke).build(this,r).setData(o,{...n,manual:!0})}
49setQueriesData(e,t,n){return lt.batch(()=>O(this,ke).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,ke).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=O(this,ke);lt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=O(this,ke),r={type:"active",...e};return lt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=lt.batch(()=>O(this,ke).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Yt).catch(Yt)}invalidateQueries(e={},t={}){return lt.batch(()=>{if(O(this,ke).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=lt.batch(()=>O(this,ke).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Yt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=O(this,ke).build(this,t);return n.isStaleByTime(rg(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Yt).catch(Yt)}fetchInfiniteQuery(e){return e.behavior=lg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Yt).catch(Yt)}ensureInfiniteQueryData(e){return e.behavior=lg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return $l.isOnline()?O(this,fr).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,ke)}getMutationCache(){return O(this,fr)}getDefaultOptions(){return O(this,hr)}setDefaultOptions(e){Y(this,hr,e)}setQueryDefaults(e,t){O(this,ts).set(Lo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...O(this,ts).values()];let n={};return t.forEach(r=>{Fo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){O(this,ns).set(Lo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...O(this,ns).values()];let n={};return t.forEach(r=>{Fo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...O(this,hr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=eh(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===th&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,hr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,ke).clear(),O(this,fr).clear()}},ke=new WeakMap,fr=new WeakMap,hr=new WeakMap,ts=new WeakMap,ns=new WeakMap,mr=new WeakMap,rs=new WeakMap,is=new WeakMap,ny),Lx=w.createContext(void 0),zT=e=>{const t=w.useContext(Lx);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},b2=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(Lx.Provider,{value:e,children:t}));async function Fx(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}async function $T(e,t,n){const r=await fetch(t,{method:e,headers:n?{"Content-Type":"application/json"}:{},body:n?JSON.stringify(n):void 0,credentials:"include"});return await Fx(r),r}const S2=({on401:e})=>async({queryKey:t})=>{const n=await fetch(t.join("/"),{credentials:"include"});return e==="returnNull"&&n.status===401?null:(await Fx(n),await n.json())},E2=new _2({defaultOptions:{queries:{queryFn:S2({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),Dx="G-49KEGWYVSZ";function k2(){var t;const e=new URL(window.location.pathname,window.location.origin);for(const n of["utm_source","utm_medium","utm_campaign","utm_content","utm_term"]){const r=new 
49URLSearchParams(window.location.search).get(n);r&&/^[a-z0-9_-]{1,80}$/i.test(r)&&!/^\d{9,}$/.test(r)&&e.searchParams.set(n,r)}(t=window.gtag)==null||t.call(window,"event","page_view",{page_location:e.toString(),page_path:e.pathname,page_title:document.title,send_to:Dx})}function Eu(e,t={}){var n;(n=window.gtag)==null||n.call(window,"event",e,{...t,send_to:Dx})}const sp="supermile_contact_attribution";function A2(){try{const e=new URLSearchParams(window.location.search),t=sessionStorage.getItem(sp),n=t?JSON.parse(t):{};if(!t){if(n.landingPage=window.location.pathname.slice(0,200),document.referrer){const i=new URL(document.referrer);i.origin!==window.location.origin&&(n.referrer=i.origin.slice(0,200),n.utmSource=i.hostname.slice(0,200),n.utmMedium="referral")}n.utmSource??(n.utmSource="direct"),n.utmMedium??(n.utmMedium="none")}const r=[["utm_source","utmSource"],["utm_medium","utmMedium"],["utm_campaign","utmCampaign"],["utm_content","utmContent"],["utm_term","utmTerm"]];for(const[i,s]of r){const o=e.get(i);o&&(n[s]=o.slice(0,200))}sessionStorage.setItem(sp,JSON.stringify(n))}catch{}}function UT(){try{return JSON.parse(sessionStorage.getItem(sp)||"{}")}catch{return{}}}const C2=1,P2=1e6;let ku=0;function N2(){return ku=(ku+1)%Number.MAX_SAFE_INTEGER,ku.toString()}const Au=new Map,ug=e=>{if(Au.has(e))return;const t=setTimeout(()=>{Au.delete(e),fo({type:"REMOVE_TOAST",toastId:e})},P2);Au.set(e,t)},j2=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,C2)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?ug(n):e.toasts.forEach(r=>{ug(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},sl=[];let ol={toasts:[]};function fo(e){ol=j2(ol,e),sl.forEach(t=>{t(ol)})}function R2({...e}){const t=N2(),n=i=>fo({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>fo({type:"DISMISS_TOAST",toastId:t});return fo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function T2(){const[e,t]=w.useState(ol);return w.useEffect(()=>(sl.push(t),()=>{const n=sl.indexOf(t);n>-1&&sl.splice(n,1)}),[e]),{...e,toast:R2,dismiss:n=>fo({type:"DISMISS_TOAST",toastId:n})}}function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function dg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zx(...e){return t=>{let n=!1;const r=e.map(i=>{const s=dg(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():dg(e[i],null)}}}}function ut(...e){return w.useCallback(zx(...e),e)}function O2(e,t){const n=w.createContext(t),r=s=>{const{children:o,...a}=s,l=w.useMemo(()=>a,Object.values(a));return c.jsx(n.Provider,{value:l,children:o})};r.displayName=e+"Provider";function i(s){const o=w.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,i]}function na(e,t=[]){let n=[];function r(s,o){const a=w.createContext(o),l=n.length;n=[...n,o];const u=p=>{var m;const{scope:f,children:g,...x}=p,h=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,_=w.useMemo(()=>x,Object.values(x));return c.jsx(h.Provider,{value:_,children:g})};u.displayName=s+"Provider";function d(p,f){var h;const g=((h=f==null?void 0:f[e])==null?void 0:h[l])||a,x=w.useContext(g);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>w.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,I2(i,...t)]}function I2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...a,...p}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Do(e){const t=L2(e),n=w.forwardRef((r,i)=>{const{children:s,...o}=r,a=w.Children.toArray(s),l=a.find(D2);if(l){const u=l.props.children,d=a.map(p=>p===l?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:p);return c.jsx(t,{...o,ref:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,d):null})}return c.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var M2=Do("Slot");function L2(e){const t=w.forwardRef((n,r)=>{const{children:i,...s}=n;
vendor: 9,228 bytes, line 49
49if(w.isValidElement(i)){const o=$2(i),a=z2(s,i.props);return i.type!==w.Fragment&&(a.ref=r?zx(r,o):o),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $x=Symbol("radix.slottable");function F2(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=$x,t}function D2(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$x}function z2(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{s(...a),i(...a)}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function $2(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function U2(e){const t=e+"CollectionProvider",[n,r]=na(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:_,children:m}=h,v=rr.useRef(null),y=rr.useRef(new Map).current;return c.jsx(i,{scope:_,itemMap:y,collectionRef:v,children:m})};o.displayName=t;const a=e+"CollectionSlot",l=Do(a),u=rr.forwardRef((h,_)=>{const{scope:m,children:v}=h,y=s(a,m),b=ut(_,y.collectionRef);return c.jsx(l,{ref:b,children:v})});u.displayName=a;const d=e+"CollectionItemSlot",p="data-radix-collection-item",f=Do(d),g=rr.forwardRef((h,_)=>{const{scope:m,children:v,...y}=h,b=rr.useRef(null),S=ut(_,b),k=s(d,m);return rr.useEffect(()=>(k.itemMap.set(b,{ref:b,...y}),()=>void k.itemMap.delete(b))),c.jsx(f,{[p]:"",ref:S,children:v})});g.displayName=d;function x(h){const _=s(e+"CollectionConsumer",h);return rr.useCallback(()=>{const v=_.collectionRef.current;if(!v)return[];const y=Array.from(v.querySelectorAll(`[${p}]`));return Array.from(_.itemMap.values()).sort((k,E)=>y.indexOf(k.ref.current)-y.indexOf(E.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:o,Slot:u,ItemSlot:g},x,r]}var H2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Oe=H2.reduce((e,t)=>{const n=Do(`Primitive.${t}`),r=w.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ux(e,t){e&&ea.flushSync(()=>e.dispatchEvent(t))}function qt(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function q2(e,t=globalThis==null?void 0:globalThis.document){const n=qt(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var B2="DismissableLayer",op="dismissableLayer.update",W2="dismissableLayer.pointerDownOutside",V2="dismissableLayer.focusOutside",pg,Hx=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rc=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=w.useContext(Hx),[d,p]=w.useState(null),f=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=w.useState({}),x=ut(t,E=>p(E)),h=Array.from(u.layers),[_]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=h.indexOf(_),v=d?h.indexOf(d):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,b=v>=m,S=K2(E=>{const A=E.target,C=[...u.branches].some(R=>R.contains(A));!b||C||(i==null||i(E),o==null||o(E),E.defaultPrevented||a==null||a())},f),k=Q2(E=>{const A=E.target;[...u.branches].some(R=>R.contains(A))||(s==null||s(E),o==null||o(E),E.defaultPrevented||a==null||a())},f);return q2(E=>{v===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},f),w.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(pg=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),fg(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=pg)}},[d,f,n,u]),w.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),fg())},[d,u]),w.useEffect(()=>{const E=()=>g({});return document.addEventListener(op,E),()=>document.removeEventListener(op,E)},[]),c.jsx(Oe.div,{...l,ref:x,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,k.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,S.onPointerDownCapture)})});Rc.displayName=B2;var G2="DismissableLayerBranch",qx=w.forwardRef((e,t)=>{const n=w.useContext(Hx),r=w.useRef(null),i=ut(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),c.jsx(Oe.div,{...e,ref:i})});qx.displayName=G2;function K2(e,t=globalThis==null?void 0:globalThis.document){const n=qt(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Bx(W2,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Q2(e,t=globalThis==null?void 0:globalThis.document){const n=qt(e),r=w.useRef(!1);return w.useEffect(()=>{const i=s=>{s.target&&!r.current&&Bx(V2,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fg(){const e=new CustomEvent(op);document.dispatchEvent(e)}function Bx(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Ux(i,s):i.dispatchEvent(s)}var Y2=Rc,X2=qx,Pr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},J2="Portal",nh=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=w.useState(!1);Pr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?bE.createPortal(c.jsx(Oe.div,{...r,ref:t}),o):null});nh.displayName=J2;function Z2(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Ss=e=>{const{present:t,children:n}=e,r=ek(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=ut(r.ref,tk(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:s}):null};Ss.displayName="Presence";function ek(e){const[t,n]=w.useState(),r=w.useRef({}),i=w.useRef(e),s=w.useRef("none"),o=e?"mounted":"unmounted",[a,l]=Z2(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Pa(r.current);s.current=a==="mounted"?u:"none"},[a]),Pr(()=>{const u=r.current,d=i.current;if(d!==e){const f=s.current,g=Pa(u);e?l("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&f!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Pr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,p=g=>{const h=Pa(r.current).includes(g.animationName);if(g.target===t&&h&&(l("ANIMATION_END"),!i.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},f=g=>{g.target===t&&(s.current=Pa(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Pa(e){return(e==null?void 0:e.animationName)||"none"}function tk(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Wx({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=nk({defaultProp:t,onChange:n}),s=e!==void 0,o=s?e:r,a=qt(n),l=w.useCallback(u=>{if(s){const p=typeof u=="function"?u(e):u;p!==e&&a(p)}else i(u)},[s,e,i,a]);return[o,l]}function nk({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,i=w.useRef(r),s=qt(t);return w.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),n}var rk="VisuallyHidden",Tc=w.forwardRef((e,t)=>
49c.jsx(Oe.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Tc.displayName=rk;var ik=Tc,rh="ToastProvider",[ih,sk,ok]=U2("Toast"),[Vx,HT]=na("Toast",[ok]),[ak,Oc]=Vx(rh),Gx=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=w.useState(null),[u,d]=w.useState(0),p=w.useRef(!1),f=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${rh}\`. Expected non-empty \`string\`.`),c.jsx(ih.Provider,{scope:t,children:c.jsx(ak,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>d(g=>g+1),[]),onToastRemove:w.useCallback(()=>d(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:f,children:o})})};Gx.displayName=rh;var Kx="ToastViewport",lk=["F8"],ap="toast.viewportPause",lp="toast.viewportResume",Qx=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=lk,label:i="Notifications ({hotkey})",...s}=e,o=Oc(Kx,n),a=sk(n),l=w.useRef(null),u=w.useRef(null),d=w.useRef(null),p=w.useRef(null),f=ut(t,p,o.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;w.useEffect(()=>{const _=m=>{var y;r.length!==0&&r.every(b=>m[b]||m.code===b)&&((y=p.current)==null||y.focus())};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[r]),w.useEffect(()=>{const _=l.current,m=p.current;if(x&&_&&m){const v=()=>{if(!o.isClosePausedRef.current){const k=new CustomEvent(ap);m.dispatchEvent(k),o.isClosePausedRef.current=!0}},y=()=>{if(o.isClosePausedRef.current){const k=new CustomEvent(lp);m.dispatchEvent(k),o.isClosePausedRef.current=!1}},b=k=>{!_.contains(k.relatedTarget)&&y()},S=()=>{_.contains(document.activeElement)||y()};return _.addEventListener("focusin",v),_.addEventListener("focusout",b),_.addEventListener("pointermove",v),_.addEventListener("pointerleave",S),window.addEventListener("blur",v),window.addEventListener("focus",y),()=>{_.removeEventListener("focusin",v),_.removeEventListener("focusout",b),_.removeEventListener("pointermove",v),_.removeEventListener("pointerleave",S),window.removeEventListener("blur",v),window.removeEventListener("focus",y)}}},[x,o.isClosePausedRef]);const h=w.useCallback(({tabbingDirection:_})=>{const v=a().map(y=>{const b=y.ref.current,S=[b,..._k(b)];return _==="forwards"?S:S.reverse()});return(_==="forwards"?v.reverse():v).flat()},[a]);return w.useEffect(()=>{const _=p.current;if(_){const m=v=>{var S,k,E;const y=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!y){const A=document.activeElement,C=v.shiftKey;if(v.target===_&&C){(S=u.current)==null||S.focus();return}const L=h({tabbingDirection:C?"backwards":"forwards"}),U=L.findIndex(I=>I===A);Cu(L.slice(U+1))?v.preventDefault():C?(k=u.current)==null||k.focus():(E=d.current)==null||E.focus()}};return _.addEventListener("keydown",m),()=>_.removeEventListener("keydown",m)}},[a,h]),c.jsxs(X2,{ref:l,role:"region","aria-label":i.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&c.jsx(cp,{ref:u,onFocusFromOutsideViewport:()=>{const _=h({tabbingDirection:"forwards"});Cu(_)}}),c.jsx(ih.Slot,{scope:n,children:c.jsx(Oe.ol,{tabIndex:-1,...s,ref:f})}),x&&c.jsx(cp,{ref:d,onFocusFromOutsideViewport:()=>{const _=h({tabbingDirection:"backwards"});Cu(_)}})]})});Qx.displayName=Kx;var Yx="ToastFocusProxy",cp=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Oc(Yx,n);return c.jsx(Tc,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});cp.displayName=Yx;var Ic="Toast",ck="toast.swipeStart",uk="toast.swipeMove",dk="toast.swipeCancel",pk="toast.swipeEnd",Xx=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a=!0,l]=Wx({prop:r,defaultProp:i,onChange:s});return c.jsx(Ss,{present:n||a,children:c.jsx(mk,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:qt(e.onPause),onResume:qt(e.onResume),onSwipeStart:ve(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ve(e.onSwipeMove,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:ve(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ve(e.onSwipeEnd,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),l(!1)})})})});Xx.displayName=Ic;var[fk,hk]=Vx(Ic,{onClose(){}}),mk=w.forwardRef((e,t)=>
49{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:p,onSwipeCancel:f,onSwipeEnd:g,...x}=e,h=Oc(Ic,n),[_,m]=w.useState(null),v=ut(t,I=>m(I)),y=w.useRef(null),b=w.useRef(null),S=i||h.duration,k=w.useRef(0),E=w.useRef(S),A=w.useRef(0),{onToastAdd:C,onToastRemove:R}=h,$=qt(()=>{var j;(_==null?void 0:_.contains(document.activeElement))&&((j=h.viewport)==null||j.focus()),o()}),L=w.useCallback(I=>{!I||I===1/0||(window.clearTimeout(A.current),k.current=new Date().getTime(),A.current=window.setTimeout($,I))},[$]);w.useEffect(()=>{const I=h.viewport;if(I){const j=()=>{L(E.current),u==null||u()},T=()=>{const F=new Date().getTime()-k.current;E.current=E.current-F,window.clearTimeout(A.current),l==null||l()};return I.addEventListener(ap,T),I.addEventListener(lp,j),()=>{I.removeEventListener(ap,T),I.removeEventListener(lp,j)}}},[h.viewport,S,l,u,L]),w.useEffect(()=>{s&&!h.isClosePausedRef.current&&L(S)},[s,S,h.isClosePausedRef,L]),w.useEffect(()=>(C(),()=>R()),[C,R]);const U=w.useMemo(()=>_?i1(_):null,[_]);return h.viewport?c.jsxs(c.Fragment,{children:[U&&c.jsx(gk,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),c.jsx(fk,{scope:n,onClose:$,children:ea.createPortal(c.jsx(ih.ItemSlot,{scope:n,children:c.jsx(Y2,{asChild:!0,onEscapeKeyDown:ve(a,()=>{h.isFocusedToastEscapeKeyDownRef.current||$(),h.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(Oe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":h.swipeDirection,...x,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ve(e.onKeyDown,I=>{I.key==="Escape"&&(a==null||a(I.nativeEvent),I.nativeEvent.defaultPrevented||(h.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ve(e.onPointerDown,I=>{I.button===0&&(y.current={x:I.clientX,y:I.clientY})}),onPointerMove:ve(e.onPointerMove,I=>{if(!y.current)return;const j=I.clientX-y.current.x,T=I.clientY-y.current.y,F=!!b.current,N=["left","right"].includes(h.swipeDirection),M=["left","up"].includes(h.swipeDirection)?Math.min:Math.max,B=N?M(0,j):0,K=N?0:M(0,T),ee=I.pointerType==="touch"?10:2,oe={x:B,y:K},le={originalEvent:I,delta:oe};F?(b.current=oe,Na(uk,p,le,{discrete:!1})):hg(oe,h.swipeDirection,ee)?(b.current=oe,Na(ck,d,le,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(j)>ee||Math.abs(T)>ee)&&(y.current=null)}),onPointerUp:ve(e.onPointerUp,I=>{const j=b.current,T=I.target;if(T.hasPointerCapture(I.pointerId)&&T.releasePointerCapture(I.pointerId),b.current=null,y.current=null,j){const F=I.currentTarget,N={originalEvent:I,delta:j};hg(j,h.swipeDirection,h.swipeThreshold)?Na(pk,g,N,{discrete:!0}):Na(dk,f,N,{discrete:!0}),F.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),h.viewport)})]}):null}),gk=e=>{const{__scopeToast:t,children:n,...r}=e,i=Oc(Ic,t),[s,o]=w.useState(!1),[a,l]=w.useState(!1);return xk(()=>o(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:c.jsx(nh,{asChild:!0,children:c.jsx(Tc,{...r,children:s&&c.jsxs(c.Fragment,{children:[i.label," ",n]})})})},vk="ToastTitle",Jx=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Oe.div,{...r,ref:t})});Jx.displayName=vk;var yk="ToastDescription",Zx=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Oe.div,{...r,ref:t})});Zx.displayName=yk;var e1="ToastAction",t1=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(r1,{altText:n,asChild:!0,children:c.jsx(sh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${e1}\`. Expected non-empty \`string\`.`),null)});t1.displayName=e1;var n1="ToastClose",sh=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=hk(n1,n);return c.jsx(r1,{asChild:!0,children:c.jsx(Oe.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,i.onClose)})})});sh.displayName=n1;var r1=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return c.jsx(Oe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function i1(e){const t=[];
49return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),wk(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...i1(r))}}),t}function Na(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Ux(i,s):i.dispatchEvent(s)}var hg=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function xk(e=()=>{}){const t=qt(e);Pr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function wk(e){return e.nodeType===e.ELEMENT_NODE}function _k(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Cu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var bk=Gx,s1=Qx,o1=Xx,a1=Jx,l1=Zx,c1=t1,u1=sh;function d1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=d1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function p1(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=d1(e))&&(r&&(r+=" "),r+=t);return r}const mg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,gg=p1,oh=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return gg(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],p=s==null?void 0:s[u];if(d===null)return null;const f=mg(d)||mg(p);return i[u][f]}),a=n&&Object.entries(n).reduce((u,d)=>{let[p,f]=d;return f===void 0||(u[p]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:p,className:f,...g}=d;return Object.entries(g).every(x=>{let[h,_]=x;return Array.isArray(_)?_.includes({...s,...a}[h]):{...s,...a}[h]===_})?[...u,p,f]:u},[]);return gg(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
50 * @license lucide-react v0.453.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const Sk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),f1=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
55 * @license lucide-react v0.453.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */var Ek={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"};/**
60 * @license lucide-react v0.453.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const kk=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>w.createElement("svg",{ref:l,...Ek,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:f
vendor: 5,664 bytes, lines 64-139
641("lucide",i),...a},[...o.map(([u,d])=>w.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
65 * @license lucide-react v0.453.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const Ee=(e,t)=>{const n=w.forwardRef(({className:r,...i},s)=>w.createElement(kk,{ref:s,iconNode:t,className:f1(`lucide-${Sk(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
70 * @license lucide-react v0.453.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const Ak=Ee("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
75 * @license lucide-react v0.453.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const ra=Ee("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
80 * @license lucide-react v0.453.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const Ck=Ee("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
85 * @license lucide-react v0.453.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const Pk=Ee("CircleDollarSign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);/**
90 * @license lucide-react v0.453.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const Nk=Ee("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
95 * @license lucide-react v0.453.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const jk=Ee("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
100 * @license lucide-react v0.453.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const Rk=Ee("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
105 * @license lucide-react v0.453.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const Ul=Ee("Headset",[["path",{d:"M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z",key:"12oyoe"}],["path",{d:"M21 16v2a4 4 0 0 1-4 4h-5",key:"1x7m43"}]]);/**
110 * @license lucide-react v0.453.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const Tk=Ee("HeartPulse",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]]);/**
115 * @license lucide-react v0.453.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const Ok=Ee("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
120 * @license lucide-react v0.453.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const Ik=Ee("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
125 * @license lucide-react v0.453.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const h1=Ee("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
130 * @license lucide-react v0.453.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const vg=Ee("Package2",[["path",{d:"M3 9h18v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z",key:"1ront0"}],["path",{d:"m3 9 2.45-4.9A2 2 0 0 1 7.24 3h9.52a2 2 0 0 1 1.8 1.1L21 9",key:"19h2x1"}],["path",{d:"M12 3v6",key:"1holv5"}]]);/**
135 * @license lucide-react v0.453.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const Mk=Ee("ShieldCheck",[["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
vendor: 4,338 bytes, lines 139-184
139y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
140 * @license lucide-react v0.453.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const Lk=Ee("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
145 * @license lucide-react v0.453.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const Fk=Ee("ShoppingBasket",[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]]);/**
150 * @license lucide-react v0.453.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const Dk=Ee("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
155 * @license lucide-react v0.453.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const zk=Ee("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
160 * @license lucide-react v0.453.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const yg=Ee("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
165 * @license lucide-react v0.453.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const $k=Ee("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
170 * @license lucide-react v0.453.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const Uk=Ee("UtensilsCrossed",[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]]);/**
175 * @license lucide-react v0.453.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const ah=Ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
180 * @license lucide-react v0.453.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const ja=Ee("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),lh="-",Hk=e=>{const t=Bk(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(lh);return a[0]===""&&a.length!==1&&a.shift(),m1(a,t)||qk(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},m1=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?m1(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(lh);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},xg=/^\[(.+)\]$/,qk=e=>{if(xg.test(e)){const t=xg.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Bk=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 4,205 bytes, line 184
184return Vk(Object.entries(e.classGroups),n).forEach(([s,o])=>{up(o,r,s,t)}),r},up=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:wg(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(Wk(i)){up(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{up(o,wg(t,s),n,r)})})},wg=(e,t)=>{let n=e;return t.split(lh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Wk=e=>e.isThemeGetter,Vk=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,Gk=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},g1="!",Kk=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,d=0,p;for(let _=0;_<a.length;_++){let m=a[_];if(u===0){if(m===i&&(r||a.slice(_,_+s)===t)){l.push(a.slice(d,_)),d=_+s;continue}if(m==="/"){p=_;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(d),g=f.startsWith(g1),x=g?f.substring(1):f,h=p&&p>d?p-d:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:x,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:o}):o},Qk=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Yk=e=>({cache:Gk(e.cacheSize),parseClassName:Kk(e),...Hk(e)}),Xk=/\s+/,Jk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(Xk);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:d,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:g}=n(u);let x=!!g,h=r(x?f.substring(0,g):f);if(!h){if(!x){a=u+(a.length>0?" "+a:a);continue}if(h=r(f),!h){a=u+(a.length>0?" "+a:a);continue}x=!1}const _=Qk(d).join(":"),m=p?_+g1:_,v=m+h;if(s.includes(v))continue;s.push(v);const y=i(h,x);for(let b=0;b<y.length;++b){const S=y[b];s.push(m+S)}a=u+(a.length>0?" "+a:a)}return a};function Zk(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=v1(t))&&(r&&(r+=" "),r+=n);return r}const v1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=v1(e[r]))&&(n&&(n+=" "),n+=t);return n};function eA(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((d,p)=>p(d),e());return n=Yk(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const d=Jk(l,n);return i(l,d),d}return function(){return s(Zk.apply(null,arguments))}}const ue=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},y1=/^\[(?:([a-z-]+):)?(.+)\]$/i,tA=/^\d+\/\d+$/,nA=new Set(["px","full","screen"]),rA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,iA=/\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$/,sA=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,oA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Pn=e=>Wi(e)||nA.has(e)||tA.test(e),Zn=e=>Es(e,"length",mA),Wi=e=>!!e&&!Number.isNaN(Number(e)),Pu=e=>Es(e,"number",Wi),Ms=e=>!!e&&Number.isInteger(Number(e)),lA=e=>e.endsWith("%")&&Wi(e.slice(0,-1)),Q=e=>y1.test(e),er=e=>rA.test(e),cA=new Set(["length","size","percentage"]),uA=e=>Es(e,cA,x1),dA=e=>Es(e,"position",x1),pA=new Set(["image","url"]),fA=e=>Es(e,pA,vA),hA=e=>Es(e,"",gA),Ls=()=>!0,Es=(e,t,n)=>{const r=y1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},mA=e=>iA.test(e)&&!sA.test(e),x1=()=>!1,gA=e=>oA.test(e),vA=e=>aA.test(e),yA=()=>{const e=ue("colors"),t=ue("spacing"),n=ue("blur"),r=ue("brightness"),i=ue("borderColor"),s=ue("borderRadius"),o=ue("borderSpacing"),a=ue("borderWidth"),l=ue("contrast"),u=ue("grayscale"),d=ue("hueRotate"),p=ue("invert"),f=ue("gap"),g=ue("gradientColorStops"),x=ue("gradientColorStopPositions"),h=ue("inset"),_=ue("margin"),m=ue("op
184acity"),v=ue("padding"),y=ue("saturate"),b=ue("scale"),S=ue("sepia"),k=ue("skew"),E=ue("space"),A=ue("translate"),C=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",Q,t],L=()=>[Q,t],U=()=>["",Pn,Zn],I=()=>["auto",Wi,Q],j=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],T=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",Q],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[Wi,Q];return{cacheSize:500,separator:":",theme:{colors:[Ls],spacing:[Pn,Zn],blur:["none","",er,Q],brightness:K(),borderColor:[e],borderRadius:["none","","full",er,Q],borderSpacing:L(),borderWidth:U(),contrast:K(),grayscale:M(),hueRotate:K(),invert:M(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[lA,Zn],inset:$(),margin:$(),opacity:K(),padding:L(),saturate:K(),scale:K(),sepia:M(),skew:K(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[er]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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"],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:[...j(),Q]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ms,Q]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",Ms,Q]}],"grid-cols":[{"grid-cols":[Ls]}],"col-start-end":[{col:["auto",{span:["full",Ms,Q]},Q]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Ls]}],"row-start-end":[{row:["auto",{span:[Ms,Q]},Q]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[er]},er]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",er,Zn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Pu]}],"font-family":[{font:[Ls]}],"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:["tighter","tight","normal","wide","wider","widest",Q]}],"line-clamp":[{"line-clamp":["none",Wi,Pu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Pn,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...T(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Pn,Zn]}],"underline-offset":[{"underline-offset":["auto",Pn,Q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...j(),dA]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",uA]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fA]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}
vendor: 5,172 bytes, line 184
184],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...T(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:T()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...T()]}],"outline-offset":[{"outline-offset":[Pn,Q]}],"outline-w":[{outline:[Pn,Zn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Pn,Zn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",er,hA]}],"shadow-color":[{shadow:[Ls]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",er,Q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[y]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Q]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Ms,Q]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"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-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-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"]}
vendor: 4,646 bytes, line 184
184],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",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Pn,Zn,Pu]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}},xA=eA(yA);function Wt(...e){return xA(p1(e))}const wA=bk,w1=w.forwardRef(({className:e,...t},n)=>c.jsx(s1,{ref:n,className:Wt("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),...t}));w1.displayName=s1.displayName;const _A=oh("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"}}),_1=w.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(o1,{ref:r,className:Wt(_A({variant:t}),e),...n}));_1.displayName=o1.displayName;const bA=w.forwardRef(({className:e,...t},n)=>c.jsx(c1,{ref:n,className:Wt("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),...t}));bA.displayName=c1.displayName;const b1=w.forwardRef(({className:e,...t},n)=>c.jsx(u1,{ref:n,className:Wt("absolute right-2 top-2 rounded-md p-1 text-foreground
184/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":"",...t,children:c.jsx(ah,{className:"h-4 w-4"})}));b1.displayName=u1.displayName;const S1=w.forwardRef(({className:e,...t},n)=>c.jsx(a1,{ref:n,className:Wt("text-sm font-semibold",e),...t}));S1.displayName=a1.displayName;const E1=w.forwardRef(({className:e,...t},n)=>c.jsx(l1,{ref:n,className:Wt("text-sm opacity-90",e),...t}));E1.displayName=l1.displayName;function SA(){const{toasts:e}=T2();return c.jsxs(wA,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return c.jsxs(_1,{...s,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(S1,{children:n}),r&&c.jsx(E1,{children:r})]}),i,c.jsx(b1,{})]},t)}),c.jsx(w1,{})]})}var EA=hy[" useId ".trim().toString()]||(()=>{}),kA=0;function Nu(e){const[t,n]=w.useState(EA());return Pr(()=>{n(r=>r??String(kA++))},[e]),t?`radix-${t}`:""}const AA=["top","right","bottom","left"],Nr=Math.min,Et=Math.max,Hl=Math.round,Ra=Math.floor,kn=e=>({x:e,y:e}
vendor: 11,725 bytes, line 184
184),CA={left:"right",right:"left",bottom:"top",top:"bottom"},PA={start:"end",end:"start"};function dp(e,t,n){return Et(e,Nr(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Kn(e){return e.split("-")[0]}function ks(e){return e.split("-")[1]}function ch(e){return e==="x"?"y":"x"}function uh(e){return e==="y"?"height":"width"}function jr(e){return["top","bottom"].includes(Kn(e))?"y":"x"}function dh(e){return ch(jr(e))}function NA(e,t,n){n===void 0&&(n=!1);const r=ks(e),i=dh(e),s=uh(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=ql(o)),[o,ql(o)]}function jA(e){const t=ql(e);return[pp(e),t,pp(t)]}function pp(e){return e.replace(/start|end/g,t=>PA[t])}function RA(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function TA(e,t,n,r){const i=ks(e);let s=RA(Kn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(pp)))),s}function ql(e){return e.replace(/left|right|bottom|top/g,t=>CA[t])}function OA(e){return{top:0,right:0,bottom:0,left:0,...e}}function k1(e){return typeof e!="number"?OA(e):{top:e,right:e,bottom:e,left:e}}function Bl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function _g(e,t,n){let{reference:r,floating:i}=e;const s=jr(t),o=dh(t),a=uh(o),l=Kn(t),u=s==="y",d=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let g;switch(l){case"top":g={x:d,y:r.y-i.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-i.width,y:p};break;default:g={x:r.x,y:r.y}}switch(ks(t)){case"start":g[o]-=f*(n&&u?-1:1);break;case"end":g[o]+=f*(n&&u?-1:1);break}return g}const IA=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:p}=_g(u,r,l),f=r,g={},x=0;for(let h=0;h<a.length;h++){const{name:_,fn:m}=a[h],{x:v,y,data:b,reset:S}=await m({x:d,y:p,initialPlacement:r,placement:f,strategy:i,middlewareData:g,rects:u,platform:o,elements:{reference:e,floating:t}});d=v??d,p=y??p,g={...g,[_]:{...g[_],...b}},S&&x<=50&&(x++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(u=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:d,y:p}=_g(u,f,l)),h=-1)}return{x:d,y:p,placement:f,strategy:i,middlewareData:g}};async function zo(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:g=0}=Gn(t,e),x=k1(g),_=a[f?p==="floating"?"reference":"floating":p],m=Bl(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(_)))==null||n?_:_.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),v=p==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),b=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},S=Bl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:l}):v);return{top:(m.top-S.top+x.top)/b.y,bottom:(S.bottom-m.bottom+x.bottom)/b.y,left:(m.left-S.left+x.left)/b.x,right:(S.right-m.right+x.right)/b.x}}const MA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=Gn(e,t)||{};if(u==null)return{};const p=k1(d),f={x:n,y:r},g=dh(i),x=uh(g),h=await o.getDimensions(u),_=g==="y",m=_?"top":"left",v=_?"bottom":"right",y=_?"clientHeight":"clientWidth",b=s.reference[x]+s.reference[g]-f[g]-s.floating[x],S=f[g]-s.reference[g],k=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let E=k?k[y]:0;(!E||!await(o.isElement==null?void 0:o.isElement(k)))&&(E=a.floating[y]||s.floating[x]);const A=b/2-S/2,C=E/2-h[x]/2-1,R=Nr(p[m],C),$=Nr(p[v],C),L=R,U=E-h[x]-$,I=E/2-h[x]/2+A,j=dp(L,I,U),T=!l.arrow&&ks(i)!=null&&I!==j&&s.reference[x]/2-(I<L?R:$)-h[x]/2<0,F=T?I<L?I-L:I-U:0;return{[g]:f[g]+F,data:{[g]:j,centerOffset:I-j-F,...T&&{alignmentOffset:F}},reset:T}}}),LA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:h=!0,..._}=Gn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Kn(i),v=jr(a),y=Kn(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=f||(y||!h?[ql(a)]:jA(a)),k=x!=="none";!f&&k&&S.push(...TA(a,h,x,b));const E=[a,...S],A=await zo(t,_),C=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&C.push(A[m]),p){const I=NA(i,o,b);C.push(A[I[0]],A[I[1]])}if(R=[...R,{placement:i,overflows:C}],!C.every(I=>I<=0)){var $,L;const I=((($=s.flip)==null?void 0:$.index)||0)+1,j=E[I];if(j)return{data:{index:I,overflows:R},reset:{placement:j}};let T=(L=R.filter(F=>F.overflows[0]<=0).sort((F,N)=>F.overflows[1]-N.overflows[1])[0])==null?void 0:L.placement;if(!T)switch(g){case"bestFit":{var U;const F=(U=R.filter(N=>{if(k){const M=jr(N.placement);return M===v||M==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(M=>M>0).reduce((M,B)=>M+B,0)]).sort((N,M)=>N[1]-M[1])[0])==null?void 0:U[0];F&&(T=F);break}case"initialPlacement":T=a;break}if(i!==T)return{reset:{placement:T}}}return{}}}};function bg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sg(e){return AA.some(t=>e[t]>=0)}const FA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Gn(e,t);switch(r){case"referenceHidden":{const s=await zo(t,{...i,elementContext:"reference"}),o=bg(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Sg(o)}}}case"escaped":{const s=await zo(t,{...i,altBoundary:!0}),o=bg(s,n.floating);return{data:{escapedOffsets:o,escaped:Sg(o)}}}default:return{}}}}};async function DA(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Kn(n),a=ks(n),l=jr(n)==="y",u=["left","top"].includes(o)?-1:1,d=s&&l?-1:1,p=Gn(t,e);let{mainAxis:f,crossAxis:g,alignmentAxis:x}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof x=="number"&&(g=a==="end"?x*-1:x),l?{x:g*d,y:f*u}:{x:f*u,y:g*d}}const zA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await DA(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},$A=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:_=>{let{x:m,y:v}=_;return{x:m,y:v}}},...l}=Gn(e,t),u={x:n,y:r},d=await zo(t,l),p=jr(Kn(i)),f=ch(p);let g=u[f],x=u[p];if(s){const _=f==="y"?"top":"left",m=f==="y"?"bottom":"right",v=g+d[_],y=g-d[m];g=dp(v,g,y)}if(o){const _=p==="y"?"top":"left",m=p==="y"?"bottom":"right",v=x+d[_],y=x-d[m];x=dp(v,x,y)}const h=a.fn({...t,[f]:g,[p]:x});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:s,[p]:o}}}}}},UA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Gn(e,t),d={x:n,y:r},p=jr(i),f=ch(p);let g=d[f],x=d[p];const h=Gn(a,t),_=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=f==="y"?"height":"width",b=s.reference[f]-s.floating[y]+_.mainAxis,S=s.reference[f]+s.reference[y]-_.mainAxis;g<b?g=b:g>S&&(g=S)}if(u){var m,v;const y=f==="y"?"width":"height",b=["top","left"].includes(Kn(i)),S=s.reference[p]-s.floating[y]+(b&&((m=o.offset)==null?void 0:m[p])||0)+(b?0:_.crossAxis),k=s.reference[p]+s.reference[y]+(b?0:((v=o.offset)==null?void 0:v[p])||0)-(b?_.crossAxis:0);x<S?x=S:x>k&&(x=k)}return{[f]:g,[p]:x}}}},HA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=Gn(e,t),d=await zo(t,u),p=Kn(i),f=ks(i),g=jr(i)==="y",{width:x,height:h}=s.floating;let _,m;p==="top"||p==="bottom"?(_=p,m=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=p,_=f==="end"?"top":"bottom");const v=h-d.top-d.bottom,y=x-d.left-d.right,b=Nr(h-d[_],v),S=Nr(x-d[m],y),k=!t.middlewareData.shift;let E=b,A=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=v),k&&!f){const R=Et(d.left,0),$=Et(d.right,0),L=Et(d.top,0),U=Et(d.bottom,0);g?A=x-2*(R!==0||$!==0?R+$:Et(d.left,d.right)):E=h-2*(L!==0||U!==0?L+U:Et(d.top,d.bottom))}await l({...t,availableWidth:A,availableHeight:E});const C=await o.getDimensions(a.floating);return x!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function Mc(){return typeof window<"u"}function As(e){return A1(e)?(e.nodeName||"").toLowerCase():"#document"}function Pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Cn(e){var t;return(t=(A1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function A1(e){return Mc()?e instanceof Node||e instanceof Pt(e).Node:!1}function an(e){return Mc()?e instanceof Element||e instanceof Pt(e).Element:!1}function An(e){return Mc()?e instanceof HTMLElement||e instanceof Pt(e).HTMLElement:!1}function Eg(e){return!Mc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Pt(e).ShadowRoot}function ia(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ln(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function qA(e){return["table","td","th"].includes(As(e))}function Lc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ph(e){const t=fh(),n=an(e)?ln(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function BA(e){let t=Rr(e);for(;An(t)&&!fs(t);){if(ph(t))return t;if(Lc(t))return null;t=Rr(t)}return null}function fh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fs(e){return["html","body","#document"].includes(As(e))}function ln(e){return Pt(e).getComputedStyle(e)}function Fc(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rr(e){if(As(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Eg(e)&&e.host||Cn(e);return Eg(t)?t.host:t}function C1(e){const t=Rr(e);return fs(t)?e.ownerDocument?e.ownerDocument.body:e.body:An(t)&&ia(t)?t:C1(t)}function $o(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=C1(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=Pt(i);if(s){const a=fp(o);
vendor: 4,111 bytes, line 184
184return t.concat(o,o.visualViewport||[],ia(i)?i:[],a&&n?$o(a):[])}return t.concat(i,$o(i,[],n))}function fp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function P1(e){const t=ln(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=An(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Hl(n)!==s||Hl(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function hh(e){return an(e)?e:e.contextElement}function Vi(e){const t=hh(e);if(!An(t))return kn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=P1(t);let o=(s?Hl(n.width):n.width)/r,a=(s?Hl(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const WA=kn(0);function N1(e){const t=Pt(e);return!fh()||!t.visualViewport?WA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function VA(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Pt(e)?!1:t}function si(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=hh(e);let o=kn(1);t&&(r?an(r)&&(o=Vi(r)):o=Vi(e));const a=VA(s,n,r)?N1(s):kn(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,d=i.width/o.x,p=i.height/o.y;if(s){const f=Pt(s),g=r&&an(r)?Pt(r):r;let x=f,h=fp(x);for(;h&&r&&g!==x;){const _=Vi(h),m=h.getBoundingClientRect(),v=ln(h),y=m.left+(h.clientLeft+parseFloat(v.paddingLeft))*_.x,b=m.top+(h.clientTop+parseFloat(v.paddingTop))*_.y;l*=_.x,u*=_.y,d*=_.x,p*=_.y,l+=y,u+=b,x=Pt(h),h=fp(x)}}return Bl({width:d,height:p,x:l,y:u})}function mh(e,t){const n=Fc(e).scrollLeft;return t?t.left+n:si(Cn(e)).left+n}function j1(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:mh(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function GA(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Cn(r),a=t?Lc(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=kn(1);const d=kn(0),p=An(r);if((p||!p&&!s)&&((As(r)!=="body"||ia(o))&&(l=Fc(r)),An(r))){const g=si(r);u=Vi(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}const f=o&&!p&&!s?j1(o,l,!0):kn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-l.scrollTop*u.y+d.y+f.y}}function KA(e){return Array.from(e.getClientRects())}function QA(e){const t=Cn(e),n=Fc(e),r=e.ownerDocument.body,i=Et(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Et(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+mh(e);const a=-n.scrollTop;return ln(r).direction==="rtl"&&(o+=Et(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function YA(e,t){const n=Pt(e),r=Cn(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=fh();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function XA(e,t){const n=si(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=An(e)?Vi(e):kn(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function kg(e,t,n){let r;if(t==="viewport")r=YA(e,n);else if(t==="document")r=QA(Cn(e));else if(an(t))r=XA(t,n);else{const i=N1(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Bl(r)}function R1(e,t){const n=Rr(e);return n===t||!an(n)||fs(n)?!1:ln(n).position==="fixed"||R1(n,t)}function JA(e,t){const n=t.get(e);if(n)return n;let r=$o(e,[],!1).filter(a=>an(a)&&As(a)!=="body"),i=null;const s=ln(e).position==="fixed";let o=s?Rr(e):e;for(;an(o)&&!fs(o);){const a=ln(o),l=ph(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ia(o)&&!l&&R1(e,o))?r=r.filter(d=>d!==o):i=a,o=Rr(o)}return t.set(e,r),r}function ZA(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Lc(t)?[]:JA(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,d)=>{const p=kg(t,d,i);return u.top=Et(p.top,u.top),u.right=Nr(p.right,u.right),u.bottom=Nr(p.bottom,u.bottom),u.left=Et(p.left,u.left),u},kg(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function eC(e){const{width:t,height:n}=P1(e);return{width:t,height:n}}
vendor: 9,750 bytes, line 184
184function tC(e,t,n){const r=An(t),i=Cn(t),s=n==="fixed",o=si(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=kn(0);if(r||!r&&!s)if((As(t)!=="body"||ia(i))&&(a=Fc(t)),r){const f=si(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else i&&(l.x=mh(i));const u=i&&!r&&!s?j1(i,a):kn(0),d=o.left+a.scrollLeft-l.x-u.x,p=o.top+a.scrollTop-l.y-u.y;return{x:d,y:p,width:o.width,height:o.height}}function ju(e){return ln(e).position==="static"}function Ag(e,t){if(!An(e)||ln(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Cn(e)===n&&(n=n.ownerDocument.body),n}function T1(e,t){const n=Pt(e);if(Lc(e))return n;if(!An(e)){let i=Rr(e);for(;i&&!fs(i);){if(an(i)&&!ju(i))return i;i=Rr(i)}return n}let r=Ag(e,t);for(;r&&qA(r)&&ju(r);)r=Ag(r,t);return r&&fs(r)&&ju(r)&&!ph(r)?n:r||BA(e)||n}const nC=async function(e){const t=this.getOffsetParent||T1,n=this.getDimensions,r=await n(e.floating);return{reference:tC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rC(e){return ln(e).direction==="rtl"}const iC={convertOffsetParentRelativeRectToViewportRelativeRect:GA,getDocumentElement:Cn,getClippingRect:ZA,getOffsetParent:T1,getElementRects:nC,getClientRects:KA,getDimensions:eC,getScale:Vi,isElement:an,isRTL:rC};function O1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sC(e,t){let n=null,r;const i=Cn(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:p,width:f,height:g}=u;if(a||t(),!f||!g)return;const x=Ra(p),h=Ra(i.clientWidth-(d+f)),_=Ra(i.clientHeight-(p+g)),m=Ra(d),y={rootMargin:-x+"px "+-h+"px "+-_+"px "+-m+"px",threshold:Et(0,Nr(1,l))||1};let b=!0;function S(k){const E=k[0].intersectionRatio;if(E!==l){if(!b)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!O1(u,e.getBoundingClientRect())&&o(),b=!1}try{n=new IntersectionObserver(S,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return o(!0),s}function oC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=hh(e),d=i||s?[...u?$o(u):[],...$o(t)]:[];d.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const p=u&&a?sC(u,n):null;let f=-1,g=null;o&&(g=new ResizeObserver(m=>{let[v]=m;v&&v.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var y;(y=g)==null||y.observe(t)})),n()}),u&&!l&&g.observe(u),g.observe(t));let x,h=l?si(e):null;l&&_();function _(){const m=si(e);h&&!O1(h,m)&&n(),h=m,x=requestAnimationFrame(_)}return n(),()=>{var m;d.forEach(v=>{i&&v.removeEventListener("scroll",n),s&&v.removeEventListener("resize",n)}),p==null||p(),(m=g)==null||m.disconnect(),g=null,l&&cancelAnimationFrame(x)}}const aC=zA,lC=$A,cC=LA,uC=HA,dC=FA,Cg=MA,pC=UA,fC=(e,t,n)=>{const r=new Map,i={platform:iC,...n},s={...i.platform,_c:r};return IA(e,t,{...i,platform:s})};var al=typeof document<"u"?w.useLayoutEffect:w.useEffect;function Wl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Wl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Wl(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function I1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pg(e,t){const n=I1(e);return Math.round(t*n)/n}function Ru(e){const t=w.useRef(e);return al(()=>{t.current=e}),t}function hC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,p]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,g]=w.useState(r);Wl(f,r)||g(r);const[x,h]=w.useState(null),[_,m]=w.useState(null),v=w.useCallback(N=>{N!==k.current&&(k.current=N,h(N))},[]),y=w.useCallback(N=>{N!==E.current&&(E.current=N,m(N))},[]),b=s||x,S=o||_,k=w.useRef(null),E=w.useRef(null),A=w.useRef(d),C=l!=null,R=Ru(l),$=Ru(i),L=Ru(u),U=w.useCallback(()=>{if(!k.current||!E.current)return;const N={placement:t,strategy:n,middleware:f};$.current&&(N.platform=$.current),fC(k.current,E.current,N).then(M=>{const B={...M,isPositioned:L.current!==!1};I.current&&!Wl(A.current,B)&&(A.current=B,ea.flushSync(()=>{p(B)}))})},[f,t,n,$,L]);al(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(N=>({...N,isPositioned:!1})))},[u]);const I=w.useRef(!1);al(()=>(I.current=!0,()=>{I.current=!1}),[]),al(()=>{if(b&&(k.current=b),S&&(E.current=S),b&&S){if(R.current)return R.current(b,S,U);U()}},[b,S,U,R,C]);const j=w.useMemo(()=>({reference:k,floating:E,setReference:v,setFloating:y}),[v,y]),T=w.useMemo(()=>({reference:b,floating:S}),[b,S]),F=w.useMemo(()=>{const N={position:n,left:0,top:0};if(!T.floating)return N;const M=Pg(T.floating,d.x),B=Pg(T.floating,d.y);return a?{...N,transform:"translate("+M+"px, "+B+"px)",...I1(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:B}},[n,a,T.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:U,refs:j,elements:T,floatingStyles:F}),[d,U,j,T,F])}const mC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Cg({element:r.current,padding:i}).fn(n):{}:r?Cg({element:r,padding:i}).fn(n):{}}}},gC=(e,t)=>({...aC(e),options:[e,t]}),vC=(e,t)=>({...lC(e),options:[e,t]}),yC=(e,t)=>({...pC(e),options:[e,t]}),xC=(e,t)=>({...cC(e),options:[e,t]}),wC=(e,t)=>({...uC(e),options:[e,t]}),_C=(e,t)=>({...dC(e),options:[e,t]}),bC=(e,t)=>({...mC(e),options:[e,t]});var SC="Arrow",M1=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return c.jsx(Oe.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});M1.displayName=SC;var EC=M1;function kC(e){const[t,n]=w.useState(void 0);return Pr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var gh="Popper",[L1,F1]=na(gh),[AC,D1]=L1(gh),z1=e=>{const{__scopePopper:t,children:n}=e,[r,i]=w.useState(null);return c.jsx(AC,{scope:t,anchor:r,onAnchorChange:i,children:n})};z1.displayName=gh;var $1="PopperAnchor",U1=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=D1($1,n),o=w.useRef(null),a=ut(t,o);return w.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:c.jsx(Oe.div,{...i,ref:a})});U1.displayName=$1;var vh="PopperContent",[CC,PC]=L1(vh),H1=w.forwardRef((e,t)=>{var tt,Me,wt,un,sa,Vt;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:g="optimized",onPlaced:x,...h}=e,_=D1(vh,n),[m,v]=w.useState(null),y=ut(t,Mr=>v(Mr)),[b,S]=w.useState(null),k=kC(b),E=(k==null?void 0:k.width)??0,A=(k==null?void 0:k.height)??0,C=r+(s!=="center"?"-"+s:""),R=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},$=Array.isArray(u)?u:[u],L=$.length>0,U={padding:R,boundary:$.filter(jC),altBoundary:L},{refs:I,floatingStyles:j,placement:T,isPositioned:F,middlewareData:N}=hC({strategy:"fixed",placement:C,whileElementsMounted:(...Mr)=>oC(...Mr,{animationFrame:g==="always"}),elements:{reference:_.anchor},middleware:[gC({mainAxis:i+A,alignmentAxis:o}),l&&vC({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?yC():void 0,...U}),l&&xC({...U}),wC({...U,apply:({elements:Mr,rects:oa,availableWidth:Vc,availableHeight:dn})=>{const{width:Gc,height:aa}=oa.reference,Xn=Mr.floating.style;Xn.setProperty("--radix-popper-available-width",`${Vc}px`),Xn.setProperty("--radix-popper-available-height",`${dn}px`),Xn.setProperty("--radix-popper-anchor-width",`${Gc}px`),Xn.setProperty("--radix-popper-anchor-height",`${aa}px`)}}),b&&bC({element:b,padding:a}),RC({arrowWidth:E,arrowHeight:A}),f&&_C({strategy:"referenceHidden",...U})]}),[M,B]=W1(T),K=qt(x);Pr(()=>{F&&(K==null||K())},[F,K]);const ee=(tt=N.arrow)==null?void 0:tt.x,oe=(Me=N.arrow)==null?void 0:Me.y,le=((wt=N.arrow)==null?void 0:wt.centerOffset)!==0,[Ie,me]=w.useState();return Pr(()=>{m&&me(window.getComputedStyle(m).zIndex)},[m]),c.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...j,transform:F?j.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ie,"--radix-popper-transform-origin":[(un=N.transformOrigin)==null?void 0:un.x,(sa=N.transformOrigin)==null?void 0:sa.y].join(" "),...((Vt=N.hide)==null?void 0:Vt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(CC,{scope:n,placedSide:M,onArrowChange:S,arrowX:ee,arrowY:oe,shouldHideArrow:le,children:c.jsx(Oe.div,{"data-side":M,"data-align":B,...h,ref:y,style:{...h.style,animation:F?void 0:"none"}})})})});H1.displayName=vh;var q1="PopperArrow",NC={top:"bottom",right:"left",bottom:"top",left:"r
184ight"},B1=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=PC(q1,r),o=NC[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(EC,{...i,ref:n,style:{...i.style,display:"block"}})})});B1.displayName=q1;function jC(e){return e!==null}var RC=e=>({name:"transformOrigin",options:e,fn(t){var _,m,v;const{placement:n,rects:r,middlewareData:i}=t,o=((_=i.arrow)==null?void 0:_.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,d]=W1(n),p={start:"0%",center:"50%",end:"100%"}[d],f=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,g=(((v=i.arrow)==null?void 0:v.y)??0)+l/2;let x="",h="";return u==="bottom"?(x=o?p:`${f}px`,h=`${-l}px`):u==="top"?(x=o?p:`${f}px`,h=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,h=o?p:`${g}px`):u==="left"&&(x=`${r.floating.width+l}px`,h=o?p:`${g}px`),{data:{x,y:h}}}});function W1(e){const[t,n="center"]=e.split("-");return[t,n]}var qT=z1,TC=U1,OC=H1,IC=B1,[Dc,BT]=na("Tooltip",[F1]),yh=F1(),V1="TooltipProvider",MC=700,Ng="tooltip.open",[LC,G1]=Dc(V1),K1=e=>{const{__scopeTooltip:t,delayDuration:n=MC,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=w.useRef(!0),a=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(LC,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};K1.displayName=V1;var Q1="Tooltip",[WT,zc]=Dc(Q1),hp="TooltipTrigger",FC=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=zc(hp,n),s=G1(hp,n),o=yh(n),a=w.useRef(null),l=ut(t,a,i.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),p=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),c.jsx(TC,{asChild:!0,...o,children:c.jsx(Oe.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:ve(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:ve(e.onBlur,i.onClose),onClick:ve(e.onClick,i.onClose)})})});FC.displayName=hp;var DC="TooltipPortal",[VT,zC]=Dc(DC,{forceMount:void 0}),hs="TooltipContent",Y1=w.forwardRef((e,t)=>{const n=zC(hs,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=zc(hs,e.__scopeTooltip);return c.jsx(Ss,{present:r||o.open,children:o.disableHoverableContent?c.jsx(X1,{side:i,...s,ref:t}):c.jsx($C,{side:i,...s,ref:t})})}),$C=w.forwardRef((e,t)=>{const n=zc(hs,e.__scopeTooltip),r=G1(hs,e.__scopeTooltip),i=w.useRef(null),s=ut(t,i),[o,a]=w.useState(null),{trigger:l,onClose:u}=n,d=i.current,{onPointerInTransitChange:p}=r,f=w.useCallback(()=>{a(null),p(!1)},[p]),g=w.useCallback((x,h)=>{const _=x.currentTarget,m={x:x.clientX,y:x.clientY},v=WC(m,_.getBoundingClientRect()),y=VC(m,v),b=GC(h.getBoundingClientRect()),S=QC([...y,...b]);a(S),p(!0)},[p]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(l&&d){const x=_=>g(_,d),h=_=>g(_,l);return l.addEventListener("pointerleave",x),d.addEventListener("pointerleave",h),()=>{l.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",h)}}},[l,d,g,f]),w.useEffect(()=>{if(o){const x=h=>{const _=h.target,m={x:h.clientX,y:h.clientY},v=(l==null?void 0:l.contains(_))||(d==null?void 0:d.contains(_)),y=!KC(m,o);v?f():y&&(f(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,d,o,u,f]),c.jsx(X1,{...e,ref:s})}),[UC,HC]=Dc(Q1,{isInside:!1}),qC=F2("TooltipContent"),X1=w.forwardRef((e,t)=>
vendor: 4,299 bytes, line 184
184{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=zc(hs,n),u=yh(n),{onClose:d}=l;return w.useEffect(()=>(document.addEventListener(Ng,d),()=>document.removeEventListener(Ng,d)),[d]),w.useEffect(()=>{if(l.trigger){const p=f=>{const g=f.target;g!=null&&g.contains(l.trigger)&&d()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,d]),c.jsx(Rc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:p=>p.preventDefault(),onDismiss:d,children:c.jsxs(OC,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.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(qC,{children:r}),c.jsx(UC,{scope:n,isInside:!0,children:c.jsx(ik,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Y1.displayName=hs;var J1="TooltipArrow",BC=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=yh(n);return HC(J1,n).isInside?null:c.jsx(IC,{...i,...r,ref:t})});BC.displayName=J1;function WC(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function VC(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function GC(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function KC(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s].x,l=t[s].y,u=t[o].x,d=t[o].y;l>r!=d>r&&n<(u-a)*(r-l)/(d-l)+a&&(i=!i)}return i}function QC(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),YC(t)}function YC(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var XC=K1,Z1=Y1;const JC=XC,ZC=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(Z1,{ref:r,sideOffset:t,className:Wt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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),...n}));ZC.displayName=Z1.displayName;const eP={theme:"system",setTheme:()=>null},tP=w.createContext(eP);function nP({children:e,defaultTheme:t="system",storageKey:n="supermile-ui-theme",...r}){w.useState("light"),w.useEffect(()=>{const s=window.document.documentElement;s.classList.remove("light","dark"),s.classList.add("light"),localStorage.setItem(n,"light")},[n]);const i={theme:"light",setTheme:s=>{}};return c.jsx(tP.Provider,{...r,value:i,children:e})}const rP={"nav.home":{en:"Home",ar:"الرئيسية"},"nav.insideSupermile":{en:"Inside Supermile",ar:"داخل سوبرمايل"},"nav.contact":{en:"Contact",ar:"اتصل بنا"},"nav.signIn":{en:"Sign In",ar:"تسجيل الدخول"},"nav.signUp":{en:"Sign Up",ar:"إنشاء حساب"},"nav.products":{en:"Products",ar:"المنتجات"},"nav.demand":{en:"Demand",ar:"الطلب"},"nav.supply":{en:"Supply",ar:"العرض"}
184,"nav.company":{en:"Company",ar:"الشركة"},"nav.aboutSupermile":{en:"About Supermile",ar:"عن سوبرمايل"},"nav.careers":{en:"Careers",ar:"الوظائف"},"about.titleRed":{en:"Our Word.",ar:"كلمتنا."},"about.titleNavy":{en:"Be Sure.",ar:"كن متأكداً."},"about.p1":{en:"Supermile is the premier go-to destination for quick commerce and last-mile delivery optimization in Saudi Arabia. When it comes to ensuring your products reach customers swiftly and efficiently, our AI-driven platform has the expertise to get the job done right the first time. We take a comprehensive approach to logistics, offering smart routing, predictive analytics, and seamless integrations with fleet partners through our asset-light, no-fleet model.",ar:"سوبرمايل هي الوجهة الأولى لتحسين التجارة السريعة وتقنيات توصيل الميل الأخير في المملكة العربية السعودية. عندما يتعلق الأمر بضمان وصول منتجاتك إلى العملاء بسرعة وكفاءة، فإن منصتنا المدعومة بالذكاء الاصطناعي تمتلك الخبرة لإنجاز المهمة بشكل صحيح من المرة الأولى. نحن نتبع نهجاً شاملاً في الخدمات اللوجستية، مقدمين توجيهات ذكية، تحليلات تنبؤية، وتكاملات سلسة مع شركاء الأساطيل من خلال نموذجنا الخفيف بدون أسطول."},"about.p2":{en:"At Supermile, we understand the importance of timely delivery and operational efficiency. While we work swiftly to optimize your delivery operations, we never compromise on the quality of our service. Our team is always ready to go the extra mile, ensuring that our customers—whether retailers, restaurants, or grocery stores—receive exceptional solutions.",ar:"في سوبرمايل، ندرك أهمية التوصيل في الوقت المحدد والكفاءة التشغيلية. بينما نعمل بسرعة لتحسين عمليات التوصيل الخاصة بك، لا نتنازل أبداً عن جودة خدماتنا. فريقنا دائماً مستعد لتقديم المزيد، لضمان حصول عملائنا-سواء كانوا تجار تجزئة، مطاعم، أو متاجر بقالة-على حلول استثنائية."},"about.p3":{en:"With a focus on customer satisfaction, we have set high standards in the quick commerce industry. Our goal is to provide personalized, technology-driven services that cater to the specific needs of our customers. Whether you are a small business or a large enterprise, we have the expertise to effectively optimize your last-mile delivery.",ar:"مع التركيز على رضا العملاء، وضعنا معايير عالية في صناعة التجارة السريعة. هدفنا هو تقديم خدمات مخصصة مدعومة بالتكنولوجيا تلبي الاحتياجات المحددة لعملائنا. سواء كنت شركة صغيرة أو مؤسسة كبيرة، لدينا الخبرة لتحسين توصيلك في الميل الأخير بفعالية."},"about.promiseRed":{en:"Our Promise.",ar:"وعدنا."},"about.promiseNavy":{en:"Be Confident.",ar:"كن مطمئناً."},"about.promise.p1":{en:"At Supermile, we understand that optimizing last-mile delivery is the best way to keep your business competitive and avoid costly delays. That is why we offer a wide range of services, including intelligent dispatch, real-time tracking, demand forecasting, and SLA compliance monitoring. Moreover, every service comes backed by our satisfaction guarantee, giving you the peace of mind that your deliveries are as efficient as possible.",ar:"في سوبرمايل، ندرك أن تحسين التوصيل في الميل الأخير هو أفضل طريقة للحفاظ على تنافسية عملك وتجنب التأخيرات المكلفة. لهذا السبب، نحن نقدم مجموعة واسعة من الخدمات، بما في ذلك الإرسال الذكيØ
184Œ التتبع في الوقت الفعلي، التنبؤ بالطلب، ومراقبة الالتزام باتفاقيات مستوى الخدمة، علاوة على ذلك، كل خدمة مدعومة بضمان الرضا الخاص بنا، مما يمنحك راحة البال بأن عمليات التوصيل الخاصة بك فعّالة قدر الإمكان."},"about.promise.p2":{en:"We also specialize in scalability, seamlessly connecting businesses with fleet partners to handle high order volumes. Our team is highly experienced in managing quick commerce logistics for various industries, so you can rest assured that your operations are in safe hands. In addition, we use only the best AI-driven tools and technologies available, ensuring your delivery operations run smoothly for years to come.",ar:"نحن متخصصون أيضاً في التوسع، حيث نربط الشركات بشركاء الأساطيل بسلاسة للتعامل مع أحجام الطلبات العالية. فريقنا يمتلك خبرة عالية في إدارة الخدمات اللوجستية للتجارة السريعة لمختلف الصناعات، لذا يمكنك أن تطمئن بأن عملياتك في أيدٍ أمينة. بالإضافة إلى ذلك، نحن نستخدم أفضل الأدوات والتقنيات المدعومة بالذكاء الاصطناعي المتوفرة، مما يضمن تشغيل عمليات التوصيل الخاصة بك بسلاسة لأعوام قادمة."},"about.promise.p3":{en:"At Supermile, we understand that your delivery operations are more than just a process; they are an investment in your customer satisfaction. That is why we pride ourselves on excellent customer service, offering personalized solutions to fit your needs and budget. Whether you are looking for a one-time optimization or ongoing quick commerce support, our team of professionals will work with you to ensure your operations are running optimally.",ar:"في سوبرمايل، ندرك أن عمليات التوصيل الخاصة بك هي أكثر من مجرد عملية؛ إنها استثمار في رضا عملائك. لهذا السبب نفخر بخدمة العملاء الممتازة، مقدمين حلولاً مخصصة تناسب احتياجاتك وميزانيتك. سواء كنت تبحث عن تحسين لمرة واحدة أو دعم مستمر للتجارة السريعة، سيعمل فريقنا من المحترفين معك لضمان تشغيل عملياتك بأفضل شكل ممكن."},"hero.tagline":{en:"LEADING THE FUTURE OF LAST-MILE",ar:"نقود مستقبل النقل السريع"},"hero.title":{en:"Last-Mile Operating System",ar:"نظام تشغيل الميل الأخير"},"hero.subtitle":{en:"Saudi Arabia's Last-Mile Infrastructure",ar:"بنية تحتية متطورة للميل الأخير في المملكة العربية السعودية"},"hero.description":{en:"Saudi Arabia's largest platform of aggregated logistics operators and marketplaces with AI-driven last-mile ecosystem — engineered to boost utilization, maximize returns, and optimize costs.",ar:"أكبر منصة في المملكة العربية السعودية تجمع شركات الخدمات اللوجستية والأسواق الإلكترونية، مع نظام بيئي للميل الأخير مدعوم بالذكاء الاصطناعي، مصمم لتعزيز الاستخدام، وتحقيق أقصى قدر من العائدات، وترشيد التكاليف."},"hero.aiPowered":{en:"AI-Powered Precision",ar:"الدقة المدعومة بالذكاء الاصطناعي"},"hero.cta":{en:"Start Optimizing Now",ar:"ابدأ التحسين الآن"},"features.utilizeTitle":{en:"Utilize Smarter, Earn Higher, Win Bigger",ar:"استخدم بذكاء، واربح أكثر، وحقق نجاحات أكبر"},"features.utilizeDesc":{en:"With AI-powered precision and a performance-first platform, Supermile puts partners in command — managing fleets, optimizing operations, and scaling without limits. Built to grow stronger, earn faster, and dominate every mile.",ar:"بفضل الدقة المدعومة بالذكاء الاصطناعي ومنصة تركز على الأداء، تُمكّن سوبرمايل شركاءها من إدارة أساطيلهم، وتحسين عملياتهم، والتوسع بلا حدود. صُممت سوبرمايل لتنمو بقوة أكبر، وتربح بشكل أسرع، وتسيطر على كل ميل."},"features.buildEcosystem":{en:"Build Your Own Delivery Ecosystem",ar:"أنشئ منظومة توصيل متكاملة"},"features.scaleSmarter":{en:"Scale Smarter Logistics: Automate Your Decisions",ar:"وسّع نطاق خدماتك اللوجستية بذكاء: أتمتة قراراتك"},"features.increaseUtilization":{en:"Increase Utilization & Boost Earnings",ar:"ارفع كفاءة الاستخدام وعزز أرباحك"},"features.streamlineWorkforce":{en:"Streamline Workforce & Enforce Compliance",ar:"حسّن إدارة القوى العاملة والتزم بالمعايير"},"core.title":{en:"Core Features",ar:"المزايا الأساسية"},"core.subtitle":{en:"Make your Last-Mile experience, most seamless with highest returns",ar:"اجعل تجربة التوصيل للميل الأخير أكثر سلاسة وأعلى عائد"},"core.gatewayTitle":{en:"Gateway to Largest Last-Mile Network",ar:"بوابة لأكبر شبكة توصيل للميل الأخير"}
184,"core.gatewayDesc":{en:"Connect instantly to Saudi Arabia's most expansive network of delivery service providers and marketplaces, all through one unified platform. Full visibility, zero friction.",ar:"تواصل فورًا مع أوسع شبكة لمزودي خدمات التوصيل والأسواق الإلكترونية في المملكة العربية السعودية، كل ذلك عبر منصة موحدة. رؤية شاملة، بدون أي عوائق."},"core.scalableTitle":{en:"Scalable Last-Mile Ecosystem",ar:"منظومة توصيل للميل الأخير قابلة للتوسع"},"core.scalableDesc":{en:"Orchestrate delivery management with precision. Supermile connects and adapts across multiple providers, cutting costs and boosting agility through intelligent fleet control and scalable operations.",ar:"نظّم عمليات التوصيل بدقة متناهية. يربط نظام سوبرمايل بين العديد من مزودي الخدمات ويتكيف معهم، مما يقلل التكاليف ويعزز المرونة من خلال التحكم الذكي في الأسطول والعمليات القابلة للتوسع."},"core.apiTitle":{en:"API & AI Driven Operating System",ar:"نظام تشغيل مدعوم بواجهة برمجة التطبيقات والذكاء الاصطناعي"},"core.apiDesc":{en:"Advanced machine learning algorithms predict, adapt, and automate, giving you full operational control to reduce effort, increase precision, and maximize earnings.",ar:"خوارزميات متقدمة للتعلم الآلي تتنبأ وتتكيف وتؤتمت، مما يمنحك تحكمًا تشغيليًا كاملًا لتقليل الجهد وزيادة الدقة وتعظيم الأرباح."},"core.dataTitle":{en:"Data Science and Performance Intelligence",ar:"علم البيانات وذكاء الأداء"},"core.dataDesc":{en:"Real-time analytics and insights drive strategic decisions, monitor performance metrics, and identify optimization opportunities.",ar:"تحليلات ورؤى فورية تدعم القرارات الاستراتيجية، وتراقب مؤشرات الأداء، وتحدد فرص التحسين."},"portal.title":{en:"A Portal For Every Partner",ar:"بوابة لكل شريك"},"portal.desc":{en:"Whether you're managing retail operations or a delivery fleet, everything you need lives here. Access real-time insights, automate complex decisions, and oversee your entire network from one unified, intuitive dashboard. One login. Total control.",ar:"سواء كنت تدير عمليات البيع بالتجزئة أو أسطول توصيل، كل ما تحتاجه موجود هنا. احصل على رؤى فورية، وأتمت القرارات المعقدة، وأشرف على شبكتك بالكامل من لوحة تحكم واحدة وبديهية. تسجيل دخول واحد. تحكم كامل."},"chaos.title":{en:"Transform Chaos into Intelligence",ar:"حوّل الفوضى إلى ذكاء"},"chaos.subtitle":{en:"Watch raw operational data flow through our AI engine and emerge as actionable insights",ar:"شاهد تدفق البيانات التشغيلية الخام عبر محرك الذكاء الاصطناعي لدينا، واكتشف كيف تتحول إلى رؤى قابلة للتنفيذ."},"miles.badge":{en:"Miles Made Easy",ar:"تسهيل عمليات التوصيل"},"miles.title":{en:"Driving Efficiency in Last-Mile Logistics",ar:"رفع كفاءة خدمات التوصيل للميل الأخير"},"miles.desc":{en:"Saudi Arabia's preferred last-mile logistics platform — trusted by hundreds of businesses across quick commerce players, grocery chains, F&B enterprises, retail brands, and leading e-commerce players.",ar:"منصة التوصيل المفضلة في المملكة العربية السعودية لخدمات التوصيل للميل الأخير، تحظى بثقة مئات الشركات في مختلف القطاعات، من متاجر التجزئة السريعة وسلاسل البقالة إلى شركات الأغذية والمشروبات والعلامات التجارية الرائدة في مجال البيع بالتجزئة، وصولاً إلى كبرى شركات التجارة الإلكترونية."},"miles.million":{en:"Million",ar:"مليون"},"miles.stat1":{en:"Partners",ar:"شريك نجاح"},"miles.stat2":{en:"Drivers",ar:"سائقين"},"miles.stat3":{en:"More Earnings",ar:"زيادة الأرباح"},"miles.stat4":{en:"Reduction in Losses",ar:"تقليل الخسائر"},"anim.rawDataStream":{en:"Raw Data Stream",ar:"تدفق البيانات الخام"},"anim.scattered":{en:"Scattered Operations",ar:"عمليات متفرقة"},"anim.failed":{en:"Failed Transactions",ar:"معاملات فاشلة"},"anim.lowEarnings":{en:"Low Earnings",ar:"أرباح منخفضة"},"anim.unoptimized":{en:"Unoptimized Fleets",ar:"أساطيل غير مُحسّنة"},"anim.noTracking":{en:"No Tracking",ar:"لا يوجد تتبع"},"anim.complexPayments":{en:"Complex Payments",ar:"مدفوعات معقدة"},"anim.processing":{en:"PROCESSING",ar:"قيد المعالجة"},"anim.intelligentInsights":{en:"Intelligent Insights",ar:"رؤى ذكية"},"optimize.title":{en:"Optimizing the Future of Last-Mile",ar:"تحسين مستقبل خدمات التوصيل للميل الأخير"},"optimize.desc":{en:"Ensuring streamlined operations, improved efficie
184ncy and enhanced delivery accuracy to meet the requirements of modern supply chain management.",ar:"ضمان عمليات مبسطة، وكفاءة محسّنة، ودقة توصيل فائقة لتلبية متطلبات إدارة سلاسل التوريد الحديثة."},"optimize.orchestration":{en:"Orchestration",ar:"التنسيق"},"optimize.endToEnd":{en:"End to End Solutions",ar:"حلول شاملة"},"optimize.visibility":{en:"Visibility",ar:"الشفافية"},"optimize.agility":{en:"Agility",ar:"الجاهزية"},"optimize.resilience":{en:"Resilience",ar:"المرونة"},"optimize.scalability":{en:"Scalability",ar:"قابلية التوسع"},"optimize.optimization":{en:"Optimization",ar:"التحسين"},"optimize.dataDriven":{en:"Data Driven",ar:"قائم على البيانات"},"optimize.seamless":{en:"Seamless Integration",ar:"التكامل السلس"},"optimize.hyperconnectivity":{en:"Hyperconnectivity",ar:"الترابط الفائق"},"contact.title":{en:"Contact Us",ar:"تواصل معنا"},"contact.heroDesc":{en:"Get in touch with our team and we'll get back to you soon.",ar:"تواصل مع فريقنا وسنرد عليك قريبًا."},"contact.cardTitle":{en:"Get in Touch",ar:"تواصل معنا"},"contact.cardDesc":{en:"Fill out the form below and we'll get back to you within 24 hours.",ar:"املأ النموذج أدناه وسنرد عليك خلال 24 ساعة."},"contact.inquiryLabel":{en:"Inquiring About...",ar:"الاستفسار عن..."},"contact.inquiryPlaceholder":{en:"Select inquiry type",ar:"اختر نوع الاستفسار"},"contact.nameLabel":{en:"Name",ar:"الاسم"},"contact.namePlaceholder":{en:"Your full name",ar:"اسمك الكامل"},"contact.emailLabel":{en:"Email Address",ar:"البريد الإلكتروني"},"contact.emailPlaceholder":{en:"[email protected]",ar:"[email protected]"},"contact.phoneLabel":{en:"Phone Number",ar:"رقم الهاتف"},"contact.phonePlaceholder":{en:"+966 5X XXX XXXX",ar:"‏+966 5X XXX XXXX"},"contact.messageLabel":{en:"Message",ar:"الرسالة"},"contact.messagePlaceholder":{en:"Tell us about your business model, integration needs, or how we can collaborate...",ar:"أخبرنا عن نموذج عملك، واحتياجات التكامل، أو كيف يمكننا التعاون..."},"contact.sendButton":{en:"Send Message",ar:"إرسال الرسالة"},"contact.sending":{en:"Sending...",ar:"جارٍ الإرسال..."},"contact.toastSuccessTitle":{en:"Message Sent Successfully!",ar:"تم إرسال الرسالة بنجاح!"},"contact.toastSuccessDesc":{en:"Thank you for contacting us! We will get back to you soon.",ar:"شكرًا لتواصلك معنا! سنرد عليك قريبًا."},"contact.toastErrorTitle":{en:"Error",ar:"خطأ"},"contact.toastErrorDesc":{en:"Failed to send message. Please try again.",ar:"فشل إرسال الرسالة. يُرجى المحاولة مرة أخرى."},"contact.demo":{en:"Demo",ar:"عرض توضيحي"},"contact.opportunity":{en:"Opportunity",ar:"فرصة"},"contact.complaint":{en:"Complaint",ar:"شكوى"},"contact.suggestion":{en:"Suggestion",ar:"اقتراح"},"contact.investment":{en:"Investment",ar:"استثمار"},"is.allPosts":{en:"All Posts",ar:"جميع المنشورات"},"is.insights":{en:"Insights",ar:"رؤى"},"is.updates":{en:"Updates",ar:"تحديثات"},"is.tgaTitle":{en:"TGA Updates",ar:"تحديثات الهيئة العامة للنقل"},"is.tgaDesc":{en:"Latest updates from the Transport General Authority of Saudi Arabia",ar:"أحدث التحديثات من الهيئة العامة للنقل في المملكة العربية السعودية"},"is.moreContentTitle":{en:"More content coming soon...",ar:"المزيد من المحتوى قريبًا..."},"is.viewOnX":{en:"View on X",ar:"عرض على X"},"is.moreContentDesc":{en:"We're gearing up with fresh updates, insights, and releases. Check back soon for what's next from Supermile.",ar:"نعمل على تجهيز تحديثات ورؤى وإصدارات جديدة. تحقق قريبًا لمعرفة ما هو قادم من سوبرمايل."},"is.heroDesc":{en:"Stay updated with the latest developments, insights, and innovations from the Supermile team. Discover how we're revolutionizing last-mile logistics across Saudi Arabia.",ar:"ابقَ على اطلاع بأحدث التطورات والرؤى والابتكارات من فريق سوبرمايل. اكتشف كيف نُحدث ثورة في قطاع الخدمات اللوجستية للميل الأخير في جميع أنحاء المملكة العربية السعودية."},"footer.aiPowered":{en:"AI-Powered Precision",ar:"الدقة المدعومة بالذكاء الاصطناعي"},"footer.products":{en:"Products",ar:"المنتجات"},"footer.ourPortal":{en:"Our Portal",ar:"بوابتنا"},"footer.demand":{en:"Demand",ar:"الطلب"},"footer.supply":{en:"Supply",ar:"العرض"},"footer.platform":{en:"Platform",ar:"المنصة"},"footer.portal":{en:"Portal",ar:"البوابة"}
184,"footer.company":{en:"Company",ar:"الشركة"},"footer.aboutSupermile":{en:"About Supermile",ar:"عن سوبرمايل"},"footer.careers":{en:"Careers",ar:"الوظائف"},"footer.about":{en:"About",ar:"عن سوبرمايل"},"footer.terms":{en:"Terms of Service",ar:"الشروط والأحكام"},"footer.refundPolicy":{en:"Refund Policy",ar:"سياسة الاسترداد"},"footer.contactUs":{en:"Contact Us",ar:"اتصل بنا"},"footer.getInTouch":{en:"Get In Touch",ar:"تواصل معنا"},"footer.faq":{en:"FAQ",ar:"الأسئلة الشائعة"},"footer.privacyPolicy":{en:"Privacy Policy",ar:"سياسة الخصوصية"},"footer.ourOffice":{en:"Our Office",ar:"مكاتبنا"},"footer.addressLine1":{en:"Al Qala'a, Ar Rabi, Riyadh 13316,",ar:"القلعة، الربيع، الرياض 13316،"},"footer.addressLine2":{en:"Saudi Arabia",ar:"المملكة العربية السعودية"},"footer.copyright":{en:"© 2026 Supermile. All rights reserved.",ar:"© 2026 سوبرمايل. جميع الحقوق محفوظة"},"footer.dsp":{en:"Delivery Service Provider",ar:"موفري خدمات التوصيل"},"footer.businessPartner":{en:"Business Partner",ar:"شركاء الأعمال"},"nav.pricing":{en:"Pricing",ar:"الأسعار"},"nav.resources":{en:"Resources",ar:"الموارد"},"product.title":{en:"Our Products & Core Capabilities",ar:"منتجاتنا والقدرات الأساسية"},"product.subtitle":{en:"Two sides of the marketplace, one powerful platform",ar:"جانبان من السوق، منصة واحدة قوية"},"product.discover":{en:"Discover",ar:"اكتشف"},"product.bp.title":{en:"ENGINIZER",ar:"إنجنايزر"},"product.bp.desc":{en:"For restaurants, retailers, and e-commerce businesses",ar:"للمطاعم وتجار التجزئة وشركات التجارة الإلكترونية"},"product.bp.f1":{en:"Automated operations with our orchestration engine",ar:"عمليات مؤتمتة بمحرك التنسيق لدينا"},"product.bp.f1.desc":{en:"Streamline your entire delivery workflow with intelligent automation. Our orchestration engine manages provider selection, order routing, and dispatch logic — eliminating manual work and reducing errors at scale.",ar:"بسّط سير عمل التوصيل بالكامل مع الأتمتة الذكية. يدير محرك التنسيق لدينا اختيار المزودين وتوجيه الطلبات ومنطق الإرسال — مما يلغي العمل اليدوي ويقلل الأخطاء على نطاق واسع."},"product.bp.f2":{en:"Real-time order tracking & visibility",ar:"تتبع الطلبات والشفافية في الوقت الفعلي"},"product.bp.f2.desc":{en:"Monitor every delivery in real time across all your providers from a single dashboard. Give your customers live ETAs and status updates while gaining full visibility into your operations.",ar:"راقب كل عملية توصيل في الوقت الفعلي عبر جميع مزوديك من لوحة تحكم واحدة. امنح عملاءك أوقات وصول مباشرة وتحديثات حالة مع رؤية كاملة لعملياتك."},"product.bp.f3":{en:"AI-optimized analytics and reports",ar:"تحليلات وتقارير محسّنة بالذكاء الاصطناعي"},"product.bp.f3.desc":{en:"Turn delivery data into actionable intelligence. Our AI-powered analytics surface cost-saving opportunities, performance trends, and operational bottlenecks through intuitive dashboards and automated reports.",ar:"حوّل بيانات التوصيل إلى رؤى قابلة للتنفيذ. تكشف تحليلاتنا المدعومة بالذكاء الاصطناعي عن فرص توفير التكاليف واتجاهات الأداء والاختناقات التشغيلية عبر لوحات تحكم بديهية وتقارير آلية."},"product.bp.f4":{en:"Predictive Analysis & Demand Forecasting",ar:"التحليل التنبئي والتنبؤ بالطلب"},"product.bp.f4.desc":{en:"Stay ahead of demand with machine learning models that forecast order volumes, peak periods, and regional trends. Optimize staffing, inventory, and provider capacity before surges hit.",ar:"ابقَ في المقدمة مع نماذج تعلم الآلة التي تتنبأ بأحجام الطلبات وفترات الذروة والاتجاهات الإقليمية. حسّن التوظيف والمخزون وقدرة المزودين قبل حدوث الزيادات."}
184,"product.dsp.title":{en:"OSTOOLY",ar:"أسطولي"},"product.dsp.desc":{en:"For fleet operators and delivery service providers",ar:"لمشغلي الأساطيل ومزودي خدمات التوصيل"},"product.dsp.f1":{en:"Live Fleet Management",ar:"إدارة الأسطول المباشرة"},"product.dsp.f1.desc":{en:"Track and manage your entire fleet in real time. Monitor driver locations, delivery status, and vehicle availability from a centralized command center — ensuring optimal utilization and faster response times.",ar:"تتبع وأدر أسطولك بالكامل في الوقت الفعلي. راقب مواقع السائقين وحالة التوصيل وتوفر المركبات من مركز قيادة مركزي — لضمان الاستخدام الأمثل وأوقات استجابة أسرع."},"product.dsp.f2":{en:"Fleet Performance and earnings optimization",ar:"أداء الأسطول وتحسين الأرباح"},"product.dsp.f2.desc":{en:"Maximize revenue per delivery with intelligent route optimization and smart order batching. Track driver performance metrics, identify improvement areas, and boost earnings across your fleet.",ar:"حقق أقصى إيرادات لكل عملية توصيل مع تحسين المسارات الذكية وتجميع الطلبات. تتبع مقاييس أداء السائقين وحدد مجالات التحسين وعزز الأرباح عبر أسطولك."},"product.dsp.f3":{en:"GPS & Petrol Integrations",ar:"تكاملات GPS والوقود"},"product.dsp.f3.desc":{en:"Integrate directly with GPS tracking and fuel management systems. Monitor fuel consumption, optimize routes for efficiency, and reduce operational costs with automated mileage and expense tracking.",ar:"تكامل مباشر مع أنظمة تتبع GPS وإدارة الوقود. راقب استهلاك الوقود وحسّن المسارات للكفاءة وقلل التكاليف التشغيلية مع تتبع آلي للمسافات والنفقات."},"product.dsp.f4":{en:"Human Resource Management",ar:"إدارة الموارد البشرية"},"product.dsp.f4.desc":{en:"Manage your workforce end-to-end — from onboarding and scheduling to compliance and payroll. Automate shift planning, track attendance, and ensure regulatory compliance across your entire driver network.",ar:"أدر قوتك العاملة من البداية إلى النهاية — من التأهيل والجدولة إلى الامتثال والرواتب. أتمت تخطيط الورديات وتتبع الحضور وضمان الامتثال التنظيمي عبر شبكة السائقين بالكامل."},"product.learnMore":{en:"Learn More",ar:"اعرف المزيد"},"pricing.title":{en:"Simple, Transparent Pricing",ar:"أسعار بسيطة وشفافة"},"pricing.subtitle":{en:"One plan, everything included. Scale your last-mile operations with full platform access.",ar:"خطة واحدة تشمل كل شيء. وسّع عمليات التوصيل للميل الأخير مع وصول كامل للمنصة."},"pricing.plan":{en:"Supermile Platform",ar:"منتج أسطولي من شركة سوبرمايل"},"pricing.platformDesc":{en:"Everything you need to run your last-mile operations",ar:"كل ما تحتاجه لإدارة عمليات التوصيل للميل الأخير"},"pricing.cta":{en:"Contact Sales",ar:"تواصل معنا"},"pricing.f1":{en:"Performance analytics dashboard",ar:"لوحة تحليلات الأداء"},"pricing.f2":{en:"Manage all your partners",ar:"إدارة جميع شركائك"},"pricing.f3":{en:"Operations management",ar:"إدارة العمليات"},"pricing.f4":{en:"Human resources management",ar:"إدارة الموارد البشرية"},"pricing.f5":{en:"Financial management",ar:"الإدارة المالية"},"pricing.f6":{en:"Supermile courier app",ar:"تطبيق سوبرمايل للمناديب"},"pricing.f7":{en:"Tools to help you comply with all regulations",ar:"أدوات تساعدك على الامتثال مع كافة التشريعات"},"pricing.f8":{en:"Technical integration capabilities",ar:"القدرة على التكاملات التقنية"},"pricing.included":{en:"Everything included:",ar:"جميع الباقات تشمل:"},"pricing.badge":{en:"Simple Pricing",ar:"أسعار بسيطة"},"pricing.tiers.title1":{en:"Plans That Grow",ar:"باقات مناسبة للشركات المشغلة"},"pricing.tiers.title2":{en:"With Your Business",ar:"تخدمك في نمو أعمالك"},"pricing.tiers.subtitle":{en:"Transparent pricing built for growing businesses. No hidden fees, c
184ancel any time.",ar:"كشركة مشغلة يمكنك الاستفادة من كافة خصائص المنصة بأسعار متناسبة مع حجم أسطولك، تهدف شركة سوبرمايل لزيادة أرباحك وتقليل التكاليف"},"pricing.trust.fleet":{en:"For your entire fleet on all cities",ar:"لأسطولك بالكامل في جميع المدن"},"pricing.trust.onboarding":{en:"Setup with our onboarding team who help you",ar:"إعداد مع فريق التأهيل الذي يساعدك"},"pricing.trust.payment":{en:"Secure payment",ar:"دفع آمن"},"pricing.popular":{en:"★ Most Popular",ar:"★ الأكثر اختيارًا"},"pricing.tier.starter.name":{en:"Accelerator",ar:"المسرعة"},"pricing.tier.starter.range":{en:"Up to 50 orders/day",ar:"حتى 50 طلب/يوم"},"pricing.tier.starter.price":{en:"10 SAR/day",ar:"10"},"pricing.tier.starter.note":{en:"Simple daily pricing",ar:"سعر يومي بسيط"},"pricing.tier.starter.cta":{en:"Get Started →",ar:"ابدأ الآن ←"},"pricing.tier.growth.name":{en:"Pro",ar:"الاحترافي"},"pricing.tier.growth.range":{en:"51–500 orders/day",ar:"51–500 طلب/يوم"},"pricing.tier.growth.price":{en:"22 SAR/day",ar:"22"},"pricing.tier.growth.note":{en:"Simple daily pricing",ar:"سعر يومي بسيط"},"pricing.tier.growth.cta":{en:"Get Started →",ar:"ابدأ الآن ←"},"pricing.tier.scale.name":{en:"Growth",ar:"النمو"},"pricing.tier.scale.range":{en:"501–2,000 orders/day",ar:"501–2,000 طلب/يوم"},"pricing.tier.scale.price":{en:"40 SAR/day",ar:"40"},"pricing.tier.scale.note":{en:"Simple daily pricing",ar:"سعر يومي بسيط"},"pricing.tier.scale.cta":{en:"Get Started →",ar:"ابدأ الآن ←"},"pricing.tier.enterprise.name":{en:"Enterprise",ar:"الشركات الكبرى"},"pricing.tier.enterprise.tagline":{en:"Custom solutions for your business",ar:"حلول مصممة خصيصًا لعملك"},"pricing.tier.enterprise.price":{en:"Custom pricing",ar:"تسعير مخصص"},"pricing.tier.enterprise.desc":{en:"Contact us to get a quote",ar:"تواصل معنا للحصول على الأسعار"},"pricing.tier.enterprise.f1":{en:"Custom integration",ar:"تكامل مخصص"},"pricing.tier.enterprise.f2":{en:"Custom request handling",ar:"معالجة الطلبات المخصصة"},"pricing.tier.enterprise.cta":{en:"Contact Sales →",ar:"ابدأ العمل مع فريقنا ←"},"pricing.tier.enterprise.footer":{en:"Custom contracts available",ar:"عقود مخصصة متاحة"},"pricing.nocredit":{en:"No credit card required",ar:"لا حاجة لبطاقة الائتمان"},"cta.title":{en:"Your Performance OS, Supercharged by AI.",ar:"نظام تشغيل الأداء الخاص بك، معزز بالذكاء الاصطناعي."},"cta.desc":{en:"Supermile is more than a platform, it's an intelligent infrastru
184cture for the modern last mile. From fleet management and live tracking to automated compliance, we provide the full-spectrum control you need to scale.",ar:"سوبرمايل أكثر من مجرد منصة، إنه بنية تحتية ذكية للميل الأخير الحديث. من إدارة الأسطول والتتبع المباشر إلى الامتثال الآلي، نوفر لك التحكم الشامل الذي تحتاجه للتوسع."},"cta.getStarted":{en:"Get Started",ar:"ابدأ الآن"},"predictive.liveDemand":{en:"Live Demand Map",ar:"خريطة الطلب المباشر"},"predictive.highDemand":{en:"High",ar:"مرتفع"},"predictive.activeRoutes":{en:"Moderate",ar:"متوسط"},"predictive.lowActivity":{en:"Low",ar:"منخفض"},"orch.title":{en:"The Orchestration Engine",ar:"محرك التنسيق"},"orch.desc":{en:"Eliminate manual bottlenecks with our intelligent orchestration engine. By autonomously navigating the complexities of provider selection, dynamic routing, and real-time dispatching, we transform fragmented logistics flows into a single, high-velocity operation that scales effortlessly with your business volume.",ar:"تخلّص من الاختناقات اليدوية مع محرك التنسيق الذكي لدينا. من خلال التنقل المستقل بين تعقيدات اختيار المزودين والتوجيه الديناميكي والإرسال الفوري، نحوّل التدفقات اللوجستية المجزأة إلى عملية واحدة عالية السرعة تتوسع بسلاسة مع حجم أعمالك."},"orch.checkDispatch":{en:`Check Dispatch
185Method`,ar:`التحقق من
186طريقة الإرسال`},"orch.checkAvailability":{en:`Check Availability &
187Feasibility Rules`,ar:`التحقق من التوفر
188وقواعد الجدوى`},"orch.dispatchInternal":{en:"Dispatch Internal Fleet",ar:"إرسال الأسطول الداخلي"},"orch.dispatchExternal":{en:"Dispatch External Fleet",ar:"إرسال الأسطول الخارجي"},"orch.dispatchSupermile":{en:"Dispatch Supermile Fleet",ar:"إرسال أسطول سوبرمايل"},"predictive.tagline":{en:"Anticipate Demand. Automate Control.",ar:"توقّع الطلب. أتمت التحكم."},"predictive.title":{en:"The Predictive Engine",ar:"المحرك التنبؤي"},"predictive.desc":{en:"Supermile bridges the gap between demand and delivery, turning market volatility into predictable growth. We unify businesses and fleets on one intelligent layer, ensuring every order is matched, routed, and fulfilled with absolute precision.",ar:"يسد سوبرمايل الفجوة بين الطلب والتوصيل، محولًا تقلبات السوق إلى نمو يمكن التنبؤ به. نوحّد الشركات والأساطيل على طبقة ذكية واحدة، لضمان مطابقة كل طلب وتوجيهه وتنفيذه بدقة مطلقة."},"lp2.hero.title1":{en:"Last-Mile Operating System",ar:"نظام تشغيل الميل الأخير"}
188,"lp2.hero.title2":{en:"Advanced last-mile infrastructure for Saudi Arabia.",ar:"بنية تحتية متطورة للميل الأخير في المملكة العربية السعودية."},"lp2.hero.enginizer":{en:"ENGINIZER",ar:"إنجنايزر"},"lp2.hero.ostooly":{en:"OSTOOLY",ar:"أسطولي"},"lp2.hero.desc":{en:"Supermile is an intelligent platform managing last-mile delivery operations through two core products — ENGINIZER for restaurants, retailers, and e-commerce, and OSTOOLY for fleet operators — coordinating dispatch across 520+ partners and 26,000+ drivers, achieving 34% more partner earnings and 24% fewer losses.",ar:"سوبرمايل منصةٌ ذكيةٌ تدير عمليات التوصيل للميل الأخير عبر منتجَين رئيسيَّين — إنجنايزر للمطاعم وتجار التجزئة والتجارة الإلكترونية، وأسطولي لمشغلي الأساطيل — تنسق التوزيع عبر 520+ شريكًا و26,000+ سائقًا، فتحقق 34% زيادةً في أرباح الشركاء و24% تقليلًا في الخسائر."},"lp2.hero.cta1":{en:"Start Optimizing Now",ar:"ابدأ التحسين الآن"},"lp2.hero.cta2":{en:"Platform Video",ar:"فيديو عن المنصة"},"lp2.hero.trust":{en:"Nationwide coverage · Approved contracts · Integrated enterprise services",ar:"تغطية لكافة مناطق المملكة · عقود معتمدة · خدمات متكاملة للشركات المشغلة"},"lp2.stat.drivers":{en:"Registered Drivers",ar:"سائق مسجل"},"lp2.stat.partners":{en:"Active Partners",ar:"شريك نشط"},"lp2.stat.earnings":{en:"Earnings Increase",ar:"زيادة الأرباح"},"lp2.stat.dispatch":{en:"Dispatch Time",ar:"زمن التوزيع"},"lp2.trust.services":{en:"Services available with partners",ar:"خدمة متوفرة مع الشركاء"},"lp2.trust.companies":{en:"Companies working with Supermile",ar:"شركة تعمل مع سوبرمايل"},"lp2.trust.drivers":{en:"Registered Representatives",ar:"مندوب مسجل"},"lp2.trust.efficiency":{en:"Increase in operational efficiency",ar:"زيادة في الكفاءة التشغيلية"},"lp2.logos.title":{en:"Partners in Success",ar:"شركاء النجاح"},"lp2.logos.subtitle":{en:"Trusted by over 500 brands in Saudi Arabia",ar:"موثوق من أكثر من 500 منشأة تجارية في المملكة"},"lp2.products.title":{en:"Two Products. One Delivery System.",ar:"ما هي منتجات سوبرمايل؟"},"lp2.products.subtitle":{en:"Choose based on your business type: ENGINIZER if you're a merchant wanting automated order dispatch, or OSTOOLY if you own a fleet and want professional management.",ar:"تختار حسب طبيعة عملك: إنجنايزر إن كنت تاجرًا يطلب أن يوزَّع الطلب آليًا، أو أسطولي إن كنت تملك أسطولًا وتريد إدارته باحترافية."},"lp2.discover":{en:"Discover",ar:"اكتشف"},"lp2.learnMore":{en:"Learn More",ar:"اعرف المزيد"},"lp2.eng.subtitle":{en:"FOR RESTAURANTS, RETAILERS, AND E-COMMERCE BUSINESSES",ar:"للمطاعم وتجار التجزئة والتجارة الإلكترونية"},"lp2.ost.subtitle":{en:"FOR FLEET OPERATORS AND DELIVERY SERVICE PROVIDERS",ar:"لمشغلي الأساطيل وشركات التوصيل"},"lp2.eng.f1":{en:"Multi-partner dispatch",ar:"توزيع متعدد الشركاء"},"lp2.eng.f1d":{en:"Automated decision across ten partners in one second.",ar:"قرار آلي بين عشرة شركاء خلال ثانية."},"lp2.eng.f2":{en:"POS Integration",ar:"تكامل مع نقاط البيع"},"lp2.eng.f2d":{en:"Leading POS systems in Saudi Arabia.",ar:"أبرز أنظمة POS في المملكة."},"lp2.eng.f3":{en:"Unified dashboard",ar:"لوحة تحكم موحدة"},"lp2.eng.f3d":{en:"All order channels in one place.",ar:"كافة قنوات الطلب في مكان واحد."},"lp2.eng.f4":{en:"Automated financial reports",ar:"تقارير مالية آلية"},"lp2.eng.f4d":{en:"Automatic daily settlements.",ar:"تسويات تلقائية يوميًا."},"lp2.ost.f1":{en:"Continuous tracking",ar:"تتبع مستمر"},"lp2.ost.f1d":{en:"For trips, reps, partners, and reports.",ar:"للرحلات والمناديب والشركاء والتقارير."},"lp2.ost.f2":{en:"Multi-fleet routing",ar:"توجيه متعدد الأساطيل"},"lp2.ost.f2d":{en:"Algorithms for optimal route selection.",ar:"خوارزميات لتحديد المسارات الأفضل."},"lp2.ost.f3":{en:"Driver payroll",ar:"حسابات السائقين"},"lp2.ost.f3d":{en:"Automatic earnings and dues calculation.",ar:"حساب تلقائي للأرباح والمستحقات."},"lp2.ost.f4":{en:"Regulatory compliance",ar:"امتثال تنظيمي"},"lp2.ost.f4d":{en:"Reports ready for the Transport Authority.",ar:"تقارير جاهزة لهيئة النقل."},"lp2.segments.title":{en:"Solutions Tailored for Every Sector.",ar:"حلول مهيَّأة لكل قطاع."},"lp2.segments.subtitle":{en:"Every sector has its own challenges — we built Supermile to adapt to each business, not the other way around.",ar:"كل قطاع له تحدياته الخاصة — بنينا سوبرمايل ليتكيف مع طبيعة كل عمل وليس العكس."},"lp2.how.title":{en:"From Order to Settlement in Four Steps.",ar:"من الطلب إلى التسوية في أربع خطوات."},"lp2.how.subtitle":{en:"Every order passes through four stages, all running automatically in the background. Your team doesn't need to do anything after the initial integration — Supermile handles the rest.",ar:"كل طلب يمر بأربع مراحل تجري كلها آليًا في الخلفية. ليس على فريقك أن يفعل شيئًا بعد التكامل الأولي — سوبرمايل يتولى الباقي."},"lp2.cap.title":{en:"Nine Capabilities to Build a Complete Delivery System.",ar:"قدرات تبني نظام تشغيل التوصيل المتكامل"},"lp2.cap.subtitle":{en:"No fragmented solutions. Supermile brings together everything you need for last-mile delivery operations in one platform.",ar:"ومالية وتشغيل في مكان واحد. يمكنك العمل مع مختلف الشركاء، بمختلف أوقات العمل وأماكن التشغيل. مع تقارير واضحة، تمكنك من اتخاذ القرارات وتحسين الإنتاجية."},"lp2.stories.title":{en:"Our Partners Speak.",ar:"شركاؤنا يتحدثون."},"lp2.stories.subtitle":{en:"Real numbers from Supermile partners across five different sectors — results measured after months of joint operations.",ar:"قصص بأرقام حقيقية من شركاء سوبرمايل في خمسة قطاعات مختلفة — نتائج محسوبة بعد أشهر من التشغيل المشترك."},"lp2.story.quote":{en:`"Supermile's platform allowed us to unify operations with more than four delivery partners on a 
188single dashboard, cutting dispatch time to under one second and noticeably boosting driver earnings."`,ar:"«أتاحت لنا منصة سوبرمايل توحيد التعامل مع أكثر من أربعة شركاء توصيل في لوحة واحدة، فاختصرنا زمن التوزيع إلى أقل من ثانية ورفعنا أرباح السائقين بنسبة ملموسة.»"},"lp2.story.name":{en:"Ahmed Al-Fahad",ar:"أحمد الفهد"},"lp2.story.role":{en:"Director of Logistics Operations",ar:"مدير العمليات اللوجستية"},"lp2.story.stat1":{en:"Earnings Increase",ar:"زيادة الأرباح"},"lp2.story.stat2":{en:"Loss Reduction",ar:"تقليل الخسائر"},"lp2.story.stat3":{en:"Dispatch Time",ar:"زمن التوزيع"},"lp2.comp.title":{en:"Supermile vs. Alternatives.",ar:"سوبرمايل مقابل البدائل."},"lp2.comp.subtitle":{en:"A frank comparison between what Supermile offers and the leading alternatives in the Saudi market.",ar:"مقارنة صريحة بين ما يقدمه سوبرمايل وما تقدمه أبرز البدائل في السوق السعودي."},"lp2.comp.capability":{en:"Capability",ar:"القدرة"},"lp2.comp.hr":{en:"HR Systems",ar:"أنظمة الموارد البشرية"},"lp2.comp.excel":{en:"Excel",ar:"برنامج الإكسل"},"lp2.comp.apps":{en:"Delivery Apps",ar:"تطبيقات التوصيل"},"lp2.coverage.title":{en:"Present Across Saudi Arabia's Major Regions.",ar:"حضور في جميع مناطق المملكة"},"lp2.coverage.subtitle":{en:"Supermile operates today in major cities across all regions",ar:"سوبرمايل يعمل اليوم في المدن الرئيسية في كافة المناطق"},"lp2.faq.title":{en:"Frequently Asked Questions.",ar:"أسئلة شائعة."},"lp2.faq.desc":{en:"Quick answers to questions asked by more than 70% of partners before starting. Didn't find your question? Contact our team directly.",ar:"إجابات سريعة على الأسئلة التي يطرحها أكثر من 70% من الشركاء قبل البدء. لم تجد سؤالك؟ تواصل مع فريقنا مباشرة."},"lp2.faq.cta":{en:"Talk to Sales",ar:"تواصل مع فريق سوبرمايل"},"lp2.resources.title":{en:"New from Supermile.",ar:"جديد من سوبرمايل."},"lp2.resources.subtitle":{en:"Everything we write about delivery logistics in Saudi Arabia and around the world — articles, studies, press coverage.",ar:"كل ما نكتبه عن لوجستيات التوصيل في المملكة وفي العالم — مقالات، دراسات، أخبار صحفية."},"lp2.resources.news":{en:"In the News",ar:"في الأخبار"},"lp2.resources.blog":{en:"Blog",ar:"المدوّنة"},"lp2.pricing.title":{en:"A Plan for Every Business Size.",ar:"باقة لكل حجم عمل."},"lp2.pricing.subtitle":{en:"Choose the plan that fits your operations — and scale with us without needing to switch platforms.",ar:"اختر الباقة التي تناسب عملياتك — وتوسع معنا دون الحاجة إلى تغيير المنصة."},"lp2.pricing.popular":{en:"Most Popular",ar:"الأكثر اختيارًا"},"lp2.pricing.footer":{en:"All plans include onboarding and technical support",ar:"جميع الباقات تشمل التأهيل والدعم الفني."},"lp2.cta.badge":{en:"Ready to Start?",ar:"جاهز للبدء؟"},"lp2.cta.title":{en:"Book a 15-Minute Demo.",ar:"تواصل معنا وابدأ بالتحسين الآن"},"lp2.cta.desc":{en:"Show us your operations volume and we'll show you what Supermile looks like running at your site — with numbers from your data, not ours. No commitment, no credit card.",ar:"ابدأ برفع بيانات شركتك، وحجم العمليات الحالي، وسيقوم فريقنا بمساعدتك لرؤية كيف يساعدك نظام سوبرمايل من رفع كفاءة أعمالك الحالية."},"lp2.cta.btn1":{en:"Book a Demo",ar:"تواصل معنا"},"lp2.cta.btn2":{en:"Talk to Sales",ar:"تحدث إلى المبيعات"},"lp2.cta.startup.title":{en:"For Startups",ar:"للشركات المشغلة"},"lp2.cta.startup.desc":{en:"A flexible plan that grows with you from your first order to thousands daily.",ar:"خطة مرنة تنمو معك من أول طلب إلى آلاف الطلبات يوميًا."},"lp2.cta.mid.title":{en:"For Mid-Market",ar:"المتاجر والمحلات"},"lp2.cta.mid.desc":{en:"Full integrations and dedicated support for medium-scale operations.",ar:"تكاملات كاملة ودعم مخصص لعمليات متوسطة الحجم."},"lp2.cta.enterprise.title":{en:"For Enterprises",ar:"للمنظمات الكبرى"}
vendor: 5,819 bytes, line 188
188,"lp2.cta.enterprise.desc":{en:"Custom contracts, strict SLAs, and a dedicated success team.",ar:"عقود مخصصة، اتفاقيات مستوى خدمة صارمة، فريق نجاح مخصص."},"lp2.banner":{en:"Visit us at the Last Mile Conference in Riyadh →",ar:"زورونا في مؤتمر الميل الأخير في الرياض ←"}},ew=w.createContext({language:"en",setLanguage:()=>{},t:e=>e,isArabic:!0});function iP({children:e,initialLanguage:t}){const[n,r]=w.useState(()=>t??(typeof window<"u"&&new URLSearchParams(window.location.search).get("lang")==="en"?"en":"ar")),i=o=>{r(o),document.documentElement.dir=o==="ar"?"rtl":"ltr",document.documentElement.lang=o};w.useEffect(()=>{document.documentElement.dir=n==="ar"?"rtl":"ltr",document.documentElement.lang=n},[]);const s=o=>{var a;return((a=rP[o])==null?void 0:a[n])??o};return c.jsx(ew.Provider,{value:{language:n,setLanguage:i,t:s,isArabic:n==="ar"},children:e})}function $c(){return w.useContext(ew)}const sP=oh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),en=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?M2:"button";return c.jsx(o,{className:Wt(sP({variant:t,size:n,className:e})),ref:s,...i})});en.displayName="Button";var Tu="focusScope.autoFocusOnMount",Ou="focusScope.autoFocusOnUnmount",jg={bubbles:!1,cancelable:!0},oP="FocusScope",tw=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...o}=e,[a,l]=w.useState(null),u=qt(i),d=qt(s),p=w.useRef(null),f=ut(t,h=>l(h)),g=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let h=function(y){if(g.paused||!a)return;const b=y.target;a.contains(b)?p.current=b:sr(p.current,{select:!0})},_=function(y){if(g.paused||!a)return;const b=y.relatedTarget;b!==null&&(a.contains(b)||sr(p.current,{select:!0}))},m=function(y){if(document.activeElement===document.body)for(const S of y)S.removedNodes.length>0&&sr(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",_);const v=new MutationObserver(m);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",_),v.disconnect()}}},[r,a,g.paused]),w.useEffect(()=>{if(a){Tg.add(g);const h=document.activeElement;if(!a.contains(h)){const m=new CustomEvent(Tu,jg);a.addEventListener(Tu,u),a.dispatchEvent(m),m.defaultPrevented||(aP(pP(nw(a)),{select:!0}),document.activeElement===h&&sr(a))}return()=>{a.removeEventListener(Tu,u),setTimeout(()=>{const m=new CustomEvent(Ou,jg);a.addEventListener(Ou,d),a.dispatchEvent(m),m.defaultPrevented||sr(h??document.body,{select:!0}),a.removeEventListener(Ou,d),Tg.remove(g)},0)}}},[a,u,d,g]);const x=w.useCallback(h=>{if(!n&&!r||g.paused)return;const _=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,m=document.activeElement;if(_&&m){const v=h.currentTarget,[y,b]=lP(v);y&&b?!h.shiftKey&&m===b?(h.preventDefault(),n&&sr(y,{select:!0})):h.shiftKey&&m===y&&(h.preventDefault(),n&&sr(b,{select:!0})):m===v&&h.preventDefault()}},[n,r,g.paused]);return c.jsx(Oe.div,{tabIndex:-1,...o,ref:f,onKeyDown:x})});tw.displayName=oP;function aP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(sr(r,{select:t}),document.activeElement!==n)return}function lP(e){const t=nw(e),n=Rg(t,e),r=Rg(t.reverse(),e);return[n,r]}function nw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Rg(e,t){for(const n of e)if(!cP(n,{upTo:t}))return n}function cP(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function uP(e){return e instanceof HTMLInputElement&&"select"in e}function sr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&uP(e)&&t&&e.select()}}var Tg=dP();function dP(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Og(e,t),e.unshift(t)},remove(t){var n;e=Og(e,t),(n=e[0])==null||n.resume()}}}function Og(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function pP(e){return e.filter(t=>t.tagName!=="A")}var Iu=0;function fP(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ig()),document.body.insertAdjacentElement("beforeend",e[1]??Ig()),Iu++,()=>{Iu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Iu--}},[])}function Ig(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,610 bytes, lines 188-203
188style.position="fixed",e.style.pointerEvents="none",e}var xn=function(){return xn=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},xn.apply(this,arguments)};function rw(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function hP(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var ll="right-scroll-bar-position",cl="width-before-scroll-bar",mP="with-scroll-bars-hidden",gP="--removed-body-scroll-bar-size";function Mu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function vP(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var yP=typeof window<"u"?w.useLayoutEffect:w.useEffect,Mg=new WeakMap;function xP(e,t){var n=vP(null,function(r){return e.forEach(function(i){return Mu(i,r)})});return yP(function(){var r=Mg.get(n);if(r){var i=new Set(r),s=new Set(e),o=n.current;i.forEach(function(a){s.has(a)||Mu(a,null)}),s.forEach(function(a){i.has(a)||Mu(a,o)})}Mg.set(n,e)},[e]),n}function wP(e){return e}function _P(e,t){t===void 0&&(t=wP);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(a){return a!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var a=n;n=[],a.forEach(s),o=n}var l=function(){var d=o;o=[],d.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),n}}}};return i}function bP(e){e===void 0&&(e={});var t=_P(null);return t.options=xn({async:!0,ssr:!1},e),t}var iw=function(e){var t=e.sideCar,n=rw(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,xn({},n))};iw.isSideCarExport=!0;function SP(e,t){return e.useMedium(t),iw}var sw=bP(),Lu=function(){},Uc=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:Lu,onWheelCapture:Lu,onTouchMoveCapture:Lu}),i=r[0],s=r[1],o=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,f=e.sideCar,g=e.noIsolation,x=e.inert,h=e.allowPinchZoom,_=e.as,m=_===void 0?"div":_,v=e.gapMode,y=rw(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=f,S=xP([n,t]),k=xn(xn({},y),i);return w.createElement(w.Fragment,null,d&&w.createElement(b,{sideCar:sw,removeScrollBar:u,shards:p,noIsolation:g,inert:x,setCallbacks:s,allowPinchZoom:!!h,lockRef:n,gapMode:v}),o?w.cloneElement(w.Children.only(a),xn(xn({},k),{ref:S})):w.createElement(m,xn({},k,{className:l,ref:S}),a))});Uc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Uc.classNames={fullWidth:cl,zeroRight:ll};var EP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function kP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=EP();return t&&e.setAttribute("nonce",t),e}function AP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function CP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var PP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=kP())&&(AP(t,n),CP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},NP=function(){var e=PP();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ow=function(){var e=NP(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},jP={left:0,top:0,right:0,gap:0},Fu=function(e){return parseInt(e||"",10)||0},RP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Fu(n),Fu(r),Fu(i)]},TP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return jP;var t=RP(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},OP=ow(),Gi="data-scroll-locked",IP=function(e,t,n,r){var i=e.left,s=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),`
189  .`.concat(mP,` {
190   overflow: hidden `).concat(r,`;
191   padding-right: `).concat(a,"px ").concat(r,`;
192  }
193  body[`).concat(Gi,`] {
194    overflow: hidden `).concat(r,`;
195    overscroll-behavior: contain;
196    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
197    padding-left: `.concat(i,`px;
198    padding-top: `).concat(s,`px;
199    padding-right: `).concat(o,`px;
200    margin-left:0;
201    margin-top:0;
202    margin-right: `).concat(a,"px ").concat(r,`;
203    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
203")].filter(Boolean).join(""),`
204  }
205  
206  .`).concat(ll,` {
207    right: `).concat(a,"px ").concat(r,`;
208  }
209  
210  .`).concat(cl,` {
211    margin-right: `).concat(a,"px ").concat(r,`;
212  }
213  
214  .`).concat(ll," .").concat(ll,` {
215    right: 0 `).concat(r,`;
216  }
217  
218  .`).concat(cl," .").concat(cl,` {
219    margin-right: 0 `).concat(r,`;
220  }
221  
222  body[`).concat(Gi,`] {
223    `).concat(gP,": ").concat(a,`px;
224  }
225`)},Lg=function(){var e=parseInt(document.body.getAttribute(Gi)||"0",10);return isFinite(e)?e:0},MP=function(){w.useEffect(function(){return document.body.setAttribute(Gi,(Lg()+1).toString()),function(){var e=Lg()-1;e<=0?document.body.removeAttribute(Gi):document.body.setAttribute(Gi,e.toString())}},[])},LP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;MP();var s=w.useMemo(function(){return TP(i)},[i]);return w.createElement(OP,{styles:IP(s,!t,i,n?"":"!important")})},mp=!1;if(typeof window<"u")try{var Ta=Object.defineProperty({},"passive",{get:function(){return mp=!0,!0}});window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch{mp=!1}var pi=mp?{passive:!1}:!1,FP=function(e){return e.tagName==="TEXTAREA"},aw=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!FP(e)&&n[t]==="visible")},DP=function(e){return aw(e,"overflowY")},zP=function(e){return aw(e,"overflowX")},Fg=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=lw(e,r);if(i){var s=cw(e,r),o=s[1],a=s[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},$P=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},UP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},lw=function(e,t){return e==="v"?DP(t):zP(t)},cw=function(e,t){return e==="v"?$P(t):UP(t)},HP=function(e,t){return e==="h"&&t==="rtl"?-1:1},qP=function(e,t,n,r,i){var s=HP(e,window.getComputedStyle(t).direction),o=s*r,a=n.target,l=t.contains(a),u=!1,d=o>0,p=0,f=0;do{var g=cw(e,a),x=g[0],h=g[1],_=g[2],m=h-_-s*x;(x||m)&&lw(e,a)&&(p+=m,f+=x),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(d&&(Math.abs(p)<1||!i)||!d&&(Math.abs(f)<1||!i))&&(u=!0),u},Oa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Dg=function(e){return[e.deltaX,e.deltaY]},zg=function(e){return e&&"current"in e?e.current:e},BP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},WP=function(e){return`
226  .block-interactivity-`.concat(e,` {pointer-events: none;}
227  .allow-interactivity-`).concat(e,` {pointer-events: all;}
228`)},VP=0,fi=[];function GP(e){var t=w.useRef([]),n=w.useRef([0,0]),r=w.useRef(),i=w.useState(VP++)[0],s=w.useState(ow)[0],o=w.useRef(e);w.useEffect(function(){o.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var h=hP([e.lockRef.current],(e.shards||[]).map(zg),!0).filter(Boolean);return h.forEach(function(_){return _.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),h.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=w.useCallback(function(h,_){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!o.current.allowPinchZoom;var m=Oa(h),v=n.current,y="deltaX"in h?h.deltaX:v[0]-m[0],b="deltaY"in h?h.deltaY:v[1]-m[1],S,k=h.target,E=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in h&&E==="h"&&k.type==="range")return!1;var A=Fg(E,k);if(!A)return!0;if(A?S=E:(S=E==="v"?"h":"v",A=Fg(E,k)),!A)return!1;if(!r.current&&"changedTouches"in h&&(y||b)&&(r.current=S),!S)return!0;var C=r.current||S;return qP(C,_,h,C==="h"?y:b,!0)},[]),l=w.useCallback(function(h){var _=h;if(!(!fi.length||fi[fi.length-1]!==s)){var m="deltaY"in _?Dg(_):Oa(_),v=t.current.filter(function(S){return S.name===_.type&&(S.target===_.target||_.target===S.shadowParent)&&BP(S.delta,m)})[0];if(v&&v.should){_.cancelable&&_.preventDefault();return}
vendor: 9,279 bytes, lines 228-232
228if(!v){var y=(o.current.shards||[]).map(zg).filter(Boolean).filter(function(S){return S.contains(_.target)}),b=y.length>0?a(_,y[0]):!o.current.noIsolation;b&&_.cancelable&&_.preventDefault()}}},[]),u=w.useCallback(function(h,_,m,v){var y={name:h,delta:_,target:m,should:v,shadowParent:KP(m)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(b){return b!==y})},1)},[]),d=w.useCallback(function(h){n.current=Oa(h),r.current=void 0},[]),p=w.useCallback(function(h){u(h.type,Dg(h),h.target,a(h,e.lockRef.current))},[]),f=w.useCallback(function(h){u(h.type,Oa(h),h.target,a(h,e.lockRef.current))},[]);w.useEffect(function(){return fi.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",l,pi),document.addEventListener("touchmove",l,pi),document.addEventListener("touchstart",d,pi),function(){fi=fi.filter(function(h){return h!==s}),document.removeEventListener("wheel",l,pi),document.removeEventListener("touchmove",l,pi),document.removeEventListener("touchstart",d,pi)}},[]);var g=e.removeScrollBar,x=e.inert;return w.createElement(w.Fragment,null,x?w.createElement(s,{styles:WP(i)}):null,g?w.createElement(LP,{gapMode:e.gapMode}):null)}function KP(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const QP=SP(sw,GP);var uw=w.forwardRef(function(e,t){return w.createElement(Uc,xn({},e,{ref:t,sideCar:QP}))});uw.classNames=Uc.classNames;var YP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},hi=new WeakMap,Ia=new WeakMap,Ma={},Du=0,dw=function(e){return e&&(e.host||dw(e.parentNode))},XP=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=dw(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},JP=function(e,t,n,r){var i=XP(t,Array.isArray(e)?e:[e]);Ma[n]||(Ma[n]=new WeakMap);var s=Ma[n],o=[],a=new Set,l=new Set(i),u=function(p){!p||a.has(p)||(a.add(p),u(p.parentNode))};i.forEach(u);var d=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(f){if(a.has(f))d(f);else try{var g=f.getAttribute(r),x=g!==null&&g!=="false",h=(hi.get(f)||0)+1,_=(s.get(f)||0)+1;hi.set(f,h),s.set(f,_),o.push(f),h===1&&x&&Ia.set(f,!0),_===1&&f.setAttribute(n,"true"),x||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return d(t),a.clear(),Du++,function(){o.forEach(function(p){var f=hi.get(p)-1,g=s.get(p)-1;hi.set(p,f),s.set(p,g),f||(Ia.has(p)||p.removeAttribute(r),Ia.delete(p)),g||p.removeAttribute(n)}),Du--,Du||(hi=new WeakMap,hi=new WeakMap,Ia=new WeakMap,Ma={})}},ZP=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=YP(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),JP(r,i,n,"aria-hidden")):function(){return null}},xh="Dialog",[pw,GT]=na(xh),[eN,cn]=pw(xh),fw=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!0}=e,a=w.useRef(null),l=w.useRef(null),[u=!1,d]=Wx({prop:r,defaultProp:i,onChange:s});return c.jsx(eN,{scope:t,triggerRef:a,contentRef:l,contentId:Nu(),titleId:Nu(),descriptionId:Nu(),open:u,onOpenChange:d,onOpenToggle:w.useCallback(()=>d(p=>!p),[d]),modal:o,children:n})};fw.displayName=xh;var hw="DialogTrigger",mw=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cn(hw,n),s=ut(t,i.triggerRef);return c.jsx(Oe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":bh(i.open),...r,ref:s,onClick:ve(e.onClick,i.onOpenToggle)})});mw.displayName=hw;var wh="DialogPortal",[tN,gw]=pw(wh,{forceMount:void 0}),vw=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,s=cn(wh,t);return c.jsx(tN,{scope:t,forceMount:n,children:w.Children.map(r,o=>c.jsx(Ss,{present:n||s.open,children:c.jsx(nh,{asChild:!0,container:i,children:o})}))})};vw.displayName=wh;var Vl="DialogOverlay",yw=w.forwardRef((e,t)=>{const n=gw(Vl,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=cn(Vl,e.__scopeDialog);return s.modal?c.jsx(Ss,{present:r||s.open,children:c.jsx(rN,{...i,ref:t})}):null});yw.displayName=Vl;var nN=Do("DialogOverlay.RemoveScroll"),rN=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cn(Vl,n);return c.jsx(uw,{as:nN,allowPinchZoom:!0,shards:[i.contentRef],children:c.jsx(Oe.div,{"data-state":bh(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),oi="DialogContent",xw=w.forwardRef((e,t)=>{const n=gw(oi,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=cn(oi,e.__scopeDialog);return c.jsx(Ss,{present:r||s.open,children:s.modal?c.jsx(iN,{...i,ref:t}):c.jsx(sN,{...i,ref:t})})});xw.displayName=oi;var iN=w.forwardRef((e,t)=>{const n=cn(oi,e.__scopeDialog),r=w.useRef(null),i=ut(t,n.contentRef,r);return w.useEffect(()=>{const s=r.current;if(s)return ZP(s)},[]),c.jsx(ww,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ve(e.onCloseAutoFocus,s=>{var o;s.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:ve(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&s.preventDefault()}),onFocusOutside:ve(e.onFocusOutside,s=>s.preventDefault())})}),sN=w.forwardRef((e,t)=>{const n=cn(oi,e.__scopeDialog),r=w.useRef(!1),i=w.useRef(!1);return c.jsx(ww,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),ww=w.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...o}=e,a=cn(oi,n),l=w.useRef(null),u=ut(t,l);return fP(),c.jsxs(c.Fragment,{children:[c.jsx(tw,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:c.jsx(Rc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":bh(a.open),...o,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),c.jsxs(c.Fragment,{children:[c.jsx(oN,{titleId:a.titleId}),c.jsx(lN,{contentRef:l,descriptionId:a.descriptionId})]})]})}),_h="DialogTitle",_w=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cn(_h,n);return c.jsx(Oe.h2,{id:i.titleId,...r,ref:t})});_w.displayName=_h;var bw="DialogDescription",Sw=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cn(bw,n);return c.jsx(Oe.p,{id:i.descriptionId,...r,ref:t})});Sw.displayName=bw;var Ew="DialogClose",kw=w.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=cn(Ew,n);return c.jsx(Oe.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,()=>i.onOpenChange(!1))})});kw.displayName=Ew;function bh(e){return e?"open":"closed"}var Aw="DialogTitleWarning",[KT,Cw]=O2(Aw,{contentName:oi,titleName:_h,docsSlug:"dialog"}),oN=({titleId:e})=>{const t=Cw(Aw),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
229
230If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
231
232For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return w.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},aN="DialogDescriptionWarning",lN=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Cw(aN).contentName}}.`;return w.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},cN=fw,uN=mw,dN=vw,Pw=yw,Nw=xw,jw=_w,Rw=Sw,pN=kw;const Tw=cN,Ow=uN,fN=dN,Iw=w.forwardRef(({className:e,...t},n)=>c.jsx(Pw,{className:Wt("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));Iw.displayName=Pw.displayName;const hN=oh("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Sh=w.forwardRef(({side:e="right",className:t,children:n,...r},i)=>c.jsxs(fN,{children:[c.jsx(Iw,{}),c.jsxs(Nw,{ref:i,className:Wt(hN({side:e}),t),...r,children:[n,c.jsxs(pN,{className:"absolute right-4 top-4 roun
232ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[c.jsx(ah,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Sh.displayName=Nw.displayName;const mN=w.forwardRef(({className:e,...t},n)=>c.jsx(jw,{ref:n,className:Wt("text-lg font-semibold text-foreground",e),...t}));mN.displayName=jw.displayName;const gN=w.forwardRef(({className:e,...t},n)=>c.jsx(Rw,{ref:n,className:Wt("text-sm text-muted-foreground",e),...t}));gN.displayName=Rw.displayName;const Mw="/assets/WhatsApp_Image_2025-08-03_at_14.24.18_9b793b93-removebg-preview_1754222221159-BvP20h_4.png",vN="/assets/Screenshot_6-removebg-preview_1754223173736-Ci_ReoWk.png";function $g({label:e,items:t,onNavigate:n}){const[r,i]=w.useState(!1),s=w.useRef(null),[,o]=on(),a=()=>{s.current&&clearTimeout(s.current),i(!0)},l=()=>{s.current=setTimeout(()=>i(!1),150)};return w.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),c.jsxs("div",{className:"relative",onMouseEnter:a,onMouseLeave:l,children:[c.jsxs("button",{onClick:()=>i(!r),className:"flex items-center gap-1.5 text-[15px] font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2",children:[e,c.jsx(ra,{className:`w-3.5 h-3.5 transition-transform duration-200 ${r?"rotate-180":""}`})]}),c.jsx("div",{className:`absolute start-0 top-full pt-2 transition-all duration-200 ${r?"opacity-100 visible translate-y-0":"opacity-0 invisible -translate-y-1"}`,children:c.jsx("div",{className:"bg-white rounded-lg shadow-lg border border-gray-100 py-1.5 min-w-[180px]",children:t.map((u,d)=>c.jsx("button",{onClick:()=>{u.href&&o(u.href),i(!1),n==null||n()},className:`block w-full text-start px-4 py-2.5 text-sm transition-colors duration-150 ${u.href?"text-[#1a2744] hover:text-[#a11508] hover:bg-gray-50 cursor-pointer":"text-gray-500 cursor-default"}`,children:u.name},`${u.name}-${d}`))})})]})}function Ug({label:e,items:t,onNavigate:n}){const[r,i]=w.useState(!1),[,s]=on();return c.jsxs("div",{children:[c.jsxs("button",{onClick:()=>i(!r),className:"flex items-center justify-between w-full text-lg font-semibold text-[#00081A] py-2",children:[e,c.jsx(ra,{className:`w-4 h-4 transition-transform duration-200 ${r?"rotate-180":""}`})]}),c.jsx("div",{className:`overflow-hidden transition-all duration-200 ${r?"max-h-40":"max-h-0"}`,children:c.jsx("div",{className:"ps-4 pb-2 space-y-2",children:t.map((o,a)=>c.jsx("button",{onClick:()=>{o.href&&s(o.href),n==null||n()},className:`block text-base transition-colors py-1 ${o.href?"text-[#1a2744] hover:text-[#a11508] cursor-pointer":"text-gray-500 cursor-default"}`,children:o.name},`${o.name}-${a}`))})})]})}function yN(){on();const[e,t]=w.useState(!1),{language:n,setLanguage:r,t:i,isArabic:s}=$c(),[,o]=on(),a=[{name:i("product.bp.title"),href:"/landingpage2/business-partners"},{name:i("product.dsp.title"),href:"/landingpage2/delivery-service-partners"}],l=[{name:i("nav.aboutSupermile"),href:"/landingpage2/about"},{name:i("nav.insideSupermile"),href:""},{name:i("nav.careers"),href:""}];return c.jsx("nav",{className:"fixed top-0 w-full bg-white/90 backdrop-blur-sm z-50 border-b border-gray-100",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"flex items-center justify-between h-20",children:[c.jsxs("div",{className:"md:hidden flex items-center justify-between w-full px-2",children:[c.jsx(at,{href:"/",className:"flex-shrink-0",children:c.jsx("img",{src:vN,alt:"S",className:"h-14 w-14"})}),c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/",variant:"outline",size:"sm",className:"bg-transparent border-[#C71203] text-[#C71203] hover:bg-[#a11508] hover:text-white transition-all duration-200 font-semibold text-xs px-3 py-1",children:i("nav.signIn")}),c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/signup",size:"sm",className:"bg-[#C71203] text-white hover:bg-[#a11508] transition-all duration-200 font-semibold text-xs px-3 py-1",children:i("nav.signUp")})]}),c.jsxs(Tw,{open:e,onOpenChange:t,children:[c.jsx(Ow,{asChild:!0,children:c.jsxs(en,{variant:"ghost",size:"icon",className:"text-[#00081A] hover:bg-gray-100",children:[c.jsx(h1,{className:"h-6 w-6"}),c.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),c.jsx(Sh,{side:s?"left":"right",className:"w-[300px] sm:w-[400px] bg-white border-gray-200",children:c.jsxs("div",{className:"flex flex-col space-y-2 mt-8",children:[c.jsx(Ug,{label:i("nav.products"),items:a,onNavigate:()=>t(!1)}),c.jsx(Ug,{label:i("nav.company"),items:l,onNavigate:()=>t(!1)}),c.jsx("span",{className:"block text-base font-semibold text-gray-400 cursor-default py-2 px-1",children:i("nav.pricing")}),c.jsxs(at,{href:"/contact",onClick:()=>t(!1),className:"flex items-center justify-center gap-2 mt-4 text-base font-semibold bg-[#C71203] text-white px-5 py-2.5 rounded-full hover:bg-[#a11508] transition-colors duration-200",children:[c.jsx(Ul,{className:"w-4 h-4"}),i("nav.contact")]}),c.jsx("button",{onClick:()=>{r(n==="en"?"ar":"en"),t(!1)},className:"w-full text-center text-base font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2 mt-2 border border-gray-200 rounded-lg",children:n==="en"?"العربية":"English"})]})})]})]})]}),c.jsxs("div",{className:"hidden md:flex items-center justify-between w-full",children:[c.jsxs("div",{className:"flex items-center gap-8",children:[c.jsx(at,{href:"/",className:"flex-shrink-0",children:c.jsx("img",{src:Mw,alt:"Supermile",className:"h-20 w-auto"})}),c.jsx($g,{label:i("nav.products"),items:a}),c.jsx($g,{label:i("nav.company"),items:l}),c.jsx("span",{className:"text-[15px] font-semibold text-gray-400 cursor-default py-2",children:i("nav.pricing")})]}),c.jsxs("div",{className:"flex items-center gap-4",children:[c.jsxs("button",{onClick:()=>o("/contact"),className:"flex items-center gap-2 text-[15px] font-semibold bg-[#C71203] text-white px-5 py-2 rounded-full hover:bg-[#a11508] transition-colors duration-200",children:[c.jsx(Ul,{className:"w-4 h-4"}),i("nav.contact")]}),c.jsxs(c.Fragment,{children:[c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/",variant:"outline",size:"sm",className:"bg-transparent border-[#C71203] text-[#C71203] hover:bg-[#a11508] hover:text-white transition-all duration-200 font-semibold",children:i("nav.signIn")}),c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/signup",size:"sm",className:"bg-[#C71203] text-white hover:bg-[#a11508] transition-all duration-200 font-semibold",children:i("nav.signUp")})]}),c.jsx("button",{onClick:()=>r(n==="en"?"ar":"en"),className:"text-sm font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2 px-0 w-[80px] text-center",children:n==="en"?"العربية":"English"})]})]})]})})})}const xN="/assets/WhatsApp_Image_2025-10-04_at_17.52.30_9f0a9ff3-removebg-preview_1759591589324-CqBYrEog.png";function wN(){const{t:e}=$c();return c.jsx("footer",{className:"text-white py-12",style:{backgroundColor:"#00081A"},children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs("div",{className:"grid md:grid-cols-[200px_1fr_1fr_1fr_1fr] gap-12",children:[c.jsxs("div",{className:"text-left rtl:text-right",children:[c.jsx(at,{href:"/",className:"inline-block mb-4 -ml-2",children:c.jsx("img",{src:Mw,alt:"Supermile",className:"h-16 w-auto pl-[0px] pr-[0px] ml-[-6px] mr-[-6px]"})}),c.jsx("p",{className:"text-white font-bold text-left rtl:text-right mt-[-30px] mb-[-30px]",children:e("footer.aiPowered")})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-bold mb-4 text-white",children:e("footer.products")}),c.jsxs("ul",{className:"space-y-2 text-gray-400",children:[c.jsx("li",{children:c.jsx(at,{href:"/landingpage2/business-partners",className:"hover:text-white transition-colors cursor-pointer",children:e("product.bp.title")})}),c.jsx("li",{children:c.jsx(at,{href:"/landingpage2/delivery-service-partners",className:"hover:text-white transition-colors cursor-pointer",children:e("product.ds
232p.title")})})]})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-bold mb-4 text-white",children:e("footer.company")}),c.jsxs("ul",{className:"space-y-2 text-gray-400",children:[c.jsx("li",{children:c.jsx(at,{href:"/landingpage2/about",className:"hover:text-white transition-colors cursor-pointer",children:e("footer.aboutSupermile")})}),c.jsx("li",{children:c.jsx("a",{href:"https://portal.supermile.ai/login",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors cursor-pointer",children:e("footer.ourPortal")})})]})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-bold mb-4 text-white",children:e("footer.contactUs")}),c.jsxs("ul",{className:"space-y-2 text-gray-400",children:[c.jsx("li",{children:c.jsx(at,{href:"/contact",className:"hover:text-white transition-colors",children:e("footer.getInTouch")})}),c.jsx("li",{children:c.jsx(at,{href:"/faq",className:"hover:text-white transition-colors",children:e("footer.faq")})}),c.jsx("li",{children:c.jsx(at,{href:"/terms",className:"hover:text-white transition-colors",children:e("footer.terms")})}),c.jsx("li",{children:c.jsx(at,{href:"/refund-policy",className:"hover:text-white transition-colors",children:e("footer.refundPolicy")})}),c.jsx("li",{children:c.jsx(at,{href:"/privacy",className:"hover:text-white transition-colors",children:e("footer.privacyPolicy")})})]})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-bold mb-4 text-white",children:e("footer.ourOffice")}),c.jsxs("a",{href:"https://www.google.com/maps/place/The+Space+%7C+Power+Square/@24.8054479,46.6579273,683m/data=!3m2!1e3!4b1!4m6!3m5!1s0x3e2ee3e03e9a86c9:0xc347541dbf933dc8!8m2!3d24.8054431!4d46.6605022!16s%2Fg%2F11rwp0ts3z?entry=ttu&g_ep=EgoyMDI1MDcyOC4wIKXMDSoASAFQAw%3D%3D",target:"_blank",rel:"noopener noreferrer",className:"text-[#7a8599] hover:text-white transition-colors cursor-pointer text-sm leading-relaxed",children:[c.jsx("div",{children:e("footer.addressLine1")}),c.jsx("div",{children:e("footer.addressLine2")})]})]})]}),c.jsx("div",{className:"border-t border-gray-700 mt-12 pt-8 flex flex-col items-center text-gray-400",children:c.jsxs("div",{className:"flex items-center gap-4",children:[c.jsx("p",{children:e("footer.copyright")}),c.jsx("img",{src:xN,alt:"Saudi Tech",className:"h-16 w-auto object-contain scale-150 transform"})]})})]})})}const _N="data:image/webp;base64,UklGRioGAABXRUJQVlA4WAoAAAAQAAAAagAAbwAAQUxQSDUDAAABkEZbkyFJ0dbM2rZt27Zt27Zt27Zt27Y1VnXFOmoy4u/uiYgJgP+FtMVIUaBSvabtO3fu3LlTp86GFrCIYIpVqOvy088+B4aGe/VIfDsyKT93vsHHP3tRRe/FZlF5OUouf6WjsgGbS1oZpZ3xHtV+MzEVF3vdq6j+labRWEQZ8Bk5Bm0r5VIv1qwQZPqwjHJRZ2nIUzvbwFc124BQ5Pl0SCJQvtZHZOm/NI8FlE9zCTnqJ2p5QH3rFOT4ZEhC4FjgDYOvK/OagKNtFhoY8XjvrFHD/nY4dVg1X+CZ4T5NO9M+na8VJG4TRvIbnxiEdq5AamBPB0id5CZpjhvELvyJ8jgryN1Eo6x0CtYfiVofkNs0mRLcSDDzIkpIY8GsGyjevpKtoeBSu1zm+aS7aeWCcSR9nE2ubiT83MYmVvUQEn4ak8osVJYXNPTemdm0XKnSfyxaqGjO1HGcJgliHDYAEcP9/f789cvXj8/ObhhVI5WdnWm4MYYG3ZpfKRozKPJeFUT8trOCg5fvRoUQv0xPwQoqfVEJ8UQ+Vq55auGt0pwg7WW18E5BTlDumVp4Og0nU4PXauFcNyOw1Hqk1tdqnACKHNJUwp3RWEHCIY91hfwq8gJL9uFXgpXB+VZeAObEdWaffR2sKXEnKTcAMMfMVqntoHGT/nLy/B33Qo0IKC+AkSZP6lbHI2h6L5F+TTQthIQLrFJB1AU6aYtTLEh/l7TfVy7zNNLxmHJBgwjKydiClQ2lHIomWBnSdpdg1cIpS2yC9UbqQJDbtYkSVF2wvK8oj9LI5V6I1PVOscyt/SlhTUFqT9vXSL2aRChXwaV+SPUONPGwxY0fmYlSF+24/jXSb6QFlulnXb52NRJvv/TT0MDwniYOcbreQI774oL6zsp7w5Dj40KgfvpZX5GlfytQPlb7u8gzeLBDNUfFvSHIM2SsDyieev4nZBo43AdUT7cpiMnbbk5QP0rD0xoD/WwlC7BMNuCRcu8npwKu5hzL/JQK2FrKDozdNY9HqKK/XV8tCjBP1Pe+CqHPDwwq4AH+pmxzb9wy/vqV6+cPLRlQP2t0ENKRKInxCeMljOmxwT8FAQBWUDggzgIAAHAUAJ0BKmsAcAA+XSiQRSOioZl6xTQ4BcSzBuAsQAMgW1H7H18GBe4flV+R3SKbneHPxuzOTmH/feez1MeYB+pPSi+gD4AfsB+0HvR/4D1l+gB0kvoAeWr7If7tekyEua7fJnZ7JUHEA83wZC2aA0FSbzYMpl6enrFGqQ+nj01JLvcaRmHX8Gv3v3630kIomy4CBN1Kh9O7Tq0hIZpsqKL6PcqCmnCw4O51/wAA/t/oAAAy/xTX2i1l//T+cx9RoB98T2Mhz9fGWrPCvR2YnUJVZZpFop63E9tYJINdPJtLsRAf+L980vZAuI32B6WUrP5S0MU/ElnfngdEYVYeqBUssGJsgF4SiyOWGj3etI06PDgf+1kUHFX+rGV52woW+8vGYe9cacC7B5EsAsRzE4v/iN4naqMnMtuE4GP3AvlezTBwtvVzK1aFeEp/wVfk18BJNEnhJ8soWTf7zbSDsY/BR41rYD8CO+BoHH6fclle6QALQspYvZ7DoMwLgFOA0pqGkkxy0QtKRAlvSrE6H/nv/uW5NEFu81MuP6r6W+OyV0o778P13Lweec85vxj/3FsUnFp4/gtKt+78Bv+ZMNh3fjqVIl7ZNe2cM8AAkGwpM1UwfHaWKi3Lbcz6cbiKJ/txNkqCN6M
232BA6dYioEqOszJ9/yuE9bnWV9Nh/U9vjTEuKnOVztlX/+zZQAJzhYDtDK7Xr/hjbWTihX4n/dI4fuCXKWnkLNGuy8r5JGJya7W9GoDWruZ7JLtfUOTQNdVlED8GRfYpLC18m1nnK2jGjdf+9TC7bQWsJVd/EivoPXO0ea8XWy4JCojMMTaYopJGVRwPlkaUM2ouysZN1/hNK9t/4Zf//ubZS3Yk9deGuZhM8mB33WTX/7fBB6oJOF7tOxvYFtReCBx65m3epMFoTePY/uYHDKz975wfU6Icxe9Mim8SaLnSBFljn06AAA=";function zu({label:e,items:t,onNavigate:n}){const[r,i]=w.useState(!1),s=w.useRef(null),[,o]=on(),a=()=>{s.current&&clearTimeout(s.current),i(!0)},l=()=>{s.current=setTimeout(()=>i(!1),150)};return w.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),c.jsxs("div",{className:"relative",onMouseEnter:a,onMouseLeave:l,children:[c.jsxs("button",{onClick:()=>i(!r),className:"flex items-center gap-1.5 text-[15px] font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2",children:[e,c.jsx(ra,{className:`w-3.5 h-3.5 transition-transform duration-200 ${r?"rotate-180":""}`})]}),c.jsx("div",{className:`absolute start-0 top-full pt-2 z-50 transition-all duration-200 ${r?"opacity-100 visible translate-y-0":"opacity-0 invisible -translate-y-1"}`,children:c.jsx("div",{className:"bg-white rounded-lg shadow-lg border border-gray-100 py-1.5 min-w-[180px]",children:t.map((u,d)=>c.jsx("button",{onClick:()=>{u.href&&(u.href.startsWith("http")?window.open(u.href,"_blank","noopener noreferrer"):o(u.href)),i(!1),n==null||n()},className:`block w-full text-start px-4 py-2.5 text-sm transition-colors duration-150 ${u.href?"text-[#1a2744] hover:text-[#a11508] hover:bg-gray-50 cursor-pointer":"text-gray-500 cursor-default"}`,children:u.name},`${u.name}-${d}`))})})]})}function $u({label:e,items:t,onNavigate:n}){const[r,i]=w.useState(!1),[,s]=on();return c.jsxs("div",{children:[c.jsxs("button",{onClick:()=>i(!r),className:"flex items-center justify-between w-full text-lg font-semibold text-[#00081A] py-2",children:[e,c.jsx(ra,{className:`w-4 h-4 transition-transform duration-200 ${r?"rotate-180":""}`})]}),c.jsx("div",{className:`overflow-hidden transition-all duration-200 ${r?"max-h-40":"max-h-0"}`,children:c.jsx("div",{className:"ps-4 pb-2 space-y-2",children:t.map((o,a)=>c.jsx("button",{onClick:()=>{o.href&&(o.href.startsWith("http")?window.open(o.href,"_blank","noopener noreferrer"):s(o.href)),n==null||n()},className:`block text-base transition-colors py-1 ${o.href?"text-[#1a2744] hover:text-[#a11508] cursor-pointer":"text-gray-500 cursor-default"}`,children:o.name},`${o.name}-${a}`))})})]})}function bN(){on();const[e,t]=w.useState(!1),[n,r]=w.useState(!1);w.useEffect(()=>{const f=setTimeout(()=>{r(!0)},2e3);return()=>clearTimeout(f)},[]);const{language:i,setLanguage:s,t:o,isArabic:a}=$c(),[,l]=on(),u=[{name:o("lp2.hero.enginizer"),href:"/landingpage2/business-partners"},{name:o("lp2.hero.ostooly"),href:"/landingpage2/delivery-service-partners"}],d=[{name:o("nav.aboutSupermile"),href:"/landingpage2/about"}],p=[{name:a?"وثائق API":"API Documents",href:"https://staging.supermile.ai/api/docs/"},{name:a?"ربط سلة":"Connect Salla",href:"/landingpage2/salla"}];return c.jsxs("nav",{className:"fixed top-0 w-full z-50",children:[c.jsx("div",{className:"relative z-10 bg-white/90 backdrop-blur-sm border-b border-gray-100",children:c.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"flex items-center justify-between h-20",children:[c.jsxs("div",{className:"md:hidden flex items-center justify-between w-full px-2",children:[c.jsx(at,{href:"/",className:"flex-shrink-0",children:c.jsx("img",{src:_N,alt:"S",className:"h-14 w-14"})}),c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/",variant:"outline",size:"sm",className:"bg-transparent border-[#C71203] text-[#C71203] hover:bg-[#a11508] hover:text-white transition-all duration-200 font-semibold text-xs px-3 py-1",children:o("nav.signIn")}),c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/signup",size:"sm",className:"bg-[#C71203] text-white hover:bg-[#a11508] transition-all duration-200 font-semibold text-xs px-3 py-1",children:o("nav.signUp")})]}),c.jsxs(Tw,{open:e,onOpenChange:t,children:[c.jsx(Ow,{asChild:!0,children:c.jsxs(en,{variant:"ghost",size:"icon",className:"text-[#00081A] hover:bg-gray-100",children:[c.jsx(h1,{className:"h-6 w-6"}),c.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),c.jsx(Sh,{side:a?"left":"right",className:"w-[300px] sm:w-[400px] bg-white border-gray-200",children:c.jsxs("div",{className:"flex flex-col space-y-2 mt-8",children:[c.jsx($u,{label:o("nav.products"),items:u,onNavigate:()=>t(!1)}),c.jsx($u,{label:o("nav.company"),items:d,onNavigate:()=>t(!1)}),c.jsx("button",{onClick:()=>{l("/pricing"),t(!1)},className:"block text-base font-semibold text-[#00081A] py-2 text-start hover:text-[#a11508] transition-colors",children:o("nav.pricing")}),c.jsx($u,{label:o("nav.resources"),items:p,onNavigate:()=>t(!1)}),c.jsxs(at,{href:"/contact",onClick:()=>t(!1),className:"flex items-center justify-center gap-2 mt-4 text-base font-semibold bg-[#C71203] text-white px-5 py-2.5 rounded-full hover:bg-[#a11508] transition-colors duration-200",children:[c.jsx(Ul,{className:"w-4 h-4"}),o("nav.contact")]}),c.jsx("button",{onClick:()=>{s(i==="en"?"ar":"en"),t(!1)},className:"w-full text-center text-base font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2 mt-2 border border-gray-200 rounded-lg",children:i==="en"?"العربية":"English"})]})})]})]})]}),c.jsxs("div",{className:"hidden md:flex items-center justify-between w-full",children:[c.jsxs("div",{className:"flex items-center gap-8",children:[c.jsx(at,{href:"/",className:"flex-shrink-0",children:c.jsx("img",{src:"/supermile-logo.webp",alt:"Supermile",width:248,height:80,fetchpriority:"high",className:"h-20 w-auto"})}),c.jsx(zu,{label:o("nav.products"),items:u}),c.jsx(zu,{label:o("nav.company"),items:d}),c.jsx("button",{onClick:()=>l("/pricing"),className:"text-[15px] font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2",children:o("nav.pricing")}),c.jsx(zu,{label:o("nav.resources"),items:p})]}),c.jsxs("div",{className:"flex items-center gap-4",children:[c.jsxs("button",{onClick:()=>l("/contact"),className:"hidden lg:flex items-center gap-2 text-[15px] font-semibold bg-[#C71203] text-white px-5 py-2 rounded-full hover:bg-[#a11508] transition-colors duration-200",children:[c.jsx(Ul,{className:"w-4 h-4"}),o("nav.contact")]}),c.jsxs(c.Fragment,{children:[c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/",variant:"outline",size:"sm",className:"bg-transparent border-[#C71203] text-[#C71203] hover:bg-[#a11508] hover:text-white transition-all duration-200 font-semibold",children:o("nav.signIn")}),c.jsx(en,{onClick:()=>window.location.href="https://portal.supermile.ai/signup",size:"sm",className:"bg-[#C71203] text-white hover:bg-[#a11508] transition-all duration-200 font-semibold",children:o("nav.signUp")})]}),c.jsx("button",{onClick:()=>s(i==="en"?"ar":"en"),className:"text-sm font-semibold text-[#00081A] hover:text-[#a11508] transition-colors duration-200 py-2 px-0 w-[80px] text-center",children:i==="en"?"العربية":"English"})]})]})]})})}),c.jsx("div",{dir:a?"rtl":"ltr",className:"hidden",style:{maxHeight:n?"60px":"0px",opacity:n?1:0,overflow:"hidden",transition:"max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease"},children:c.jsxs("div",{className:"w-full bg-[#C71203] py-2.5 relative flex items-center justify-center",children:[c.jsx("p",{className:"text-white text-xs font-semibold tracking-wide",style:{fontFamily:a?"'Tajawal', sans-serif":"'Geist', sans-serif"},children:o("lp2.banner")}),c.jsx("button",{onClick:()=>r(!1),className:"absolute right-4 top-1/2 -translate-y-1/2 text-[#00081A]/80 hover:text-[#00081A] transition-colors duration-200","aria-label":"إغلاق الإشعار",children:c.jsx(ah,{className:"w-4 h-4",strokeWidth:3})})]})})]})}const De="https://supermile.ai",Lw="https://platform.supermile.ai",SN="سوبرمايل | Supermile",EN=`${De}/og-image.png`,Hg="@supermileai";function kN(e){return{...e,ogType:e.ogType??"website",canonicalUrl:`${De}${e.path}`,ogUrl:`${De}${e.path}`,ogImage:e.ogImage??EN}}function AN(){return{"@context":"https://schema.org","@type":"Organization",name:"Supermile",alternateName:"سوبرمايل",legalName:"Supermile",url:De,logo:`${De}
232/favicon.png`,description:"Saudi Arabia's Last-Mile Operating System. AI-powered platform aggregating 520+ logistics partners and 26,000+ drivers for quick-commerce, grocery, F&B, retail, and e-commerce across the Kingdom. Live platform at platform.supermile.ai.",foundingLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressCountry:"SA",addressRegion:"Riyadh Province",addressLocality:"Riyadh",streetAddress:"Al Qala'a, Ar Rabi",postalCode:"13316"}},address:{"@type":"PostalAddress",addressCountry:"SA",addressRegion:"Riyadh Province",addressLocality:"Riyadh",streetAddress:"Al Qala'a, Ar Rabi",postalCode:"13316"},areaServed:{"@type":"Country",name:"Saudi Arabia"},sameAs:["https://www.linkedin.com/company/supermile","https://x.com/supermileai","https://www.instagram.com/supermileai"],contactPoint:[{"@type":"ContactPoint",contactType:"customer support",email:"[email protected]",availableLanguage:["en","ar"],areaServed:"SA"},{"@type":"ContactPoint",contactType:"sales",url:`${De}/contact`,availableLanguage:["en","ar"],areaServed:"SA"}]}}function CN(){return{"@context":"https://schema.org","@type":"WebSite",name:"Supermile",alternateName:"سوبرمايل",url:De,inLanguage:["en","ar"],potentialAction:{"@type":"SearchAction",target:`${De}/search?q={search_term_string}`,"query-input":"required name=search_term_string"}}}function PN(e){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((t,n)=>({"@type":"ListItem",position:n+1,name:t.name,item:`${De}${t.path}`}))}}function NN(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.q,acceptedAnswer:{"@type":"Answer",text:t.a}}))}}function jN(){return{"@context":"https://schema.org","@type":"SoftwareApplication",name:"ENGINIZER",alternateName:"إنجنايزر — Supermile ENGINIZER",applicationCategory:"BusinessApplication",applicationSubCategory:"Last-Mile Delivery Management",operatingSystem:"Web, iOS, Android",url:`${Lw}`,inLanguage:["en","ar"],description:"AI-powered last-mile delivery orchestration for restaurants, retailers, and e-commerce businesses in Saudi Arabia. Automates dispatch across internal, external, and Supermile fleets. Integrates with Salla and Foodics. Live at platform.supermile.ai.",offers:{"@type":"Offer",priceCurrency:"SAR",url:`${De}/pricing`,availability:"https://schema.org/OnlineOnly",areaServed:{"@type":"Country",name:"Saudi Arabia"}},featureList:["AI dispatch orchestration under 1 second","Multi-fleet routing (internal, external, Supermile)","Real-time order tracking","Predictive demand engine","Salla and Foodics POS integration","Automated daily financial settlement","Automated KSA compliance"],provider:{"@type":"Organization",name:"Supermile",url:De}}}function RN(){return{"@context":"https://schema.org","@type":"SoftwareApplication",name:"OSTOOLY",alternateName:"أسطولي — Supermile OSTOOLY",applicationCategory:"BusinessApplication",applicationSubCategory:"Fleet Management Software",operatingSystem:"Web, iOS, Android",url:`${Lw}`,inLanguage:["en","ar"],description:"Performance OS for fleet operators and delivery service providers (DSPs) in Saudi Arabia. Fleet management, live tracking, automated KSA regulatory compliance (Ministry of Transport, ZATCA, GOSI), and earnings optimisation. Live at platform.supermile.ai.",offers:{"@type":"Offer",priceCurrency:"SAR",url:`${De}/pricing`,availability:"https://schema.org/OnlineOnly",areaServed:{"@type":"Country",name:"Saudi Arabia"}},featureList:["Driver and vehicle fleet management","Live GPS driver tracking","Earnings optimisation (+34% average)","Automated KSA regulatory compliance","Workforce scheduling","Maintenance tracking","Daily automated financial settlement"],provider:{"@type":"Organization",name:"Supermile",url:De}}}function TN(){return{"@context":"https://schema.org","@type":"Service",name:"Last-Mile Delivery Orchestration — Saudi Arabia",alternateName:"نظام تشغيل الميل الأخير — المملكة العربية السعودية",serviceType:"AI Last-Mile Delivery Orchestration",description:"Supermile orchestrates last-mile delivery across 520+ logistics partners and 26,000+ drivers in Saudi Arabia. Automated provider selection, dynamic routing, and real-time dispatching across internal, external, and Supermile fleets. Achieves 34% more partner earnings and 24% lower losses.",provider:{"@type":"Organization",name:"Supermile",url:De,address:{"@type":"PostalAddress",addressCountry:"SA",addressRegion:"Riyadh Province",addressLocality:"Riyadh",streetAddress:"Al Qala'a, Ar Rabi",postalCode:"13316"}},areaServed:[{"@type":"Country",name:"Saudi Arabia"},{"@type":"City",name:"Riyadh"},{"@type":"City",name:"Jeddah"},{"@type":"City",name:"Dammam"},{"@type":"City",name:"Makkah"},{"@type":"City",name:"Madinah"}],availableLanguage:["en","ar"],url:De}}function ON(e){return{"@context":"https://schema.org","@type":"WebPage",name:e.title,de
232scription:e.description,url:`${De}${e.path}`,inLanguage:["en","ar"],datePublished:e.datePublished??"2024-01-01",dateModified:e.dateModified??new Date().toISOString().split("T")[0],publisher:{"@type":"Organization",name:"Supermile",url:De,logo:{"@type":"ImageObject",url:`${De}/favicon.png`}},isPartOf:{"@type":"WebSite",name:"Supermile",url:De}}}function ae(e,t,n="name"){let r=document.querySelector(`meta[${n}="${e}"]`);r||(r=document.createElement("meta"),r.setAttribute(n,e),document.head.appendChild(r)),r.setAttribute("content",t)}function IN(e,t,n){let r=document.querySelector(`link[rel="${e}"]`);r||(r=document.createElement("link"),r.setAttribute("rel",e),document.head.appendChild(r)),r.setAttribute("href",t)}function MN(e,t){let n=document.querySelector(`script[data-seo-id="${e}"]`);n||(n=document.createElement("script"),n.setAttribute("type","application/ld+json"),n.setAttribute("data-seo-id",e),document.head.appendChild(n)),n.textContent=JSON.stringify(t)}function LN(e){const t=document.querySelector(`script[data-seo-id="${e}"]`);t&&t.remove()}function FN({title:e,description:t,canonicalUrl:n,ogUrl:r,ogImage:i,ogType:s="website",keywords:o,publishedTime:a,modifiedTime:l,author:u,noIndex:d=!1,structuredData:p}){return w.useEffect(()=>{const f=e.includes("|")?e:`${e} | ${SN}`,g=`https://supermile.ai${window.location.pathname}${new URLSearchParams(window.location.search).get("lang")==="en"?"?lang=en":""}`;document.title=f;const x=d?"noindex, nofollow":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1";if(ae("description",t),ae("robots",x),ae("googlebot",x),ae("bingbot",x),ae("GPTBot",x),ae("ClaudeBot",x),ae("PerplexityBot",x),o&&ae("keywords",o),IN("canonical",g),ae("og:type",s,"property"),ae("og:title",f,"property"),ae("og:description",t,"property"),ae("og:image",i,"property"),ae("og:image:width","1200","property"),ae("og:image:height","630","property"),ae("og:url",g,"property"),ae("og:site_name","Supermile | سوبرمايل","property"),ae("og:locale","ar_SA","property"),ae("og:locale:alternate","en_US","property"),ae("twitter:card","summary_large_image"),ae("twitter:title",f),ae("twitter:description",t),ae("twitter:image",i),ae("twitter:site",Hg),ae("twitter:creator",Hg),a&&ae("article:published_time",a,"property"),l&&ae("article:modified_time",l,"property"),u&&ae("article:author",u,"property"),p){const h=Array.isArray(p)?p:[p];return h.forEach((_,m)=>MN(`seo-schema-${m}`,_)),()=>{h.forEach((_,m)=>LN(`seo-schema-${m}`))}}},[e,t,n,r,i,s,o,a,l,u,d,p]),null}const Fs="https://supermile.ai";function Uu(e,t){let n=document.querySelector(`script[data-lp2seo="${e}"]`);return n||(n=document.createElement("script"),n.setAttribute("type","application/ld+json"),n.setAttribute("data-lp2seo",e),document.head.appendChild(n)),n.textContent=JSON.stringify(t),()=>{var r;(r=document.querySelector(`script[data-lp2seo="${e}"]`))==null||r.remove()}}function Nn(e,t,n="name"){const r=`meta[${n}="${e}"][data-lp2seo]`;let i=document.querySelector(r);return i||(i=document.createElement("meta"),i.setAttribute(n,e),i.setAttribute("data-lp2seo","1"),document.head.appendChild(i)),i.setAttribute("content",t),i}function DN(){return w.useEffect(()=>{const e=document.title;document.title="Supermile — AI-Powered Last-Mile Operating System | Saudi Arabia",Nn("description","Supermile is Saudi Arabia's AI-powered last-mile operating system. OSTOOLY for fleet operators, ENGINIZER for restaurants, retailers, and e-commerce. 520+ partners, 26,000+ drivers across all Saudi regions."),Nn("geo.region","SA"),Nn("geo.placename","Saudi Arabia"),Nn("geo.position","24.7136;46.6753"),Nn("ICBM","24.7136, 46.6753"),Nn("language","ar, en"),Nn("content-language","ar-SA, en-US"),Nn("DC.coverage","Saudi Arabia, المملكة العربية السعودية, Riyadh, الرياض, Jeddah, جدة, Dammam, الدمام, Makkah, مكة المكرمة, Madinah, المدينة المنورة, Khobar, الخبر, Tabuk, تبوك, Abha, أبها, Khamis Mushait, خميس مشيط, Jubail, الجبيل, Yanbu, ينبع, Hail, حائل, Najran, نجران, Taif, الطائف"),Nn("DC.subject","last-mile delivery, توصيل, fleet management, إدارة الأساطيل, logistics, لوجستيات, courier management, إدارة المناديب, delivery ERP, نظام ERP التوصيل, cloud delivery system, نظام سحابي للتوصيل, e-invoicing delivery, الفواتير الإلكترونية, courier HR, الموارد البشرية للمناديب, Saudi Arabia, المملكة العربية السعودية");const t=[{en:"Riyadh",ar:"الرياض"},{en:"Jeddah",ar:"جدة"},{en:"Dammam",ar:"الدمام"},{en:"Makkah",ar:"مكة المكرمة"},{en:"Madinah",ar:"المدينة المنورة"},{en:"Khobar",ar:"الخبر"},{en:"Tabuk",ar:"تبوك"},{en:"Abha",ar:"أبها"},{en:"Khamis Mushait",ar:"خميس مشيط"},{en:"Jubail",ar:"الجبيل"},{en:"Yanbu",ar:"ينبع"},{en:"Hail",ar:"حائل"},{en:"Najran",ar:"نجران"},{en:"Taif",ar:"الطائف"}],n={"@context":"https://schema.org","@type":"ItemList",name:"Supermile Last-Mile Delivery Services — Saudi Arabia Cities | سوبرمايل — خدمات توصيل الطلبات في مدن المملكة",description:"Supermile provides AI-powered last-mile delivery management, fleet management, courier management, and order delivery systems across all major Saudi Arabian cities. سوبرمايل يقدم نظام إدارة التوصيل، إدارة المناديب، توصيل الطلبات، وإدارة الأساطيل في جميع مدن المملكة العربية السعودية.",numberOfItems:t.length,itemListElement:t.map((u,d)=>({"@type":"ListItem",position:d+1,name:`Supermile ${u.en} — نظام توصيل ${u.ar}`,description:`AI last-mile delivery orchestration, fleet management, courier management, and order delivery system in ${u.en}, Saudi Arabia. نظام توصيل الطلبات، إدارة المناديب، إدارة الأساطيل، وشركاء التوصيل في ${u.ar}، المملكة العربية السعودية. توصيل سريع، توصيل الشحنات، الشركات المشغلة، شركات التجزئة.`,url:`${Fs}/`}))},r=Uu("city-list",n),s={"@context":"https://schema.org","@type":"Service",name:"Supermile Delivery Partner Network — Saudi Arabia | شبكة شركاء توصيل سوبرمايل",alternateName:["نظام شركاء التوصيل في السعودية","منصة إدارة المناديب وتوصيل الطلبات","نظام توصيل الشحنات للشركات المشغلة","تطبيقات التوصيل والشحنات السعودية","Saudi Last-Mile Partner Network","AI Courier Management Saudi Arabia","Delivery Partner Aggregator KSA"],description:"Supermile integrates with 520+ delivery partners and courier networks across Saudi Arabia including HungerStation, Jahez, Noon Minutes, Ninja Food, Mrsool, Keetea, SMSA Express, Naqel Express, OTO, Floward, and Salla. يتكامل سوبرمايل مع أكثر من 520 شريك توصيل ومندوب في المملكة العربية السعودية بما يشمل هنقرستيشن وجاهز ونون مينتس ونينجا فود ومرسول وسمسا إكسبريس وناقل إكسبريس وأوتو وفلاورد وسلة. نظام إدارة المناديب وتوصيل الطلبات والشحنات للشركات المشغلة وشركات التجزئة.",provider:{"@type":"Organization",name:"Supermile",url:Fs},areaServed:{"@type":"Country",name:"Saudi Arabia"},serviceOutput:{"@type":"Thing",name:"Integrated delivery partner management, fleet management, order delivery, courier dispatch | إدارة شركاء التوصيل، إدارة الأساطيل، توصيل الطلبات، إرسال المناديب"},hasOfferCatalog:{"@type":"OfferCatalog",name:"Supermile Delivery Partner Integrations",itemListElement:[{en:"Noon Minutes",ar:"نون مينتس",desc:"Quick-commerce grocery delivery, Saudi Arabia"},{en:"HungerStation",ar:"هنقرستيشن",desc:"Food delivery marketplace, Saudi Arabia"},{en:"Jahez",ar:"جاهز",desc:"Food and grocery delivery app, Saudi Arabia"},{en:"Ninja Food",ar:"نينجا فود",desc:"Food delivery platform, Saudi Arabia"},{en:"Mrsool",ar:"مرسول",desc:"On-demand delivery app, Saudi Arabia"},{en:"Keetea",ar:"كيتيا",desc:"Beverage and food delivery, Saudi Arabia"},{en:"Mr Mandoob",ar:"مستر مندوب",desc:"Delivery courier service, Saudi Arabia"},{en:"Super Mall",ar:"سوبر مول",desc:"E-commerce and grocery delivery, Saudi Arabia"},{en:"Amazon",ar:"أمازون",desc:"E-commerce logistics, Saudi Arabia"},{en:"The Chefz",ar:"ذا شيفز",desc:"Premium food delivery, Saudi Arabia"},{en:"Keemart",ar:"كيمارت",desc:"Grocery delivery, Saudi Arabia"},{en:"SMSA Express",ar:"سمسا إكسبريس",desc:"Courier and parcel delivery, Saudi Arabia"},{en:"Naqel Express",ar:"ناقل إكسبريس",desc:"Logistics and parcel delivery, Saudi Arabia"},{en:"OTO",ar:"أوتو",desc:"Last-mile e-commerce delivery, Saudi Arabia"},{en:"Floward",ar:"فلاورد",desc:"Flowers and gifting delivery, Saudi Arabia"},{en:"Salla",ar:"سلة",desc:"E-commerce platform, Saudi Arabia"}].map(u=>
232({"@type":"Offer",name:`Supermile × ${u.en} | سوبرمايل × ${u.ar}`,description:`${u.desc} — توصيل سريع، إدارة الطلبات، شركاء التوصيل`,areaServed:{"@type":"Country",name:"Saudi Arabia"}}))}},o=Uu("partner-network",s),a={"@context":"https://schema.org","@type":"SoftwareApplication",name:"Supermile — نظام توصيل الطلبات وإدارة المناديب في السعودية",alternateName:["سوبرمايل","Supermile ENGINIZER","Supermile OSTOOLY","إنجنايز — نظام توصيل الطلبات","أسطولي — نظام إدارة الأساطيل","نظام إدارة المناديب السعودية","برنامج إدارة المناديب والتوصيل","تطبيق توصيل الشحنات للشركات المشغلة","نظام شركاء التوصيل والموارد البشرية للمناديب","نظام ERP التوصيل السحابي","نظام متكامل لإدارة التوصيل والمنشآت","حلول التوصيل السحابية الشاملة للمنشآت التجارية","Saudi Delivery Management System","Last-Mile Operating System Saudi Arabia","Fleet Management App KSA","Courier HR & Dispatch Platform Saudi Arabia","Delivery ERP Saudi Arabia","Cloud Courier Management System KSA","Best Courier Management Software Saudi Arabia","Integrated Last-Mile Delivery Platform KSA"],applicationCategory:"BusinessApplication",applicationSubCategory:["Last-Mile Delivery Orchestration","Fleet Management","Courier Management","Order Management System","Delivery Partner Network","نظام إدارة التوصيل","إدارة الأساطيل","إدارة المناديب","توصيل الطلبات","شركاء التوصيل"],operatingSystem:"Web, iOS, Android",url:Fs,inLanguage:["en","ar"],description:"Supermile is Saudi Arabia's AI-powered last-mile operating system. Serving restaurants, retailers, e-commerce businesses (الشركات المشغلة، شركات التجزئة، التجارة الإلكترونية), Supermile provides fast delivery (التوصيل السريع), order delivery systems (توصيل الطلبات نظام), courier management (إدارة المناديب), order management (إدارة الطلبات), shipment delivery (توصيل الشحنات), delivery apps and shipment systems (تطبيقات التوصيل الشحنات نظام), delivery partner networks (شركاء التوصيل), and courier workforce management (الموارد البشرية المناديب) across all regions of Saudi Arabia.",featureList:["AI dispatch — توزيع ذكي بالذكاء الاصطناعي","Multi-fleet routing — توجيه متعدد الأساطيل","Courier management software — برنامج إدارة المناديب","Order management system — نظام إدارة الطلبات","Fast delivery orchestration — التوصيل السريع","Shipment delivery tracking — تتبع توصيل الشحنات","Delivery partner network — شبكة شركاء التوصيل","Courier HR & workforce management — إدارة الموارد البشرية للمناديب","Operating company solutions — حلول الشركات المشغلة والمنشآت التجارية","Retail delivery integration — تكامل شركات التجزئة","Cloud delivery ERP — نظام ERP التوصيل السحابي","E-invoicing & financial settlements — الفواتير الإلكترونية والتسويات المالية","Mobile POS delivery integration — تكامل نقاط البيع المتحركة","Courier earnings & incentives — أرباح ومكافآت المناديب","Comprehensive integrated delivery system — نظام متكامل وشامل لإدارة التوصيل","HungerStation integration — تكامل هنقرستيشن","Jahez integration — تكامل جاهز","Noon Minutes integration — تكامل نون مينتس","Ninja Food integration — تكامل نينجا فود","Mrsool integration — تكامل مرسول","Salla e-commerce integration — تكامل سلة","SMSA Express integration — تكامل سمسا إكسبريس","Naqel Express integration — تكامل ناقل إكسبريس","Foodics POS integration — تكامل فودكس"],offers:{"@type":"Offer",priceCurrency:"SAR",url:`${Fs}/pricing`,availability:"https://schema.org/OnlineOnly",areaServed:[{"@type":"Country",name:"Saudi Arabia"},{"@type":"City",name:"Riyadh — الرياض"},{"@type":"City",name:"Jeddah — جدة"},{"@type":"City",name:"Dammam — الدمام"},{"@type":"City",name:"Makkah — مكة المكرمة"},{"@type":"City",name:"Madinah — المدينة المنورة"},{"@type":"City",name:"Khobar — الخبر"},{"@type":"City",name:"Tabuk — تبوك"},{"@type":"City",name:"Abha — أبها"},{"@type":"City",name:"Taif — الطائف"}]},provider:{"@type":"Organization",name:"Supermile",alternateName:"سوبرمايل",url:Fs}},l=Uu("rich-app",a);return()=>{document.title=e,r(),o(),l(),document.querySelectorAll("meta[data-lp2seo]").forEach(u=>u.remove())}},[]),c.jsxs("div",{"aria-hidden":"true",style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0},children:[c.jsx("h2",{children:"Supermile — Last-Mile Delivery System Saudi Arabia"}
232),c.jsx("p",{children:"Supermile is the leading AI-powered last-mile delivery management system in Saudi Arabia. We serve operating companies, retail companies, quick-commerce, restaurants, and e-commerce businesses with fast delivery orchestration, order management, courier management, shipment delivery tracking, and a connected delivery partner network of 520+ partners and 26,000+ drivers across every region of the Kingdom."}),c.jsx("h3",{children:"Delivery Management for Operating Companies — Saudi Arabia"}),c.jsx("p",{children:"Supermile helps operating companies (الشركات المشغلة) and retail companies (شركات التجزئة) in Saudi Arabia manage couriers, dispatch orders, track shipments, and connect with delivery partners — all in one platform. Covering Riyadh, Jeddah, Dammam, Makkah, Madinah, Khobar, Tabuk, Abha, Taif, Hail, Jubail, Yanbu, Najran, Khamis Mushait, and all Saudi regions."}),c.jsx("h3",{children:"Delivery Partner Network — Saudi Arabia"}),c.jsx("p",{children:"Integrated delivery partners include HungerStation, Jahez, Noon Minutes, Ninja Food, Mrsool, Keetea, Mr Mandoob, Super Mall, Amazon, The Chefz, Keemart, SMSA Express, Naqel Express, OTO, Floward, and Salla. Fast delivery apps and shipment delivery systems for every sector."}),c.jsx("h3",{children:"Courier Management & Workforce — Saudi Arabia"}),c.jsx("p",{children:"Supermile's OSTOOLY platform offers full courier HR and workforce management (إدارة الموارد البشرية للمناديب), fleet management, order delivery systems, automated compliance, earnings optimisation, and delivery partner integration for all Saudi delivery operators and logistics companies."}),c.jsx("h2",{children:"سوبرمايل — نظام توصيل الطلبات وإدارة المناديب في المملكة العربية السعودية"}),c.jsx("p",{children:"سوبرمايل هو نظام تشغيل الميل الأخير المدعوم بالذكاء الاصطناعي في المملكة العربية السعودية. يخدم الشركات المشغلة وشركات التجزئة والمطاعم والتجارة الإلكترونية بحلول التوصيل السريع، وتوصيل الطلبات، وإدارة المناديب، وإدارة الطلبات، وتوصيل الشحنات، وتطبيقات التوصيل الشحنات نظام، وشبكة شركاء التوصيل، وإدارة الموارد البشرية للمناديب."}),c.jsx("h3",{children:"نظام إدارة التوصيل للشركات المشغلة وشركات التجزئة في السعودية"}),c.jsx("p",{children:"يساعد سوبرمايل الشركات المشغلة وشركات التجزئة في المملكة العربية السعودية على إدارة المناديب، وتوزيع الطلبات، وتتبع الشحنات، والتواصل مع شركاء التوصيل — كل ذلك في منصة واحدة. يغطي الرياض وجدة والدمام ومكة المكرمة والمدينة المنورة والخبر وتبوك وأبها والطائف وحائل والجبيل وينبع ونجران وخميس مشيط وجميع مناطق المملكة."}),c.jsx("h3",{children:"شبكة شركاء التوصيل في المملكة العربية السعودية"}),c.jsx("p",{children:"يتكامل سوبرمايل مع أبرز تطبيقات التوصيل في المملكة: هنقرستيشن، جاهز، نون مينتس، نينجا فود، مرسول، كيتيا، مستر مندوب، سوبر مول، أمازون، ذا شيفز، كيمارت، سمسا إكسبريس، ناقل إكسبريس، أوتو، فلاورد، وسلة. نظام توصيل الشحنات السريع لجميع القطاعات والمدن السعودية."}),c.jsx("h3",{children:"إدارة المناديب والموارد البشرية — المملكة العربية السعودية"}),c.jsx("p",{children:"توفر منصة أسطولي من سوبرمايل إدارة شاملة للمناديب والموارد البشرية (الموارد البشرية المناديب)، وإدارة الأساطيل، ونظام توصيل الطلبات، وتوصيل الشحنات، وامتثال تلقائي لأنظمة المملكة، وتحسين الأرباح، وتكامل شركاء التوصيل لجميع مشغلي التوصيل وشركات اللوجستيات السعودية."}),c.jsx("h3",{children:"Supermile — Delivery ERP & Courier Management Software for Saudi Businesses"}),c.jsx("p",{children:"Supermile is the cloud-based delivery ERP and courier management software (برنامج إدارة المناديب السحابي) built for Saudi businesses, operating companies (الشركات المشغلة), and commercial establishments (المنشآت التجارية). Unlike traditional ERP systems, Supermile is purpose-built for last-mile delivery operations — covering courier dispatch, fleet routing, e-invoicing (الفواتير الإلكترونية), financial settlements (التسويات المالية), mobile POS integration (نقاط البيع المتحركة), courier earnings and incentives (أرباح ومكافآت المناديب), and full courier HR management (إدارة الموارد البشرية للمناديب) in one integrated system."}),c.jsx("h3",{children:"نظام ERP التوصيل السحابي — برنامج إدارة المناديب والمنشآت في السعودية"}),c.jsx("p",{children:"سوبرمايل هو نظام ERP التوصيل السحابي المتكامل المصمم للمنشآت التجارية والشركات المشغلة في المملكة العربية السعودية. يوفر سوبرمايل: برنامج إدارة المناديب، وإدارة الأساطيل، والفواتير الإلكترونية، والتسويات المالية، وتكامل نقاط البيع المتحركة، وإدارة أرباح المناديب ومكافآتهم، وإدارة الموارد البشرية للمناديب — كل ذلك في منصة واحدة شاملة ومتكاملة، تُشغَّل سحابيًا وتتكامل مع سلة وفودكس وجاهز وهنقرستيشن ومرسول وغيرها."}),c.jsx("h3",{children:"Cloud Delivery Management vs. Traditional ERP — Saudi Arabia"}),c.jsx("p",{children:"Supermile replaces fragmented ERP modules with a single delivery-first platform. Where traditional ERP systems handle accounting and inventory separately, Supermile unifies courier dispatch, partner settlements, driver earnings, compliance tracking, and e-invoicing into one cloud system optimised for Saudi last-mile operations. Best courier management software for quick-commerce, grocery, F&B, retail, and e-commerce in KSA."}),c.jsx("h3",{children:"الفواتير الإلكترونية والتسويات المالية لشركات التوصيل — المملكة العربية السعودية"}),c.jsx("p",{children:"يدعم سوبرمايل متطلبات الفواتير الإلكترونية (فاتورة) المعتمدة في المملكة العربية السعودية لشركات التوصيل والمنشآت التجارية. يتولى النظام إصدار الفواتير الإلكترونية، وإدارة التسويات المالية بين شركاء التوصيل، واحتساب أرباح المناديب ومكافآتهم، وربط ذلك مع نقاط البيع المتحركة (POS) آليًا وبدون تدخل بشري."}),c.jsxs("ul",{children:[c.jsx("li",{children:"Supermile — Fast Delivery System for Saudi Retailers | سوبرمايل — نظام التوصيل السريع لشركات التجزئة في السعودية"}),c.jsx("li",{children:"Order Delivery Management System Saudi Arabia | نظام إدارة توصيل الطلبات — المملكة العربية السعودية"}),c.jsx("li",{children:"Courier Management Platform KSA | منصة إدارة المناديب في المملكة العربية السعودية"}),c.jsx("li",{children:"Shipment Delivery App for Operating Companies Saudi Arabia | تطبيق توصيل الشحنات للشركات المشغلة في السعودية"}),c.jsx("li",{children:"Delivery Partner Network Saudi Arabia — HungerStation, Jahez, Mrsool, Noon Minutes | شبكة شركاء التوصيل السعودية"}),c.jsx("li",{children:"Courier Workforce & HR Management Saudi Arabia | إدارة الموارد البشرية والمناديب في المملكة العربية السعودية"}),c.jsx("li",{children:"AI Delivery Platform Riyadh Jeddah Dammam | منصة توصيل ذكية — الرياض جدة الدمام"}),c.jsx("li",{children:"Last-Mile Delivery Saudi Arabia — All Regions | توصيل الميل الأخير — جميع مناطق المملكة العربية السعودية"}),c.jsx("li",{children:"Delivery ERP Saudi Arabia — Cloud Courier Management | نظام ERP التوصيل السحابي — المملكة العربية السعودية"}),c.jsx("li",{children:"Best Courier Management Software Saudi Arabia | أفضل برنامج إدارة مناديب في المملكة العربية السعودية"}),c.jsx("li",{children:"E-invoicing Delivery System Saudi Arabia | نظام الفواتير الإلكترونية لشركات التوصيل في السعودية"}),c.jsx("li",{children:"Mobile POS Delivery Integration KSA | تكامل نقاط البيع المتحركة لشركات التوصيل السعودية"}),c.jsx("li",{children:"Courier Earnings & Incentives Platform Saudi Arabia | منصة أرباح ومكافآت المناديب في السعودية"}),c.jsx("li",{children:"Integrated Delivery System for Commercial Establishments KSA | نظام التوصيل المتكامل للمنشآت التجارية السعودية"}),c.jsx("li",{children:"Supermile × HungerStation Delivery Integration Saudi Arabia | سوبرمايل × هنقرستيشن تكامل توصيل السعودية"}),c.jsx("li",{children:"Supermile × Jahez Integration Saudi Arabia | سوبرمايل × جاهز تكامل السعودية"}),c.jsx("li",{children:"Supermile × Mrsool Integration Saudi Arabia | سوبرمايل × مرسول تكامل السعودية"}),c.jsx("li",{children:"Supermile × Noon Minutes Integration Saudi Arabia | سوبرمايل × نون مينتس تكامل السعودية"}),c.jsx("li",{children:"Supermile × Ninja Food Integration Saudi Arabia | سوبرمايل × نينجا فود تكامل السعودية"}),c.jsx("li",{children:"Supermile × Salla E-commerce Delivery Saudi Arabia | سوبرمايل × سلة للتجارة الإلكترونية السعودية"}),c.jsx("li",{children:"Supermile × Foodics POS Integration Saudi Arabia | سوبرمايل × فودكس تكامل نقاط البيع السعودية"}),c.jsx("li",{children:"Delivery Apps & Shipment System for Retail Saudi Arabia | تطبيقات التوصيل والشحنات لشركات التجزئة السعودية"})]})]})}const zN="/assets/noonMinutesLogo-BwvKht1c.webp",$N="/assets/keemartL
232ogo-UEX3k8ss.webp",UN="data:image/webp;base64,UklGRmYJAABXRUJQVlA4IFoJAADwOgCdASpoAZYAPnk6m0ikoyMhJZM6QJAPCU3cLjwbq0f7D+R3iOd27N/RP2M/KfrUOH/DnPmGk6zv3n9z/IX5qf3L/Aeyb7t/cA/S7/i/3XrfeYf+i/3j9uPeW9Fn9r/t3/A9wD+ff7P//9hv6AH7Y+mr+4nwm/tz+53tG//HWXvMH9m7e67zf/lhcBdLW0H5LpE8C1KRL095LUpEvT3ktSkS9PeS1KRL0925NlZfONZ6VEPmqYvtqgyybB6Rk9/BXuqeRcPmqYvqXSr2iyJEwELNrpm+A+cHg29HSjx3vUvbNpkEs+IjAzER0ys2QQlRqotprzNyG3xJc/VhKeF7QLdpm+iXt0Zweug8thqrZaubo3ySvMFPELbTpqqT66BnxG1/7ms3K9GguaSH5m8nDsseM33aXUIPvO6pV7F8lkv1sPgFuqLQO73pJXz1gHG1nFAh5JiBNf7ahKEwoHEYKwRbHb3T5eUQ0ihIX6/WWYDOWvWUe0Ug+v8sLJeh2mdA3IOwzuTFUKFftaeoCgKlI+0qV8405ktHcZDq7yy4ay8n5BRV+ZneoNyIdeioyOzszKiAganzQtqF+e9vKkPW6UhUeDDyu+LJ7yWpSJenvJalIl6e8lqUiXp7yWpSJVAA/v62fxeDz76x5nBhhwH8AAAAAAAAUm9jp73ySPFrElP5yNxoX6FR+U3KEtZZas0n1++e7zFkOhhbBDjIv4K5D2i8L7o4gD7+v+0W+qgd/gzQIQtPeAPhI46xQGuqzDN/ixCkjSAjMQAo8L++LRNs3bH3G9Ze/d6YTCoIatUm4jVi0WTNXxm826FHzHywam2IN3S3fuM6eRHDWN5ie86gQfr3kWE72uP14caGZdVsHCZXuqfuw9mmusqXvDpF4SgliMU4uEewFeTEqhro+B/jexx/kRWwGMHDuht9Y9QbYvWHDQa0V5JEiRf4jcRLgJHDpgQwjxwORkfQjGaFBZzmycxkCeb7i31I3CR8rvARLFZTuP8RyB+RRLPbnROgGFxWu/adcemYZ8FwWSs8NEIY5FJGjpKwnild2uqG9aEvkMoeWFsCgci2dRMwOoInK92k1rZHBlugpnRQ16BG4bNLIfKAQ1btLuXoRGeDL1h2mATZRjSBkXB0+CiVbFaZOJxjGpDCqvvZnTflZieQgp6PkSlHlI9UW87nrTgPEq7dOjBdSnGrwd9Lb9HUXUXsSqwqlz9ey7duQY0U8kotVE/nBWGE35w6w7n+zzZ+vf+3d4JMqFG5ckQUnR5gk87/xhuLgCJWsU40vT7u4/Fyrq2mwvXevf4Vz7vZ7M3c4PkaZ82xTzU3zSDdsLgZhvBT1zuPkdIRFhPdq92t0o6KNTBAOb4fjZv9TWvkqWlnObx6RUOFnkP/5OeWx2xxcAHwz/vjA2pxmi9/41IFeDVBspObejkG6UdY7LG1ftlASGaQRSkMsGL1ISWjtDaZyWhw8dNf5+U17+pMKs9ioo9+I6sRHj0bM158QHo2eJlCt37zZxQI+KALwqNOxSM0YpWBJW+hBzyEBZRwj1wPBHpgvSt4VkWs/0xc3oDLhzu1ke8QHJW7ViDv4ohItjRFMk9YlVmQke3cicKbsCOjjj8D18YI9vn1828jHn2jVzPhnXmULhafxEp+V/Wtq2xYRj7SJlraLPtKMjnW0RCgJKvf48N8NtsAz46gq59nCXlZ+Hp7/+X7aHtLYdmVuP4kNN1j98gyelPl475PjmI2mdzaBGajLZrrZCTIQLGDdvwZS1CzXhRmPOtFiWautPWcChlyjV5aTMiWw+HNYjOTmaTjxeqdB36RmDY/gkDbaGKiqbKTGr7lnbfSYqjZQUky1WYHE9lfLVXF9Z+gCyy+3xF/elz/pWLSGn7VPReAbwJJeoVCtPF0YjsRPU+hfCp5ObAL/MpZnrYSLQ
232dTNBN/1Kc8dEp6zexsYLsO17XcX9/9sjabXy4dgPPvgJDPF79ijqKyFxeZQsIHvqaRhJT3rr+THyOJbvrtHhUHxB+ziPMoUCmrtqtX5OKR8Gi/FXy9es64j5M4Q/4qim/78XWB/ZrNhQBc2bc5fuD558QPtxNNaOSlIpdqEHGAdyg0e4JomJoAzICZ+sAQFhtEmhyqboNNjmrO1gvT7DWNj7q1TZv4uFs27lU9tl3GAOpqQIHScKGG18osTte+QApWTLO4U6+a93ByN0VYE5+1d2IXa4vNhrqMZrN+Fkiy1sYgLfQXTEoKyxq3Cg55yveO6s9vGyDwMXo4Jn9L9T7GFSXRv1jMllKGIYLnds+CaKxy8XjlxEFj0CDva5Kx7ntXF4On+2M44QhlejY7SnavtH3vfm73hzST+ZypSwJwIJqnA1YvHLJCwJ5VRgF8T8LhOtqlT7Vx6uEzZkqzDwtD/oIMkUGVc/s6W8eZS19MbMda3/SEt5/l3UmKE1Zqy9khCfPyNJhJ3f/c/qPSdAramDY/K4ZSz3CAv7DFNcZ9soRfF3qbW7rYAWzZvsdbzPxZvtstpF6hFP9Bxo93Ddy+74N/7cEu8NmNgo1wYaD8auOZ8eh6SLVslA/n1Q6RZSKcouaHeYxDBPTvOTv1jMqux8hXU1pjMf8YeSAsQG2dj4vLWVJ2xZ6PI0WPJABXHjE0QFW6ViFpoPXDpGm8e4JsTzUBH5UcxLmozaPTptKJ+7gjh9Jit1uCBM8kEheLfaypMkPr57snUwCo3JhFN+ru0wc5M2N1xrm66NmU7tfeYZlwuphDlR7RcZJsQwmxM9YUTK26+3nmFqLBprNtknsrDapjTZWKmUtOJICsjX/2kXU0czgQ5ZtdyctUHCHMaTVHHCf8UA79u2VkVbIglHq9udQeD9jFyrUfh5bwxefrFpHmQb4qTc1oDDzcFoOSMTgGH7a8msJmTreEezsr8QS2F30D+7R/n0T+V0eKBgQq+1jQevdDMAjHiblFFA37t4sbtQQ+rwzSyzROUSCe+4H7HaSrIztNcmBB2pClJJEeqrmz1n7lTdKHoruwdww2xtWRN7dlmKhORIC7YxNK8EbmYDmrVjuEjI8oFGteNMp44ym6dohC+sUB6jbDoBgq3pVe7KyFN269LuoazPPETIPmXExFzlJa08xfUm2dZMNiuvSmhEjoe//1p995aJcou0Rrm5AjDMuqrdLweq4l+5XfOWAAAAAAAAAAAAAAAAAAAAAAAAA=",HN="/assets/naqelLogo-SIqIoH3m.webp",qN="data:image/webp;base64,UklGRpoEAABXRUJQVlA4WAoAAAAQAAAAxwAAxwAAQUxQSDEAAAABH6AgbQPGv+V2x0ZExAMwFcmGJ9mLJg/NRLl/I6L/EzCNXwXeyav3313w/hPP0/gFAFZQOCBCBAAAkCAAnQEqyADIAD55PJxJpKMjIST1iMiQDwlpbvx8mTfrT6j/2LtY/xPKnymyS99nar3TnvXnNpSpn3lFfOjC2VyLK3RUFyLK3RUFyLK3RUFyLK3RUFyLKolPyJjOCMUUOYbO/sIIFtKt4pLTlLAzoDQx0BhbwFqONXY+UNOjBDsKjzcTDQXoSNaxPiAnAff1QHqZgrSGvVla4tj41NLc/v0TXa15Dz1V3ZD5N4j42wxSiPHyVHqxXL42LppWADp9JeAshm+nhpkjtQvcmWKxKmBuliRI5qbxx7uLFqPOqotUuPzcwY/wdpmPSoHjxtB6aB46KguRZW6KguRZW6KguRZW6KgvwmE3I/G7QqAA/v9zmAAUrCSbPh41twRAPk8tSEWk27waH/RvdGaIGS+q41WE6bEcAALtB/E9r2OAMoTjCKxEG/EPgmL+uyOnwLsNveZJ4nvrGIPeHlbOHBk3szSTai09MrUBG/4G0bV6RWgOdcII4ce/W/aada3+HeTRNmgp8aJGsuFs5+InH1Qsuy4g3wBI0fTUkU44Db1LqF1qqw/aPm9meU6vY3W0ad59L5G8gbWEiW/c5IxfqbCVvFsZSRkqiqXLTsS43qkG3b99LrJE67Lotg9ubVp9eDs2KSlFrcmc+KoZfqzpEHob6swnZjzoIeZk2XRRXcFTRKsGMoztIYnS1uzzdeYK+mqOBRRsyE5v2hLwFj9POW9U6/YEnv3GSzMBVLdb8zB3yf+lVrPNdiCdukijx+Pq12L03v+UvxNELfTyLnFhOjpOq8kUfG63mhdcTtmZDe1Kcp2ejuI2QxxVn/caFeQr+ycgQHw3E6HaxVhQGVfAX5xk+IWWwWYZXKCRztZhhDwyHFgsZBXj42oa0rXZ/So2hXP8AS7GMSpoJA/br6XUQl3T/JDUYrde9f+cw5tE+P5EWzVsblI8hgj5DdTsA/sOIOn9fu41qtwhCIcyWL/wvh6AeiC8YmMnpsCIfER6H8bmrW/j973q0feSNaan61mfUevPR6SBq+1tSlsR1gkAzJ7qXqOsh7AsJIJSWtSVvqBLAcisu89t8HJqx00HKgAiW9fc8XWsE/mmLJxw0J+p4D0rlEmWzmsRR7myu6VLbiMOcGL9RpJ+ZUfyLIIbhGgFbw6aQlVLmWHqPLGPQTooOfSTYyxfFIVxAqdTIWO2mTE8x7Hjy3OEY3xROQG2ypzTwiWm8YU1NlIMRyICcbji5v1LCGjp/IzUy1eX4zzCKPk5I2DzrrcjSdyKgyQ1cRj3ljHfpN3R+WUL9M8KwX5rqAXvrJmqXkFztKXKR9lFoLDfd62oc5T38J/qe9Jb5Zb1xqo2b7vY+GbqFfHn93S08ESn1wYKPkNDVgkI9IQ9LfER7P4VCkkMmdIvon8C00JJmS+Hn8cX9+FtJPIHqKhfugDMEklu2vIuFf4037cYAAjuKAAAAA==",BN="/assets/flowardLogo-C-aARQg6.webp",WN="/assets/sallaLogo-DPCqThS9.webp",VN="/assets/jahezLogo-Dt8xkrlV.webp",GN="/assets/ninjaLogo-DyjSfnDc.webp",KN="/assets/hungerStationLogo-C9D4O93l.webp",QN="data:image/webp;base64,UklGRhIOAABXRUJQVlA4WAoAAAAQAAAACgEAxwAAQUxQSOYIAAAB8Ift//q0/f/dnnEiePBRqK3YGKHudsx9q7vNSmf4fEMmTGBed8nq7j6pt1DsVdxhOHG9//F8ktckr+blRMQEoM//ff7v83+f//v8/5/1woB+it+D8R7gz3e1PKatvFq87+Wwv4cZ+uH5skufTxS6VGEre4iIzMeHO8afWUzsuiS5C+W53k7c5wc69EA1cWsSeK7TtE6i8nXfFdjJ/g7PAY+9RNrjeXs6ifIHuEySrUQtT4oEI28RHfd2YHgt0To/vkeGhTTTXSbFGaINbgA+JLoa7MBSM2mfADC0kSiLcZlOE62WAPiA6FqIA8sspH0cgKqRKNNlEm8hanqWjzEFREe9HBhdT7QxEO7vWajnObjM07uIqj99r4jImso44L2fyHg0aWs3UcFA18lzq524T4XB0SfqiFubxHedEK62cNSPg8P8RBNH57sK3A2HJw52DoivI2uLmZrHO4Y3LKRpJTrohbvipbplTuLRHmpc8ivZP+Y75HOYaFOyjvLD7o5WmBNYAt9QxZ/KIyIuTOgYP4dov+JtG+UPduhpDTVNia0h3TOOMAopF99DCEbh7+/v7ynkEHr5ShkuRurrI3ZA6usj5pAoef8AonKv/u3EItnvxwhYDK8X/hPH65pLckIc8jlFlIy4MrK+6ohkHdE2N/keoi8EDgRs2RTCYqZdmI2QHYWFhUWXvlMxYEatvpJ/OH0AAyAk5citGz/O9+AISTp865p6oReAuWfjnVoCK+5nMnbaut4S9sLzFnO4BQo5HspQAqLlr0q4nqmmxgqNbYOvI/eVU/ejEHxNdMzXgWHlpJsLJNvpjK8D0TX2VD6A6JuUibgGY9Ht4lrrFRViLxvLilvNl0cDsUdMLaVlPZqVSgBRR4y/ldzRaFYGApmmaU5Putp+aPaUtKaaYb1E7J7NMeviIywmp304oLxUdA+H/1n9lyMiZhUYX3AkwUz5/YGHWqnjGQcyiM4GA491U0WsAzFVVDkRkH5FlAlVw8WI0LC4zbZs3nvWbwaHTfz+9sMIOmDZPi580HNXTVli+Owyb5kYPmjaL+ZsIbIM053cCsRXXxkE8DMsKb1M7f6Y431K4fiiY
232yQQcLk0nOOBHrUngEXmHW69iTYTrZUACjXRBlEvA6+TLRlA2HWyvOqQ3nIgAEs6LZSJ+MbjUgBP6NTiXHsqA7iFi7DUdCQQAMZX10ZjoX53IACMLKtUIUvv3JabV+BR/WoBgGeNXwm4pnTmMKwPKJWrcxTrTn+OF2zvAsDQttNeXN6Pfl5PloUAMM9ADZN7ed1MJREAhCuJbqYPFfdSc3GfKX1MYY3anMWSQ3jPKvsnmNfTuHZZtAwQ/mBdDrZolXWxYJVtFthMju0NZBmcU+jiaI4EcwJGNJzwA/Ck4Xse10LjHjcAgjWUywfgsb8uBvC/1PEAi/+5dQnrEc1uGYuZur+NiKwfewAIPEf0jYhDeZbsnwoADD5GRLbK3IFctfvG32y6pktfxiXtl/er9hcV3N+4pjGUb3+AJ9nW/QAH0ijdbbvxQQ68Ys9gsp3U86a3OJabEyBXW/LGq2KTTXuHx6lUcXEPX6K2xX5i75m1dOcZH7Hy+a6T3oD/r3T68bhY1dKqKpVHWMCog9YksEeVEKc+XQTgVQvdieSYr6WGcQACdhH3biXXAemcTtritbCX+FraOwQAgp/IOKMvVvHXmBdz8PNsL4g2WadxfWhPQaaTSrencSSYVwAPltk7m5s77YaW5pbm5pYe861u7SX1z92afFPXz+rLmraFPCDoGpGmpanFqEl0zy0v+s12pB9LoSZq3fpDgZ1qRwGILibruzwAil1Em8QAlhtIdzTvhIG0S7gOytw+OHg/lnDJxO8azoYBAhnAKLfZX0SiTe3OiilsikOiZYM3a+C1+tH40Ekl2bjeMi0C+A8cKK6s7KK2SnZ5QV7MO2VGslRmRORUmslQ+KoEQHT17bX55ZXl195QyH5o19VtuhfsIVWkT5IJRxaS9XUAvC+ILgYBGNtI2lkAJFuJtgTwgncR7VUAiK49KIfcF73J4fej9TtPTFc/6s0E7zLNR/Qtw6cDxXLVPsv3UoRfMuYMEMvitlu/FeNDwzyBSCQS85zMdON6CQCxuvtBAFCEDxlxXP9aZFRUVFREqBiiyDnpS2MkkNy3MH3OIAEALNV9IQuNjIoI5gN+k54Z6g7O8Z1UHQUI1xF9zgPwYAtp5wCCz4nO3wPA8wwZFgGYa6ALvgBi6g7JwV5szUZ88wkZEJuvX4ZXutoOf3lGf7wfmCeLzfnrfqzW7+kP4PFiU+F6dbVh70Ag035h7bq1azd8GORcBhd0vKkKj3r5t/yBAOMZFByV0nk9BL+7MGDIwsqmCfhdR7ZR4yhAsZcoiwGg2Eq0S4bB+WR/FQDkh8mSDCDJQud9AIQfyxZxTL3+Ivqf/FIM4Kkb6TzZrCOl1bfXRAFgYlder6q4mOoPAMzQVdcqy86nBQJYVF5dU1NTU/tzjHNhFrRaGkurDdoVPCD2aH5hnbllGfP7PXWlSq99W/L7BF8j274Rg1I7SD8X7NkGqh2HRBMVRbEEeUSFz4Y9XUr0gxgAP9gLnOJ+7uCH+ACAINQDYDzDI/tJwSkJuneQkg9ut8DBA3wFACAfHBERERkRGSp0LnCbe7G+renma+4AptZ1d9WfnynG77+8tflygjt+X0Gqiew1JTqiC2EcAceJvou8QPZPBSw82EDUWtBKVDcRd62MMnZsfDAfANxGPDD1fl/8kcoJwwIZ/N4B20zELnkA3Css1FVsoo4p4BQlthO79XXh3YsT9Uu60txRvmkEr5dlBmK3juOC27RT9Z31x5+WwBXmh4ycFCVHryMKiaxaO9k3+3KBUcZPjlfCBRfmEjV8MGOzngxzenHdBxWS5U0+lPuJPmFcPVU9tU8A8D7RaoGrN6SUTAmA+3aiXJ6rJ1lJVJ7yxDddZF4Cl398JZFZayfaH+T68edUERHZfxqOfwIKJuRerz397hD8c5AfHOHNoM//ff7v83+f//v8/x/7VlA4IAYFAADwIQCdASoLAcgAPnk8mkqko6IhohbYoJAPCWdu4XSaIbik8tIjVuj0HbbfniPQt5QHWd+gB0nn9586BpPDlUA79a15uoB/H+mj6DobResoGoAg9YFlA1AEHrAsoGoAg9YFlA1AEHrAsoGoAg9YFlA1AEHqorR/GqQiCK5vJFm2NVSXdXIXtdfMseIUGzcAobcknsdIqJC3SG+lXVsgaCNWzlxORN+d0QdA+mDTglgbL4ApBbyGSLLBocUwEujrqZDAPg5b2BCETu3jLIh9xnvFkvl1sLB9FucVT6IBU5c3U5wV3OdJPEh5/vNgVmFTT+8WF6ygagCD1gWUDUAQesCygagCD1gWUDUAQesCygagCD1gWUDUAPkAAP7/nngAAAAUdXSY71s55tEhpfzX5PnapVnz4htqa3dbRiqOoPGBc+dYvKm6NxZX+FQ7MFmAHXSiBoRrxdL/3kVDaN2d9QJ2KcrqA4oYNgf2ZdWWUqTx+Lr2QdUZRZrIKnzfkDVT3lG2Em3/bY5orwje4qCmQ2CULs1/0JSgUYJg0aWmOhMZzuKeZLD+uyvfyzXW6z48A++F/Ia+huF8e0RJdwvE/X288koL9R1PrFHs87EuSJgHjIrCdUKjRmHzuqRkaRiaqd8z2fXQwkw2lAF7o8t42qokV4tJzq5P+ckrdWdyEd1LyuD1iyorxTSU6KpEpDyOYCtzl+b/MkNE7F+GlyOtJlwxBvz4X1lXM6kBYcn3N4snE1j1BMn2oyIuC+9KG5ouOGHi+P4nJQjK83A3zA8J6tHEnQCe7bZJVaduo1moDVBtmqrlQZgJ/dvrovbumfRQOR9Bl6b5ndaKcW2zk5MGj/J9mKo1Vg+zkZRGWlleBLi92qG0Q/fRKzjLc9e28AEps9xuqeecRAZpc09/pIUZPcdVJjO3AA/XKmBeQndyJLPQeFVRYvLOqk3FEmTKAWJ1TYvjyOVMRfQpdRaokzz9DVVOzKL9PwfrRtfuDDYxXCs6uwgW5Ra07nf/pBpnNpn45tqjj87Jhasv3aDIufPss9nTZgPjUJAo9M5Q15FeMZbknQUmhnt5QMS8djtn+sjXi6S23/XPXIuOOmco1joaIaAZLr6fdraGDEcNhp8xcLtmL8UMgPuKzsH0ePezA88JIgBgkvM1l4Mw4ed+cPZgtB7pnLPVOmTVxXgD2AHLJl1mJt5c5unLhWt/DeqXf52j7HG6/8dhJ9TOASQOn+jvk2ZkGaHGHUwJUBz0YnmrvomlOxnvAscXgQJNLyOz6ldkhH0fZP+Xyo8oojKw98pwlBpILTTr88IjAwDIN4BSe064IXJGbe4ERN9pG3sOd/2FODkPmJb5iNdNVv1ggBlbq/TPLk9qSNTJKFCsuljszSjwvfnpJOW0RVTiMNhW8iK54cxBzn8nO2LeV0c+zgakfXFnYzzQNvCf/5yPKadMF/rPuVxkhopBTL44Fb7Z9XBB2wn0v2jAD6CA5a/Ug2XNTZmBA3NPdVbIFf8lNo/ksHchUsxlmYFeXLQ8iGHCKqu+BYjWFTSJMVT4DK69FcLKYEVln29Bd6xvYlkjBbUO/6kfH2BUieh+ES8B/RNqup2jE321w/2I37IhHdM0qBSL3Pb/nUerMtdn8AAUop5ghOy15NUr+3rIX6jooXBOau816K7m4UPd0p2O30PpypXi+ne+rSsWqnAL9ybA35DRQHiip6AAAAAAAA==",YN="data:image/webp;base64,UklGRigPAABXRUJQVlA4IBwPAAAQQgCdASrIAMgAPnk6mUiko6KhJzXqAJAPCWZu4Wuw5tV/278qvAqyb2X8cPxy+YGr/2T8A/k78kOwPqHzRPLP1f/Vfrf+znzT/s3+L9gv6N9gj9Mv8r/dvxf7gfmC/nf9r/9H/A93L/jetf+8+oB/RP8p/8OxN9A/9hP//7N3/R/dj4Of2u/bj4Ef2W/9vWAcKN/k+1P/I9Hv61l5WIvvx+59evYz8fNQL8d/kP+l3p8AH53/WvQfmTZAHAmejewB+cfQ2zwvV/sIfrx6Yfs1/bv2VSyyMtjYCXgTftPvYDLY2Al4E37T71sBaad3hrjKjLLVIsXrSwGOod7Rz5h6jCWmFEq/WsHqfB9QzRL+GyUrJqNFhhEOmVgf0R9b7ajDZ+s1IF/9w+vDKF3G9unwbg7ElDzHi8soFVlUMs6tB/fShQMaRHJo+6LXj/Xq4oiNgO7oMSgyDQOmbaenBJfqtqWih8BjJ/yUQhcljHU7zElWn45lJOB0o+k8cYguvjaJXZa+iiDi3EqPALeFP/slikRzYMhkbMT6k6grLvIALwR2to3FmNKpzlqlqbvHnQ6ix1e2HGxFxRj4jcRHUYzP5Dl+oLBfQj5cQyClqxBEghgf8yw9yiF3EojNGWN88McAiXFCIRPwqZ+T9JHk0gUKtXmVeG3rAEv0rHGWzWGdYR1yZlZr0BVGf+5Vyb9p/RdjYCXgTftPu0AA/v0OdtgH43N8bm8bmp2cAJJ+KURIzMAi6xsAAAAkJd+MzFlXegp3/HqMh6ybc9sr9+SWKDjErxL5FfC7J2ippbPQkVosWuoEd/HQDkDxc9O7fYjzaJXmxqcbydpQMXE6lusR7m7HY8oB+JndWZUrRwomuqvrUDENceitlx+mH+BaLwK3HN7/cdXQ35fTYxOs8CeQT7lPDNhggjDiYPXDeH3XZpJaIkPG/NVheVeXdrUFSUgmL498G7t4wU47+VNP+3DZ+2nPjySXfOwjX0VHw/wEdsaNQebpQ8SRPaQdE9dCYqHHEnkUr1yLdmDrey/I84pIy0LnnxEN7fg4T25wSlc1ugstBevYcpF/1D403pkLk6IJeovJI/8Mc/qX/H24BgwtH7CbIfoMaujarRBXbqV/mBo2Hbr581DWkxvRT+wBB0fJFp12DdrBEe9DCB4oeHnKwcHSZrtZFxH4SwVpca7S3shMydBTLl8WC8c+7rczRNSHwoz4vXcAfZ54HMgYC+JiyZqyNNAeEzcmE1kmA4Tq0z6t9LmP8or4XP/1ZZj+h6eXeV7
232BXdND/IiEg5IEs23ABsKv/juFOsvTVizqbyj0ZgfIEo46qtc5/S6MJHz2X4PmtjDblEzDnCfSaQLlE9czv+0yluya3/isWlzlkDdo5k82rTXkpOh9ufpacRhQlDfUOCP4Ycjuz5jJ3uElUu43G+lP45x2I+PtBVLPmIRMOKhz/lkd7+Me6dwYULwA12VauVeI+lnNKWUhFM99QGXJnH7nM3NaqD26xk6ePwJHwTLYSfm0dcNHTYLfvr7jgCLyq+5eg4P/y0V5ZeOrLQq5OeGF8rOiupqXAJ7AmEvI4KPiyePSjh5owF3hlzLqmvCcg2dEYEz5DlyZ4H4g3VEaAUzbnLtkrfgi+G60Ew5jRtolNUUMv7WxiA2B+Rt9r6R4J+OOyaXPG5KbOSLwT/wXrmUn5h+rb/sjyYPBFE4l19grPrqldOA+QjyfkkvMeWDsCZPcBRP8KEc9ka/Ppq2OdBv3opfjLZJpzzh8ATqb/JYBqVkzek7rrTblq44CW68trRBFQUJy94ZYO1GPWkvANvxP9W17J6F/DHJjLdWbnid2bnrGMBtiVhxCDFFK6SYw5PUIuSEH4lxySS/dLz32ofNH6pr4r4DhYD8FQLkv1gN8DpBuoMyto4xbXiaWX3RayJA+oQbZpe5cZgbCJSjyKlsr1ZHf40xLAgjVTuRYt0CxARwCyEBa6iUgVCh7B+l/AYK5Bqw34z596DoWWbi3CObVJbRYY2Q36PtE6nZ8WZXAXbIrad1wa7bT+VpYCW9rCK39N3zhdFXUYwxcYO9b071PpVzU8jYAsIavXlruBkTvM4CMB/SBg+prUnDfOGKt50sfMqta3WRkYHq6HMjTsL/gZjHp4N7zFWKR/443LzvrMFBoVpX0HWkK+LABXjrS8ATh/+YAEWywlzXyLC4e6vl9YlY6LyMhIXwRs7K92QQBTtHjVaQtwdkmzU1HEvYTx6MmVUJsVfXyt+X+iGndAvCh9Suov+Tc6SoK1YM2eHr1E3p2MXRLkUeLWHNzgVHX+7rje1gqUhkEPuiXYTmEhkEZidoB8gwFnrI957+7n/c75NM8e54Ztr5dqYdKE8JW5Dmqb1iQrb/3hq+KuZANBW6msBoSd1SN/RFw5m52fcdEjyDhluKmnPHtGCEOUeuEfShYKSejZ6P+CAjS0ymycXEorvuvtGIwEGbPE8QSiTM5qd8yBz1G/3QZQ6uIF6dWptxnpgQithCMZXlguM7m853TbvazI56m93Ps1QB9bLBzsHiFxRv6rNQwEbzVKSVlEhtA15wS5BNKw3Ho7IXhc8tt5bCxN1A5Ta5BDv8L5iyaxML/luky9+R+woxLVSAvwUE09aAxJCZIz1xzlSTjyIfzM3v6OH5pKWx35QWX0d3IIGtqYoGPdvfZ63yKIIFJkTX52McQSVyKwdMLh/YVESiPk5Dmbv4v3lrQ78Dn1lOPDGDGiYQbNbtZ3yXZsG7otk2nsp9iZEXxdfEDNsKfnPkulSr8EHUWOBnBnlzjra4B8dDrVS6whJC9FG5xCXKJ/ug0IdVn0wDM8TX7Es/VW5BC50DLBXwUyC/iPR7hjiz5u4aO5DXqqOHJHcTBUnmilPwhOkgQyCRR6KGZ+HCgIYzqek1ZPXYvD0K8P4eAl34y63RYN8rFI9F2WnfR3ZoHuyDN4aYT1ENEeYTklX0/9swQpkCjwyxYkWLT3w+CbJ2Qufp2BeAX5TKnW3O3fS3DgbkOhltPGl439Zz/m//bkgmdoqIwFlPjuXL80f7o0Hjr8gKXrNLwdBegyPz8xZhKChNb+wJtiY0pLNnPeHduIFJ+k28bKkbXFyCtQbxmQ0hRpSi2k5FTZst9bdO7RO8cpTerQ3oy7RL0CfbTvvva/kqt5wGfLE7NHJx4O5g9Qc0mM+wwqMWGwfCPtYWRJfAsla/T1dt/0m44e4lOHyKLUWr2mHyCIJEs9ExHSQ2j4WuToBfom8l1lt4bMZThfimCOu8JV14EghBBb/AvU58/jQH9qZ7hMhaDsL8+fwoubsJ745MLEODApsl/ihHsYnitivuxDeSzkeswOfsPSZfB4NPqcit5oodsLsWo3Ppcssm7Pexi7JVpv50sGs6gi+OoXCr/pciW0xKzwMJOxpsLyePubpl3Zufg8aydXh/wk3AVQoMucgwN4/7VvCXXEk1mNPS4fooz2K0IXo7OTwvOMcMbq+5n6Mmxyek9C8YnGr51KUq33kWkhVlnWWPlMTVXDAPSnt5vCToEfqk4XMKaLwDWP/H7lZ+4KQxcn2aGZd3CXGWmlvojzLbwsVTcMRXO1QNAtyoJXABKsHLn21Y8QfGPn48Jomy0qDo6Ak9Rrwp4R2E+Mi0Xw370JjZCk5ZifqFLIwSnBi+oXytLlgmsxq797kGhBTVicOd1u9gYfQTpgPtVsjVUf9l/rY/N243LXsQYpNzPhOJsdjtzpSHfheAmkdSwl4/9FFn+fNr5LZTepTpChGR2J4NGumoYAuQxkK2cgUAp0h7kXdgEbjHHtrhabTzFs/hUILGcVP3quGyf9zwnCpeQz29ME0cU08tdkGINxbDuSYN8k80BAv3+f6RZaKTaYOkZKwAfVMLa59cbUd6GlDQj09rr6VJYC7TYyN1FHuYe9NFOfBRSzldKFVS3GdzoS7ONEdNJR2N7gDSkBYNnGwMLUAWai7m4D36wC9GZsleHe0Ofeyrt/sphP8nJLLwTXR5a+2aW4e741OH/iTCCfZ4ZpPKT4W0STtOu34fR9obu1irgBYhO1m49enEMvpMrQkChI2ShMB5pzYjWP+0jsofQI4KRXLnyG+23Q99+31b7rEOEj+CFupzdOk8tzMz9h55xzx/5sQVrPiZ0KKRCFIEP/sLYDJ+GzQ+Ep4i9mohmi4TDQIEeI+6H85AAI/6RZ9PdDBS12Wz+NxoyPG5eWcxwBmHg5m7WAh0d8zUgDcZn4leXfkHS/1BhKvWrj6YlF8S+KKa28GdyKja1qUPcnZuOpjr7opVfiRDGQi7zex4VD9aDrxEhFI6IUbGhCUlCFKZYHiNJ9SUW3JfxJOIKIA23CDDJq7P69fDm89CDFaYwWtTMr5duDyghtC/Ms931C9DtmFE4HdMFFWjMgNIzvORyi+qkG4/KIfUUs+TBZzpCq7xjL27Fc+NZjKe11V9T8J4adbyLPaeOl+OGkmG377ue2MReRradK1B9Ey+xTJd7z1h/byXMVuIwOs/aC8UXHrekQDl9zx6MPJqOllOw0MBlsZWFqLY0chmJBYSWQvA0AAAv7ZQzP8ni2G5FkBAWezMym2r6hegBQG6NkrHOfTapMreaCt1iP/xa7KIzNy/IVXizqOTVPETF/ttXEmRomKTV1HduSLapmW0vHkHEoi1sUa4KeBPWuMP0ISUO5hpLOpiadI9vURbcc+QlL+HIOpMzZkG9KArl+dzJIp2BVXiecMDneJRsd2PE7AljC7+3TTCE2Z2/b101DFR8k6JI85r541FSpl1KFUK2L4UuXhgSGng1w/iuAa44Cw8Ec0NA7GngOpIHdVDi7LS5ZYEJWlR2rULSgA8sRYAjE/vozhx9DElgTTHztiwQ4R44s7Vuw+fhzafwO+HSD5cGuTAJOHif/wRj5WZOe4GPrPpWW1g9U4Cc3Xx+aVaCRhuFg+USn9O/ddxHBKEovrPVBIrf2anKDYFevpT6uMO3Gsa/Mlw6VLGpfaFzVRrFn8en4ZbgXIQtmX9EQjkb+RS2TAAAfFJPDo0jcMhCzhfk0C+/3IHEUZcDdZwu9RaSiRBFbRrjCLww78ylEHUWyQGzIZKJ6BvXtgGr6I5DIKYZnoCu4vb6M/4a1f5IjLx7C257mvKLqRL490or/pngMRvYqTUbN6oAAAAAAAAA",XN="/assets/mrMandoobLogo-E789hm4L.webp",JN="data:image/webp;base64,UklGRk4LAABXRUJQVlA4WAoAAAAQAAAAxwAAxwAAQUxQSE0IAAAN8L79/+LE/f/dHs+ZJEggbNH16ror6+72cnd393+i7u5O3b0s6+7GuiFFgoRkMs/HhRlqr5ReJCImgH7/9/u/3//9lI/gRYujHZ0akpdvulO9FMb9ZAYQsRIv9DrTfZuCn167ddJwJ11b0wyFi9eU2uT7r7YCxeuWFmabX9zcxcKVO6qmx/TcY3v6NPHFQyakGlOj5zTf3hn/2ehsk4yY03BHK0N/VWTbouPmHbynY8bUcZ2NZ4ZMHX7/4b6MG6Xjni3Ost+uP7J3w7WtN2zJTv3zb5PPRn+Rrr/tuDPuPz86+bbruk/VNIz4/U/La2wfRtR76CL+h2s2DDm/LHtTPdSV/O+rbydGt9yQwR685k/z32929z4Nm8zPJh3t7sNgu/cA55umlxblN34AZD6YMMcWpOtOA13vz61ubmB3DOzekdd0Jfswaqwl6EShqQug2R+SX6CNLkBLfEBGMpccoNspsek+DCAKGOjQirw2oNi57PWUVGY6gESmQwwqBAXty4gSdOBS96yZ73QTW57d6zWUrR5bkyF/QWZz6SD1w1zx+jCCigKCXNq4+q/D3tF5Hd3PRLxD3/59YmNsfttH77tVvgUQENuHsSoKkHXTzlOtf/xddcRvvzGKd0/xH34zKWsv35QwIlkJydKXbX9DrgnU1l8pHXc2LR6rh9+LA6dviywen9pcWwAbz44FuFCnib5M9wOnTOC5dxxoe/HdDuIOwZYnNnWbYgHefMEN1N8V4zMun5to2tzC8CmxVG3LFw8Zj6CXAcgmUz69+i2thGbTBG03n/X0X5J9tE7WfU2S9+75Asql+YaCaJMpVZxIsk8ngCLGCo7ft1OCAoLmEDECWBtmsGFG/BBjAaPGam9GQqyGGAuIqCJiAwIaMIjVjyGIiGQ1BEQsRnNKbO60eEyV1AcbsxD9+hj7zkYLjPh6cfODzQz8bmLfSwPXVBDN7H8rGYitmBRRV5DDz3RB/tdHXnymac6i2Jmnqr6RX/tW5aqhjrUHXk+NW1Gi2KbX60OGrKsyIkbaXtunBAO5Nf7DCWlFhOjgd1/yqPqhK2eeSQOLpuO/eoTJK0zPkbmuFY1V1t/fDs7XZ/kqClTUP9hDyTcqvDerVmW48MLVC2Mf7dxQZK0xlYdOrcpYsW7C3HsYGPqrqI+qamLAo9tAFERzS+R7g0lfzojmVY75Tt3rFDtIQbcFGeARc7uIW8b9JAMglV9rfEadDRPAs6omUvGzpkcykShVP6gAol5Umff9HoIVvxgKIMSWTLnzMsN/nwFVMJHqefdfRAUhTDRHlK6Gmhortuj3E0eMeSOlQq9GwVhQiZecOdtN8Yiiirnvt5R/DXY916UaWbJs4Ir3zjtK3qyOhoyRiphPeeWR07gFI+LF7qG0Wi0fFlnuvc3qPHreO+sZO2xp4ayGeoISljMLBO08krF0Da30I3kEjA04FuNmAOybT3Q44v5mHnEvHYuiH+wE0ld8rSDmWQRpeWh3Vq+NDPax7z/SiR/75SIO3dwkjp3yu+L8wma8NtP4WLtrtew3ZZH8JFYEY1HJIajIuok1x7z0PQe6hgMqiAZECaqQfAPQZFEFoqgawQewDr5BBQ5/CApRSL0AaE9+Oa1NoKSuylMLr72UKSkE8B0x4qMCopBLGndVl1R9a9rRZw9uOwugCOEqIIpAqhPAZA0qKEKRkzEoKQQFaIkSVEO6C0AR8jIW8CJg4cJOS2hU8QUUQcmtnTc1fHNaYuyyEYdrTgbQ3j62BoIBA8u+I4rZpwFF6NWKoAEEROlVAZkxPWEUv7kbC6iAompyCG0vvjd81YQBU1YO2vzqJRAg4tteRFHBiN8LSrDQVRH3+AGKhqICoiG+EcIdUOktOO87nY3d4LSAUUUUVXLuiRf2j9pwXVH1mrwHdyiAYzVMlABObwqK8NYDavGxWmJCerUGDRM+afXXaLj9lDrm2h8llHALKrmF7Ima+jnLB12xaOydTaJgDSBYUQBrxATEhATbM6C2sNJ43RZAJUQRNEQF0Y8jy5RTm8G3zsJ4QBREQSV3FI4pb9/Xkd1ek/7FBLm2ISmKOliIJyzYEON4ADFQQQDPBZj/q7zT118wlt5VUEKtQVBAwgrQnihAxIKCUTAWhNx57d+LzQNvGNpqC+ebjIvFyOjqdJe57jKohawxheNdRBNHAcUaKHKygqkowjnZLnxcFdGA0HsY1kieemi8OoVLloiPiBUDaK5o1avja6/wrXW3YPcnuHxpornmp6UxP21VxAMj5H9/sSBtWajP46P6aWb1d9WxchI9m0ARjA1RwWADAkYVcBRE7aXy6JjvSY+UtICgGItmUd9Fs7ni/MPLpy1eKMax2K27oOW+JZNNzHWl8fXpV4sPAhQnCN29C9L3jl5YOSUfA1r3oUEEjGpAwKgCiuD4AEYwFl7Iri1fNySPrldjkx18MIglaGyusB++OHNCgSDZnoPbAHY8t+Ia9WzDa63zJqfKCe1KZhXrnah1gKP3Tp8SVcXq/g+BzosxdeME67tKUhUA3inX6S4NtDcUJuNw7paBSwqM0/Hh3urZ7WVwqrGqM4p/0Bb3JHIFWvtEi2sE/ARB+/bTPdaXiMsjW0qjIalHa9XiEyd014ONqCBSCtByfb25RkK23ZUqKghkH3xXr5LAoZuSThFw7r6jYq0WUvdqvgNbb8vEY/DKo5Tk5QxoOd/pKx9Tj18gtOE8QaGzjk94+VyGj2lPNCvh3vEWwhtOWULTh5OEpuq7UKDxFED2TCNA95kkX5wq+PaT9NUFK18KJOuI/6Xg3IWS9LAvBXtubKhyvxRkmtP0+7/f//3+73clAFZQOCDaAgAAkBYAnQEqyADIAD55PJxJpKOjISQ6KGCQDwllbr5yzgGip8By6fS8
232Ux0+Oxt0f2M9QH67ejf6it4q9EvpVf8CBBS095CB818Nuq3vIQPmvht1W95CB818Nuq3vIQPmvhsri/2emmkJPCPL3QTI9N3qcP+pITYZ1rl2IM6ErAwAJcUepr7R1ZKZmn76HIFIVmL/ZDY3K577lVOhR9Y9T3jLhqIHzXw26re8hA+a+G3Vb3kIHzXw26re8hA+a7gAP7/WAAAAAAK7uIMiFjHb//8SRNPKh10u4ZmGn9vhf52VSli/nB8RKCLEYeauWiIDFSXDubkv7U17ICY/aUSOD/XmI2AEVpqSIVr6miuwf8nHCjMYC1YwOSaa3tDKFJFUrkdw3IeHz1XWe5FZ1lndO/UmnW4usP/uH5cgOTMuw+20PleHbMftyg5B5v8Vz/9LTvw+VRYsFN5DY9tlDkSRwWlpF3ckFm3VEPgff9eXsqDOzmiccX3dOabCdHhoftDVEtHcR+1hDeuHN+OnPdCBd/sWALfNe4yV8guDjgwsSACYry/Zmz8plDpiSzR4VzfpzhV0ME/i4ipDEoelhIo7fi9AZfGdevurq87QyY+u2iImrK+vXrf0hSpgJ/0b75zdl2HfAbXmqlLNQ8fnOrVN1b2EWMm8GVn93pW1wLC7hwX6iFTGjgcP+bIhgRejCHNmhB0XNaKe91X3AVjHlvoneOG5aeSKc7DUX+Sag5B/zwOa6hjm6fYE4nkXcCs2GtIKGEnOt1+puLlw4mVvmnVtG6wekxdvj61NdsWaMJ3kq0rg9cEhAaSIyVu3CFi64TXZTYfm9vs//vbfugYAofijl+5iqW2N4AJfNqjszgCRPTXta9ISAlt73nIgUfiBPCbC+vlKGoMzUFV7ZvsFkYSkfcp6lgNr5eF+0jPiMlfbbNzxBsBB4oAO0H77qapAfujzwUeVsGgAAAAAAAAAA==",ZN="/assets/amazonLogo-CuIhlUb_.webp",ej="data:image/webp;base64,UklGRjgJAABXRUJQVlA4ICwJAADwMwCdASrIAMgAPnk8m0okoyMho1D5aJAPCWNu4XHhEZR/0D8gO/Sx34j8hvZot/+n4Ck53Zj+h9a3+G/wntY8wDxwPWX5mf2i/Yz3XP9f+2Pvg/XP0QPSq9oD0CvLg9pj/K4Kr2Jf6rpE/Xcv0j3/S+ZffbwAnc9oF3S/2fgvamXgrzTOLKoC/zX/MehDo8aEVIPJKFTDNfvt3yYVMM1++3fJhUwzX77d8XC7t2ji9joHKveg0p54izeJq8mfteZ3WDLCLqqkInPysH7d8ZURBRJTadzK
232IZaJit6nhOz8avof8ZJlSI2/P+1VcxuR1O1XQ3W0IoP8zB/DZiDy1hvJ1FczDsSqg8J9aPJGw/wOZu6jhQCQkdxpAbHar7y1933NFajIFLfiKjmTVXNnUGCYJRVNGWNEjQkzmWLVJh5F0610H/Ka55Y14TSk2FTd0BWumcTmzG7J0oQZzI9A8MfFAr80ggklFbTznkoOUzjlj2zkCn5Cp7lxTpngcIJ8BIIQIfhSQw3tdeck5GLvbvkwti/l5oEShUwzX77d8mFTDNfvt3yYVMLIAP7kTwITl/G+ZO7ZfSV/SV/OQAAAAYt12Yy9rnvA28HYetUZVM81unZXjgUTHYza5+aq/YDO8i+WOZPLiTJ91ik+gkLZmKvSOZx8HZvOg1/fMRrL47rFGvwDkvSnFSJ+GjfOFyMhVI2cXe5no/s0u/ZdBKCEM6Qkpr6I6v7hfDt/85zQrVlTh4UcfF48+SfRdRLzoroYIiRbIxDVPkXAY7L3WHsuCnWNYiPkSb1E8G9pmWnFkWa/LbgVgGMiT/duEdhTaPi4F8PH3p4olrD39/Gv85b63bMqB78rLVxqEiDFYins4C0Eh/GivvWMFIOmJSlE8ZUTHMJUNjxebsDZUGVEJtpFr9xgqdp8nkqIqE+VZu6/raljSVlqSmbxingsEJBoafcaj6CbJ+b+zMPQYJuGXkeCPW7mAQvlIClIUdIE8T3en9lXrb4aXRJxS69003LveLjnDqO5wEHZgHV3BTLOE0Qv/Nax2OmZWJPCCK5CbyPzPsNCE7c+VGEQcLc8mANHfCfWtQRwecuE86CYOfe1y8k7lWb3s7el3k7dlVJAaRzHfQ8oG/aZ8RpbXPG589M8IT8lK8j2h+H8oCFsWiheGt8wapkFcptCQRjmloOlDUum7nBC0LL7jnBfDAdKZhJRuaz/3U8QDnW4kHct5BnsqgIt7tRQNq/Vb8XMMhuEp5+BOS0DbW6BgeCTWiEurukrQzKmnEheh0jadJn6uhykGC7WmSpdhtzPDec6LpG4ZOHQNHWD2fB/FQQIf9ZR5XU4jOnYxsvIhDINMO1vZ7G4AeoqtoCTxtzNcM7WTnb/Xrzw9KWQa3QJLLI2eQL5AiD6BtsZao0vSqfS168QODyTxWgK+0z9xUgSeDRmZnBgd4VLFOUC370ZQyt9bN5L4rsgeNj2prubsDubDHqi/k1eM5gJrpP7oT7QYHN2btVCscPWGosgHFe3dQudzaQ7z8ga/HAZUBbLt3SqTmViKoVptPJnUD8u4/fNGP9RqXL63bCNB6Eq07E9lTIeo9nuJ2Yff5jAM3NmK+EKItZSRt1j3gE/KnjHgL5/ui9wv5S3DnZftImzeZMSy+vZTo44NbeAISQHYIe3nAwAXHOiT8AKzcBP1ovwPRUgNrCB/lj9zsZ2PdUoLDWvh3hDVpG14GCpD3/5Cw+e9ZMAlGoc/Zgz8/IETSM2AeNSds9ls7NF+O+PauvMHpF4MjjR517QIVlZZ2saJME7ebBdTeZ9tebI/Bd/weaidwoGI2Hcxcm/pXghJXYsIlvvv2BShpounLf7uCNiMrQhPEzmjnjUIc5E0cK6Hyc8ZGtzEjUcxtR4rhDyZ3Qb2p/t/LMzkwLSLUVKOIKjj6B/inG9cTVks9eL1McKpKhwE1xCHJig0fLyR2Y2P+LzwgvBkvk0axP5Az3D3nXL27nL6UmiKHa2mR1TZbe4Eh9e4lLMMmvi8QIzKVPQgUjvU9lk/Y5GeXfzgLYa7nNq2axl0VVWmf3fKqU0KwUpZLcw5doEF5NWpkc9d0z1PcTzbkps6BndkuKe8iWfyoGuvY6eN425Md11S/l5PPxJrafVMIDu/jpNo1Wl8JV/6BpJTnzAmy4E6d6BfzCXFAePKpgGQg3HlaORz6lUNUi/jRl7HyR2eoNxIq/SrhUgsKcjw337fU3hWqB0U6oZfd0vdgIfqtsS/9Q00VbuOitEx87AULgpl1V6Z8e//okIQF1JVqh/UKlnePSU9340YsxHjpC2q5SPF4CbVIiKB0kNvbNTfCt6g2WQaTakUd4ay6Ivk9GCzZAyZW2rHrzKoJsAKN9HiTXpes6oVnCpAf9UIZrUsKAnXIdxVwAxswbPr/XqW8VQGSi1lRiBrWQm/mAxtKWbw09MbywAuuidtUEcnYxgkEEc7dnDzkd9/WL9pAk8Fomtaq6pp/Vb4K4+jvJc5O0fTrPVn2a7MVzswjB4AqNt8qXzQiTKDqtzrsCutAmopzOTvA1UsFS+XWd+XP81i1AOqY7f3c4dxTDaUjC3IorIN6phMhSoQM4MZeBpHlB2fcpB9uhu01rBNAi77oKTBQIQBKhX0kyycjmoZeBpG++kdUrUmXc6LI1fblhnMAV8n0zZaaBy0gu0fQ+gKazU6B3FDwYQN4sHWxRQoKrz8KtGUeFeDkuNXFuBKP+l0xwCVWwvzURM7AQIBuq07gGCXCaehwQCQT6ukEFjvTpHHpVRYPQfNdoBOz3+nfNPmoj7pfoTL0a886A7As3whvUZkn0pQAGQPkaYYhGybIH5qNdwES0Nfyt4GI9fDq+VLSd2KoXMU3pPSPwUW+b6dyNYfsmuLtGddtIHJLNpH3kUfgbK/QLPw+2X714+v3NPOsKE9PaZ9gXAKn/+G8R7vxOrO9gbgNl/c20Iq1JjLa/ZJDrT79hc2Be6GzRmtFPfGpVBKrzfpoNWNln63lZ63pMZ9OWp0jx95PQ9DSKYkbWjqJWwakslcl5V2JaRPxIP/pvBBqC5SbstajUAR3gwQKY6gmYq9jM6F1EO1PDUrSGvBd6s+wDO2QHTV3X0NS6nTDie9Jg4xwAAAAAAAAAAAA==",La="data:image/webp;base64,UklGRuYKAABXRUJQVlA4WAoAAAAQAAAAvgAAxwAAQUxQSIQGAAAB8IBt+/lG27Yd//yTOpwzY9t27Z72eY5t27YnpzlcbNtGZ05Xo4zrJk1TJvkfJy790uP3u3xdETEB8H///4/lkrFm4zadQyNi3nrTW9/6k+/E6PgnVwvuNmn15iOXEn9KvfcoNzfHS3P/pP3RN8Eqjkm+5pBR6y+nZJRgOU4aWU3ik+RTNXrOuSd2D5Z324m3TRyS9B3HH0gvVZBCJePLtgG8eSluTWKRgmSW3prWVOZJQOQXaQrSmn+ut5kbUpP5P7uQ3ucbQtV88P/wUgGS7L63oKaKPqnRihdIduGxd40ScerQI8VIuJL5eUQgaQHvXnMj8clTm6vo0o9KQ/oLLg7XUWWc+QJ5aFttJEo7NRM56L7Tp5KKJt/BT5F+18OlDWSgWfXqz0h/9rYoP6C6/TkkP//syOpAdrUtLvLSpreQgWzfcXYk3v5NXAAQHp2GtJee6WGWgHDdASTd/WxlPRkolwZmkZa+PdoPaK9/Ggl3XB9UGYjXjMijy/3DvPYaoL7uUfRCT1nG9T3rPrVYLGv/WgvbjxZG6oB8udtzdqUPNw6JaF7NpNN6uy5QAvpNXyLr0uSF7XVqCQRV6pjIKuurLr4gsOohBWyUlDFmEFrDZwqbH97zBbFteouNtbsaxFZ6zY4s7dP8QXA1E4tZeA7VANHVfetikdNdFp5KV5GhcqoOCG+T+yw8i/3FJ+o5C9sAtfh8mM0iJU4lPsPsLK63k8RnmpPFpRYgvNLiYhZXW4mPanUpix9CJOGRNygsnr4ji88mJiWjNcKjspSx8Fi0wiMtL2Gh3GwqPDCrkAUWDNUIz0g7E0xsLjw9ctiUWMyiE/OCDWZPNwpO0/uMMH1ODbGpdIUV5m55JUBktF+7WKHy8Nv3qsqSqMhjipkhKumJG2cM6tnjr/4g4pUPXgtvVaeq0U+WuCXF5nkBIrqLHPa/3pada8vLzrRe3750SHwrs5+KS1D/nOIVbBWPq8yWuGlGQq1AHgWuKH9/1pN2aHaEmT/yh5lUIKIzaf17Zt5AvROEIHqe7XzZjzMBs5yUICqPLU1krkCnO7Qgui5213NFt6SYGFSyFlfnCXRIpAaxcF0znmgm2MnBsgMdJX5A5R0uctB9sr3EDwhNowfdRxtyxGdQNj3o2lKVH2CYY6MHi1YY+QFVLE568MUANT+g7pdOevBCa45A7Y/y6Sn72MgRMM/NIQdTYngC2mHJbmrw6wo8AZ+onXZqrJFcAag1+aqbFlwTxBfw77Dqdgkpqc04A6DvOPVSvpuOkpEybwD86nfbkJbnIkI5HMgfAJW2aZ/PzqdmlijlDx+04dGfNHftOfPjLUcv3f4pKfmvTkpKtWY5XN6RP4hbf1RXqNOsbefgkL9heNy7w9eefOjxgjIL19hKhnqvfvqTh5lysIKoAIBkjNyQwwpvtxYYAKg09TEra7zYgH78c0aZPQQHTEsL2NiGig7UPaMwcYwXHtVAGxPnTFl0oOY1JkWLfIUnaDWT4uUBwiP3LRU7iCpkUbTET3yCnSycs2Wxc0wAASpgkTdUgMKcLDK6CdB7JSzux4qP71QPixstxMe4BRkqew3i0yiZRelKSXjkIQ4Web1BeCvu87BIay48ql4ZyNCzJ0B4mp9VWJQOk0XHtLoYWd5rCoKrHfMcmX4aJDgvjXuETLNfk4RG03J1OrLdVR1Ets6Qc8XINmuARlx82o46koWsD9YD8tW+5dDPX1cvfvy2723IPH2gmjp1o0nrvPPbP67747frNu48+b01y+lB9p79tYF2qVLPX9zl0aOglz5+H2g3xK9LR8pL1xpIk1quTEbar7QA
232yqsOv1CEtD94XSLM//Vj2Ui8Y7I/kK1uON+qIPGedVWA7Cr9rpUh9cqBpkC1NnKdA8lXznYCotUd5v/iQvKVy5EqoqoMuuNA+pUrkWqgWAqK35mFHFTOh8pAsnZGtoIcdB/tIAHNmuj9Dg44t7UAuquPv+ak7tGS2kC53HpeEmmua72MQLw2fssLujK+6KQB8lWVu51x0lR0uU8l4KLccNovCj3uewsaq4GXmvCt6cQo1m9C/YCn+t7HCwgp/uXThCDgrNRgzs8uGjyZZ+cG64DD2uAvHpc7d2nWhbXdGgQCpyu8dbqw/LgKbVk/b5n2dhOtDPxW1R5z0/rQu60pSQ/upfx058z62b3Cm5g1KuC8pnFkVDTrqL88pm3LsOC2DauYgnzg//7/t29WUDggPAQAAJAjAJ0BKr8AyAA+eTyYSD+/oqEpFXnb8A8JTde4ICwAPoATjUkH5H8sdj+79xae4vhjnR0Idc37X7wPgz6nfzT7AH6Zf6jqW+YT9qv2x96T/Ofrd73v9B6gH9e/yvWq+iB5cHsp/2v/remBqtnV38AAbgobPwQobPwQobPwQobLUutkGJq0MLYNNcYfGhA9usaHeTz1RkFzgggcXPFeqbniq5tpDmnhPNODALD6i7Id0fazRFreoiQvsS6HcCoG2V5tQdnWM9sQGuIsmc/Xqqj2jOoiqOLzejxIaGGPVBQLqm5mkWlnxzttpJrFS1VQ2dat9I7c55XjYeObvlhEgYB5bOBz9Ph/n9rj7dbVe+BLEQykqCH18093GRe6BdU3aBdU3ZMAAP7YsgAAAAAT8IWfqO2cYrXJtLUPOdAoIgLfCi+hxj+TjYMK5xpKIlBJDN5vZVh3Ruhwlm9L7XcIjH2rjsuiZStyjceFkmvFIBoSjtK5XrbOGjcDxVAwVaPdfv/IknkWGqCOA9J7in3gBR8KnZCyYm43VquCPIuT3jbBhrM1y2XPSPIMt1ReiP9NuoAeVNDLSaPAWHcwQMcs156r6b3FZ+6xwuKHQWCAAU1tQY1GVPQgvo+OeG8r9tpqU+GQF4npU/d6FycosaKZlWPiMq6Qy/MUnRsk/c09ftOIzEJ2K2mhfmS8MQtwny5b1A5czXoqkhQGrCG5TNylsiId++q3+F9/jnKzmf+pP1T/9Sw/zqvFUAq7TFcECFfTJCOk25HyAFs3BHfR6xxJlDUgS9LHe8Nq3xgteNstisGsUaGr1d6Q73sqjKUumTXpZvi5jGBM5SOcmJ5LPxv72AZsPj5E1xLIFqoVUj3rYEbuGOroEiBQiW3lhEq3rgIWkE+6baoHwgMzK+55LogPF56wijJS+fEi8gIcwWDwXfjkLNSqf8xdSxwBrgSbWYb7ugUqJRveKxa1U16LCgyl6RJdn/VlGlJx0r//GNCNw5HBSnjMPKnhWmXxgiKJMc7Xq7UV859bG8dIXQGoLkuurVlEw/E4VdbCzMvIpwANRY+3TSmHEO7PN3LlS0dtColTZCA6aJYPebzVVz8ecmRqBJ6zRruGc9jLtFdlqJWbGdJ4amFYBMYUDDoY5oS0ASdSjL27sDJTU/553i8vNoHV2ZfTUYpLAFT4BIqAzMBpiFXrhZlQb3AbHcgp5eBcUY10g/gHC8eGn4ddBWiL2L88ocgRxWIX6FW486Z4LB48Ltkv1oXPXLx2DimW3Q43b3/8mVVRDTnB4/QvY2MAv6iO5q1wTYxHGH+t7sUgDT+iWdlH68J+8LrA+JjOES1b6gDnTiCuaQYZ9IeqGsO+B+03QyyjiMMRrrwKGXtUXcCwM8vmVNkmEziBxZo6cbT56VJ4zc//9tv+Sf//bAeBHlZaTc9d4AAAAAAAAAAAAAA=",tj="/assets/ostoolyScreenshot-BT-JRitv.webp",qg="/assets/supermileFullLogo-DD9I-YG2.webp",nj="/assets/saudiTechLogo-C8uWAcZp.webp",Hu=[{src:zN,alt:"Noon Minutes – Supermile delivery partner in Saudi Arabia",name:"Noon Minutes",imgClass:"max-w-full object-contain",imgStyle:{height:"7vh",width:"auto"}},{src:VN,alt:"Jahez – Supermile delivery partner in Saudi Arabia",name:"Jahez",imgClass:"max-w-full object-contain",imgStyle:{height:"3vh",width:"auto"}},{src:GN,alt:"Ninja Food – Supermile delivery partner in Saudi Arabia",name:"Ninja Food",imgClass:"max-w-full object-contain",imgStyle:{height:"2.5vh",width:"auto"}},{src:KN,alt:"Hunger Station – Supermile delivery partner in Saudi Arabia",name:"Hunger Station",imgClass:"max-w-full object-contain",imgStyle:{height:"5vh",width:"auto"}},{src:QN,alt:"Mrsool – Supermile delivery partner in Saudi Arabia",name:"Mrsool",imgClass:"max-w-full object-contain",imgStyle:{height:"8vh",width:"auto"}},{src:YN,alt:"Keetea – Supermile delivery partner in Saudi Arabia",name:"Keetea",imgClass:"max-w-full object-contain rounded-lg",imgStyle:{height:"6vh",width:"auto"}},{src:XN,alt:"Mr Mandoob – Supermile delivery partner in Saudi Arabia",name:"Mr Mandoob",imgClass:"max-w-full object-contain",imgStyle:{height:"5.5vh",width:"auto"}},{src:JN,alt:"Super Mall – Supermile delivery partner in Saudi Arabia",name:"Super Mall",imgClass:"max-w-full object-contain",imgStyle:{height:"8vh",width:"auto"}},{src:ZN,alt:"Amazon – Supermile delivery partner in Saudi Arabia",name:"Amazon",imgClass:"max-w-full object-contain",imgStyle:{height:"5vh",width:"auto"}},{src:ej,alt:"The Chefz – Supermile delivery partner in Saudi Arabia",name:"The Chefz",imgClass:"max-w-full object-contain rounded-lg",imgStyle:{height:"5.5vh",width:"auto"}},{src:$N,alt:"Keemart – Supermile delivery partner in Saudi Arabia",name:"Keemart",imgClass:"max-w-full object-contain",imgStyle:{height:"5vh",width:"auto"}},{src:UN,alt:"SMSA Express – Supermile delivery partner in Saudi Arabia",name:"SMSA Express",imgClass:"max-w-full object-contain",imgStyle:{height:"4vh",width:"auto"}},{src:HN,alt:"Naqel Express – Supermile delivery partner in Saudi Arabia",name:"Naqel Express",imgClass:"max-w-full object-contain",imgStyle:{height:"4vh",width:"auto"}},{src:qN,alt:"OTO – Supermile delivery partner in Saudi Arabia",name:"OTO",imgClass:"max-w-full object-contain rounded-lg",imgStyle:{height:"5.5vh",width:"auto"}},{src:BN,alt:"Floward – Supermile delivery partner in Saudi Arabia",name:"Floward",imgClass:"max-w-full object-contain",imgStyle:{height:"5.5vh",width:"auto"}},{src:WN,alt:"Salla – Supermile delivery partner in Saudi Arabia",name:"Salla",imgClass:"max-w-full object-contain",imgStyle:{height:"5vh",width:"auto"}}];function Fa({className:e=""}){return c.jsx("img",{src:"/Saudi_Riyal_Symbol.svg",alt:"Saudi Riyal",className:`inline-block object-contain brightness-0 invert ${e}`})}function rj(){const{t:e,isArabic:t}=$c(),n=kN({title:t?"سوبرمايل — نظام تشغيل الميل الأخير في المملكة العربية السعودية":"Supermile — AI Last-Mile OS for Saudi Arabia | ENGINIZER & OSTOOLY",description:t?"سوبرمايل هو نظام تشغيل الميل الأخير المدعوم بالذكاء الاصطناعي في المملكة العربية السعودية. 520+ شريك، 26,000+ سائق. إنجنايزر للشركات، أسطولي للأساطيل. المنصة على platform.supermile.ai.":"Supermile is Saudi Arabia's AI-powered last-mile OS — 520+ partners, 26,000+ drivers, 34% more earnings. ENGINIZER for businesses, OSTOOLY for fleets. Live at platform.supermile.ai.",path:"/",keywords:"سوبرمايل, Supermile, نظام تشغيل الميل الأخير, إدارة الأساطيل السعودية, last-mile delivery Saudi Arabia, fleet management KSA, AI dispatch Saudi Arabia, إنجنايزر, أسطولي, ENGINIZER, OSTOOLY, توصيل الرياض, توصيل جدة, منصة التوصيل السعودية, quick commerce KSA, platform.supermile.ai, نظام توصيل للمطاعم, Salla delivery integration, Foodics delivery integration, Noon Minutes, Jahez, Ninja Food, Hunger Station, Mrsool, Keetea, Mr Mandoob, Super Mall, Amazon, The Chefz, Keemart, SMSA Express, Naqel Express, OTO, Floward, Salla, برنامج إدارة المناديب, برنامج إدارة المناديب السعودية, نظام إدارة المناديب والتوصيل, الفواتير الإلكترونية للتوصيل, نقاط البيع المتحركة, نظام سحابي للتوصيل, إدارة المنشآت التجارية, تخطيط موارد التوصيل, نظام ERP التوصيل, نظام متكامل لإدارة التوصيل, إدارة الموارد البشرية للمناديب, التسويات المالية للتوصيل, أرباح المناديب, المكافآت والحوافز للمناديب, تطبيق إدارة المناديب السحابي, أفضل برنامج إدارة توصيل في السعودية, courier management software Saudi Arabia, delivery ERP Saudi Arabia, cloud courier management KSA, e-invoicing delivery Saudi Arabia, mobile POS delivery KSA, courier workforce HR management, delivery settlements Saudi Arabia, best delivery management software KSA, integrated delivery operating system, كروت التوصيل, نظام توصيل المنشآت",publishedTime:"2024-01-01T00:00:00Z",modifiedTime:"2026-05-21T00:00:00Z"}),[r,i]=w.useState(0);w.useState(0);const[s,o]=w.useState(null),[a,l]=w.useState(!1),[u,d]=w.useState(0),[p,f]=w.useState(null),[g,x]=w.useState(0),[h,_]=w.useState(0),[m,v]=w.useState("semiannual"),y=w.useRef(null);
232w.useEffect(()=>(document.body.dataset.page="landingpage2",()=>{delete document.body.dataset.page}),[]),w.useEffect(()=>{const j=setInterval(()=>{p===null&&d(T=>(T+1)%10)},1800);return()=>clearInterval(j)},[p]),w.useEffect(()=>{const j=setInterval(()=>x(T=>(T+1)%13),1600);return()=>clearInterval(j)},[]),w.useEffect(()=>{const j=setInterval(()=>_(T=>(T+1)%3),4500);return()=>clearInterval(j)},[]),w.useEffect(()=>{const j=y.current;if(!j)return;const T=new IntersectionObserver(([F])=>{F.isIntersecting&&(l(!0),T.disconnect())},{threshold:.1});return T.observe(j),()=>T.disconnect()},[]);const b=[{category:"general",q:t?"ما هو سوبرمايل؟":"What is Supermile?",a:t?`سوبرمايل هي شركة تقنية سعودية، تخدم القطاع اللوجستي بمجموعة من الحلول التقنية ودعم العمليات. تتمتع سوبرمايل بعلاقات واسعة في القطاع وخبرة ممتدة، تساعد في بناء حلول مستدامة وشراكات ذات منفعة ممتدة.
233تقدم سوبرمايل منصتين تقنيتين، منصة أسطولي ومنصة إنجنايزر، المدعومتين بالذكاء الاصطناعي. يخدم منتج أسطولي الشركات المشغلة والشركات المالكلة للأساطيل. بينما يخدم منتج إنجنايزر الجهات التي تحتاج خدمات الشحن. كما تقدم سوبرمايل خدمات متعددة مع شركات شقيقة في مسارات الخدمات البشرية وخدمات المركبات والخدمات التشغيلية. يمكن لك طلب إنشاء حساب للبدء في استخدام منصة سوبرمايل المناسبة لك.`:"Supermile is Saudi Arabia's last-mile operating system — an AI-powered platform unifying logistics operators and marketplaces in one system serving 520+ partners and 26,000+ drivers."},{category:"general",q:t?"ما الفرق بين إنجنايزر وأسطولي؟":"What is the difference between ENGINIZER and OSTOOLY?",a:t?"إنجنايزر هو منصة إدارة العمليات للتطبيقات والمتاجر السحابية وللمطاعم وتجار التجزئة والتجارة الإلكترونية. أسطولي هو نظام إدارة الأساطيل لمشغلي التوصيل وشركات الخدمات اللوجستية.":"ENGINIZER is the delivery platform for restaurants, retailers, and e-commerce. OSTOOLY is the fleet management system for delivery operators and logistics companies."},{category:"ostooly",q:t?"كيف يحقق سوبرمايل 34% زيادة في أرباح الشركاء؟":"How does Supermile achieve 34% more partner earnings?",a:t?"من خلال محرك توزيع ذكي يختار شريك التوصيل الأنسب لكل طلب في أقل من ثانية بناءً على المسافة والتكلفة والتوافر، مما يقلل التكاليف ويرفع كفاءة التشغيل بشكل كبير.":"Through a smart dispatch engine that selects the best delivery partner for each order in under a second based on distance, cost, and availability — cutting costs and significantly boosting operational efficiency."},{category:"ostooly",q:t?"كم يستغرق الإعداد للبدء مع سوبرمايل؟":"How long does it take to get started with Supermile?",a:t?"يمكنك البدء في رفع معلومات الشركة للبدء في العمل مع سوبرمايل مباشرة.":"Standard onboarding takes between three and ten business days. The Supermile team handles integration setup, team training, and launch follow-up."},{category:"ostooly",q:t?"هل يمكن للشركات الحصول على تدريب لموظفيها على كيفية عمل نظام سوبرمايل؟":"Can companies get training for their staff on how to use Supermile?",a:t?"نعم. يشمل تأهيل سوبرمايل جلسات تدريبية موجهة للفريق التشغيلي والتقني لدى العميل. تغطي هذه الجلسات إدارة الطلبات، والتقارير، وإعداد الشركاء، وأي ميزات خاصة بعملك. كما يوفر فريق الدعم متابعة مستمرة بعد الإطلاق لضمان توظيف النظام بكفاءة.":"Yes. Supermile's onboarding includes guided training sessions for the client's operations and technical teams. Sessions cover order management, reporting, partner setup, and any features specific to your business. The support team also provides continuous post-launch follow-up to ensure the platform is used effectively."},{category:"ostooly",q:t?"هل النظام التقني يحتاج إلى تنزيل أو جهاز لابتوب خاص؟":"Does the system require a download or a dedicated device?",a:t?"لا. سوبرمايل منصة سحابية بالكامل، تعمل عبر المتصفح مباشرةً دون الحاجة إلى تنزيل أي برنامج أو امتلاك جهاز خاص. يمكن الوصول إليها من أي حاسب أو جهاز لوحي عبر رابط المنصة. كما تتوفر تطبيقات الجوال للسائقين والمناديب على iOS وAndroid.":"No. Supermile is a fully cloud-based platform that runs directly in the browser — no software download or dedicated hardware required. It can be accessed from any computer or tablet via the platform link. Driver and courier mobile apps are also available on iOS and Android."},{category:"ostooly",q:t?"ما هي شروط سوبرمايل للشركات المشغلة؟":"What are Supermile's requirements for operating companies?",a:t?"تشترط سوبرمايل أن تكون الشركة المشغلة مسجلة رسميًا في المملكة العربية السعودية، وأن تمتلك أسطولًا من السائقين أو المناديب العاملين بشكل منتظم على الكفالة. يُشترط وجود رخص قيادة وإقامات سارية. عند التسجيل، يتواصل معك فريق سوبرمايل لتقييم احتياجاتك وتحديد الخطة المناسبة.":"Supermile requires operating companies to be officially registered in Saudi Arabia and to have an active fleet of drivers or couriers. A technical or operations contact must be designated on your side to manage the platform. Supermile's team will assess your needs and agree on the right setup plan before onboarding begins."},{category:"enginizer",q:t?"ما المدن التي تغطيها سوبرمايل؟":"Which cities does Supermile cover?",a:t?"جميع المدن الرئيسة في كافة مناطق المملكة":"Supermile currently covers Riyadh, Jeddah, Dammam, Makkah, and Madinah, with gradual expansion to cover all regions of the Kingdom."},{category:"enginizer",q:t?"هل يتكامل سوبرمايل مع نقاط البيع الموجودة؟":"Does Supermile integrate with existing POS systems?",a:t?"نعم، يتكامل سوبرمايل مع أبرز أنظمة نقاط البيع ومنصات التجارة الإلكترونية في المملكة مثل سلة وفودكس عبر تكاملات جاهزة أو API مفتوحة.":"Yes, Supermile integrates with leading POS and e-commerce platforms in the Kingdom including Salla and Foodics via ready-made integrations or an open API."},{category:"enginizer",q:t?"ما هي طبيعة المتاجر التي يمكنها العمل مع سوبرمايل؟":"What types of businesses can work with Supermile?",a:t?"يخدم سوبرمايل طيفًا واسعًا من المتاجر والمنشآت التجارية، تشمل: المطاعم وسلاسل الأغذية والمشروبات، متاجر البقالة والمتاجر السحابية، منصات التجارة الإلكترونية، محلات التجزئة، الصيدليات، تطبيقات التوصيل التجميعية، والأسر المنتجة. باختصار: أي منشأة تحتاج إلى إدارة عمليات التوصيل مع شريك أو أكثر.":"Supermile serves a wide range of businesses including restaurants and F&B chains, grocery and cloud stores, e-commerce platforms, retail outlets, pharmacies, aggregator delivery apps, and home producers. In short: any establishment that needs to manage delivery operations with one or more delivery partners."},{category:"enginizer",q:t?"ما هو الحد الأعلى لعدد الشركاء الذين يمكنني العمل معهم عن طريق سوبرمايل؟":"Is there a maximum number of delivery partners I can connect with through Supermile?",a:t?"لا يوجد حد أعلى. تتيح لك منصة سوبرمايل التوصيل مع أكثر من 520 شريكًا في المملكة العربية السعودية من خلال لوحة تحكم واحدة. يمكنك تفعيل الشركاء الذين تحتاجهم في أي وقت وإدارتهم جميعًا في مكان واحد دون الحاجة إلى عقود أو تكاملات منفصلة مع كل شريك.":"There is no upper limit. Supermile's platform connects you with over 520 delivery partners across Saudi Arabia through a single dashboard. You can activate the partners you need at any time and manage them all in one place — no separate contracts or individual integrations required."}],S=[{id:"02",name:t?"العمليات وإدارة الأسطول":"Operations & Fleet Management",sub:t?"توزيع، تتبع، وتنفيذ متكامل":"Dispatch, Tracking & Execution",desc:t?"المنظومة المركزية للتحكم في الطلبات والسائقين والمركبات، مع توزيع ذكي للمهام وتتبع لحظي عبر جميع نقاط التوصيل.":"The central system for controlling orders, drivers, and vehicles — with smart task dispatch and real-time tracking across all delivery points.",tags:["FLEET","OPS","LIVE"]},{id:"03",name:t?"نظام إدارة الأصول":"Asset Management",sub:t?"تسجيل، إهلاك، وصيانة":"Registration, Depreciation & Maintenance",desc:t?"إدارة دورة حياة الأصول الثابتة من المركبات والمعدات، مع حساب الإهلاك تلقائيًا وربط مباشر بالحسابات المالية.":"Manage the full lifecycle of fixed assets — vehicles and equipment — with automatic depreciation and direct linkage to financial accounts.",tags:["ASSETS","PRO-RATA","MAINTENANCE"]},{id:"04",name:t?"نظام الموارد البشرية":"HR System",sub:t?"الرواتب، التأمين، والإجازات":"Payroll, Insurance & Leave",desc:t?"نظام موارد بشرية متكامل للسائقين والموظفين، يشمل الرواتب الآلية وتتبع التكاليف وإدارة البدلات والمكافآت.":"A complete HR system for drivers and staff — covering automated payroll, cost tracking, allowances, and end-of-service benefits.",tags:["HR","PAYROLL","GOSI"]},{id:"05",name:t?"وكلاء الذكاء الاصطناعي":"AI Agents",sub:t?"أتمتة ذكية للقرارات التشغيلية":"Intelligent Operational Automation",desc:t?"وكلاء ذكاء اصØ
233·Ù†Ø§Ø¹ÙŠ متخصصون يعملون على مدار الساعة لأتمتة القرارات التشغيلية، التنبؤ بحجم الطلب، والكشف عن الأنماط غير المعتادة.":"Specialized AI agents operating 24/7 to automate operational decisions, forecast demand volumes, and detect unusual patterns in operations and payments.",tags:["AI","FORECAST","AUTOMATION"]},{id:"06",name:t?"جدولة القوى العاملة":"Workforce Scheduling",sub:t?"جدولةٌ ذكيّةٌ مبنيّةٌ على التّنبّؤ":"Demand-Driven Smart Scheduling",desc:t?"جدولةٌ ذكيّةٌ للسّائقين بناءً على التّنبّؤ بالطّلب والكفاءة.":"Smart driver scheduling based on demand forecasting and operational efficiency.",tags:["SCHEDULE","WORKFORCE","FORECAST"]},{id:"07",name:t?"إدارة الأساطيل":"Fleet Management",sub:t?"مركبات، صيانة، وتراخيص":"Vehicles, Maintenance & Licenses",desc:t?"أدواتٌ كاملةٌ لإدارة المركبات والصّيانة وتراخيص التّشغيل.":"Complete tools for managing vehicles, maintenance schedules, and operating licenses.",tags:["FLEET","MAINTENANCE","LICENSES"]},{id:"08",name:t?"تتبّع السّائقين":"Driver Tracking",sub:t?"أداءٌ كاملٌ ولوحات متابعة":"Full Performance & Monitoring",desc:t?"رؤيةٌ كاملةٌ لأداء كلّ سائقٍ مع تقاريرَ ولوحاتِ متابعةٍ مفصّلة.":"Full visibility into each driver's performance with detailed reports and monitoring dashboards.",tags:["TRACKING","PERFORMANCE","REPORTS"]},{id:"09",name:t?"الامتثال الآليّ":"Automated Compliance",sub:t?"لوائح وتشريعات تلقائيًا":"Regulations Handled Automatically",desc:t?"امتثالٌ للوائح والتشريعات بشكلٍ آليٍّ دون تدخّلٍ يدوي.":"Automated compliance with local regulations and legislation — with no manual intervention required.",tags:["COMPLIANCE","REGULATORY","AUTO"]},{id:"10",name:t?"تحسين الأرباح":"Earnings Optimization",sub:t?"أرباحٌ مُعظَّمةٌ للشّركاء والسّائقين":"Maximized Partner & Driver Earnings",desc:t?"خوارزميّاتٌ تُعظّم أرباح الشّركاء والسّائقين بنحوٍ مستدام.":"Algorithms that sustainably maximize earnings for partners and drivers.",tags:["EARNINGS","OPTIMIZATION","PARTNERS"]},{id:"11",name:t?"التّوجيه متعدّد الأساطيل":"Multi-Fleet Routing",sub:t?"إدارةٌ متزامنةٌ لأكثر من أسطول":"Simultaneous Multi-Fleet Management",desc:t?"إدارةٌ متزامنةٌ لأكثر من أسطولٍ مع توزيعٍ مُحسَّن بين الجميع.":"Simultaneous management of multiple fleets with optimized dispatch across all of them.",tags:["ROUTING","MULTI-FLEET","DISPATCH"]},{id:"01",name:t?"نظام المالية":"Finance System",sub:t?"المحاسبة والفوترة الإلكترونية":"Accounting & E-Invoicing",desc:t?"إدارة مالية شاملة متوافقة مع متطلبات هيئة الزكاة والضريبة والجمارك، مع فوترة إلكترونية معتمدة وتسويات تلقائية لجميع الأطراف.":"Full financial management compliant with ZATCA requirements, including certified e-invoicing and automated settlements for all parties.",tags:["ZATCA","FINANCE","VAT"]},{id:"12",name:t?"التّوزيع الذّكيّ بالذّكاء الاصطناعيّ":"AI-Powered Smart Dispatch",sub:t?"قرارٌ آليٌّ في أقلّ من ثانية":"Automated Decision in Under a Second",desc:t?"قرارٌ آليٌّ لكلّ طلبٍ في أقلّ من ثانية بناءً على عشرات المتغيّرات الآنيّة.":"Automated decision for every order in under a second, based on dozens of real-time variables.",tags:["AI","DISPATCH","REAL-TIME"]}],k=[{feature:t?"توزيع ذكي متعدد الشركاء":"Smart multi-partner dispatch",sub:t?"اختيار شريك التوصيل آنيًا بين عدة شركاء":"Real-time partner selection across multiple providers",marks:["●","○","○","—"]},{feature:t?"تكامل مع نقاط البيع والتجارة الإلكترونية":"POS & e-commerce integration",sub:t?"سلة، فودكس":"Salla, Foodics",marks:["●","●","—","○"]},{feature:t?"إدارة الأساطيل الخاصة":"Private fleet management",sub:t?"سائقون، مركبات، صيانة، جداول":"Drivers, vehicles, maintenance, schedules",marks:["●","●","—","●"]}
233,{feature:t?"تقارير ومحاسبة آلية":"Automated reports & accounting",sub:t?"تسوية يومية تلقائية بين الأطراف":"Automatic daily settlement between all parties",marks:["●","○","●","○"]},{feature:t?"امتثال للوائح المملكة":"Saudi regulatory compliance",sub:t?"وزارة النقل، هيئة الزكاة، التأمينات":"Ministry of Transport, ZATCA, GOSI",marks:["●","—","—","—"]},{feature:t?"دعم عربي أصيل على مدار الساعة":"Native Arabic 24/7 support",sub:t?"فريق في المملكة، لا مكاتب خارجية":"Team based in KSA, no offshore offices",marks:["●","●","○","—"]},{feature:t?"واجهة برمجة تطبيقات مفتوحة":"Open API",sub:t?"للتكامل العميق مع أنظمتك الخاصة":"For deep integration with your own systems",marks:["●","○","○","—"]}],E=[{name:t?"منطقة الرياض":"Riyadh Region",ltr:"Riyadh Region"},{name:t?"منطقة مكة المكرمة":"Makkah Region",ltr:"Makkah Region"},{name:t?"منطقة المدينة المنورة":"Madinah Region",ltr:"Madinah Region"},{name:t?"منطقة القصيم":"Al-Qassim Region",ltr:"Al-Qassim Region"},{name:t?"المنطقة الشرقية":"Eastern Province",ltr:"Eastern Province"},{name:t?"منطقة عسير":"Asir Region",ltr:"Asir Region"},{name:t?"منطقة تبوك":"Tabuk Region",ltr:"Tabuk Region"},{name:t?"منطقة حائل":"Hail Region",ltr:"Hail Region"},{name:t?"منطقة الحدود الشمالية":"Northern Borders Region",ltr:"Northern Borders Region"},{name:t?"منطقة جازان":"Jazan Region",ltr:"Jazan Region"},{name:t?"منطقة نجران":"Najran Region",ltr:"Najran Region"},{name:t?"منطقة الباحة":"Al-Bahah Region",ltr:"Al-Bahah Region"},{name:t?"منطقة الجوف":"Al-Jouf Region",ltr:"Al-Jouf Region"}],A=[{date:"14 MAY 2026",title:t?"سوبرمايل تغلق جولة استثمارية بقيمة 12 مليون دولار لتوسيع حضورها":"Supermile closes $12M funding round to expand its presence",source:"ARGAAM"},{date:"02 MAY 2026",title:t?"سوبرمايل تعلن دعم مدينة مكة المكرمة في منصتها":"Supermile announces Makkah city support on its platform",source:"AL EQTISADIAH"},{date:"18 APR 2026",title:t?"شراكة استراتيجية بين سوبرمايل ونينجا لتوحيد البنية التحتية للتوصيل":"Strategic partnership between Supermile and Ninja to unify delivery infrastructure",source:"SAUDI GAZETTE"},{date:"03 APR 2026",title:t?"ريادة الأعمال السعودية: سوبرمايل ضمن أسرع 10 شركات نموًا":"Saudi entrepreneurship: Supermile among the 10 fastest-growing companies",source:"ENTREPRENEUR AR"}],C=[{date:"14 MAY 2026",title:t?"كيف تقلل تكلفة التوصيل 24% دون تغيير شريكك الحالي":"How to cut delivery costs by 24% without changing your current partner",source:"OPERATIONS · 8 MIN READ"},{date:"28 APR 2026",title:t?"دليلك لفهم لوائح وزارة النقل لخدمات التوصيل في 2026":"Your guide to understanding Ministry of Transport delivery regulations in 2026",source:"REGULATION · 12 MIN READ"},{date:"11 APR 2026",title:t?"داخل محرك التوزيع: كيف نختار الشريك الأنسب في أقل من ثانية":"Inside the dispatch engine: how we select the best partner in under a second",source:"ENGINEERING · 15 MIN READ"},{date:"26 MAR 2026",title:t?"دليل البدء في التوجيه متعدد الأساطيل: من واحد إلى عشرة":"Getting started with multi-fleet routing: from one fleet to ten",source:"GUIDE · 10 MIN READ"}],R=[{tier:"ACCELERATOR",name:t?"المسرع":"Accelerator",popular:!0,semiAnnualPrice:1800,annualPrice:2520,price:t?"تسعير مخصص":"Customized pricing",tagline:t?"للشركات الناشئة والتجار الأفراد الذين يبدؤون رحلة التوصيل الذكي.":"For startups and individual merchants beginning their smart delivery journey.",features:t?["العمل بالعقود مع سوبرمايل","الاشتراك في الخدمات الداعمة","الفواتير الإلكترونية","تقارير الأداء"]:["Contracting with Supermile","Subscribe to supp
233ort services","Electronic invoicing","Performance reports"],cta:t?"احجز عرضًا":"Book a Demo",ctaStyle:"border"},{tier:"PRO",name:t?"برو":"Pro",popular:!1,semiAnnualPrice:3960,annualPrice:5544,price:t?"تسعير مخصص":"Customized pricing",tagline:t?"للعمليات المتوسطة التي تحتاج توزيعًا متعدد الشركاء وتتبعًا لحظيًا.":"For mid-size operations needing multi-partner dispatch and real-time tracking.",features:t?["كل مزايا المسرع","نظام إدارة الموارد البشرية","نظام الإدارة المالية","نظام إدارة العمليات","الاشتراك في خدمات الوقود والتأمين ومتابعة المركبات"]:["Everything in Accelerator","Human resources management system","Financial management system","Operations management system","Subscribe to fuel, insurance, and vehicle tracking services"],cta:t?"احجز عرضًا":"Book a Demo",ctaStyle:"border"},{tier:"GROWTH",name:t?"النمو":"Growth",popular:!1,semiAnnualPrice:7200,annualPrice:10080,price:t?"تسعير مخصص":"Customized pricing",tagline:t?"للعمليات المتنامية التي تحتاج تغطية أوسع وتحليلات متقدمة.":"For growing operations that need broader coverage and advanced analytics.",features:t?["كل مزايا برو","نظام إدارة معلومات الشركاء","الخصائص المدعومة بالذكاء الاصطناعي","التقارير عن طريق واتساب"]:["Everything in Pro","Partner information management system","AI-powered features","Reports via WhatsApp"],cta:t?"احجز عرضًا":"Book a Demo",ctaStyle:"border"},{tier:"ENTERPRISE",name:t?"الشركات الكبرى":"Enterprise",popular:!1,semiAnnualPrice:null,annualPrice:null,price:t?"تسعير مخصص":"Customized pricing",tagline:t?"للشركات الكبرى والأساطيل المتعددة التي تحتاج عقودًا مخصصة.":"For large companies and multiple fleets requiring custom contracts.",features:t?["كل مزايا النمو","أساطيل غير محدودة","اتفاقية خدمة مخصصة","ربط حساباتك مع تطبيقات التوصيل داخل أسطولي"]:["Everything in Growth","Unlimited fleets","Custom service agreement","Connect your accounts with delivery apps within Ostooly"],cta:t?"تحدث إلى المبيعات":"Talk to Sales",ctaStyle:"border"}],$=[AN(),CN(),jN(),RN(),TN(),NN(b),PN([{name:t?"الرئيسية":"Home",path:"/"},{name:t?"سوبرمايل":"Supermile",path:"/"}]),ON({title:t?"سوبرمايل — نظام تشغيل الميل الأخير في المملكة العربية السعودية":"Supermile — Last-Mile Operating System for Saudi Arabia | platform.supermile.ai",description:"Supermile is Saudi Arabia's AI-powered last-mile operating system — 520+ partners, 26,000+ drivers, 34% more earnings. ENGINIZER for businesses, OSTOOLY for fleets. Live platform at platform.supermile.ai.",path:"/",datePublished:"2024-01-01",dateModified:"2026-05-21"}),{"@context":"https://schema.org","@type":"WebPage","@id":"https://supermile.ai/",name:t?"سوبرمايل — نظام تشغيل الميل الأخير في المملكة العربية السعودية":"Supermile — Last-Mile Operating System, Saudi Arabia",description:"Supermile is Saudi Arabia's last-mile operating system. AI-powered platform aggregating 520+ logistics partners and 26,000+ drivers. ENGINIZER for businesses, OSTOOLY for fleets. Live platform: platform.supermile.ai.",url:"https://supermile.ai/",inLanguage:["ar","en"],about:{"@type":"SoftwareApplication",name:"Supermile",url:"https://platform.supermile.ai",applicationCategory:"BusinessApplication"},mentions:[{"@type":"Organization",name:"Noon Minutes",url:"https://www.noon.com"},{"@type":"Organization",name:"Jahez",url:"https://jahez.com"},{"@type":"Organization",name:"Ninja",url:"https://ninjasadelivery.com"},{"@type":"Organization",name:"HungerStation",url:"https://hungerstation.com"},{"@type":"Organization",name:"Mrsool",url:"https://mrsool.co"},{"@type":"Organization",name:"Keeta"},{"@type":"Organization",name:"Mr. Mandoob"},{"@type":"Organization",name:"Super Mall"},{"@type":"Organization",name:"Amazon",url:"https://amazon.sa"},{"@type":"Organization",name:"The Chefz"},{"@type":"Organization",name:"Keemart"},{"@type":"Organization",name:"SMSA Express",url:"https://smsa.com"},{"@type":"Organization",name:"Naqel Express",url:"https://naqel.com.sa"},{"@type":"Organization",name:"OTO"},{"@type":"Organization",name:"Floward",url:"https://floward.com"},{"@type":"Organization",name:"Salla",url:"https://salla.com"},{"@type":"Organization",name:"Foodics",url:"https://foodics.com"}]}],L=t?"'Tajawal', sans-serif":"'Geist', sans-serif",U=t?"rtl":"ltr",I=[{tag:"QUICK-COMMERCE",num:"01",name:t?"التجارة السريعة":"Quick Commerce",desc:t?"توصيل في Ø£Ù
233‚Ù„ من 30 دقيقة للطلبات العاجلة مع تتبع لحظي وتوزيع آني.":"Delivery in under 30 minutes for urgent orders with real-time tracking and instant dispatch.",Icon:ja},{tag:"GROCERY",num:"02",name:t?"البقالة":"Grocery",desc:t?"توصيل موثوق للمنتجات الباردة والمجمدة مع سلسلة برودة موثقة.":"Reliable delivery of chilled and frozen products with a fully documented cold chain.",Icon:Fk},{tag:"F&B",num:"03",name:t?"المطاعم والمشروبات":"Food & Beverage",desc:t?"تكامل مباشر مع نقاط البيع وتوزيع فوري يضمن وصول الطلبات الساخنة.":"Direct POS integration and instant dispatch ensuring hot orders arrive on time.",Icon:Uk},{tag:"RETAIL",num:"04",name:t?"تجارة التجزئة":"Retail",desc:t?"توصيل مجدول للطلبات ذات الحجم الكبير مع نوافذ زمنية دقيقة يختارها العميل مسبقًا.":"Scheduled delivery for large-volume orders with precise time windows pre-selected by the customer.",Icon:Lk},{tag:"E-COMMERCE",num:"05",name:t?"التجارة الإلكترونية":"E-Commerce",desc:t?"تكاملات جاهزة مع سلة وفودكس تتيح إطلاقًا فوريًا دون الحاجة إلى فريق تقني.":"Ready integrations with Salla and Foodics enabling instant launch without a technical team.",Icon:Rk},{tag:"DELIVERY APPS",num:"06",name:t?"تطبيقات التوصيل":"Delivery Apps",desc:t?"منصات توصيل تجميعية تستفيد من شبكات مركبة من التجار ومشغلي التوصيل تحت منظومة واحدة.":"Aggregator platforms connecting multiple merchants and delivery operators under a unified system.",Icon:Dk},{tag:"CLOUD STORES",num:"07",name:t?"المتاجر السحابية":"Cloud Stores",desc:t?"مزامنة تلقائية للطلبات من كافّة منصات التجارة الإلكترونية ونقاط البيع السحابية وأسواق التجارة الفورية.":"Auto-sync orders from all e-commerce platforms, cloud POS, and instant-commerce marketplaces.",Icon:Nk},{tag:"WAREHOUSE",num:"08",name:t?"المستودعات":"Warehouses",desc:t?"إدارة المخزون وتوزيع الطلبات بين مراكز الإكمال ومشغلي الميل الأخير.":"Warehouse management and last-mile distribution between fulfillment centers and delivery operators.",Icon:vg},{tag:"PHARMACEUTICAL",num:"09",name:t?"الأدوية":"Pharmaceuticals",desc:t?"توصيل الأدوية مع حفظ دقيق لسلسلة البرودة وتتبع كامل للتراخيص.":"Medical delivery with strict cold-chain compliance, permit tracking, and full documentation.",Icon:Tk},{tag:"HOME PRODUCERS",num:"10",name:t?"الأسر المنتجة":"Home Producers",desc:t?"دعم مستمر للأسر المنتجة المحلية من الحلويات والمعمولات ومواد التجميل مع توزيع منشئي وتكلفة أقل.":"Sustainable support for home-based kitchens, artisans, and products with minimal cost and zero organization.",Icon:Ok}];return c.jsxs(c.Fragment,{children:[c.jsx(FN,{...n,canonicalUrl:n.canonicalUrl,ogUrl:n.ogUrl,ogImage:n.ogImage,structuredData:$}),c.jsx(DN,{}),c.jsxs("div",{dir:U,style:{fontFamily:L},className:"overflow-x-hidden",children:[c.jsx(bN,{}),c.jsx("section",{className:"pt-36 md:pt-44 pb-14 md:pb-28 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#fef8f7"},children:c.jsx("div",{className:"max-w-6xl mx-auto",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_1.15fr] gap-12 items-center",children:[c.jsxs("div",{children:[c.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold text-[#00081A] mb-6",style:{fontFamily:L},children:[c.jsx("span",{className:"block pb-2 mb-3 border-b-4 border-[#C71203] text-[44px]",children:e("lp2.hero.title1")}),c.jsx("span",{className:"block md:text-4xl font-bold text-[#00081A]/80 text-[32px]",children:e("lp2.hero.title2")})]}),c.jsx("p",{className:`text-lg leading-relaxed text-[#1a2744] mb-8 ${t?"border-r-4 pr-5":"border-l-4 pl-5"} border-[#C71203]`,children:t?c.jsxs(c.Fragment,{children:["سوبرمايل منصةٌ ذكيةٌ تدير عمليات التوصيل للميل الأخير عبر منتجَيÙ
233† رئيسيَّين —"," ",c.jsx("a",{href:"/landingpage2/delivery-service-partners",className:"font-black text-[#C71203] underline decoration-[#C71203]/30 hover:decoration-[#C71203] transition-colors",children:"أسطولي"})," لمشغلي الأساطيل، و",c.jsx("a",{href:"/landingpage2/business-partners",className:"font-black text-[#C71203] underline decoration-[#C71203]/30 hover:decoration-[#C71203] transition-colors",children:"إنجنايزر"})," للمطاعم وتجار التجزئة والتجارة الإلكترونية — تنسق التوزيع عبر"," ",c.jsx("strong",{dir:"ltr",className:"inline-block",children:"520+"})," شريكًا و",c.jsx("strong",{dir:"ltr",className:"inline-block",children:"26,000+"})," سائقًا، فتحقق ",c.jsx("strong",{dir:"ltr",className:"inline-block",children:"34%"})," زيادةً في أرباح الشركاء و",c.jsx("strong",{dir:"ltr",className:"inline-block",children:"24%"})," تقليلًا في الخسائر."]}):c.jsxs(c.Fragment,{children:["Supermile is an intelligent platform managing last-mile delivery operations through two core products —"," ",c.jsx("a",{href:"/landingpage2/delivery-service-partners",className:"font-black text-[#C71203] underline decoration-[#C71203]/30 hover:decoration-[#C71203] transition-colors",children:"OSTOOLY"})," for fleet operators, and"," ",c.jsx("a",{href:"/landingpage2/business-partners",className:"font-black text-[#C71203] underline decoration-[#C71203]/30 hover:decoration-[#C71203] transition-colors",children:"ENGINIZER"})," for restaurants, retailers, and e-commerce — coordinating dispatch across"," ",c.jsx("strong",{children:"520+"})," partners and ",c.jsx("strong",{children:"26,000+"})," drivers, achieving ",c.jsx("strong",{children:"34%"})," more partner earnings and ",c.jsx("strong",{children:"24%"})," fewer losses."]})}),c.jsxs("div",{className:"flex flex-col sm:flex-row flex-wrap gap-3 mb-8",children:[c.jsx("a",{href:"/contact",className:"inline-flex items-center justify-center gap-2 bg-gradient-to-b from-[#C71203] to-[#a50f02] text-white font-semibold px-8 py-3.5 rounded-xl hover:from-[#a11508] hover:to-[#8a1207] transition-all duration-300 text-sm tracking-wide shadow-lg",children:e("lp2.hero.cta1")}),c.jsx("a",{href:"https://youtube.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 border-2 border-[#00081A] text-[#00081A] font-semibold px-8 py-3.5 rounded-xl hover:bg-[#00081A] hover:text-white transition-all duration-300 text-sm tracking-wide hidden",children:e("lp2.hero.cta2")})]}),c.jsxs("p",{className:"text-xs text-[#1a2744]/60 font-medium tracking-wide border-t border-[#00081A]/10 pt-4",children:[c.jsx("button",{onClick:()=>{var j;return(j=document.getElementById("cities"))==null?void 0:j.scrollIntoView({behavior:"smooth"})},className:"hover:text-[#C71203] transition-colors duration-200 cursor-pointer",children:t?"تغطية لكافة مناطق المملكة":"Nationwide coverage"}),c.jsxs("span",{children:[" · ",t?"عقود معتمدة":"Approved contracts"," · "]}),c.jsx("a",{href:"/landingpage2/delivery-service-partners",className:"hover:text-[#C71203] transition-colors duration-200 cursor-pointer",children:t?"خدمات متكاملة للشركات المشغلة":"Integrated enterprise services"})]})]}),c.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl min-h-[380px] md:min-h-[520px]",style:{backgroundColor:"#00081A",border:"1px solid rgba(255,255,255,0.08)",backgroundImage:"radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px)",backgroundSize:"22px 22px"},children:[c.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(ellipse at 20% 100%, rgba(199,18,3,0.22) 0%, transparent 60%)"}}),c.jsx("div",{className:`absolute top-6 z-20 ${t?"left-6":"right-6"}`,children:c.jsx("img",{src:La,alt:"Supermile",className:"w-8 h-8 object-contain",style:{opacity:.75}})}),c.jsxs("div",{className:"absolute inset-0 p-7 flex flex-col",style:{opacity:h===0?1:0,transition:"opacity 600ms ease",pointerEvents:h===0?"auto":"none"},children:[c.jsx("div",{className:"text-[10px] font-mono tracking-[0.3em] uppercase mb-5 mt-1",style:{color:"#C71203"},children:t?"منتجان · منصة واحدة":"Two products 
233· One platform"}),c.jsxs("div",{className:"flex flex-col gap-3 flex-1",children:[c.jsxs("div",{className:"flex-1 rounded-2xl p-5 flex flex-col justify-between",style:{background:"linear-gradient(135deg, rgba(199,18,3,0.2) 0%, rgba(199,18,3,0.07) 100%)",border:"1px solid rgba(199,18,3,0.35)"},children:[c.jsxs("div",{children:[c.jsx("div",{className:"text-[9px] font-mono tracking-[0.28em] uppercase text-white/40 mb-2",children:t?"للأعمال التجارية":"For Businesses"}),c.jsx("div",{className:"font-black text-white",dir:"ltr",style:{fontSize:"clamp(1.5rem, 3.5vw, 1.9rem)",letterSpacing:"-0.02em"},children:"ENGINIZER"}),c.jsx("div",{className:"text-white/55 text-xs mt-1.5 leading-relaxed",children:t?"مطاعم · تجزئة · تجارة إلكترونية":"Restaurants · Retail · E-commerce"})]}),c.jsxs("div",{className:`flex items-center gap-2 mt-3 ${t?"flex-row-reverse":""}`,children:[c.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-[#C71203] flex-shrink-0"}),c.jsx("span",{className:"text-[11px] text-white/35",children:t?"توصيل ذكي متعدد الشركاء":"Smart multi-partner dispatch"})]})]}),c.jsxs("div",{className:"flex-1 rounded-2xl p-5 flex flex-col justify-between",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.1)"},children:[c.jsxs("div",{children:[c.jsx("div",{className:"text-[9px] font-mono tracking-[0.28em] uppercase text-white/40 mb-2",children:t?"لمشغلي الأساطيل":"For Fleet Operators"}),c.jsx("div",{className:"font-black",dir:"ltr",style:{fontSize:"clamp(1.5rem, 3.5vw, 1.9rem)",letterSpacing:"-0.02em",color:"rgba(255,255,255,0.82)"},children:"OSTOOLY"}),c.jsx("div",{className:"text-white/55 text-xs mt-1.5 leading-relaxed",children:t?"أساطيل · لوجستيات · مشغلو التوصيل":"Fleets · Logistics · DSPs"})]}),c.jsxs("div",{className:`flex items-center gap-2 mt-3 ${t?"flex-row-reverse":""}`,children:[c.jsx("div",{className:"w-1.5 h-1.5 rounded-full flex-shrink-0",style:{backgroundColor:"rgba(255,255,255,0.3)"}}),c.jsx("span",{className:"text-[11px] text-white/35",children:t?"إدارة الأساطيل والامتثال التنظيمي":"Fleet management & compliance"})]})]})]}),c.jsx("div",{style:{height:32}})]}),c.jsxs("div",{className:"absolute inset-0 p-7 flex flex-col",style:{opacity:h===1?1:0,transition:"opacity 600ms ease",pointerEvents:h===1?"auto":"none"},children:[c.jsx("div",{className:"text-[10px] font-mono tracking-[0.3em] uppercase mb-4 mt-1",style:{color:"#C71203"},children:t?"أرقام حقيقية":"Real Numbers"}),c.jsxs("div",{className:"mb-5 pb-5",style:{borderBottom:"1px solid rgba(255,255,255,0.08)"},children:[c.jsx("div",{className:"font-black text-white leading-none",dir:"ltr",style:{fontSize:"clamp(3rem, 8vw, 4.2rem)",letterSpacing:"-0.03em"},children:"26,000+"}),c.jsx("div",{className:"text-white/45 text-sm mt-1.5",children:t?"سائق مسجل في الشبكة":"Registered drivers on network"})]}),c.jsx("div",{className:"grid grid-cols-3 gap-2.5 flex-1 content-start",children:[{val:"520+",label:t?"شريك نشط":"Active partners"},{val:"+34%",label:t?"زيادة في الأرباح":"More earnings"},{val:"< 1s",label:t?"سرعة التوزيع":"Dispatch speed"},{val:"+30%",label:t?"كفاءة التشغيل":"Efficiency gain"},{val:"−24%",label:t?"تقليل الخسائر":"Fewer losses"},{val:"< 1w",label:t?"وقت الإطلاق":"Go-live time"}].map(({val:j,label:T})=>c.jsxs("div",{className:"rounded-xl p-3",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.07)"},children:[c.jsx("div",{className:"text-lg font-black text-white leading-none",dir:"ltr",children:j}),c.jsx("div",{className:"text-white/40 text-[10px] mt-1.5 leading-tight",children:T})]},T))}),c.jsx("div",{style:{height:32}})]}),c.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center overflow-hidden",style:{opacity:h===2?1:0,transition:"opacity 600ms ease",pointerEvents:h===2?"auto":"none"},children:[c.jsx("div",{className:"absolute top-7 left-0 right-0 flex justify-center",children:c.jsx("span",{className:"text-[10px] font-mono tracking-[0.3em] uppercase",style:{color:"#C71203"},children:t?"سوبرمايل · المملكة العربية السعودية":"Supermile · Saudi Arabia"})}),c.jsxs("div",{className:"relative flex items-center justify-center mb-5",children:[c.jsx("div",{className:"absolute rounded-full",style:{width:140,height:140,background:"radial-gradient(circle, rgba(199,18,3,0.2) 0%, transparent 72%)"}}),c.jsx("div",{className:"relative rounded-full flex items-center justify-center",style:{width:72,height:72,background:"rgba(199,18,3,0.12)",border:"1px solid rgba(199,18,3,0.35)"},children:c.jsx("img",{src:La,alt:"Supermile",className:"w-10 h-10 object-contain"})})]}),c.jsxs("div",{className:"text-center px-10 relative z-10",children:[c.jsx("div",{className:"font-black text-white leading-tight mb-2",style:{fontSize:"clamp(1.3rem, 3.5vw, 1.65rem)"},children:t?"نظام تشغيل الميل الأخير":"Last-Mile Operating System"}),c.jsx("div",{className:"text-white/40 text-xs tracking-wide",children:t?"مدعوم بالذكاء الاصطناعي · للمملكة العربية السعودية":"AI-powered · Built for Saudi Arabia"})]}),c.jsx("div",{className:"absolute bottom-8 left-0 right-0",children:c.jsxs("svg",{width:"100%",height:"64",viewBox:"0 0 420 64",fill:"none",preserveAspectRatio:"none",children:[c.jsx("path",{d:"M0 50 Q70 20 140 42 Q210 60 280 34 Q350 10 420 28",stroke:"rgba(199,18,3,0.35)",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),c.jsx("path",{d:"M0 58 Q90 38 180 52 Q270 64 360 46 Q390 40 420 50",stroke:"rgba(255,255,255,0.07)",strokeWidth:"1",fill:"none",strokeLinecap:"round"}),c.jsx("circle",{cx:"140",cy:"42",r:"3.5",fill:"rgba(199,18,3,0.7)"}),c.jsx("circle",{cx:"280",cy:"34",r:"3.5",fill:"rgba(199,18,3,0.7)"}),c.jsx("circle",{cx:"70",cy:"30",r:"2",fill:"rgba(255,255,255,0.22)"}),c.jsx("circle",{cx:"210",cy:"52",r:"2",fill:"rgba(255,255,255,0.22)"}),c.jsx("circle",{cx:"350",cy:"16",r:"2",fill:"rgba(255,255,255,0.22)"})]})}),c.jsx("div",{style:{height:32}})]}),c.jsx("div",{className:"absolute bottom-7 left-8 right-8 flex gap-2 z-30",children:[0,1,2].map(j=>c.jsx("button",{onClick:()=>_(j),className:"flex-1 rounded-full cursor-pointer",style:{height:"3px",backgroundColor:j===h?"#C71203":"rgba(255,255,255,0.14)",transition:"background-color 400ms ease",border:"none",padding:0}},j))})]})]})})}),c.jsxs("section",{style:{backgroundColor:"#C71203"},children:[c.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-8 md:px-16 pt-10 pb-4",children:c.jsx("div",{className:"flex flex-col sm:flex-row justify-between items-start sm:items-end gap-4",children:c.jsxs("div",{className:"flex flex-col gap-2",children:[c.jsx("p",{className:"text-2xl md:text-3xl font-extrabold text-[#00081A]",children:e("lp2.logos.title")}),c.jsx("p",{className:"text-base md:text-lg font-semibold text-white/90 leading-snug",children:e("lp2.logos.subtitle")})]})})}),c.jsx("div",{className:"relative overflow-hidden logo-carousel-container cursor-pointer py-6",style:{backgroundColor:"#fef8f7",boxShadow:"inset 0 10px 18px -10px rgba(0,0,0,0.3), inset 0 -10px 18px -10px rgba(0,0,0,0.3)"},children:c.jsx("div",{className:"flex animate-logo-scroll",style:{width:"max-content"},children:[...Hu,...Hu,...Hu].map((j,T)=>c.jsxs("div",{className:"flex-shrink-0 flex flex-col items-center justify-center h-24 md:h-28 w-32 md:w-40 p-3 mx-3",children:[c.jsx("img",{src:j.src,alt:j.alt,loading:"lazy",width:160,height:96,className:`${j.imgClass} hover:scale-105 transition-transform duration-300 flex-1`,style:j.imgStyle}),c.jsx("span",{className:"text-[10px] font-mono text-[#1a2744]/40 mt-1 tracking-wider",children:j.name})]},T))})}),c.jsx("div",{className:"pb-10",style:{backgroundColor:"#C71203"}})]}),c.jsxs("section",{id:"products",className:"relative overflow-hidden",style:{backgroundColor:"#fef8f7"},children:[c.jsxs("div",{className:"text-center py-12 px-4",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-[#00081A] mb-4",children:e("lp2.products.title")}),c.jsx("p",{className:"text-lg text-[#1a2744]/75 max-w-2xl mx-auto",children:e("lp2.products.subtitle")})]}),c.jsxs("div",{ref:y,className:"hidden md:flex relative",dir:"ltr",style:{minHeight:s?"560px":"380px",transition:"min-height 0.7s cubic-bezier(0.4, 0, 0.2, 1)"},children:[c.jsxs("div",{role:"button",tabIndex:0,"aria-expanded":s==="enginizer",className:"group cursor-pointer overflow-hidden relative py-24 px-6 lg:px-12",style:{backgroundColor:"#C71203",flex:s==="enginizer"?"6 1 0%":s==="ostooly"?"0 0 80px":"
2331 1 0%",transition:a?"flex 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1)":"none",transform:a?"translateX(0)":"translateX(-100%)",opacity:a?1:0,order:0},onClick:()=>o(s==="enginizer"?null:"enginizer"),onKeyDown:j=>{(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),o(s==="enginizer"?null:"enginizer"))},children:[c.jsx("div",{className:"absolute inset-0 flex items-center justify-center",style:{opacity:s==="ostooly"?1:0,transition:"opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:s==="ostooly"?"auto":"none"},children:c.jsx("span",{className:"text-white text-sm lg:text-base font-extrabold tracking-wide [writing-mode:vertical-lr] rotate-180",children:e("lp2.hero.enginizer")})}),c.jsxs("div",{className:"absolute inset-0 px-6 lg:px-12",style:{opacity:s===null?1:0,transition:s===null?"opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s":"opacity 0.2s ease",pointerEvents:s===null?"auto":"none"},children:[c.jsxs("div",{className:"absolute inset-x-0 top-1/2 -translate-y-[calc(50%+2.5rem)] flex flex-col items-center text-center px-6 lg:px-12",children:[c.jsx("span",{className:"inline-block text-white/60 text-xs font-semibold tracking-[0.2em] uppercase mb-3",children:"للتطبيقات وتجار التجزئة والمتاجر السحابية والمتاجر الإلكترونية والمطاعم"}),c.jsx("h3",{className:"text-2xl lg:text-3xl font-extrabold text-white leading-tight",children:e("lp2.hero.enginizer")})]}),c.jsx("div",{className:"absolute inset-x-0 bottom-16 flex justify-center",children:c.jsxs("div",{dir:"ltr",className:"inline-flex items-center gap-2 rounded-full border border-white/25 bg-white/10 backdrop-blur-sm pl-4 pr-2 py-2 transition-colors duration-300 group-hover:bg-white/20",children:[c.jsx("span",{className:"text-white text-sm font-semibold tracking-[0.16em]",children:e("lp2.discover")}),c.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center bg-white/10 border border-white/25 backdrop-blur-sm flex-shrink-0 transition-colors duration-300 group-hover:bg-white/20",children:c.jsx("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.75,viewBox:"0 0 24 24",children:c.jsx("path",{d:"M9 5l7 7-7 7"})})})]})})]}),c.jsx("div",{className:"absolute inset-0 flex items-center justify-end px-6 lg:px-12",style:{opacity:s==="enginizer"?1:0,transition:s==="enginizer"?"opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s":"opacity 0.15s ease",pointerEvents:s==="enginizer"?"auto":"none"},children:c.jsxs("div",{className:"flex flex-col items-start w-[45%]",dir:U,children:[c.jsx("span",{className:"inline-block text-white/60 text-xs font-semibold tracking-[0.2em] uppercase mb-3",children:e("lp2.eng.subtitle")}),c.jsx("h3",{className:"text-3xl lg:text-4xl font-extrabold text-white leading-tight",children:e("lp2.hero.enginizer")}),c.jsx("p",{className:"mt-3 text-white/75 text-sm leading-relaxed",children:t?"محرّك توزيعٍ ذكيٌّ يَختار لكلّ طلبٍ شريك التّوصيل الأنسب آنيًّا — حسب التّكلفة والمسافة والكفاءة — فيُقلّل التّكاليف ويَرفع مستوى الخدمة دون تغيير أنظمتك الحاليّة.":"An intelligent dispatch engine that instantly selects the best delivery partner for every order — based on cost, distance, and efficiency — reducing costs and raising service levels without changing your existing systems."})]})}),c.jsx("div",{className:"absolute inset-0 flex items-center px-6 lg:px-12",style:{opacity:s==="enginizer"?1:0,transform:s==="enginizer"?"translateY(0)":"translateY(16px)",transition:s==="enginizer"?"opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s":"opacity 0.05s ease, transform 0.05s ease",pointerEvents:s==="enginizer"?"auto":"none"},children:c.jsxs("div",{className:"w-[45%]",dir:U,children:[c.jsx("div",{className:"grid grid-cols-2 gap-3",children:[[e("lp2.eng.f1"),e("lp2.eng.f1d")],[e("lp2.eng.f2"),e("lp2.eng.f2d")],[e("lp2.eng.f3"),e("lp2.eng.f3d")],[e("lp2.eng.f4"),e("lp2.eng.f4d")]].map(([j,T],F)=>c.jsxs("div",{className:"rounded-xl p-4 flex items-start gap-3 min-h-[72px]",style:{backgroundColor:"#fef8f7"},children:[c.jsx("div",{className:"w-5 h-5 rounded-md flex items-center justify-center flex-shrink-0 mt-0.5",style:{backgroundColor:"#00081A"}
233,children:c.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})}),c.jsxs("div",{children:[c.jsx("div",{className:"text-[#00081A] text-sm font-semibold leading-snug",children:j}),c.jsx("div",{className:"text-[#1a2744]/60 text-xs mt-0.5",children:T})]})]},F))}),c.jsx("a",{href:"/contact",children:c.jsxs("button",{className:"mt-6 px-6 py-2.5 bg-white text-[#C71203] font-semibold text-sm rounded-lg hover:bg-white/90 transition-all duration-300 flex items-center gap-2",children:[e("lp2.learnMore"),c.jsx("svg",{className:`w-4 h-4 ${t?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]})})]})})]}),c.jsx("div",{className:"w-20 lg:w-24 flex items-center justify-center relative z-10 flex-shrink-0",style:{backgroundColor:"#fef8f7",transition:"all 0.7s cubic-bezier(0.4, 0, 0.2, 1)",order:1},children:c.jsx("img",{src:La,alt:"Supermile",className:"w-10 h-10 lg:w-14 lg:h-14 object-contain connector-logo"})}),c.jsxs("div",{role:"button",tabIndex:0,"aria-expanded":s==="ostooly",className:"group cursor-pointer overflow-hidden relative py-24 px-6 lg:px-12",style:{backgroundColor:"#00081A",flex:s==="ostooly"?"6 1 0%":s==="enginizer"?"0 0 80px":"1 1 0%",transition:a?"flex 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s":"none",transform:a?"translateX(0)":"translateX(100%)",opacity:a?1:0,order:2},onClick:()=>o(s==="ostooly"?null:"ostooly"),onKeyDown:j=>{(j.key==="Enter"||j.key===" ")&&(j.preventDefault(),o(s==="ostooly"?null:"ostooly"))},children:[c.jsx("div",{className:"absolute inset-0 flex items-center justify-center",style:{opacity:s==="enginizer"?1:0,transition:"opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:s==="enginizer"?"auto":"none"},children:c.jsx("span",{className:"text-white text-sm lg:text-base font-extrabold tracking-wide [writing-mode:vertical-lr] rotate-180",children:e("lp2.hero.ostooly")})}),c.jsxs("div",{className:"absolute inset-0 px-6 lg:px-12",style:{opacity:s===null?1:0,transition:s===null?"opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s":"opacity 0.2s ease",pointerEvents:s===null?"auto":"none"},children:[c.jsxs("div",{className:"absolute inset-x-0 top-1/2 -translate-y-[calc(50%+2.5rem)] flex flex-col items-center text-center px-6 lg:px-12",children:[c.jsx("span",{className:"inline-block text-white/60 text-xs font-semibold tracking-[0.2em] uppercase mb-3",children:"لمشغلي الأسطول وشركات التوصيل"}),c.jsx("h3",{className:"text-2xl lg:text-3xl font-extrabold text-white leading-tight",children:e("lp2.hero.ostooly")})]}),c.jsx("div",{className:"absolute inset-x-0 bottom-16 flex justify-center",children:c.jsxs("div",{dir:"ltr",className:"inline-flex items-center gap-2 rounded-full border border-white/25 bg-white/10 backdrop-blur-sm pl-2 pr-4 py-2 transition-colors duration-300 group-hover:bg-white/20",children:[c.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center bg-white/10 border border-white/25 backdrop-blur-sm flex-shrink-0 transition-colors duration-300 group-hover:bg-white/20",children:c.jsx("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.75,viewBox:"0 0 24 24",children:c.jsx("path",{d:"M15 19l-7-7 7-7"})})}),c.jsx("span",{className:"text-white text-sm font-semibold tracking-[0.16em]",children:e("lp2.discover")})]})})]}),c.jsx("div",{className:"absolute top-0 inset-x-0 flex items-start justify-start px-6 lg:px-12 pt-10",style:{opacity:s==="ostooly"?1:0,transition:s==="ostooly"?"opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s":"opacity 0.15s ease",pointerEvents:s==="ostooly"?"auto":"none"},children:c.jsxs("div",{className:"flex flex-col items-start",dir:U,children:[c.jsx("span",{className:"inline-block text-white/60 text-xs font-semibold tracking-[0.2em] uppercase mb-2",children:e("lp2.ost.subtitle")}),c.jsx("h3",{className:"text-3xl lg:text-4xl font-extrabold text-white leading-tight",children:e("lp2.hero.ostooly")}),c.jsx("p",{className:"mt-3 text-white/75 text-sm leading-relaxed",children:t?"أداةٌ متكاملةٌ لإدارة السّائقين وتتبّع المركبات وتحسين الأرباح، مصمَّمةٌ خصّيصًا للشّركات التي يَتمحور عملها حول لوجستيّات الميل الأخير في السّوق السّعوديّ.":"An integrated tool for driver management, vehicle tracking, and earnings optimization, designed specifically for companies whose work revolves around last-mile logistics in the Saudi market."})]})}),c.jsx("div",{className:"absolute inset-0 flex items-center justify-start px-6 lg:px-12",style:{opacity:s==="ostooly"?1:0,transform:s==="ostooly"?"translateY(0)":"translateY(12px)",transition:s==="ostooly"?"opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s":"opacity 0.05s ease, transform 0.05s ease",pointerEvents:"none"},children:c.jsx("div",{style:{width:"46%",borderRadius:"16px",overflow:"hidden",boxShadow:"0 32px 64px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.07)",transform:"perspective(1000px) rotateY(4deg) rotateX(-2deg)",marginTop:"3rem"},children:c.jsx("img",{src:tj,alt:"Ostooly fleet tracking dashboard",loading:"lazy",width:1e3,height:520,style:{width:"100%",height:"auto",display:"block",borderRadius:"16px",maskImage:"linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0))",WebkitMaskImage:"linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0))"}})})}),c.jsx("div",{className:"absolute inset-0 flex items-center justify-end px-6 lg:px-12",style:{opacity:s==="ostooly"?1:0,transform:s==="ostooly"?"translateY(0)":"translateY(16px)",transition:s==="ostooly"?"opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s":"opacity 0.05s ease, transform 0.05s ease",pointerEvents:s==="ostooly"?"auto":"none"},children:c.jsxs("div",{className:"w-[45%]",dir:U,children:[c.jsx("div",{className:"grid grid-cols-2 gap-3",children:[[e("lp2.ost.f1"),e("lp2.ost.f1d")],[e("lp2.ost.f2"),e("lp2.ost.f2d")],[e("lp2.ost.f3"),e("lp2.ost.f3d")],[e("lp2.ost.f4"),e("lp2.ost.f4d")]].map(([j,T],F)=>c.jsxs("div",{className:"rounded-xl p-4 flex items-start gap-3 min-h-[72px]",style:{backgroundColor:"#fef8f7"},children:[c.jsx("div",{className:"w-5 h-5 rounded-md flex items-center justify-center flex-shrink-0 mt-0.5",style:{backgroundColor:"#C71203"}
233,children:c.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})}),c.jsxs("div",{children:[c.jsx("div",{className:"text-[#00081A] text-sm font-semibold leading-snug",children:j}),c.jsx("div",{className:"text-[#1a2744]/60 text-xs mt-0.5",children:T})]})]},F))}),c.jsx("a",{href:"/contact",children:c.jsxs("button",{className:"mt-6 px-6 py-2.5 bg-white text-[#00081A] font-semibold text-sm rounded-lg hover:bg-white/90 transition-all duration-300 flex items-center gap-2",children:[e("lp2.learnMore"),c.jsx("svg",{className:`w-4 h-4 ${t?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]})})]})})]})]}),c.jsxs("div",{className:"md:hidden flex flex-col",children:[c.jsxs("div",{className:"py-12 px-6",style:{backgroundColor:"#C71203"},children:[c.jsx("span",{className:"inline-block text-white/60 text-xs font-semibold tracking-[0.2em] uppercase mb-3",children:e("lp2.eng.subtitle")}),c.jsx("h3",{className:"text-2xl font-extrabold text-white mb-3 leading-tight",children:e("lp2.hero.enginizer")}),c.jsx("p",{className:"text-white/75 text-sm leading-relaxed mb-6",children:t?"محرّك توزيعٍ ذكيٌّ يَختار لكلّ طلبٍ شريك التّوصيل الأنسب آنيًّا — حسب التّكلفة والمسافة والكفاءة — فيُقلّل التّكاليف ويَرفع مستوى الخدمة دون تغيير أنظمتك الحاليّة.":"An intelligent dispatch engine that instantly selects the best delivery partner for every order — based on cost, distance, and efficiency — reducing costs and raising service levels without changing your existing systems."}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[[e("lp2.eng.f1"),e("lp2.eng.f1d")],[e("lp2.eng.f2"),e("lp2.eng.f2d")],[e("lp2.eng.f3"),e("lp2.eng.f3d")],[e("lp2.eng.f4"),e("lp2.eng.f4d")]].map(([j,T],F)=>c.jsxs("div",{className:"rounded-xl p-4 flex items-start gap-3 min-h-[72px]",style:{backgroundColor:"#fef8f7"},children:[c.jsx("div",{className:"w-5 h-5 rounded-md flex items-center justify-center flex-shrink-0 mt-0.5",style:{backgroundColor:"#00081A"},children:c.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})}),c.jsxs("div",{children:[c.jsx("div",{className:"text-[#00081A] text-sm font-semibold leading-snug",children:j}),c.jsx("div",{className:"text-[#1a2744]/60 text-xs mt-0.5",children:T})]})]},F))}),c.jsx("a",{href:"/contact",children:c.jsxs("button",{className:"mt-6 px-6 py-2.5 bg-white text-[#C71203] font-semibold text-sm rounded-lg hover:bg-white/90 transition-all duration-300 flex items-center gap-2",children:[e("lp2.learnMore"),c.jsx("svg",{className:`w-4 h-4 ${t?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]})})]}),c.jsx("div",{className:"flex items-center justify-center py-5",style:{backgroundColor:"#fef8f7"},children:c.jsx("img",{src:La,alt:"Supermile",className:"w-10 h-10 object-contain connector-logo"})}),c.jsxs("div",{className:"py-12 px-6",style:{backgroundColor:"#00081A"},children:[c.jsx("span",{className:"inline-block text-white/60 text-xs font-semibold tracking-[0.2em] uppercase mb-3",children:e("lp2.ost.subtitle")}),c.jsx("h3",{className:"text-2xl font-extrabold text-white mb-3 leading-tight",children:e("lp2.hero.ostooly")}),c.jsx("p",{className:"text-white/75 text-sm leading-relaxed mb-6",children:t?"أداةٌ متكاملةٌ لإدارة السّائقين وتتبّع المركبات وتحسين الأرباح، مصمَّمةٌ خصّيصًا للشّركات التي يَتمحور عملها حول لوجستيّات الميل الأخير في السّوق السّعوديّ.":"An integrated tool for driver management, vehicle tracking, and earnings optimization, designed specifically for companies whose work revolves around last-mile logistics in the Saudi market."}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[[e("lp2.ost.f1"),e("lp2.ost.f1d")],[e("lp2.ost.f2"),e("lp2.ost.f2d")],[e("lp2.ost.f3"),e("lp2.ost.f3d")],[e("lp2.ost.f4"),e("lp2.ost.f4d")]].map(([j,T],F)=>c.jsxs("div",{className:"rounded-xl p-4 flex items-start gap-3 min-h-[72px]",style:{backgroundColor:"#fef8f7"},children:[c.jsx("div",{className:"w-5 h-5 rounded-md flex items-center justify-center flex-shrink-0 mt-0.5",style:{backgroundColor:"#C71203"}
233,children:c.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})})}),c.jsxs("div",{children:[c.jsx("div",{className:"text-[#00081A] text-sm font-semibold leading-snug",children:j}),c.jsx("div",{className:"text-[#1a2744]/60 text-xs mt-0.5",children:T})]})]},F))}),c.jsx("a",{href:"/contact",children:c.jsxs("button",{className:"mt-6 px-6 py-2.5 bg-white text-[#00081A] font-semibold text-sm rounded-lg hover:bg-white/90 transition-all duration-300 flex items-center gap-2",children:[e("lp2.learnMore"),c.jsx("svg",{className:`w-4 h-4 ${t?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})]})})]})]})]}),c.jsx("section",{id:"segments",className:"py-16 md:py-24 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#fef8f7"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-10 md:mb-14",children:[c.jsx("h2",{className:"text-2xl sm:text-3xl md:text-5xl font-extrabold text-[#00081A] mb-4 leading-tight",children:e("lp2.segments.title")}),c.jsx("p",{className:"text-[#1a2744]/60 max-w-2xl text-base md:text-lg",children:e("lp2.segments.subtitle")})]}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-3",style:{paddingTop:8,paddingBottom:8},children:I.map((j,T)=>{const F=p!==null?T===p:T===u,N=j.Icon;return c.jsxs("div",{className:"relative rounded-3xl overflow-hidden cursor-pointer flex flex-col justify-between p-6 min-h-[260px]",onMouseEnter:()=>f(T),onMouseLeave:()=>f(null),onClick:()=>f(T===p?null:T),style:{backgroundColor:F?"#C71203":"#00081A",border:"1px solid rgba(255,255,255,0.06)",transform:F?"translateY(-8px) scale(1.09)":"translateY(0) scale(1)",boxShadow:F?"0 24px 48px rgba(199,18,3,0.4)":"0 4px 12px rgba(0,0,0,0.2)",transition:"background-color 600ms ease, transform 600ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 600ms ease",zIndex:F?2:1},children:[c.jsx("div",{className:"absolute -bottom-6 -right-6 pointer-events-none",style:{opacity:F?.15:.07,transition:"opacity 500ms ease"},children:c.jsx(N,{className:"w-36 h-36 text-white",strokeWidth:1})}),c.jsx("div",{className:"absolute top-0 left-0 w-32 h-32 rounded-full pointer-events-none",style:{background:F?"radial-gradient(circle, rgba(0,0,0,0.25) 0%, transparent 70%)":"radial-gradient(circle, rgba(199,18,3,0.18) 0%, transparent 70%)",transform:"translate(-30%, -30%)",transition:"background 500ms ease"}}),c.jsxs("div",{children:[c.jsx("span",{className:"text-[10px] font-mono tracking-[0.2em] uppercase mb-4 block",style:{color:F?"rgba(255,255,255,0.55)":"#C71203",transition:"color 500ms ease"},children:j.tag}),c.jsx("h3",{className:"text-2xl font-black text-white leading-tight mb-3",children:j.name})]}),c.jsx("p",{className:"text-sm leading-relaxed",style:{color:F?"rgba(255,255,255,0.72)":"rgba(255,255,255,0.5)",transition:"color 500ms ease"},children:j.desc})]},T)})})]})}),c.jsx("section",{id:"capabilities",className:"py-14 md:py-24 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#00081A",backgroundImage:"radial-gradient(circle, rgba(255,255,255,0.028) 1px, transparent 1px)",backgroundSize:"24px 24px"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-14",children:[c.jsx("p",{className:"text-xs font-mono tracking-[0.25em] uppercase text-[#C71203] mb-5",children:t?"القدرات":"CAPABILITIES"}),c.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-6",children:[c.jsx("h2",{className:"text-3xl md:text-5xl font-extrabold text-white leading-tight max-w-xl",children:e("lp2.cap.title")}),c.jsx("p",{className:"text-white/60 max-w-xs text-sm leading-relaxed md:text-right rtl:md:text-left",children:e("lp2.cap.subtitle")})]})]}),(()=>{const j=[yg,vg,$k,ja,Ak,yg,Ik,Mk,zk,jk,Pk,ja];return c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:S.map((T,F)=>{const N=j[F]??ja;return c.jsxs("div",{className:"group relative rounded-2xl p-6 flex flex-col gap-4 cursor-default transition-all duration-300 border hover:border-[#C71203]/35 hover:bg-[#C71203]/[0.07]",style:{backgroundColor:"rgba(255,255,255,0.04)",borderColor:"rgba(255,255,255,0.08)",minHeight:210},children:[c.jsx("div",{className:"flex items-start",children:c.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0 transition-colors duration-300 group-hover:bg-[#C71203]/25",style:{backgroundColor:"rgba(199,18,3,0.12)",border:"1px solid rgba(199,18,3,0.2)"},children:c.jsx(N,{className:"w-5 h-5 text-[#C71203]",strokeWidth:1.5})})}),c.jsx("div",{className:"h-px w-full",style:{backgroundColor:"rgba(255,255,255,0.06)"}}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold text-white text-base leading-snug mb-1",children:T.name}),c.jsx("p",{className:"text-[#C71203]/80 text-xs font-semibold mb-2 tracking-wide",children:T.sub}),c.jsx("p",{className:"text-white/60 text-sm leading-relaxed",children:T.desc}),c.jsx("span",{className:"sr-only",children:T.tags.join(" ")})]})]},T.id)})})})()]})}),c.jsx("section",{id:"customer-quote",className:"py-14 md:py-24 px-4 sm:px-8 md:px-16 hidden",style:{backgroundColor:"#fef8f7"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-16 flex flex-col md:flex-row md:items-end md:justify-between gap-6",children:[c.jsxs("div",{children:[c.jsx("p",{className:"text-xs font-mono tracking-[0.25em] uppercase text-[#C71203] mb-4",children:t?"من شركاؤنا":"FROM OUR PARTNERS"}),c.jsx("h2",{className:"text-3xl md:text-5xl font-extrabold text-[#00081A] leading-tight",children:e("lp2.stories.title")})]}),c.jsx("p",{className:"text-[#1a2744]/55 max-w-sm text-sm leading-relaxed md:text-right rtl:md:text-left",children:e("lp2.stories.subtitle")})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[{company:"NINJA",sector:t?"كويك كوميرس":"Quick Commerce",quote:t?"«سوبرمايل وحّد لنا التعامل مع أكثر من أربعة شركاء توصيل في لوحة واحدة. اختصرنا زمن التوزيع إلى أقل من ثانية ورفعنا أرباح السائقين بنسبة ملموسة.»":'"Supermile unified our operations across four delivery partners into a single dashboard. Dispatch time dropped below one second and driver earnings went up meaningfully."',name:t?"أحمد الفهد":"Ahmed Al-Fahad",role:t?"مدير العمليات اللوجستية":"Head of Logistics",stats:[{val:"+34%",label:t?"زيادة الأرباح":"Earnings growth"},{val:"< 1s",label:t?"زمن التوزيع":"Dispatch time"}]},{company:"NOON MINUTES",sector:t?"تجارة إلكترونية":"E-Commerce",quote:t?"«قبل سوبرمايل كنّا ندير كل أسطول بمنظومة منفصلة. الآن كل شيء في مكان واحد، التقارير آلية، ووÙ
233Ù‘رنا أكثر من 30% من التكاليف التشغيلية.»":'"Before Supermile we managed every fleet in a separate system. Now everything is in one place, reports are automated, and we cut operational costs by over 30%."',name:t?"سارة المطيري":"Sara Al-Mutairi",role:t?"نائبة الرئيس للعمليات":"VP of Operations",stats:[{val:"+30%",label:t?"كفاءة التشغيل":"Efficiency gain"},{val:"−24%",label:t?"تقليل الخسائر":"Loss reduction"}]},{company:"SALLA",sector:t?"منصة تجارة إلكترونية":"E-Commerce Platform",quote:t?"«التكامل مع سلة استغرق أقل من أسبوع. كل طلب يُوزَّع الآن تلقائيًا على أقرب سائق دون أي تدخل يدوي.»":'"Integration with Salla took less than a week. Every order is now automatically dispatched to the nearest driver with zero manual intervention."',name:t?"فيصل الدوسري":"Faisal Al-Dosari",role:t?"مدير الشراكات":"Director of Partnerships",stats:[{val:"< 1w",label:t?"وقت التكامل":"Integration time"},{val:"520+",label:t?"شريك نشط":"Active partners"}]},{company:"MRSOOL",sector:t?"توصيل فوري":"On-Demand Delivery",quote:t?"«ساعدتنا منصة سوبرمايل على توسيع تغطيتنا لتشمل 25 مدينة دون الحاجة لتوظيف طاقم تقني إضافي. النظام يتعامل مع التعقيد نيابةً عنّا.»":`"Supermile helped us expand coverage to 25 cities without hiring more engineering staff. The platform handles the complexity so we don't have to."`,name:t?"محمد العتيبي":"Mohammed Al-Otaibi",role:t?"المدير التنفيذي للتقنية":"Chief Technology Officer",stats:[{val:"25",label:t?"مدينة مغطاة":"Cities covered"},{val:"26K+",label:t?"سائق مسجل":"Registered drivers"}]}].map(({company:j,sector:T,quote:F,name:N,role:M,stats:B})=>c.jsx("div",{className:"rounded-3xl p-7 md:p-8 flex flex-col justify-between",style:{backgroundColor:"#00081A",backgroundImage:"radial-gradient(ellipse at 100% 0%, rgba(199,18,3,0.15) 0%, transparent 50%)",minHeight:280},children:c.jsxs("div",{children:[c.jsxs("div",{className:"flex items-center justify-between mb-6",children:[c.jsxs("div",{children:[c.jsx("div",{className:"text-[10px] font-mono tracking-[0.25em] uppercase text-[#C71203] mb-1",children:T}),c.jsx("div",{className:"text-white font-black text-base tracking-tight",dir:"ltr",children:j})]}),c.jsx("div",{className:"text-[#C71203] font-black leading-none select-none",style:{fontSize:"4rem",lineHeight:1,opacity:.25},children:'"'})]}),c.jsx("p",{className:"text-white/80 text-[15px] leading-relaxed mb-7",children:F})]})},j))})]})}),c.jsx("section",{id:"comparison",className:"py-12 md:py-20 px-4 sm:px-8 md:px-16 hidden",style:{backgroundColor:"#C71203"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-12",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-white mb-4",children:e("lp2.comp.title")}),c.jsx("p",{className:"text-white/70 max-w-xl",children:e("lp2.comp.subtitle")})]}),c.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/10",style:{backgroundColor:"#00081A"},children:c.jsx("div",{className:"overflow-x-auto",children:c.jsxs("table",{className:"w-full text-sm border-collapse",children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{className:`${t?"text-right":"text-left"} px-6 py-5 text-white/40 font-medium text-xs tracking-widest uppercase`,style:{borderBottom:"1px solid rgba(255,255,255,0.07)"},children:e("lp2.comp.capability")}),c.jsx("th",{className:"px-6 py-5 text-center",style:{borderBottom:"1px solid rgba(199,18,3,0.5)",borderLeft:"1px solid rgba(199,18,3,0.18)",borderRight:"1px solid rgba(199,18,3,0.18)",background:"linear-gradient(180deg, rgba(199,18,3,0.14) 0%, rgba(199,18,3,0.07) 100%)"},children:c.jsx("img",{src:qg,alt:"Supermile",className:"h-9 w-auto object-contain mx-auto",style:{filter:"brightness(0) saturate(100%) invert(10%) sepia(95%) saturate(7000%) hue-rotate(5deg) brightness(95%)"}})}),[e("lp2.comp.hr"),e("lp2.comp.excel"),e("lp2.comp.apps")].map(j=>c.jsx("th",{className:"px-6 py-5 text-center text-white/65 font-medium text-xs tracking-wide",style:{borderBottom:"1px solid rgba(255,255,255,0.07)"},children:j},j))]})}),c.jsx("tbody",{children:k.map((j,T)=>c.jsxs("tr",{className:"group transition-colors duration-150 hover:bg-white/[0.025]",style:{borderTop:"1px solid rgba(255,255,255,0.05)"},children:[c.jsxs("td",{className:`px-6 py-5 ${t?"text-right":"text-left"}`,children:[c.jsx("div",{className:"font-semibold text-white/90 text-sm leading-snug",children:j.feature}),c.jsx("div",{className:"text-white/60 text-xs mt-1",children:j.sub})]}),j.marks.map((F,N)=>{const M=N===0,B=F==="●";return c.jsx("td",{className:"px-6 py-5 text-center",style:M?{borderLeft:"1px solid rgba(199,18,3,0.18)",borderRight:"1px solid rgba(199,18,3,0.18)",background:"rgba(199,18,3,0.05)"}:void 0,children:B?c.jsx("span",{className:"inline-flex items-center justify-center w-7 h-7 rounded-full",style:{background:"#16a34a",boxShadow:"0 0 0 3px rgba(22,163,74,0.18), 0 4px 10px rgba(22,163,74,0.35)"},children:c.jsx("svg",{width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:c.jsx("path",{d:"M1 4.5l3 3L10 1",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}):c.jsx("span",{className:"text-white/25 text-base select-none",children:"—"})},N)})]},T))})]})})})]})}),c.jsx("section",{id:"cities",className:"py-12 md:py-20 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#fef8f7"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-12",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-[#00081A] mb-4",children:e("lp2.coverage.title")}),c.jsx("p",{className:"text-[#1a2744]/70",children:e("lp2.coverage.subtitle")})]}),c.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 ga
233p-3",style:{paddingTop:8,paddingBottom:8},children:E.map((j,T)=>{const F=T===g;return c.jsxs("div",{style:{backgroundColor:F?"#C71203":"#ffffff",border:`1px solid ${F?"#C71203":"rgba(0,8,26,0.10)"}`,borderRadius:"12px",padding:"16px",transform:F?"translateY(-8px) scale(1.09)":"translateY(0) scale(1)",boxShadow:F?"0 24px 48px rgba(199,18,3,0.35)":"0 2px 8px rgba(0,0,0,0.06)",transition:"background-color 600ms ease, border-color 600ms ease, transform 600ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 600ms ease",zIndex:F?2:1,position:"relative",cursor:"default"},children:[c.jsx("div",{style:{fontWeight:700,fontSize:"0.875rem",marginBottom:"4px",color:F?"#ffffff":"#00081A",transition:"color 500ms ease"},children:j.name}),c.jsx("div",{style:{fontSize:"0.7rem",fontFamily:"monospace",letterSpacing:"0.08em",color:F?"rgba(255,255,255,0.70)":"rgba(26,39,68,0.40)",transition:"color 500ms ease"},dir:"ltr",children:j.ltr})]},T)})})]})}),c.jsx("section",{id:"faq",className:"py-12 md:py-20 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#00081A"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsx("div",{className:"mb-12",children:c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-white mb-4",children:e("lp2.faq.title")})}),c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_2fr] gap-12",children:[c.jsxs("div",{children:[c.jsx("p",{className:"text-white/75 leading-relaxed mb-6 text-sm",children:e("lp2.faq.desc")}),c.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 bg-white text-[#C71203] font-bold px-6 py-3 rounded-xl hover:bg-white/90 transition-colors text-sm",children:e("lp2.faq.cta")})]}),c.jsx("div",{className:"space-y-2",children:b.map((j,T)=>{const N=(T===0||b[T-1].category!==j.category)&&j.category!=="general",M=j.category==="enginizer"?t?"إنجنايزر — للمتاجر والمطاعم والتجارة الإلكترونية":"ENGINIZER — For Businesses & E-Commerce":t?"أسطولي — لمشغلي الأساطيل وشركات اللوجستيات":"OSTOOLY — For Fleet Operators & Logistics";return c.jsxs("div",{children:[N&&c.jsxs("div",{className:`flex items-center gap-3 ${T===0?"mb-3":"mt-5 mb-3"}`,children:[c.jsx("div",{className:"h-px flex-1",style:{backgroundColor:"rgba(199,18,3,0.25)"}}),c.jsx("span",{className:"text-[10px] font-bold tracking-[0.2em] uppercase px-3 py-1 rounded-full border",style:{color:"#C71203",borderColor:"rgba(199,18,3,0.35)",backgroundColor:"rgba(199,18,3,0.08)",whiteSpace:"nowrap"},children:M}),c.jsx("div",{className:"h-px flex-1",style:{backgroundColor:"rgba(199,18,3,0.25)"}})]}),c.jsxs("div",{className:"rounded-xl overflow-hidden border border-white/20",children:[c.jsxs("button",{className:`w-full flex items-center justify-between p-4 ${t?"text-right":"text-left"} text-white font-semibold text-sm hover:bg-white/10 transition-colors`,onClick:()=>i(r===T?null:T),children:[c.jsx("span",{children:j.q}),r===T?c.jsx(Ck,{className:"w-4 h-4 flex-shrink-0 text-white/60"}):c.jsx(ra,{className:"w-4 h-4 flex-shrink-0 text-white/60"})]}),r===T&&c.jsx("div",{className:"px-4 pb-4 text-white/70 text-sm leading-relaxed border-t border-white/10 pt-3",children:j.a})]})]},T)})})]})]})}),c.jsx("section",{id:"resources",className:"py-12 md:py-20 px-4 sm:px-8 md:px-16 hidden",style:{backgroundColor:"#fef8f7"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-12",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-[#00081A] mb-4",children:e("lp2.resources.title")}),c.jsx("p",{className:"text-[#1a2744]/70 max-w-2xl",children:e("lp2.resources.subtitle")})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[c.jsxs("div",{children:[c.jsxs("div",{className:"flex items-center justify-between mb-4 pb-3 border-b border-[#00081A]/10",children:[c.jsx("h3",{className:"font-extrabold text-[#00081A]",children:e("lp2.resources.news")}),c.jsx("span",{className:"text-xs font-mono tracking-widest text-[#C71203]/60 uppercase",children:"PRESS"})]}),c.jsx("div",{className:"space-y-1",children:A.map(({date:j,title:T,source:F})=>c.jsxs("a",{href:"#",className:"flex gap-4 items-start py-4 border-b border-[#00081A]/5 hover:bg-white/50 -mx-3 px-3 rounded-xl transition-colors",children:[c.jsx("div",{className:"text-xs font-mono text-[#C71203]/60 tracking-wider flex-shrink-0 pt-0.5",dir:"ltr",children:j}),c.jsxs("div",{children:[c.jsx("div",{className:"font-semibold text-[#00081A] text-sm leading-snug mb-0.5",children:T}),c.jsx("div",{className:"text-xs text-[#1a2744]/45 font-mono tracking-wider",children:F})]})]},j+T))})]}),c.jsxs("div",{children:[c.jsxs("div",{className:"flex items-center justify-between mb-4 pb-3 border-b border-[#00081A]/10",children:[c.jsx("h3",{className:"font-extrabold text-[#00081A]",children:e("lp2.resources.blog")}),c.jsx("span",{className:"text-xs font-mono tracking-widest text-[#C71203]/60 uppercase",children:"BLOG"})]}),c.jsx("div",{className:"space-y-1",children:C.map(({date:j,title:T,source:F})=>c.jsxs("a",{href:"#",className:"flex gap-4 items-start py-4 border-b border-[#00081A]/5 hover:bg-white/50 -mx-3 px-3 rounded-xl transition-colors",children:[c.jsx("div",{className:"text-xs font-mono text-[#C71203]/60 tracking-wider flex-shrink-0 pt-0.5",dir:"ltr",children:j}),c.jsxs("div",{children:[c.jsx("div",{className:"font-semibold text-[#00081A] text-sm leading-snug mb-0.5",children:T}),c.jsx("div",{className:"text-xs text-[#1a2744]/45 font-mono tracking-wider",children:F})]})]},j+T))})]})]})]})}),c.jsx("section",{id:"pricing",className:"py-12 md:py-20 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#00081A"},children:c.jsxs("div",{className:"max-w-6xl mx-auto",children:[c.jsxs("div",{className:"mb-10",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-white mb-4",children:e("lp2.pricing.title")}),c.jsx("p",{className:"text-white/60 max-w-xl",children:e("lp2.pricing.subtitle")})]}),c.jsxs("div",{className:`flex items-center gap-4 mb-10 ${t?"flex-row-reverse justify-end":""}`,children:[c.jsx("span",{className:`text-sm font-semibold ${m==="semiannual"?"text-white":"text-white/75"}`,children:t?"نصف سنوي":"Semi-annual"}),c.jsx("button",{onClick:()=>
233v(m==="semiannual"?"annual":"semiannual"),className:"relative w-12 h-6 rounded-full transition-colors duration-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-white",style:{backgroundColor:m==="annual"?"#C71203":"rgba(255,255,255,0.2)"},role:"switch","aria-checked":m==="annual","aria-label":t?"الفوترة السنوية":"Annual billing",children:c.jsx("span",{className:"absolute top-1 w-4 h-4 bg-white rounded-full shadow transition-all duration-300",style:{left:m==="annual"?"28px":"4px"}})}),c.jsxs("div",{className:`flex items-center gap-2 ${t?"flex-row-reverse":""}`,children:[c.jsx("span",{className:`text-sm font-semibold ${m==="annual"?"text-white":"text-white/75"}`,children:t?"سنوي":"Annual"}),c.jsx("span",{className:"text-[10px] font-bold px-2 py-0.5 rounded-full bg-[#C71203]/20 text-[#ff978f] border border-[#C71203]/30",children:t?"وفّر 30%":"Save 30%"})]})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:R.map(({tier:j,name:T,popular:F,price:N,semiAnnualPrice:M,annualPrice:B,tagline:K,features:ee,cta:oe,ctaStyle:le})=>{const Ie=M===null,me=m==="semiannual"?M:B,tt=M===null?null:M*2,Me=me===null?null:Math.round(me*.15),wt=me===null||Me===null?null:me+Me;return c.jsxs("div",{className:`rounded-2xl p-6 flex flex-col border relative ${F?"bg-[#C71203] border-[#C71203]":"bg-white/5 border-white/15"}`,children:[F&&c.jsx("div",{className:`absolute -top-3 ${t?"right-6":"left-6"} bg-white text-[#C71203] text-xs font-bold px-3 py-1 rounded-full tracking-wide`,children:e("lp2.pricing.popular")}),c.jsx("h3",{className:"text-2xl font-extrabold mb-1 text-white",children:T}),c.jsx("div",{className:"mb-3 min-h-[11rem] flex flex-col justify-center",children:Ie?c.jsx("span",{className:"text-2xl font-extrabold text-white",children:N}):c.jsxs("div",{className:"space-y-1.5",children:[m==="annual"&&tt!==null&&c.jsxs("div",{className:"flex items-center gap-2 text-xs",dir:"ltr",children:[c.jsxs("span",{className:"line-through text-white/90 flex items-center gap-1",children:[tt.toLocaleString("en-US"),t?c.jsx(Fa,{className:"h-4 w-4 opacity-90"}):c.jsx("span",{children:"SAR"})]}),c.jsx("span",{className:"font-semibold text-white bg-emerald-400/15 border border-emerald-200/25 rounded-full px-1.5 py-0.5 text-[10px]",children:"−30%"})]}),c.jsxs("div",{className:"flex items-baseline gap-1",dir:"ltr",children:[c.jsx("span",{className:"text-3xl font-extrabold text-white",children:me==null?void 0:me.toLocaleString("en-US")}),t?c.jsx(Fa,{className:"h-7 w-7 opacity-90"}):c.jsx("span",{className:`text-sm font-medium ${F?"text-white/90":"text-white/75"}`,children:"SAR"}),c.jsx("span",{className:`text-sm ${F?"text-white/90":"text-white/75"}`,children:t?m==="semiannual"?"/ 6 أشهر":"/ سنويًا":m==="semiannual"?"/ 6 mo":"/ yr"})]}),Me!==null&&wt!==null&&c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:`flex items-center gap-1 text-sm ${F?"text-white/90":"text-white/75"}`,dir:"ltr",children:[c.jsxs("span",{children:["+ ",Me.toLocaleString("en-US")]}),t?c.jsx(Fa,{className:"h-5 w-5 opacity-90"}):c.jsx("span",{children:"SAR"}),c.jsx("span",{children:t?"ضريبة القيمة المضافة (15%)":"VAT (15%)"})]}),c.jsxs("div",{className:"flex items-center gap-1 text-lg font-bold text-white",dir:"ltr",children:[c.jsxs("span",{children:["= ",wt.toLocaleString("en-US")]}),t?c.jsx(Fa,{className:"h-6 w-6 opacity-80"}):c.jsx("span",{children:"SAR"}),c.jsx("span",{children:t?"الإجمالي":"total"})]})]})]})}),c.jsx("p",{className:`text-sm mb-5 leading-relaxed ${F?"text-white/90":"text-white/75"}`,children:K}),c.jsx("div",{className:`border-t mb-5 ${F?"border-white/25":"border-white/10"}`}),c.jsx("ul",{className:"space-y-2.5 flex-1 mb-8",children:ee.map(un=>c.jsxs("li",{className:`flex items-start gap-2 text-sm ${F?"text-white/90":"text-white/75"}`,children:[c.jsx("span",{className:`mt-0.5 flex-shrink-0 text-xs ${F?"text-white":"text-[#C71203]"}`,children:"●"}),un]},un))}),c.jsx("a",{href:`https://portal.supermile.ai/signup?utm_campaign=landing_page_pricing_section&utm_content=${j.toLowerCase()}`,target:"_blank",rel:"noopener noreferrer",className:`inline-flex items-center justify-center gap-2 font-bold px-6 py-3 rounded-xl transition-colors text-sm w-full ${le==="filled"?"bg-white text-[#C71203] hover:bg-white/90":F?"border-2 border-white text-white hover:bg-white/10":"border-2 border-white/30 text-white hover:border-white/60"}`,children:oe})]},j)})}),c.jsxs("div",{className:"flex flex-col items-center gap-2 mt-8",children:[c.jsx("p",{className:"text-center font-semibold text-sm px-4 py-2 rounded-full border bg-[#C71203]/15 border-[#C71203]/40 text-[#ff978f]",children:t?"عروض الأسعار المعروضة لفترة محدودة":"⚡ These prices are limited time offers"}),c.jsx("p",{className:"text-center text-white/75 text-xs font-medium",children:e("lp2.pricing.footer")})]})]})}),c.jsx("section",{className:"py-14 md:py-24 px-4 sm:px-8 md:px-16",style:{backgroundColor:"#fef8f7"},children:c.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[c.jsx("span",{className:"inline-block text-xs font-semibold tracking-[0.22em] uppercase text-[#C71203] mb-4",children:e("lp2.cta.badge")}),c.jsx("h2",{className:"text-3xl md:text-5xl font-extrabold text-[#00081A] mb-6",children:e("lp2.cta.title")}),c.jsx("p",{className:"text-[#1a2744]/70 leading-relaxed mb-8 md:mb-10 max-w-2xl mx-auto",children:e("lp2.cta.desc")}),c.jsx("div",{className:"flex flex-col sm:flex-row gap-3 justify-center mb-10 md:mb-12",children:c.jsx("a",{href:"/contact",className:"inline-flex items-center justify-center gap-2 bg-gradient-to-b from-[#C71203] to-[#a50f02] text-white font-bold px-10 py-4 rounded-xl hover:from-[#a11508] hover:to-[#8a1207] transition-all duration-300 text-base shadow-xl shadow-[#C71203]/30",children:e("lp2.cta.btn1")})}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-10",children:[{title:e("lp2.cta.startup.title"),desc:e("lp2.cta.startup.desc")},{title:e("lp2.cta.mid.title"),desc:e("lp2.cta.mid.desc")},{title:e("lp2.cta.enterprise.title"),desc:e("lp2.cta.enterprise.desc")}].map(({title:j,desc:T})=>c.jsxs("div",{className:`rounded-xl p-5 bg-white border border-[#00081A]/10 ${t?"text-right":"text-left"}`,children:[c.jsx("div",{className:"font-extrabold text-[#00081A] mb-2",children:j}),c.jsx("div",{className:"text-[#1a2744]/60 text-sm leading-relaxed",children:T})]},j))}),c.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 text-xs font-mono tracking-widest text-[#1a2744]/40 uppercase hidden",children:[c.jsx("span",{dir:"ltr",children:"[email protected]"}),c.jsx("span",{dir:"ltr",children:"+966 11 000 0000"}),c.jsx("span",{dir:"ltr",children:"RIYADH · KSA"})]})]})})]}),c.jsx("footer",{className:"text-white py-12",style:{backgroundColor:"#00081A",fontFamily:"'Tajawal', sans-serif"},children:c.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-[200px_1fr_1fr_1fr_1fr] md:gap-12",children:[c.jsxs("div",{className:"text-left rtl:text-right",children:[c.jsx("a",{href:"/",className:"inline-block mb-4 -ml-2",children:c.jsx("img",{src:qg,alt:"Supermile",loading:"lazy",style:{height:"8vh",width:"auto",marginLeft:"-6px",marginRight:"-6px"}})}),c.jsx("p",{className:"text-white font-bold text-left rtl:text-right mt-[-30px] mb-[-30px]",children:e("footer.aiPowered")})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold mb-4 text-white",children:e("footer.products")}),c.jsxs("ul",{className:"space-y-2 text-gray-400",children:[c.jsx("li",{children:c.jsx("a",{href:"/landingpage2/business-partners",className:"hover:text-white transition-colors cursor-pointer",children:e("product.bp.title")})}),c.jsx("li",{children:c.jsx("a",{href:"/landingpage2/delivery-service-partners",className:"hover:text-white transition-colors cursor-pointer",children:e("product.ds
233p.title")})})]})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold mb-4 text-white",children:e("footer.company")}),c.jsxs("ul",{className:"space-y-2 text-gray-400",children:[c.jsx("li",{children:c.jsx("a",{href:"/landingpage2/about",className:"hover:text-white transition-colors cursor-pointer",children:e("footer.aboutSupermile")})}),c.jsx("li",{children:c.jsx("a",{href:"https://portal.supermile.ai/login",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors cursor-pointer",children:e("footer.ourPortal")})}),c.jsx("li",{children:c.jsx("a",{href:"https://www.linkedin.com/company/supermile",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors cursor-pointer",children:e("footer.careers")})})]})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold mb-4 text-white",children:e("footer.contactUs")}),c.jsxs("ul",{className:"space-y-2 text-gray-400",children:[c.jsx("li",{children:c.jsx("a",{href:"/contact",className:"hover:text-white transition-colors",children:e("footer.getInTouch")})}),c.jsx("li",{children:c.jsx("a",{href:"/faq",className:"hover:text-white transition-colors",children:e("footer.faq")})}),c.jsx("li",{children:c.jsx("a",{href:"/terms",className:"hover:text-white transition-colors",children:e("footer.terms")})}),c.jsx("li",{children:c.jsx("a",{href:"/refund-policy",className:"hover:text-white transition-colors",children:e("footer.refundPolicy")})}),c.jsx("li",{children:c.jsx("a",{href:"/privacy",className:"hover:text-white transition-colors",children:e("footer.privacyPolicy")})})]})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold mb-4 text-white",children:e("footer.ourOffice")}),c.jsxs("a",{href:"https://www.google.com/maps/place/The+Space+%7C+Power+Square/@24.8054479,46.6579273,683m/data=!3m2!1e3!4b1!4m6!3m5!1s0x3e2ee3e03e9a86c9:0xc347541dbf933dc8!8m2!3d24.8054431!4d46.6605022!16s%2Fg%2F11rwp0ts3z?entry=ttu&g_ep=EgoyMDI1MDcyOC4wIKXMDSoASAFQAw%3D%3D",target:"_blank",rel:"noopener noreferrer",className:"text-[#7a8599] hover:text-white transition-colors cursor-pointer text-sm leading-relaxed",children:[c.jsx("div",{children:e("footer.addressLine1")}),c.jsx("div",{children:e("footer.addressLine2")})]})]})]}),c.jsx("div",{className:"border-t border-gray-700 mt-8 md:mt-12 pt-8 flex flex-col items-center text-center text-gray-400",children:c.jsxs("div",{className:"flex items-center gap-4",children:[c.jsx("p",{children:e("footer.copyright")}),c.jsx("img",{src:nj,alt:"Saudi Tech",loading:"lazy",className:"object-contain scale-150 transform",style:{height:"8vh",width:"auto"}})]})})]})})]})}const ij=w.lazy(()=>et(()=>import("./Contact-Cqd93ycD.js"),__vite__mapDeps([0,1,2,3]))),sj=w.lazy(()=>et(()=>import("./InsideSupermile-cUUMa9Dq.js"),[])),oj=w.lazy(()=>et(()=>import("./SignIn-yDJQDv-Q.js"),__vite__mapDeps([4,2]))),aj=w.lazy(()=>et(()=>import("./SignUp-DQLna77B.js"),__vite__mapDeps([5,1,3]))),lj=w.lazy(()=>et(()=>import("./Pricing-Dby_3ohZ.js"),__vite__mapDeps([6,3]))),cj=w.lazy(()=>et(()=>import("./LandingPage2BusinessPartners-cpDQ7tVc.js"),[])),uj=w.lazy(()=>et(()=>import("./LandingPage2DeliveryServicePartners-BB9OUyJ-.js"),[])),dj=w.lazy(()=>et(()=>import("./LandingPage2Pricing-CnvEyMqx.js"),[])),pj=w.lazy(()=>et(()=>import("./LandingPage2About-rZOp3q62.js"),[])),fj=w.lazy(()=>et(()=>import("./LandingPage2Salla-CJHMqPL2.js"),[])),hj=w.lazy(()=>et(()=>import("./LandingPage2FAQ-KqWVyVrw.js"),[])),mj=w.lazy(()=>et(()=>import("./FAQ-DFSWr0-Q.js"),[])),gj=w.lazy(()=>et(()=>import("./PrivacyPolicy-CxchVMQC.js"),[])),vj=w.lazy(()=>et(()=>import("./TermsAndConditions-zO6jk4u-.js"),[])),yj=w.lazy(()=>et(()=>import("./RefundPolicy-CaSnPjee.js"),[])),xj=w.lazy(()=>et(()=>import("./not-found-CRmhWe9k.js"),__vite__mapDeps([7,1])));function wj(){const[e]=on();return w.useEffect(()=>{window.scrollTo(0,0),A2(),k2()},[e]),null}function _j(){const[e]=on(),t=e==="/signin"||e==="/signup"||e==="/"||e.startsWith("/landingpage2");return w.useEffect(()=>{function n(r){if(!(r.target instanceof Element))return;const i=r.target.closest("a[href]");if(!(i instanceof HTMLAnchorElement))return;const s=i.href;if(s.startsWith("mailto:")||s.startsWith("tel:"))Eu("contact_click",{channel:s.startsWith("tel:")?"phone":"email",page:window.location.pathname});else if(i.hostname==="portal.supermile.ai"&&i.pathname==="/signup"){const o=new URL(s).searchParams.get("utm_content");Eu("signup_click",{page:window.location.pathname,tier:o&&["accelerator","pro","growth","enterprise"].includes(o)?o:"unspecified"})}else i.pathname==="/contact"&&i.origin===window.location.origin&&Eu("contact_click",{channel:"form",page:window.location.pathname})}return document.addEventListener("click",n),()=>document.removeEventListener("click",n)},[]),c.jsxs(c.Fragment,{children:[c.jsx(wj,{}),!t&&c.jsx(yN,{}),c.jsx("main",{className:t?"":"flex-1",children:c.jsx(w.Suspense,{fallback:c.jsx("div",{className:"min-h-screen bg-white","aria-busy":"true"}),children:c.jsxs(ZE,{children:[c.jsx(Pe,{path:"/",component:rj}),c.jsx(Pe,{path:"/contact",component:ij}),c.jsx(Pe,{path:"/about",children:c.jsx(Aa,{to:"/landingpage2/about",replace:!0})}),c.jsx(Pe,{path:"/inside-supermile",component:sj}
233),c.jsx(Pe,{path:"/signin",component:oj}),c.jsx(Pe,{path:"/signup",component:aj}),c.jsx(Pe,{path:"/pricing",component:lj}),c.jsx(Pe,{path:"/business-partners",children:c.jsx(Aa,{to:"/landingpage2/business-partners",replace:!0})}),c.jsx(Pe,{path:"/delivery-service-partners",children:c.jsx(Aa,{to:"/landingpage2/delivery-service-partners",replace:!0})}),c.jsx(Pe,{path:"/landingpage2",children:c.jsx(Aa,{to:"/",replace:!0})}),c.jsx(Pe,{path:"/landingpage2/business-partners",component:cj}),c.jsx(Pe,{path:"/landingpage2/delivery-service-partners",component:uj}),c.jsx(Pe,{path:"/landingpage2/pricing",component:dj}),c.jsx(Pe,{path:"/landingpage2/about",component:pj}),c.jsx(Pe,{path:"/landingpage2/salla",component:fj}),c.jsx(Pe,{path:"/landingpage2/faq",component:hj}),c.jsx(Pe,{path:"/faq",component:mj}),c.jsx(Pe,{path:"/privacy",component:gj}),c.jsx(Pe,{path:"/terms",component:vj}),c.jsx(Pe,{path:"/refund-policy",component:yj}),c.jsx(Pe,{component:xj})]})})}),!t&&c.jsx(wN,{})]})}function bj(){return c.jsx(b2,{client:E2,children:c.jsx(nP,{defaultTheme:"light",storageKey:"supermile-ui-theme",children:c.jsx(iP,{children:c.jsxs(JC,{children:[c.jsx("div",{className:"min-h-screen flex flex-col bg-white",children:c.jsx(_j,{})}),c.jsx(SA,{})]})})})})}var P=typeof window<"u"?window:void 0,ze=typeof globalThis<"u"?globalThis:P;typeof self>"u"&&(ze.self=ze),typeof File>"u"&&(ze.File=function(){});var At=ze==null?void 0:ze.navigator,q=ze==null?void 0:ze.document,qe=ze==null?void 0:ze.location,gp=ze==null?void 0:ze.fetch,vp=ze!=null&&ze.XMLHttpRequest&&"withCredentials"in new ze.XMLHttpRequest?ze.XMLHttpRequest:void 0,Bg=ze==null?void 0:ze.AbortController,Sj=ze==null?void 0:ze.CompressionStream,ft=At==null?void 0:At.userAgent,G=P??{},Wg="1.374.2",st={DEBUG:!1,LIB_VERSION:Wg,LIB_NAME:"web",JS_SDK_VERSION:Wg};function Vg(e,t,n,r,i,s,o){try{var a=e[s](o),l=a.value}catch(u){return void n(u)}a.done?t(l):Promise.resolve(l).then(r,i)}function St(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var s=e.apply(t,n);function o(l){Vg(s,r,i,o,a,"next",l)}function a(l){Vg(s,r,i,o,a,"throw",l)}o(void 0)})}}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(null,arguments)}function Fw(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Ds,Gg=function(e){return e.GZipJS="gzip-js",e.Base64="base64",e}({}),Ej=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"],Dw="NativeGzipValidationError",yp=e=>e.length>=2&&e[0]===31&&e[1]===139,Kg=e=>!(!e||typeof e!="object")&&("name"in e?String(e.name):"")==="NotReadableError",Da=e=>{var t=new Error("Native gzip produced invalid output: "+e);throw t.name=Dw,t},kj=function(){var e=St(function*(t,n){18>t.size&&Da("too-short");var r=new Uint8Array(yield t.slice(0,10).arrayBuffer());yp(r)&&r[2]===8||Da("invalid-header");var i=new DataView(yield t.slice(t.size-8).arrayBuffer());i.getUint32(0,!0)!==(o=>{for(var a=(()=>{if(Ds)return Ds;Ds=[];for(var d=0;256>d;d++){for(var p=d,f=0;8>f;f++)p=1&p?3988292384^p>>>1:p>>>1;Ds[d]=p>>>0}return Ds})(),l=4294967295,u=0;o.length>u;u++)l=a[255&(l^o[u])]^l>>>8;return(4294967295^l)>>>0})(n)&&Da("invalid-crc");var s=n.length>>>0;i.getUint32(4,!0)!==s&&Da("invalid-size")});return function(t,n){return e.apply(this,arguments)}}();function xp(){return xp=St(function*(e,t,n){t===void 0&&(t=!0);try{var r=new TextEncoder().encode(e),i=new CompressionStream("gzip"),s=i.writable.getWriter(),o=s.write(r).then(()=>s.close()).catch(function(){var u=St(function*(d){try{yield s.abort(d)}catch{}throw d});return function(d){return u.apply(this,arguments)}}()),a=new Response(i.readable).blob(),[l]=yield Promise.all([a,o]);return yield kj(l,r),l}catch(u){if(n!=null&&n.rethrow)throw u;return t&&console.error("Failed to gzip compress data",u),null}}),xp.apply(this,arguments)}var Aj=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hub
233spot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],Qg=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var n=e.toLowerCase();return Aj.concat(t).some(r=>{var i=r.toLowerCase();return n.indexOf(i)!==-1})};function X(e,t){return e.indexOf(t)!==-1}var Hc=function(e){return e.trim()},wp=function(e){return e.replace(/^\$/,"")},zw=Object.prototype,$w=zw.hasOwnProperty,qc=zw.toString,te=Array.isArray||function(e){return qc.call(e)==="[object Array]"},Fn=e=>typeof e=="function",Ne=e=>e===Object(e)&&!te(e),Li=e=>{if(Ne(e)){for(var t in e)if($w.call(e,t))return!1;return!0}return!1},W=e=>e===void 0,_e=e=>qc.call(e)=="[object String]",ul=e=>_e(e)&&e.trim().length===0,Yn=e=>e===null,J=e=>W(e)||Yn(e),Bt=e=>qc.call(e)=="[object Number]"&&e==e,wi=e=>Bt(e)&&e>0,_n=e=>qc.call(e)==="[object Boolean]",Cj=e=>e instanceof FormData,Pj=e=>X(Ej,e);function Uw(e){return e===null||typeof e!="object"}function Gl(e,t){return{}.toString.call(e)==="[object "+t+"]"}function Eh(e){return typeof Event<"u"&&function(t,n){try{return t instanceof n}catch{return!1}}(e,Event)}var Nj=[!0,"true",1,"1","yes"],qu=e=>X(Nj,e),jj=[!1,"false",0,"0","no"];function bn(e,t,n,r,i){return t>n&&(r.warn("min cannot be greater than max."),t=n),Bt(e)?e>n?(r.warn(" cannot be  greater than max: "+n+". Using max value instead."),n):t>e?(r.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(r.warn(" must be a number. using max or fallback. max: "+n+", fallback: "+i),bn(i||n,t,n,r))}class Rj{constructor(t){this.$t={},this.zt=t.zt,this.Zt=bn(t.bucketSize,0,100,t.Gt),this.Qt=bn(t.refillRate,0,this.Zt,t.Gt),this.Jt=bn(t.refillInterval,0,864e5,t.Gt)}Kt(t,n){var r=Math.floor((n-t.lastAccess)/this.Jt);r>0&&(t.tokens=Math.min(t.tokens+r*this.Qt,this.Zt),t.lastAccess=t.lastAccess+r*this.Jt)}consumeRateLimit(t){var n,r=Date.now(),i=String(t),s=this.$t[i];return s?this.Kt(s,r):this.$t[i]=s={tokens:this.Zt,lastAccess:r},s.tokens===0||(s.tokens--,s.tokens===0&&((n=this.zt)==null||n.call(this,t)),s.tokens===0)}stop(){this.$t={}}}var za,Yg,Bu,Nt="Mobile",Kl="iOS",Un="Android",ms="Tablet",Hw=Un+" "+ms,qw="iPad",Bw="Apple",Ww=Bw+" Watch",ho="Safari",gs="BlackBerry",Vw="Samsung",Gw=Vw+"Browser",Kw=Vw+" Internet",Zr="Chrome",Tj=Zr+" OS",Qw=Zr+" "+Kl,kh="Internet Explorer",Yw=kh+" "+Nt,Ah="Opera",Oj=Ah+" Mini",Ch="Edge",Xw="Microsoft "+Ch,Ki="Firefox",Jw=Ki+" "+Kl,Uo="Nintendo",Ho="PlayStation",Qi="Xbox",Zw=Un+" "+Nt,e_=Nt+" "+ho,Xs="Windows",_p=Xs+" Phone",Xg="Nokia",bp="Ouya",t_="Generic",Ij=t_+" "+Nt.toLowerCase(),n_=t_+" "+ms.toLowerCase(),Sp="Konqueror",rt="(\\d+(\\.\\d+)?)",Wu=new RegExp("Version/"+rt),Mj=new RegExp(Qi,"i"),Lj=new RegExp(Ho+" \\w+","i"),Fj=new RegExp(Uo+" \\w+","i"),Ph=new RegExp(gs+"|PlayBook|BB10","i"),Dj={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},r_=function(e,t){return t=t||"",X(e," OPR/")&&X(e,"Mini")?Oj:X(e," OPR/")?Ah:Ph.test(e)?gs:X(e,"IE"+Nt)||X(e,"WPDesktop")?Yw:X(e,Gw)?Kw:X(e,Ch)||X(e,"Edg/")?Xw:X(e,"FBIOS")?"Facebook "+Nt:X(e,"UCWEB")||X(e,"UCBrowser")?"UC Browser":X(e,"CriOS")?Qw:X(e,"CrMo")||X(e,Zr)?Zr:X(e,Un)&&X(e,ho)?Zw:X(e,"FxiOS")?Jw:X(e.toLowerCase(),Sp.toLowerCase())?Sp:((n,r)=>r&&X(r,Bw)||function(i){return X(i,ho)&&!X(i,Zr)&&!X(i,Un)}(n))(e,t)?X(e,Nt)?e_:ho:X(e,Ki)?Ki:X(e,"MSIE")||X(e,"Trident/")?kh:X(e,"Gecko")?Ki:""},zj={[Yw]:[new RegExp("rv:"+rt)],[Xw]:[new RegExp(Ch+"?\\/"+rt)],[Zr]:[new RegExp("("+Zr
233+"|CrMo)\\/"+rt)],[Qw]:[new RegExp("CriOS\\/"+rt)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+rt)],[ho]:[Wu],[e_]:[Wu],[Ah]:[new RegExp("(Opera|OPR)\\/"+rt)],[Ki]:[new RegExp(Ki+"\\/"+rt)],[Jw]:[new RegExp("FxiOS\\/"+rt)],[Sp]:[new RegExp("Konqueror[:/]?"+rt,"i")],[gs]:[new RegExp(gs+" "+rt),Wu],[Zw]:[new RegExp("android\\s"+rt,"i")],[Kw]:[new RegExp(Gw+"\\/"+rt)],[kh]:[new RegExp("(rv:|MSIE )"+rt)],Mozilla:[new RegExp("rv:"+rt)]},$j=function(e,t){var n=r_(e,t),r=zj[n];if(W(r))return null;for(var i=0;r.length>i;i++){var s=e.match(r[i]);if(s)return parseFloat(s[s.length-2])}return null},Jg=[[new RegExp(Qi+"; "+Qi+" (.*?)[);]","i"),e=>[Qi,e&&e[1]||""]],[new RegExp(Uo,"i"),[Uo,""]],[new RegExp(Ho,"i"),[Ho,""]],[Ph,[gs,""]],[new RegExp(Xs,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[_p,""];if(new RegExp(Nt).test(t)&&!/IEMobile\b/.test(t))return[Xs+" "+Nt,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=Dj[n[1]]||"";return/arm/i.test(t)&&(r="RT"),[Xs,r]}return[Xs,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[Kl,[e[3],e[4],e[5]||"0"].join(".")]:[Kl,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=W(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Un+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Un+")","i"),e=>e&&e[2]?[Un,[e[2],e[3],e[4]||"0"].join(".")]:[Un,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[Tj,""]],[/Linux|debian/i,["Linux",""]]],Zg=function(e){return Fj.test(e)?Uo:Lj.test(e)?Ho:Mj.test(e)?Qi:new RegExp(bp,"i").test(e)?bp:new RegExp("("+_p+"|WPDesktop)","i").test(e)?_p:/iPad/.test(e)?qw:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?Ww:Ph.test(e)?gs:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(Xg,"i").test(e)?Xg:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(Nt).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?Un:Hw:new RegExp("(pda|"+Nt+")","i").test(e)?Ij:new RegExp(ms,"i").test(e)&&!new RegExp(ms+" pc","i").test(e)?n_:""},Uj=e=>e instanceof Error,i_={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},Hj=i_.info;function s_(e){if(_n(e))return{boolValue:e};if(typeof e=="number")return Number.isFinite(e)?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:{stringValue:String(e)};if(typeof e=="string")return{stringValue:e};if(te(e))return{arrayValue:{values:e.map(t=>s_(t))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function ev(e){var t=[];for(var n in e){var r=e[n];Yn(r)||W(r)||t.push({key:n,value:s_(r)})}return t}function qj(e){var t=globalThis._posthogChunkIds;if(t){var n=Object.keys(t);return Bu&&n.length===Yg||(Yg=n.length,Bu=n.reduce((r,i)=>{za||(za={});var s=za[i];if(s)r[s[0]]=s[1];else for(var o=e(i),a=o.length-1;a>=0;a--){var l=o[a],u=l==null?void 0:l.filename,d=t[i];if(u&&d){r[u]=d,za[i]=[u,d];break}}return r},{})),Bu}}class Bj{constructor(t,n,r){r===void 0&&(r=[]),this.coercers=t,this.stackParser=n,this.modifiers=r}buildFromUnknown(t,n){n===void 0&&(n={});var r=n&&n.mechanism||{handled:!0,type:"generic"},i=this.buildCoercingContext(r,n,0).apply(t),s=this.buildParsingContext(n),o=this.parseStacktrace(i,s);return{$exception_list:this.convertToExceptionList(o,r),$exception_level:"error"}}modifyFrames(t){var n=this;return St(function*(){for(var r of t)r.stacktrace&&r.stacktrace.frames&&te(r.stacktrace.frames)&&(r.stacktrace.frames=yield n.applyModifiers(r.stacktrace.frames));return t})()}coerceFallback(t){var n;return{type:"Error",value:"Unknown error",stack:(n=t.syntheticException)==null?void 0:n.stack,synthetic:!0}}parseStacktrace(t,n){var r,i;return t.cause!=null&&(r=this.parseStacktrace(t.cause,n)),t.stack!=""&&t.stack!=null&&(i=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?n.skipFirstLines:0),n.chunkIdMap)),z({},t,{cause:r,stack:i})}applyChunkIds(t,n){return t.map(r=>(r.filename&&n&&(r.chunk_id=n[r.filename]),r))}applyCoercers(t,n){for(var r of this.coercers)if(r.match(t))return r.coerce(t,n);return this.coerceFallback(n)}applyModifiers(t){var n=this;return St(function*(){var r=t;for(var i of n.modifiers)r=yield i(r);return r})()}convertToExceptionList(t,n){var r,i,s,o={type:t.type,value:t.value,mechanism:{type:(r=n.type)!==null&&r!==void 0?r:"generic",handled:(i=n.handled)===null||i===void 0||i,synthetic:(s=t.synthetic)!==null&&s!==void 0&&s}};t.stack&&(o.stacktrace={type:"raw",frames:t.stack});var a=[o];return t.cause!=null&&a.push(...this.convertToExceptionList(t.cause,z({},n,{handled:!0}))),a}buildParsingContext(t){var n;return{chunkIdMap:qj(this.stackParser),skipFirstLines:(n=t.skipFirstLines)!==null&&n!==void 0?n:1}}buildCoercingContext(t,n,r){r===void 0&&(r=0);var i=(s,o)=>
233{if(4>=o){var a=this.buildCoercingContext(t,n,o);return this.applyCoercers(s,a)}};return z({},n,{syntheticException:r==0?n.syntheticException:void 0,mechanism:t,apply:s=>i(s,r),next:s=>i(s,r+1)})}}var vs="?";function Ep(e,t,n,r,i){var s={platform:e,filename:t,function:n==="<anonymous>"?vs:n,in_app:!0};return W(r)||(s.lineno=r),W(i)||(s.colno=i),s}var o_=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:vs,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},Wj=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Vj=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Gj=/\((\S*)(?::(\d+))(?::(\d+))\)/,Kj=(e,t)=>{var n=Wj.exec(e);if(n){var[,r,i,s]=n;return Ep(t,r,vs,+i,+s)}var o=Vj.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){var a=Gj.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}var[l,u]=o_(o[1]||vs,o[2]);return Ep(t,u,l,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},Qj=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Yj=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Xj=(e,t)=>{var n=Qj.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Yj.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],s=n[1]||vs;return[s,i]=o_(s,i),Ep(t,i,s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}},tv=/\(error: (.*)\)/;class Jj{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,n){var r=_e(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:r?t.stack:void 0,cause:t.cause?n.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var n=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?n+": "+t.message:n}isDOMException(t){return Gl(t,"DOMException")}isDOMError(t){return Gl(t,"DOMError")}}class Zj{match(t){return(n=>n instanceof Error)(t)}coerce(t,n){return{type:this.getType(t),value:this.getMessage(t,n),stack:this.getStack(t),cause:t.cause?n.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,n){var r=t.message;return String(r.error&&typeof r.error.message=="string"?r.error.message:r)}getStack(t){return t.stacktrace||t.stack||void 0}}class eR{constructor(){}match(t){return Gl(t,"ErrorEvent")&&t.error!=null}coerce(t,n){var r;return n.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}var tR=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class nR{match(t){return typeof t=="string"}coerce(t,n){var r,[i,s]=this.getInfos(t);return{type:i??"Error",value:s??t,stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}getInfos(t){var n="Error",r=t,i=t.match(tR);return i&&(n=i[1],r=i[2]),[n,r]}}var rR=["fatal","error","warning","log","info","debug"];function a_(e,t){t===void 0&&(t=40);var n=Object.keys(e);if(n.sort(),!n.length)return"[object has no keys]";for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(t>=i.length)return r===n.length?i:i.length>t?i.slice(0,t)+"...":i}return""}class iR{match(t){return typeof t=="object"&&t!==null}coerce(t,n){var r,i=this.getErrorPropertyFromObject(t);return i?n.apply(i):{type:this.getType(t),value:this.getValue(t),stack:(r=n.syntheticException)==null?void 0:r.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return Eh(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var n="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(n+=" with message: '"+t.message+"'"),n}if("message"in t&&typeof t.message=="string")return t.message;var r=this.getObjectClassName(t);return(r&&r!=="Object"?"'"+r+"'":"Object")+" captured as exception with keys: "+a_(t)}isSeverityLevel(t){return _e(t)&&!ul(t)&&rR.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var n in t)if({}.hasOwnProperty.call(t,n)){var r=t[n];if(Uj(r))return r}}getObjectClassName(t){try{var n=Object.getPrototypeOf(t);return n?n.constructor.name:void 0}catch{return}}}class sR{match(t){return Eh(t)}coerce(t,n){var r,i=t.constructor.name;return{type:i,value:i+" captured as exception with keys: "+a_(t),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class oR{match(t){return Uw(t)}coerce(t,n){var r;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}
233class aR{match(t){return Gl(t,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!Eh(t))return!1;try{var n=t.detail;return n!=null&&typeof n=="object"&&"reason"in n}catch{return!1}}coerce(t,n){var r,i=this.getUnhandledRejectionReason(t);return Uw(i)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}:n.apply(i)}getUnhandledRejectionReason(t){try{if("reason"in t)return t.reason;if("detail"in t&&t.detail!=null&&typeof t.detail=="object"&&"reason"in t.detail)return t.detail.reason}catch{}return t}}var Ql="$message",Yl="$timestamp",lR=new Set([Ql,Yl]),Vu={enabled:!0,max_bytes:32768};function Xl(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:Vu.enabled,max_bytes:uR(e.max_bytes,Vu.max_bytes)}:z({},Vu)}class cR{constructor(t){this.Yt=[],this.Xt=0,this.qt=Xl(t)}setConfig(t){this.qt=Xl(t),this.er()}add(t){var n=function(i){var s=function(d){var p=new WeakSet;try{return JSON.stringify(d,(f,g)=>{if(typeof g=="bigint")return g.toString();if(typeof g!="function"&&typeof g!="symbol"){if(g instanceof Date)return g.toISOString();if(g instanceof Error)return{name:g.name,message:g.message,stack:g.stack};if(g&&typeof g=="object"){if(p.has(g))return"[Circular]";p.add(g)}return g}})}catch{return}}(i);if(s)try{var o=JSON.parse(s);if(!Ne(o))return;var a=o,l=a[Ql],u=a[Yl];return!_e(l)||l.trim().length===0||!_e(u)&&!Bt(u)?void 0:{step:a,json:s}}catch{return}}(t);if(n){var r=function(i){if(typeof TextEncoder<"u")return new TextEncoder().encode(i).length;for(var s=encodeURIComponent(i),o=0,a=0;s.length>a;a++)s[a]==="%"?(o+=1,a+=2):o+=1;return o}(n.json);r>this.qt.max_bytes||(this.Yt.push({step:n.step,bytes:r}),this.Xt+=r,this.er())}}getAttachable(){return this.Yt.map(t=>t.step)}clear(){this.Yt=[],this.Xt=0}size(){return this.Yt.length}er(){for(;this.Xt>this.qt.max_bytes&&this.Yt.length>0;){var t=this.Yt.shift();t&&(this.Xt-=t.bytes)}}}function uR(e,t){if(!Bt(e)||e===1/0||e===-1/0)return t;var n=Math.floor(e);return 0>n?t:n}var l_=function(e,t){var{debugEnabled:n}=t===void 0?{}:t,r={k(i){if(P&&(st.DEBUG||G.POSTHOG_DEBUG||n)&&!W(P.console)&&P.console){for(var s=("__rrweb_original__"in P.console[i])?P.console[i].__rrweb_original__:P.console[i],o=arguments.length,a=new Array(o>1?o-1:0),l=1;o>l;l++)a[l-1]=arguments[l];s(e,...a)}},debug(){for(var i=arguments.length,s=new Array(i),o=0;i>o;o++)s[o]=arguments[o];r.k("debug",...s)},info(){for(var i=arguments.length,s=new Array(i),o=0;i>o;o++)s[o]=arguments[o];r.k("log",...s)},warn(){for(var i=arguments.length,s=new Array(i),o=0;i>o;o++)s[o]=arguments[o];r.k("warn",...s)},error(){for(var i=arguments.length,s=new Array(i),o=0;i>o;o++)s[o]=arguments[o];r.k("error",...s)},critical(){for(var i=arguments.length,s=new Array(i),o=0;i>o;o++)s[o]=arguments[o];console.error(e,...s)},uninitializedWarning(i){r.error("You must initialize PostHog before calling "+i)},createLogger:(i,s)=>l_(e+" "+i,s)};return r},H=l_("[PostHog.js]"),ye=H.createLogger,dR=ye("[ExternalScriptsLoader]"),Gu=(e,t,n)=>{if(e.config.disable_external_dependency_loading)return dR.warn(t+" was requested but loading of external scripts is disabled."),n("Loading of external scripts is disabled");var r=q==null?void 0:q.querySelectorAll("script");if(r){for(var i,s=function(){if(r[o].src===t){var l=r[o];return l.__posthog_loading_callback_fired?{v:n()}:(l.addEventListener("load",u=>{l.__posthog_loading_callback_fired=!0,n(void 0,u)}),l.onerror=u=>n(u),{v:void 0})}},o=0;r.length>o;o++)if(i=s())return i.v}var a=()=>{if(!q)return n("document not found");var l=q.createElement("script");if(l.type="text/javascript",l.crossOrigin="anonymous",l.src=t,l.onload=p=>{l.__posthog_loading_callback_fired=!0,n(void 0,p)},l.onerror=p=>n(p),e.config.prepare_external_dependency_script&&(l=e.config.prepare_external_dependency_script(l)),!l)return n("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")q.head.appendChild(l);else{var u,d=q.querySelectorAll("body > script");d.length>0?(u=d[0].parentNode)==null||u.insertBefore(l,d[0]):q.body.appendChild(l)}};q!=null&&q.body?a():q==null||q.addEventListener("DOMContentLoaded",a)};G.__PosthogExtensions__=G.__PosthogExtensions__||{},G.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{if(t!=="remote-config"){var r;if(e.config.__preview_external_dependency_versioned_paths)r=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var i="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var s=3e5;i=i+"&t="+Math.floor(Date.now()/s)*s}
233r=e.requestRouter.endpointFor("assets",i)}Gu(e,r,n)}else{var o=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");Gu(e,o,n)}},G.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{var r=e.requestRouter.endpointFor("api",t);Gu(e,r,n)};var c_="$people_distinct_id",Jl="$device_id",Js="__alias",Zs="__timers",kp="$autocapture_disabled_server_side",Ap="$heatmaps_enabled_server_side",Cp="$exception_capture_enabled_server_side",Pp="$error_tracking_suppression_rules",Np="$error_tracking_capture_extension_exceptions",jp="$web_vitals_enabled_server_side",Nh="$dead_clicks_enabled_server_side",Rp="$product_tours_enabled_server_side",Tp="$web_vitals_allowed_metrics",Vr="$session_recording_remote_config",u_="$replay_override_sampling",d_="$replay_override_linked_flag",p_="$replay_override_url_trigger",f_="$replay_override_event_trigger",Zl="$sesid",jh="$session_is_sampled",Fi="$enabled_feature_flags",dl="$active_feature_flags",eo="$early_access_features",Op="$feature_flag_details",Ip="$feature_flag_payloads",Mp="$feature_flag_request_id",In="$override_feature_flags",_i="$override_feature_flag_payloads",to="$stored_person_properties",Ur="$stored_group_properties",Lp="$surveys",Fp="$surveys_activated",pl="ph_product_tours",mo="$flag_call_reported",Dp="$flag_call_reported_session_id",zp="$feature_flag_errors",ec="$feature_flag_evaluated_at",Kt="$user_state",$p="$client_session_props",Up="$capture_rate_limit",Hp="$initial_campaign_params",qp="$initial_referrer_info",tc="$initial_person_info",nc="$epp",h_="__POSTHOG_TOOLBAR__",$a="$posthog_cookieless",m_="$sdk_debug_extensions_init_method",g_="$sdk_debug_extensions_init_time_ms",v_="$sdk_debug_recording_script_not_loaded",Rh="PostHog loadExternalDependency extension not found.",Hr="on_reject",Dn="always",mi="anonymous",gi="identified",Bp="identified_only",rc="visibilitychange",ic="beforeunload",bi="$pageview",Ku="$pageleave",Qu="$identify",nv="$groupidentify";function Ua(e,t){te(e)&&e.forEach(t)}function pe(e,t){if(!J(e))if(te(e))e.forEach(t);else if(Cj(e))e.forEach((r,i)=>t(r,i));else for(var n in e)$w.call(e,n)&&t(e[n],n)}var Ce=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];for(var i of n)for(var s in i)i[s]!==void 0&&(e[s]=i[s]);return e};function fl(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var rv=function(e){try{return e()}catch{return}},pR=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,n)}catch(i){H.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),H.critical(i)}}},Th=function(e){var t={};return pe(e,function(n,r){(_e(n)&&n.length>0||Bt(n))&&(t[r]=n)}),t},fR=["herokuapp.com","vercel.app","netlify.app"];function hR(e){var t=e==null?void 0:e.hostname;if(!_e(t))return!1;var n=t.split(".").slice(-2).join(".");for(var r of fR)if(n===r)return!1;return!0}function Re(e,t,n,r){var{capture:i=!1,passive:s=!0}=r??{};e==null||e.addEventListener(t,n,{capture:i,passive:s})}function y_(e){return e.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return Bt(e)&&isFinite(e)&&Math.floor(e)===e});class sc{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,n,r,i){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(i)||0>t||0>n||0>r||0>i||t>0xffffffffffff||n>4095||r>1073741823||i>4294967295)throw new RangeError("invalid field value");var s=new Uint8Array(16);return s[0]=t/Math.pow(2,40),s[1]=t/Math.pow(2,32),s[2]=t/Math.pow(2,24),s[3]=t/Math.pow(2,16),s[4]=t/Math.pow(2,8),s[5]=t,s[6]=112|n>>>8,s[7]=n,s[8]=128|r>>>24,s[9]=r>>>16,s[10]=r>>>8,s[11]=r,s[12]=i>>>24,s[13]=i>>>16,s[14]=i>>>8,s[15]=i,new sc(s)}toString(){for(var t="",n=0;this.bytes.length>n;n++)t=t+(this.bytes[n]>>>4).toString(16)+(15&this.bytes[n]).toString(16),n!==3&&n!==5&&n!==7&&n!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new sc(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var n=0;16>n;n++){var r=this.bytes[n]-t.bytes[n];if(r!==0)return Math.sign(r)}return 0}}class mR{constructor(){this.S=0,this.C=0,this.I=new gR}generate(){var t=this.generateOrAbort();if(W(t)){this.S=0;var n=this.generateOrAbort();if(W(n))throw new Error("Could not generate UUID after timestamp reset");return n}return t}generateOrAbort(){var t=Date.now();if(t>this.S)this.S=t,this.T();else{if(this.S>=t+1e4)return;this.C++,this.C>4398046511103&&(this.S++,this.T())}return sc.fromFieldsV7(this.S,Math.trunc(this.C/Math.pow(2,30)),this.C&Math.pow(2,30)-1,this.I.nextUint32())}T(){this.C=1024*this.I.nextUint32()+(1023&this.I.nextUint32())}}var iv,x_=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};P&&!W(P.crypto)&&crypto.getRandomValues&&(x_=e=>crypto.getRandomValues(e));class gR{constructor(){this.M=new Uint32Array(8),this.O=1/0}nextUint32(){return this.M.length>this.O||(x_(this.M),this.O=0),this.M[this.O++]}}var ur=()=>vR().toString(),vR=()=>(iv||(iv=new mR)).generate(),zs="",yR=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,wn={R:()=>!!q,D(e){H.error("cookieStore error: "+e)},A(e){if(q){try{for(var t=e+"=",n=q.cookie.split(";").filter(s=>s.length),r=0;n.length>r;r++){for(var i=n[r];i.charAt(0)==" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return decodeURIComponent(i.substring(t.length,i.length))}}catch{}return null}},F(e){var t;try{t=JSON.parse(wn.A(e))||{}}catch{}return t}
233,N(e,t,n,r,i){if(q)try{var s="",o="",a=function(d,p){if(p){var f=function(x,h){if(h===void 0&&(h=q),zs)return zs;if(!h||["localhost","127.0.0.1"].includes(x))return"";for(var _=x.split("."),m=Math.min(_.length,8),v="dmn_chk_"+ur();!zs&&m--;){var y=_.slice(m).join("."),b=v+"=1;domain=."+y+";path=/";h.cookie=b+";max-age=3",h.cookie.includes(v)&&(h.cookie=b+";max-age=0",zs=y)}return zs}(d);if(!f){var g=(x=>{var h=x.match(yR);return h?h[0]:""})(d);g!==f&&H.info("Warning: cookie subdomain discovery mismatch",g,f),f=g}return f?"; domain=."+f:""}return""}(q.location.hostname,r);if(n){var l=new Date;l.setTime(l.getTime()+864e5*n),s="; expires="+l.toUTCString()}i&&(o="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+s+"; SameSite=Lax; path=/"+a+o;return u.length>3686.4&&H.warn("cookieStore warning: large cookie, len="+u.length),q.cookie=u,u}catch{return}},q(e,t){if(q!=null&&q.cookie)try{wn.N(e,"",-1,t)}catch{return}}},Yu=null,we={R(){if(!Yn(Yu))return Yu;var e=!0;if(W(P))e=!1;else try{var t="__mplssupport__";we.N(t,"xyz"),we.A(t)!=='"xyz"'&&(e=!1),we.q(t)}catch{e=!1}return e||H.error("localStorage unsupported; falling back to cookie store"),Yu=e,e},D(e){H.error("localStorage error: "+e)},A(e){try{return P==null?void 0:P.localStorage.getItem(e)}catch(t){we.D(t)}return null},F(e){try{return JSON.parse(we.A(e))||{}}catch{}return null},N(e,t){try{P==null||P.localStorage.setItem(e,JSON.stringify(t))}catch(n){we.D(n)}},q(e){try{P==null||P.localStorage.removeItem(e)}catch(t){we.D(t)}}},xR=[Jl,"distinct_id",Zl,jh,nc,tc,Kt],Ha={},wR={R:()=>!0,D(e){H.error("memoryStorage error: "+e)},A:e=>Ha[e]||null,F:e=>Ha[e]||null,N(e,t){Ha[e]=t},q(e){delete Ha[e]}},Lr=null,Be={R(){if(!Yn(Lr))return Lr;if(Lr=!0,W(P))Lr=!1;else try{var e="__support__";Be.N(e,"xyz"),Be.A(e)!=='"xyz"'&&(Lr=!1),Be.q(e)}catch{Lr=!1}return Lr},D(e){H.error("sessionStorage error: ",e)},A(e){try{return P==null?void 0:P.sessionStorage.getItem(e)}catch(t){Be.D(t)}return null},F(e){try{return JSON.parse(Be.A(e))||null}catch{}return null},N(e,t){try{P==null||P.sessionStorage.setItem(e,JSON.stringify(t))}catch(n){Be.D(n)}},q(e){try{P==null||P.sessionStorage.removeItem(e)}catch(t){Be.D(t)}}};class _R{constructor(t){this._instance=t}get qt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.qt.cookieless_mode===Dn||this.isRejected()||this.consent===-1&&this.qt.cookieless_mode===Hr}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===0}isRejected(){return this.consent===0||this.consent===-1&&this.qt.opt_out_capturing_by_default}optInOut(t){this.nr.N(this.sr,t?1:0,this.qt.cookie_expiration,this.qt.cross_subdomain_cookie,this.qt.secure_cookie)}reset(){this.nr.q(this.sr,this.qt.cross_subdomain_cookie)}get sr(){var{token:t,opt_out_capturing_cookie_prefix:n,consent_persistence_name:r}=this._instance.config;return r||(n?n+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.A(this.sr);return qu(t)?1:X(jj,t)?0:-1}get nr(){var t=this.qt.opt_out_capturing_persistence_type,n=t==="localStorage"?we:wn;if(!this.ar||this.ar!==n){this.ar=n;var r=t==="localStorage"?wn:we;r.A(this.sr)&&(this.ar.A(this.sr)||this.optInOut(qu(r.A(this.sr))),r.q(this.sr,this.qt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.qt.respect_dnt&&[At==null?void 0:At.doNotTrack,At==null?void 0:At.msDoNotTrack,G.doNotTrack].some(t=>qu(t))}}var qa=ye("[Dead Clicks]"),bR=()=>!0,SR=e=>{var t,n=!((t=e.instance.persistence)==null||!t.get_property(Nh)),r=e.instance.config.capture_dead_clicks;return _n(r)?r:!!Ne(r)||n};class sv{get lazyLoadedDeadClicksAutocapture(){return this.ur}constructor(t,n,r){this.instance=t,this.isEnabled=n,this.onCapture=r,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[Nh]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.lr(()=>{this.hr()}):this.stop()}lr(t){var n,r;(n=G.__PosthogExtensions__)!=null&&n.initDeadClicksAutocapture&&t(),(r=G.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",i=>{i?qa.error("failed to load script",i):t()})}hr(){var t;if(q){if(!this.ur&&(t=G.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var n=Ne(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};n.__onCapture=this.onCapture,this.ur=G.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,n),this.ur.start(q),qa.info("starting...")}}else qa.error("`document` not found. Cannot start.")}stop(){this.ur&&(this.ur.stop(),this.ur=void 0,qa.info("stopping..."))}}var Xu=ye("[SegmentIntegration]"),w_="posthog-js";function __(e,t){var{organization:n,projectId:r,prefix:i,severityAllowList:s=["error"],sendExceptionsToPostHog:o=!0}=t===void 0?{}:t;return a=>{var l,u,d,p,f;if(s!=="*"&&!s.includes(a.level)||!e.__loaded)return a;a.tags||(a.tags={});var g=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/pers
233on/"+e.get_distinct_id());a.tags["PostHog Person URL"]=g,e.sessionRecordingStarted()&&(a.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var x,h=((l=a.exception)==null?void 0:l.values)||[],_=h.map(v=>z({},v,{stacktrace:v.stacktrace?z({},v.stacktrace,{type:"raw",frames:(v.stacktrace.frames||[]).map(y=>z({},y,{platform:"web:javascript"}))}):void 0})),m={$exception_message:((u=h[0])==null?void 0:u.value)||a.message,$exception_type:(d=h[0])==null?void 0:d.type,$exception_level:a.level,$exception_list:_,$sentry_event_id:a.event_id,$sentry_exception:a.exception,$sentry_exception_message:((p=h[0])==null?void 0:p.value)||a.message,$sentry_exception_type:(f=h[0])==null?void 0:f.type,$sentry_tags:a.tags};return n&&r&&(m.$sentry_url=(i||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+a.event_id),o&&((x=e.exceptions)==null||x.sendExceptionEvent(m)),a}}class ER{constructor(t,n,r,i,s,o){this.name=w_,this.setupOnce=function(a){a(__(t,{organization:n,projectId:r,prefix:i,severityAllowList:s,sendExceptionsToPostHog:o==null||o}))}}}class ov{constructor(t){this.cr=(n,r,i)=>{i&&(i.noSessionId||i.activityTimeout||i.sessionPastMaximumLength)&&(H.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:n,changeReason:i}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.vr()}vr(){var t;this.pr=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.cr)}destroy(){var t;(t=this.pr)==null||t.call(this),this.pr=void 0}doPageView(t,n){var r,i=this.gr(t,n);return this.dr={pathname:(r=P==null?void 0:P.location.pathname)!==null&&r!==void 0?r:"",pageViewId:n,timestamp:t},this._instance.scrollManager.resetContext(),i}doPageLeave(t){var n;return this.gr(t,(n=this.dr)==null?void 0:n.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.dr)==null?void 0:t.pageViewId}}gr(t,n){var r=this.dr;if(!r)return{$pageview_id:n};var i={$pageview_id:n,$prev_pageview_id:r.pageViewId},s=this._instance.scrollManager.getContext();if(s&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:o,lastScrollY:a,maxScrollY:l,maxContentHeight:u,lastContentY:d,maxContentY:p}=s;if(!(W(o)||W(a)||W(l)||W(u)||W(d)||W(p))){o=Math.ceil(o),a=Math.ceil(a),l=Math.ceil(l),u=Math.ceil(u),d=Math.ceil(d),p=Math.ceil(p);var f=o>1?bn(a/o,0,1,H):1,g=o>1?bn(l/o,0,1,H):1,x=u>1?bn(d/u,0,1,H):1,h=u>1?bn(p/u,0,1,H):1;i=Ce(i,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:f,$prev_pageview_max_scroll:l,$prev_pageview_max_scroll_percentage:g,$prev_pageview_last_content:d,$prev_pageview_last_content_percentage:x,$prev_pageview_max_content:p,$prev_pageview_max_content_percentage:h})}}return r.pathname&&(i.$prev_pageview_pathname=r.pathname),r.timestamp&&(i.$prev_pageview_duration=(t.getTime()-r.timestamp.getTime())/1e3),i}}var kR={[c_]:{exposure:"hidden"},[Js]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[Zs]:{exposure:"hidden"},[kp]:{exposure:"event"},[Ap]:{exposure:"hidden"},[Cp]:{exposure:"event"},[Pp]:{exposure:"hidden"},[Np]:{exposure:"event"},[jp]:{exposure:"event"},[Nh]:{exposure:"event"},[Rp]:{exposure:"hidden"},[Tp]:{exposure:"event"},[Vr]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[Zl]:{exposure:"hidden"},[jh]:{exposure:"event"},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},[Fi]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Ne(e))return{};for(var t={},n=Object.keys(e),r=0;n.length>r;r++)t["$feature/"+n[r]]=e[n[r]];return t}},[dl]:{exposure:"event"},[eo]:{exposure:"hidden"},[Op]:{exposure:"hidden"},[Ip]:{exposure:"event"},[Mp]:{exposure:"event"},[In]:{exposure:"event"},[_i]:{exposure:"hidden"},[to]:{exposure:"hidden"},[Ur]:{exposure:"hidden"},[Lp]:{exposure:"hidden"},[Fp]:{exposure:"event"},[pl]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"}
233,$conversations_user_traits:{exposure:"event"},[mo]:{exposure:"hidden"},[Dp]:{exposure:"hidden"},[zp]:{exposure:"hidden"},[ec]:{exposure:"hidden"},[Kt]:{exposure:"hidden"},[$p]:{exposure:"hidden"},[Up]:{exposure:"hidden"},[Hp]:{exposure:"hidden"},[qp]:{exposure:"hidden"},[tc]:{exposure:"hidden"},[nc]:{exposure:"hidden"},[u_]:{exposure:"event"},[d_]:{exposure:"event"},[p_]:{exposure:"event"},[f_]:{exposure:"event"},[m_]:{exposure:"event"},[g_]:{exposure:"event"},[v_]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},AR=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],oc=e=>{var t=q==null?void 0:q.createElement("a");return W(t)?null:(t.href=e,t)},qo=function(e,t){for(var n,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),i=0;r.length>i;i++){var s=r[i].split("=");if(s[0]===t){n=s;break}}if(!te(n)||2>n.length)return"";var o=n[1];try{o=decodeURIComponent(o)}catch{H.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},Bo=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split("#"),i=r[1],s=(r[0]||"").split("?"),o=s[1],a=s[0],l=(o||"").split("&"),u=[],d=0;l.length>d;d++){var p=l[d].split("=");te(p)&&(t.includes(p[0])?u.push(p[0]+"="+n):u.push(l[d]))}var f=a;return o!=null&&(f+="?"+u.join("&")),i!=null&&(f+="#"+i),f},ac=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},Ba="https?://(.*)",ys=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],CR=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...ys],Wo="<masked>",PR=["li_fat_id"];function b_(e,t,n){if(!q)return{};var r,i=t?[...ys,...n||[]]:[],s=S_(Bo(q.URL,i,Wo),e),o=(r={},pe(PR,function(a){var l=wn.A(a);r[a]=l||null}),r);return Ce(o,s)}function S_(e,t){var n=CR.concat(t||[]),r={};return pe(n,function(i){var s=qo(e,i);r[i]=s||null}),r}function E_(e){var t=function(s){return s?s.search(Ba+"google.([^/?]*)")===0?"google":s.search(Ba+"bing.com")===0?"bing":s.search(Ba+"yahoo.com")===0?"yahoo":s.search(Ba+"duckduckgo.com")===0?"duckduckgo":null:null}(e),n=t!="yahoo"?"q":"p",r={};if(!Yn(t)){r.$search_engine=t;var i=q?qo(q.referrer,n):"";i.length&&(r.ph_keyword=i)}return r}function av(){return navigator.language||navigator.userLanguage}var lc="$direct";function k_(){return(q==null?void 0:q.referrer)||lc}function A_(e,t){var n=e?[...ys,...t||[]]:[],r=qe==null?void 0:qe.href.substring(0,1e3);return{r:k_().substring(0,1e3),u:r?Bo(r,n,Wo):void 0}}function C_(e){var t,{r:n,u:r}=e,i={$referrer:n,$referring_domain:n==null?void 0:n==lc?lc:(t=oc(n))==null?void 0:t.host};if(r){i.$current_url=r;var s=oc(r);i.$host=s==null?void 0:s.host,i.$pathname=s==null?void 0:s.pathname;var o=S_(r);Ce(i,o)}if(n){var a=E_(n);Ce(i,a)}return i}function P_(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function NR(){try{return new Date().getTimezoneOffset()}catch{return}}var jR=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class Ju{constructor(t,n){this.qt=t,this.props={},this.mr=!1,this.yr=(r=>{var i="";return r.token&&(i=r.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),r.persistence_name?"ph_"+r.persistence_name:"ph_"+i+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&H.info("Persistence loaded",t.persistence,z({},this.props)),this.update_config(t,t,n),this.save()}isDisabled(){return!!this._r}br(t){jR.indexOf(t.persistence.toLowerCase())===-1&&(H.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var n=function(i){i===void 0&&(i=[]);var s=[...xR,...i];return z({},we,{F(o){try{var a={};try{a=wn.F(o)||{}}catch{}var l=Ce(a,JSON.parse(we.A(o)||"{}"));return we.N(o,l),l}catch{}return null},N(o,a,l,u,d,p){try{we.N(o,a,void 0,void 0,p);var f={};
233s.forEach(g=>{a[g]&&(f[g]=a[g])}),Object.keys(f).length&&wn.N(o,f,l,u,d,p)}catch(g){we.D(g)}},q(o,a){try{P==null||P.localStorage.removeItem(o),wn.q(o,a)}catch(l){we.D(l)}}})}(t.cookie_persisted_properties||[]),r=t.persistence.toLowerCase();return r==="localstorage"&&we.R()?we:r==="localstorage+cookie"&&n.R()?n:r==="sessionstorage"&&Be.R()?Be:r==="memory"?wR:r==="cookie"?wn:n.R()?n:wn}wr(t){var n=t??this.qt.feature_flag_cache_ttl_ms;if(!n||0>=n)return!1;var r=this.props[ec];return!r||typeof r!="number"||Date.now()-r>n}properties(){var t={};return pe(this.props,(n,r)=>{var i=(s=>{var o=kR[s];if(o)return o;for(var[a,l]of AR)if(s.indexOf(a)===0)return l})(r);if((i==null?void 0:i.exposure)==="derived"){if(i.shouldSkipFromEventProperties!=null&&i.shouldSkipFromEventProperties(n,r===Fi?()=>this.wr():()=>!1))return;i.transformToEventProperties&&Ce(t,i.transformToEventProperties(n))}else i&&i.exposure!=="event"||(t[r]=n)}),t}load(){if(!this._r){var t=this.nr.F(this.yr);t&&(this.props=Ce({},t))}}save(){this._r||this.nr.N(this.yr,this.props,this.Sr,this.kr,this.Cr,this.qt.debug)}remove(){this.nr.q(this.yr,!1),this.nr.q(this.yr,!0)}clear(){this.remove(),this.props={}}register_once(t,n,r){if(Ne(t)){W(n)&&(n="None"),this.Sr=W(r)?this.Ir:r;var i=!1;if(pe(t,(s,o)=>{this.props.hasOwnProperty(o)&&this.props[o]!==n||(this.Tr(o,s),i=!0)}),i)return this.save(),!0}return!1}register(t,n){if(Ne(t)){this.Sr=W(n)?this.Ir:n;var r=!1;if(pe(t,(i,s)=>{t.hasOwnProperty(s)&&this.props[s]!==i&&(this.Tr(s,i),r=!0)}),r)return this.save(),!0}return!1}unregister(t){t in this.props&&(this.Er(t),this.save())}update_campaign_params(){if(!this.mr){var t=b_(this.qt.custom_campaign_params,this.qt.mask_personal_data_properties,this.qt.custom_personal_data_properties);Li(Th(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=q==null?void 0:q.referrer)?E_(t):{})}update_referrer_info(){var t;this.register_once({$referrer:k_(),$referring_domain:q!=null&&q.referrer&&((t=oc(q.referrer))==null?void 0:t.host)||lc},void 0)}set_initial_person_info(){this.props[Hp]||this.props[qp]||this.register_once({[tc]:A_(this.qt.mask_personal_data_properties,this.qt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};pe([qp,Hp],o=>{var a=this.props[o];a&&pe(a,function(l,u){t["$initial_"+wp(u)]=l})});var n,r,i=this.props[tc];if(i){var s=(n=C_(i),r={},pe(n,function(o,a){r["$initial_"+wp(a)]=o}),r);Ce(t,s)}return t}safe_merge(t){return pe(this.props,function(n,r){r in t||(t[r]=n)}),t}update_config(t,n,r){if(this.Ir=this.Sr=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!r),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==n.persistence||!((o,a)=>{if(o.length!==a.length)return!1;var l=[...o].sort(),u=[...a].sort();return l.every((d,p)=>d===u[p])})(t.cookie_persisted_properties||[],n.cookie_persisted_properties||[])){var i=this.br(t),s=this.props;this.clear(),this.nr=i,this.props=s,this.save()}}set_disabled(t){this._r=t,this._r?this.remove():this.save()}set_cross_subdomain(t){t!==this.kr&&(this.kr=t,this.remove(),this.save())}set_secure(t){t!==this.Cr&&(this.Cr=t,this.remove(),this.save())}set_event_timer(t,n){var r=this.props[Zs]||{};r[t]=n,this.Tr(Zs,r),this.save()}remove_event_timer(t){var n=this.props[Zs]||{},r=n[t];return W(r)||(delete n[t],this.Tr(Zs,n),this.save()),r}get_property(t){return this.props[t]}set_property(t,n){this.Tr(t,n),this.save()}Tr(t,n){this.props[t]=n}Er(t){delete this.props[t]}}var $s={Activation:"events",Cancellation:"cancelEvents"},Zu={Popover:"popover",API:"api",Widget:"widget",ExternalSurvey:"external_survey"},no={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent",ABANDONED:"survey abandoned"},ed={SURVEY_ID:"$survey_id",SURVEY_NAME:"$survey_name",SURVEY_RESPONSE:"$survey_response",SURVEY_ITERATION:"$survey_iteration",SURVEY_ITERATION_START_DATE:"$survey_iteration_start_date",SURVEY_PARTIALLY_COMPLETED:"$survey_partially_completed",SURVEY_SUBMISSION_ID:"$survey_submission_id",SURVEY_QUESTIONS:"$survey_questions",SURVEY_COMPLETED:"$survey_completed",PRODUCT_TOUR_ID:"$product_tour_id",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date",SURVEY_LANGUAGE:"$survey_language"},Wp={Popover:"popover",Inline:"inline"},RR={SHOWN:"product tour shown",DISMISSED:"product tour dismissed",COMPLETED:"product tour completed",STEP_SHOWN:"product tour step shown",STEP_COMPLETED:"product tour step completed",BUTTON_CLICKED:"product tour button clicked",STEP_SELECTOR_FAILED:"product tour step selector failed",BANNER_CONTAINER_SELECTOR_FAILED:"product tour banner container selector failed",BANNER_ACTION_CLICKED:"product tour banner action clicked"},lv={TOUR_ID:"$product_tour_id",TOUR_NAME:"$product_tour_name",TOUR_ITERATION:"$product_tour_iteration",TOUR_RENDER_REASON:"$product_tour_render_reason",TOUR_STEP_ID:"$product_tour_step_id",TOUR_STEP_ORDER:"$product_tour_step_order",TOUR_STEP_TYPE:"$product_tour_step_type",TOUR_DISMISS_REASON:"$product_tour_dismiss_reason",TOUR_BUTTON_TEXT:"$product_tour_button_text",TOUR_BUTTON_ACTION:"$product_tour_button_action",TOUR_BUTTON_LINK:"$product_tour_button_link",TOUR_BUTTON_TOUR_ID:"$product_tour_button_tour_id",TOUR_STEPS_COUNT:"$product_tour_steps_count",TOUR_STEP_SELECTOR:"$product_tour_step_selector",TOUR_STEP_SELECTOR_FOUND:"$product_tour_step_selector_found",TOUR_STEP_ELEMENT_TAG:"$product_tour_step_element_tag",TOUR_STEP_ELEMENT_ID:"$product_tour_step_element_id",TOUR_STEP_ELEMENT_CLASSES:"$product_tour_step_element_classes",TOUR_STEP_ELEMENT_TEXT:"$product_tour_step_element_text",TOUR_ERROR:"$product_tour_error",TOUR_MATCHES_COUNT:"$product_tour_matches_count",TOUR_FAILURE_PHASE:"$product_tour_failure_phase",TOUR_WAITED_FOR_ELEMENT:"$product_tour_waited_for_element",TOUR_WAIT_DURATION_MS:"$product_tour_wait_duration_ms",TOUR_BANNER_SELECTOR:"$product_tour_banner_selector",TOUR_LINKED_SURVEY_ID:"$product_tour_linked_survey_id",USE_MANUAL_SELECTOR:"$use_manual_selector",INFERENCE_DATA_PRESENT:"$inference_data_present",TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},cv=ye("[RateLimiter]");class TR{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=n=>{var r=n.text;
233if(r&&r.length)try{(JSON.parse(r).quota_limited||[]).forEach(i=>{cv.info((i||"events")+" is quota limited."),this.serverLimits[i]=new Date().getTime()+6e4})}catch(i){return void cv.warn('could not rate limit - continuing. Error: "'+(i==null?void 0:i.message)+'"',{text:r})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var n,r,i;t===void 0&&(t=!1);var{captureEventsBurstLimit:s,captureEventsPerSecond:o}=this,a=new Date().getTime(),l=(n=(r=this.instance.persistence)==null?void 0:r.get_property(Up))!==null&&n!==void 0?n:{tokens:s,last:a};l.tokens+=(a-l.last)/1e3*o,l.last=a,l.tokens>s&&(l.tokens=s);var u=1>l.tokens;return u||t||(l.tokens=Math.max(0,l.tokens-1)),!u||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+o+" events per second and "+s+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=u,(i=this.instance.persistence)==null||i.set_property(Up,l),{isRateLimited:u,remainingTokens:l.tokens}}isServerRateLimited(t){var n=this.serverLimits[t||"events"]||!1;return n!==!1&&new Date().getTime()<n}}var Us=ye("[RemoteConfig]");class N_{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=G._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Mr(t){var n,r;(n=G.__PosthogExtensions__)!=null&&n.loadExternalDependency?(r=G.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"remote-config",()=>t(this.remoteConfig)):t()}Pr(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(n){t(n.json)}})}load(){try{if(this.remoteConfig)return Us.info("Using preloaded remote config",this.remoteConfig),this.Rr(this.remoteConfig),void this.Or();if(this._instance.Lr())return void Us.warn("Remote config is disabled. Falling back to local config.");this.Mr(t=>{if(!t)return Us.info("No config found after loading remote JS config. Falling back to JSON."),void this.Pr(n=>{this.Rr(n),this.Or()});this.Rr(t),this.Or()})}catch(t){Us.error("Error loading remote config",t)}}stop(){this.Fr&&(clearInterval(this.Fr),this.Fr=void 0)}refresh(){!this._instance.Lr()&&q&&q.visibilityState!=="hidden"&&this._instance.reloadFeatureFlags()}Or(){var t;if(!this.Fr){var n=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;n!==0&&(this.Fr=setInterval(()=>{this.refresh()},n))}}Rr(t){var n;t||Us.error("Failed to fetch remote config from PostHog."),this._instance.Rr(t??{}),(t==null?void 0:t.hasFeatureFlags)!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(n=this._instance.featureFlags)==null||n.ensureFlagsLoaded())}}var vn={GZipJS:"gzip-js",Base64:"base64"},$t=Uint8Array,gt=Uint16Array,xs=Uint32Array,Oh=new $t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ih=new $t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),uv=new $t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),j_=function(e,t){for(var n=new gt(31),r=0;31>r;++r)n[r]=t+=1<<e[r-1];var i=new xs(n[30]);for(r=1;30>r;++r)for(var s=n[r];n[r+1]>s;++s)i[s]=s-n[r]<<5|r;return[n,i]},R_=j_(Oh,2),Vp=R_[1];R_[0][28]=258,Vp[258]=28;for(var dv=j_(Ih,0)[1],T_=new gt(32768),fe=0;32768>fe;++fe){var vi=(43690&fe)>>>1|(21845&fe)<<1;T_[fe]=((65280&(vi=(61680&(vi=(52428&vi)>>>2|(13107&vi)<<2))>>>4|(3855&vi)<<4))>>>8|(255&vi)<<8)>>>1}var go=function(e,t,n){for(var r=e.length,i=0,s=new gt(t);r>i;++i)++s[e[i]-1];var o,a=new gt(t);for(i=0;t>i;++i)a[i]=a[i-1]+s[i-1]<<1;for(o=new gt(r),i=0;r>i;++i)o[i]=T_[a[e[i]-1]++]>>>15-e[i];return o},ai=new $t(288);for(fe=0;144>fe;++fe)ai[fe]=8;for(fe=144;256>fe;++fe)ai[fe]=9;for(fe=256;280>fe;++fe)ai[fe]=7;for(fe=280;288>fe;++fe)ai[fe]=8;var cc=new $t(32);for(fe=0;32>fe;++fe)cc[fe]=5;var OR=go(ai,9),IR=go(cc,5),O_=function(e){return(e/8>>0)+(7&e&&1)},I_=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof gt?gt:e instanceof xs?xs:$t)(n-t);return r.set(e.subarray(t,n)),r},jn=function(e,t,n){var r=t/8>>0;e[r]|=n<<=7&t,e[r+1]|=n>>>8},Hs=function(e,t,n){var r=t/8>>0;e[r]|=n<<=7&t,e[r+1]|=n>>>8,e[r+2]|=n>>>16},td=function(e,t){for(var n=[],r=0;e.length>r;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,s=n.slice();if(!i)return[new $t(0),0];if(i==1){var o=new $t(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort(function(S,k){return S.f-k.f}),n.push({s:-1,f:25001});var a=n[0],l=n[1],u=0,d=1,p=2;for(n[0]={s:-1,f:a.f+l.f,l:a,r:l};d!=i-1;)a=n[n[p].f>n[u].f?u++:p++],l=n[u!=d&&n[p].f>n[u].f?u++:p++],n[d++]={s:-1,f:a.f+l.f,l:a,r:l};var f=s[0].s;for(r=1;i>r;++r)s[r].s>f&&(f=s[r].s);var g=new gt(f+1),x=Gp(n[d-1],g,0);if(x>t){r=0;var h=0,_=x-t,m=1<<_;for(s.sort(function(S,k){return g[k.s]-g[S.s]||S.f-k.f});i>r;
vendor: 4,658 bytes, line 233
233++r){var v=s[r].s;if(t>=g[v])break;h+=m-(1<<x-g[v]),g[v]=t}for(h>>>=_;h>0;){var y=s[r].s;t>g[y]?h-=1<<t-g[y]++-1:++r}for(;r>=0&&h;--r){var b=s[r].s;g[b]==t&&(--g[b],++h)}x=t}return[new $t(g),x]},Gp=function(e,t,n){return e.s==-1?Math.max(Gp(e.l,t,n+1),Gp(e.r,t,n+1)):t[e.s]=n},pv=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new gt(++t),r=0,i=e[0],s=1,o=function(l){n[r++]=l},a=1;t>=a;++a)if(e[a]==i&&a!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(i);s=1,i=e[a]}return[n.subarray(0,r),t]},qs=function(e,t){for(var n=0,r=0;t.length>r;++r)n+=e[r]*t[r];return n},Kp=function(e,t,n){var r=n.length,i=O_(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;r>s;++s)e[i+s+4]=n[s];return 8*(i+4+r)},fv=function(e,t,n,r,i,s,o,a,l,u,d){jn(t,d++,n),++i[256];for(var p=td(i,15),f=p[0],g=p[1],x=td(s,15),h=x[0],_=x[1],m=pv(f),v=m[0],y=m[1],b=pv(h),S=b[0],k=b[1],E=new gt(19),A=0;v.length>A;++A)E[31&v[A]]++;for(A=0;S.length>A;++A)E[31&S[A]]++;for(var C=td(E,7),R=C[0],$=C[1],L=19;L>4&&!R[uv[L-1]];--L);var U,I,j,T,F=u+5<<3,N=qs(i,ai)+qs(s,cc)+o,M=qs(i,f)+qs(s,h)+o+14+3*L+qs(E,R)+(2*E[16]+3*E[17]+7*E[18]);if(N>=F&&M>=F)return Kp(t,d,e.subarray(l,l+u));if(jn(t,d,1+(N>M)),d+=2,N>M){U=go(f,g),I=f,j=go(h,_),T=h;var B=go(R,$);for(jn(t,d,y-257),jn(t,d+5,k-1),jn(t,d+10,L-4),d+=14,A=0;L>A;++A)jn(t,d+3*A,R[uv[A]]);d+=3*L;for(var K=[v,S],ee=0;2>ee;++ee){var oe=K[ee];for(A=0;oe.length>A;++A)jn(t,d,B[le=31&oe[A]]),d+=R[le],le>15&&(jn(t,d,oe[A]>>>5&127),d+=oe[A]>>>12)}}else U=OR,I=ai,j=IR,T=cc;for(A=0;a>A;++A)if(r[A]>255){var le;Hs(t,d,U[257+(le=r[A]>>>18&31)]),d+=I[le+257],le>7&&(jn(t,d,r[A]>>>23&31),d+=Oh[le]);var Ie=31&r[A];Hs(t,d,j[Ie]),d+=T[Ie],Ie>3&&(Hs(t,d,r[A]>>>5&8191),d+=Ih[Ie])}else Hs(t,d,U[r[A]]),d+=I[r[A]];return Hs(t,d,U[256]),d+I[256]},MR=new xs([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),LR=function(){for(var e=new xs(256),t=0;256>t;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),nd=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function FR(e,t){t===void 0&&(t={});var n=function(){var p=4294967295;return{p(f){for(var g=p,x=0;f.length>x;++x)g=LR[255&g^f[x]]^g>>>8;p=g},d(){return 4294967295^p}}}(),r=e.length;n.p(e);var i,s,o,a,l,u=(a=10+((i=t).filename&&i.filename.length+1||0),l=8,function(p,f,g,x,h,_){var m=p.length,v=new $t(x+m+5*(1+Math.floor(m/7e3))+h),y=v.subarray(x,v.length-h),b=0;if(!f||8>m)for(var S=0;m>=S;S+=65535){var k=S+65535;m>k?b=Kp(y,b,p.subarray(S,k)):(y[S]=!0,b=Kp(y,b,p.subarray(S,m)))}else{for(var E=MR[f-1],A=E>>>13,C=8191&E,R=(1<<g)-1,$=new gt(32768),L=new gt(R+1),U=Math.ceil(g/3),I=2*U,j=function(Kc){return(p[Kc]^p[Kc+1]<<U^p[Kc+2]<<I)&R},T=new xs(25e3),F=new gt(288),N=new gt(32),M=0,B=0,K=(S=0,0),ee=0,oe=0;m>S;++S){var le=j(S),Ie=32767&S,me=L[le];if($[Ie]=me,L[le]=Ie,S>=ee){var tt=m-S;if((M>7e3||K>24576)&&tt>423){b=fv(p,y,0,T,F,N,B,K,oe,S-oe,b),K=M=B=0,oe=S;for(var Me=0;286>Me;++Me)F[Me]=0;for(Me=0;30>Me;++Me)N[Me]=0}var wt=2,un=0,sa=C,Vt=Ie-me&32767;if(tt>2&&le==j(S-Vt))for(var Mr=Math.min(A,tt)-1,oa=Math.min(32767,S),Vc=Math.min(258,tt);oa>=Vt&&--sa&&Ie!=me;){if(p[S+wt]==p[S+wt-Vt]){for(var dn=0;Vc>dn&&p[S+dn]==p[S+dn-Vt];++dn);if(dn>wt){if(wt=dn,un=Vt,dn>Mr)break;var Gc=Math.min(Vt,dn-2),aa=0;for(Me=0;Gc>Me;++Me){var Xn=S-Vt+Me+32768&32767,Dh=Xn-$[Xn]+32768&32767;Dh>aa&&(aa=Dh,me=Xn)}}}Vt+=(Ie=me)-(me=$[Ie])+32768&32767}if(un){T[K++]=268435456|Vp[wt]<<18|dv[un];var zh=31&Vp[wt],$h=31&dv[un];B+=Oh[zh]+Ih[$h],++F[257+zh],++N[$h],ee=S+wt,++M}else T[K++]=p[S],++F[p[S]]}}b=fv(p,y,!0,T,F,N,B,K,oe,S-oe,b)}return I_(v,0,x+O_(b)+h)}(s=e,(o=t).level==null?6:o.level,o.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):12+o.mem,a,l)),d=u.length;return function(p,f){var g=f.filename;if(p[0]=31,p[1]=139,p[2]=8,p[8]=2>f.level?4:f.level==9?2:0,p[9]=3,f.mtime!=0&&nd(p,4,Math.floor(new Date(f.mtime||Date.now())/1e3)),g){p[3]=8;for(var x=0;g.length>=x;++x)p[x+10]=g.charCodeAt(x)}}(u,t),nd(u,d-8,n.d()),nd(u,d-4,r),u}var DR=!!vp||!!gp,M_="text/plain",hl=!1,zR=(e,t)=>{var[n,r]=e.split("#"),[i,s]=n.split("?");if(!s)return e;var o=s.split("&").filter(a=>a.split("=")[0]!==t).join("&");return i+(o?"?"+o:"")+(r?"#"+r:"")},Bc=function(e,t,n){var r;n===void 0&&(n=!0);var[i,s]=e.split("?"),o=z({},t),a=(r=s==null?void 0:s.split("&").map(u=>{var d,[p,f]=u.split("="),g=n&&(d=o[p])!==null&&d!==void 0?d:f;return delete o[p],p+"="+g}))!==null&&r!==void 0?r:[],l=function(u,d){var p,f;d===void 0&&(d="&");var g=[];return pe(u,function(x,h){W(x)||W(h)||h==="undefined"||(p=encodeURIComponent((_
233=>_ instanceof File)(x)?x.name:x.toString()),f=encodeURIComponent(h),g[g.length]=f+"="+p)}),g.join(d)}(o);return l&&a.push(l),i+"?"+a.join("&")},Di=(e,t)=>JSON.stringify(e,(n,r)=>typeof r=="bigint"?r.toString():r,t),hv=e=>{if(e.tr)return e.tr;var{data:t,compression:n}=e;if(t){if(n===vn.GZipJS){var r=FR(function(a,l){var u=a.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(a);for(var d=new $t(a.length+(a.length>>>1)),p=0,f=function(_){d[p++]=_},g=0;u>g;++g){if(p+5>d.length){var x=new $t(p+8+(u-g<<1));x.set(d),d=x}var h=a.charCodeAt(g);128>h?f(h):2048>h?(f(192|h>>>6),f(128|63&h)):h>55295&&57344>h?(f(240|(h=65536+(1047552&h)|1023&a.charCodeAt(++g))>>>18),f(128|h>>>12&63),f(128|h>>>6&63),f(128|63&h)):(f(224|h>>>12),f(128|h>>>6&63),f(128|63&h))}return I_(d,0,p)}(Di(t)),{mtime:0});return{contentType:M_,body:r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength),estimatedSize:r.byteLength}}if(n===vn.Base64){var i=function(a){return a&&btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,(l,u)=>String.fromCharCode(parseInt(u,16))))}(Di(t)),s=(a=>"data="+encodeURIComponent(typeof a=="string"?a:Di(a)))(i);return{contentType:"application/x-www-form-urlencoded",body:s,estimatedSize:new Blob([s]).size}}var o=Di(t);return{contentType:"application/json",body:o,estimatedSize:new Blob([o]).size}}},rd=e=>{var t,n,r,i=hv(e);return!i||(n=e.compression,r=qo(e.url,"compression"),n!==Gg.GZipJS&&r!==Gg.GZipJS&&r!=="gzip")||((t=i.body)instanceof ArrayBuffer?yp(new Uint8Array(t)):ArrayBuffer.isView(t)&&yp(new Uint8Array(t.buffer,t.byteOffset,t.byteLength)))?{url:e.url,encodedBody:i}:(hl=!0,{url:zR(e.url,"compression"),encodedBody:hv(z({},e,{compression:void 0,tr:void 0}))})},$R=function(){var e=St(function*(t){var n=Di(t.data),r=yield function(s,o,a){return xp.apply(this,arguments)}(n,st.DEBUG,{rethrow:!0});if(!r)return t;var i=yield r.arrayBuffer();return z({},t,{tr:{contentType:M_,body:i,estimatedSize:i.byteLength}})});return function(t){return e.apply(this,arguments)}}(),mv=(e,t)=>
233Bc(e,{_:new Date().getTime().toString(),ver:st.JS_SDK_VERSION,compression:t}),ml=[];gp&&ml.push({transport:"fetch",method(e){var t,{url:n,encodedBody:r}=rd(e),{contentType:i,body:s,estimatedSize:o}=r??{},a=new Headers;pe(e.headers,function(d,p){a.append(p,d)}),i&&a.append("Content-Type",i);var l=null;if(Bg){var u=new Bg;l={signal:u.signal,timeout:setTimeout(()=>u.abort(),e.timeout)}}gp(n,z({method:(e==null?void 0:e.method)||"GET",headers:a,keepalive:e.method==="POST"&&52428.8>(o||0),body:s,signal:(t=l)==null?void 0:t.signal},e.fetchOptions)).then(d=>d.text().then(p=>{var f={statusCode:d.status,text:p};if(d.status===200)try{f.json=JSON.parse(p)}catch(g){H.error(g)}e.callback==null||e.callback(f)})).catch(d=>{H.error(d),e.callback==null||e.callback({statusCode:0,error:d})}).finally(()=>l?clearTimeout(l.timeout):null)}}),vp&&ml.push({transport:"XHR",method(e){var t=new vp,{url:n,encodedBody:r}=rd(e);t.open(e.method||"GET",n,!0);var{contentType:i,body:s}=r??{};pe(e.headers,function(o,a){t.setRequestHeader(a,o)}),i&&t.setRequestHeader("Content-Type",i),e.timeout&&(t.timeout=e.timeout),e.disableXHRCredentials||(t.withCredentials=!0),t.onreadystatechange=()=>{if(t.readyState===4){var o={statusCode:t.status,text:t.responseText};if(t.status===200)try{o.json=JSON.parse(t.responseText)}catch{}e.callback==null||e.callback(o)}},t.send(s)}}),At!=null&&At.sendBeacon&&ml.push({transport:"sendBeacon",method(e){try{var{url:t,encodedBody:n}=rd(e),r=Bc(t,{beacon:"1"}),{contentType:i,body:s}=n??{};if(!s)return;var o=s instanceof Blob?s:new Blob([s],{type:i});At.sendBeacon(r,o)}catch{}}});var Qp=3e3;class UR{constructor(t,n){this.Ar=!0,this.Nr=[],this.$r=bn((n==null?void 0:n.flush_interval_ms)||Qp,250,5e3,H.createLogger("flush interval"),Qp),this.Dr=t}enqueue(t){this.Nr.push(t),this.qr||this.jr()}unload(){this.Hr();var t=this.Nr.length>0?this.Ur():{},n=Object.values(t);[...n.filter(r=>r.url.indexOf("/e")===0),...n.filter(r=>r.url.indexOf("/e")!==0)].map(r=>{this.Dr(z({},r,{transport:"sendBeacon"}))})}enable(){this.Ar=!1,this.jr()}jr(){var t=this;this.Ar||(this.qr=setTimeout(()=>{if(this.Hr(),this.Nr.length>0){var n=this.Ur(),r=function(){var s=n[i],o=new Date().getTime();s.data&&te(s.data)&&pe(s.data,a=>{a.offset=Math.abs(a.timestamp-o),delete a.timestamp}),t.Dr(s)};for(var i in n)r()}},this.$r))}Hr(){clearTimeout(this.qr),this.qr=void 0}Ur(){var t={};return pe(this.Nr,n=>{var r,i=n,s=(i?i.batchKey:null)||i.url;W(t[s])&&(t[s]=z({},i,{data:[]})),(r=t[s].data)==null||r.push(i.data)}),this.Nr=[],t}}var HR=["retriesPerformedSoFar"];class qR{constructor(t){this.Br=!1,this.zr=3e3,this.Nr=[],this._instance=t,this.Nr=[],this.Vr=!0,!W(P)&&"onLine"in P.navigator&&(this.Vr=P.navigator.onLine,this.Wr=()=>{this.Vr=!0,this.Zr()},this.Gr=()=>{this.Vr=!1},Re(P,"online",this.Wr),Re(P,"offline",this.Gr))}get length(){return this.Nr.length}retriableRequest(t){var{retriesPerformedSoFar:n}=t,r=Fw(t,HR);wi(n)&&(r.url=Bc(r.url,{retry_count:n})),this._instance._send_request(z({},r,{callback:i=>{i.statusCode===200||i.statusCode>=400&&500>i.statusCode||(n??0)>=10?r.callback==null||r.callback(i):this.Qr(z({retriesPerformedSoFar:n},r))}}))}Qr(t){var n=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=n+1;var r=function(o){var a=3e3*Math.pow(2,o),l=a/2,u=Math.min(18e5,a),d=Math.random()-.5;return Math.ceil(u+d*(u-l))}(n),i=Date.now()+r;this.Nr.push({retryAt:i,requestOptions:t});var s="Enqueued failed request for retry in "+r;navigator.onLine||(s+=" (Browser is offline)"),H.warn(s),this.Br||(this.Br=!0,this.Jr())}Jr(){if(this.Kr&&clearTimeout(this.Kr),this.Nr.length===0)return this.Br=!1,void(this.Kr=void 0);this.Kr=setTimeout(()=>{this.Vr&&this.Nr.length>0&&this.Zr(),this.Jr()},this.zr)}Zr(){var t=Date.now(),n=[],r=this.Nr.filter(s=>t>s.retryAt||(n.push(s),!1));if(this.Nr=n,r.length>0)for(var{requestOptions:i}of r)this.retriableRequest(i)}unload(){for(var{requestOptions:t}of(this.Kr&&(clearTimeout(this.Kr),this.Kr=void 0),this.Br=!1,W(P)||(this.Wr&&(P.removeEventListener("online",this.Wr),this.Wr=void 0),this.Gr&&(P.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Nr))try{this._instance._send_request(z({},t,{transport:"sendBeacon"}))}catch(n){H.error(n)}this.Nr=[]}}class BR{constructor(t){this.Yr=()=>{var n,r,i,s;this.Xr||(this.Xr={});var o=this.scrollElement(),a=this.scrollY(),l=o?Math.max(0,o.scrollHeight-o.clientHeight):0,u=a+((o==null?void 0:o.clientHeight)||0),d=(o==null?void 0:o.scrollHeight)||0;this.Xr.lastScrollY=Math.ceil(a),this.Xr.maxScrollY=Math.max(a,(n=this.Xr.maxScrollY)!==null&&n!==void 0?n:0),this.Xr.maxScrollHeight=Math.max(l,(r=this.Xr.maxScrollHeight)!==null&&r!==void 0?r:0),this.Xr.lastContentY=u,this.Xr.maxContentY=Math.max(u,(i=this.Xr.maxContentY)!==null&&i!==void 0?i:0),this.Xr.maxContentHeight=Math.max(d,(s=this.Xr.maxContentHeight)!==null&&s!==void 0?s:0)},this._instance=t}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Xr}resetContext(){var t=this.Xr;return setTimeout(this.Yr,0),t}startMeasuringScrollPosition(){Re(P,"scroll",this.Yr,{capture:!0}),Re(P,"scrollend",this.Yr,{capture:!0}),Re(P,"resize",this.Yr)}scrollElement(){if(!this.ei)return P==null?void 0:P.document.documentElement;var t=te(this.ei)?this.ei:[this.ei];for(var n of t){var r=P==null?void 0:P.document.querySelector(n);if(r)return r}}scrollY(){if(this.ei){var t=this.scrollElement();return t&&t.scrollTop||0}return P&&(P.scrollY||P.pageYOffset||P.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var t=this.scrollElement();return t&&t.scrollLeft||0}return P&&(P.scrollX||P.pageXOffset||P.document.documentElement.scrollLeft)||0}}var WR=e=>A_(e==null?void 0:e.config.mask_personal_data_properties,e==null?void 0:e.config.custom_personal_data_properties);class gv{constructor(t,n,r,i){this.ti=s=>{var o=this.ri();if(!o||o.sessionId!==s){var a={sessionId:s,props:this.ii(this._instance)};this.ni.register({[$p]:a})}},this._instance=t,this.si=n,this.ni=r,this.ii=i||WR,this.si.onSessionId(this.ti)}ri(){return this.ni.props[$p]}getSetOnceProps(){var t,n=(t=this.ri())==null?void 0:t.props;return n?"r"in n?C_(n):{$referring_domain:n.referringDomain,$pathname:n.initialPathName,utm_source:n.utm_source,utm_campaign:n.utm_campaign,utm_medium:n.utm_medium,utm_content:n.utm_content,utm_term:n.utm_term}:{}}getSessionProps(){var t={};return pe(Th(this.getSetOnceProps()),(n,r)=>{r==="$current_url"&&(r="url"),t["$session_entry_"+wp(r)]=n}),t}}
vendor: 4,117 bytes, line 233
233class Mh{constructor(){this.oi={}}on(t,n){return this.oi[t]||(this.oi[t]=[]),this.oi[t].push(n),()=>{this.oi[t]=this.oi[t].filter(r=>r!==n)}}emit(t,n){for(var r of this.oi[t]||[])r(n);for(var i of this.oi["*"]||[])i(t,n)}}var id=ye("[SessionId]");class vv{on(t,n){return this.ai.on(t,n)}constructor(t,n,r){var i;if(this.ui=[],this.li=void 0,this.ai=new Mh,this.hi=(u,d)=>!(!wi(u)||!wi(d))&&Math.abs(u-d)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===Dn)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.qt=t.config,this.ni=t.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=n||ur,this.fi=r||ur;var s=this.qt.persistence_name||this.qt.token;if(this._sessionTimeoutMs=1e3*bn(this.qt.session_idle_timeout_seconds||1800,60,36e3,id.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+s+"_window_id",this.mi="ph_"+s+"_primary_window_exists",this.yi()){var o=Be.F(this.gi),a=Be.F(this.mi);o&&!a?this.ci=o:Be.q(this.gi),Be.N(this.mi,!0)}if((i=this.qt.bootstrap)!=null&&i.sessionID)try{var l=(u=>{var d=this.qt.bootstrap.sessionID.replace(/-/g,"");if(d.length!==32)throw new Error("Not a valid UUID");if(d[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(d.substring(0,12),16)})();this.bi(this.qt.bootstrap.sessionID,new Date().getTime(),l)}catch(u){id.error("Invalid sessionID in bootstrap",u)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return W(this.ui)&&(this.ui=[]),this.ui.push(t),this.di&&t(this.di,this.ci),()=>{this.ui=this.ui.filter(n=>n!==t)}}yi(){return this.qt.persistence!=="memory"&&!this.ni._r&&Be.R()}xi(t){t!==this.ci&&(this.ci=t,this.yi()&&Be.N(this.gi,t))}Si(){return this.ci?this.ci:this.yi()?Be.F(this.gi):null}bi(t,n,r){t===this.di&&n===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=n,this.di=t,this.ni.register({[Zl]:[n,t,r]}))}ki(){var t=this.ni.props[Zl];return te(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.Ci),this.Ci=void 0,this.li&&P&&(P.removeEventListener(ic,this.li,{capture:!1}),this.li=void 0),this.ui=[]}wi(){this.li=()=>{this.yi()&&Be.q(this.mi)},Re(P,ic,this.li,{capture:!1})}checkAndGetSessionAndWindowId(t,n){if(t===void 0&&(t=!1),n===void 0&&(n=null),this.qt.cookieless_mode===Dn)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var r=n||new Date().getTime(),[i,s,o]=this.ki(),a=this.Si(),l=wi(o)&&Math.abs(r-o)>864e5,u=!1,d=!s,p=!d&&!t&&this.hi(r,i);d||p||l?(s=this.vi(),a=this.fi(),id.info("new session ID generated",{sessionId:s,windowId:a,changeReason:{noSessionId:d,activityTimeout:p,sessionPastMaximumLength:l}}),o=r,u=!0):a||(a=this.fi(),u=!0);var f=wi(i)&&t&&!l?i:r,g=wi(o)?o:new Date().getTime();return this.xi(a),this.bi(s,f,g),t||this.pi(),u&&this.ui.forEach(x=>x(s,a,u?{noSessionId:d,activityTimeout:p,sessionPastMaximumLength:l}:void 0)),{sessionId:s,windowId:a,sessionStartTimestamp:g,changeReason:u?{noSessionId:d,activityTimeout:p,sessionPastMaximumLength:l}:void 0,lastActivityTimestamp:i}}pi(){clearTimeout(this.Ci),this.Ci=setTimeout(()=>{var[t]=this.ki();if(this.hi(new Date().getTime(),t)){var n=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:n})}},1.1*this.sessionTimeoutMs)}}var L_=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&Qg(n,t))return!0;try{var r=e==null?void 0:e.userAgentData;if(r!=null&&r.brands&&r.brands.some(i=>Qg(i==null?void 0:i.brand,t)))return!0}catch{}return!!e.webdriver},uc=function(e,t){if(!function(n){try{new RegExp(n)}catch{return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function yv(e,t,n){return Di({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}var F_={exact:(e,t)=>t.some(n=>e.some(r=>n===r)),is_not:(e,t)=>
233t.every(n=>e.every(r=>n!==r)),regex:(e,t)=>t.some(n=>e.some(r=>uc(n,r))),not_regex:(e,t)=>t.every(n=>e.every(r=>!uc(n,r))),icontains:(e,t)=>t.map(Wa).some(n=>e.map(Wa).some(r=>n.includes(r))),not_icontains:(e,t)=>t.map(Wa).every(n=>e.map(Wa).every(r=>!n.includes(r))),gt:(e,t)=>t.some(n=>{var r=parseFloat(n);return!isNaN(r)&&e.some(i=>r>parseFloat(i))}),lt:(e,t)=>t.some(n=>{var r=parseFloat(n);return!isNaN(r)&&e.some(i=>r<parseFloat(i))})},Wa=e=>e.toLowerCase();function D_(e,t){return!e||Object.entries(e).every(n=>{var[r,i]=n,s=t==null?void 0:t[r];if(W(s)||Yn(s))return!1;var o=[String(s)],a=F_[i.operator];return!!a&&a(i.values,o)})}var Yp="custom",xv="i.posthog.com",VR=/^\/static\//;class GR{constructor(t){this.Ii={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,n=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return n||(n=this.apiHost.replace("."+xv,".posthog.com")),n==="https://app.posthog.com"?"https://us.posthog.com":n}get region(){return this.Ii[this.apiHost]||(this.Ii[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":Yp),this.Ii[this.apiHost]}Ti(t){var n=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof n=="string"&&VR.test(t))return n.trim().replace(/\/$/,"")||void 0}endpointFor(t,n){if(n===void 0&&(n=""),n&&(n=n[0]==="/"?n:"/"+n),t==="ui")return this.uiHost+n;if(t==="flags")return this.flagsApiHost+n;if(t==="assets"){var r=this.Ti(n);if(r)return""+r+n}if(this.region===Yp)return this.apiHost+n;var i=xv+n;switch(t){case"assets":return"https://"+this.region+"-assets."+i;case"api":return"https://"+this.region+"."+i}}}var se=ye("[Surveys]"),Xp="seenSurvey_",KR=[Zu.Popover,Zu.Widget,Zu.API],QR={ignoreConditions:!1,ignoreDelay:!1,displayType:Wp.Popover},YR=ye("[PostHog ExternalIntegrations]"),XR={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class JR{constructor(t){this._instance=t}lr(t,n){var r;(r=G.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,t,i=>{if(i)return YR.error("failed to load script",i);n()})}startIfEnabledOrStop(){var t=this,n=function(o){var a,l,u;!i||(a=G.__PosthogExtensions__)!=null&&(a=a.integrations)!=null&&a[o]||t.lr(XR[o],()=>{var d;(d=G.__PosthogExtensions__)==null||(d=d.integrations)==null||(d=d[o])==null||d.start(t._instance)}),!i&&(l=G.__PosthogExtensions__)!=null&&(l=l.integrations)!=null&&l[o]&&((u=G.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[o])==null||u.stop())};for(var[r,i]of Object.entries((s=this._instance.config.integrations)!==null&&s!==void 0?s:{})){var s;n(r)}}}var yi,vo={},sd=0,Jp=()=>{},wv='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',Bs="Surveys module not available",_v="sanitize_properties is deprecated. Use before_send instead",z_="Invalid value for property_denylist config: ",Si="posthog",$_=!DR&&(ft==null?void 0:ft.indexOf("MSIE"))===-1&&(ft==null?void 0:ft.indexOf("Mozilla"))===-1,bv=e=>{var t;return z({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:hR(q==null?void 0:q.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:Jp,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:qe&&_e(qe==null?void 0:qe.search)&&qe.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(P==null||(t=P.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(n){H.error("Bad HTTP status: "+n.statusCode+" "+n.text)},get_device_id:n=>n,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:Bp,before_send:void 0,request_queue_config:{flush_interval_ms:Qp},error_tracking:{},_onCapture:Jp,__preview_eager_load_replay:!1},(n=>({rageclick:!n||"2025-11-30">n||{content_ignorelist:!0},capture_pageview:!n||"2025-05-24">n||"history_change",session_recording:n&&n>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:n&&n>="2026-01-30"?"head":"body",internal_or_test_user_hostname:n&&n>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},ZR=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],Sv=e=>{var t={};for(var[n,r]of ZR)W(e[n])||(t[r]=e[n]);var i=Ce({},t,e);return te(e.property_blacklist)&&(W(e.property_denylist)?i.property_denylist=e.property_blacklist:te(e.property_denylist)?i.property_denylist=[...e.property_blacklist,...e.property_denylist]:H.error(z_+e.property_denylist)),i};class eT{constructor(){this.__forceAllowLocalhost=!1}get Ei(){return this.__forceAllowLocalhost}set Ei(t){H.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class Ft{Mi(t,n){if(t){var r=this.Pi.indexOf(t);r!==-1&&this.Pi.splice(r,1)}return this.Pi.push(n),n.initialize==null||n.initialize(),n}Ri(){return this.config.cookieless_mode===Dn||this.config.cookieless_mode===Hr&&this.consent.isRejected()}get decideEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new eT,this.Oi=!1,this.version=st.LIB_VERSION,this.Li=new Mh,this.Pi=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=bv(),this.SentryIntegration=ER,this.sentryIntegration=r=>function(i,s){var o=__(i,s);return{name:w_,processEvent:a=>o(a)}}(this,r),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Fi=!1,this.Ai=null,this.Ni=null,this.$i=null,this.scrollManager=new BR(this),this.pageViewM
233anager=new ov(this),this.rateLimiter=new TR(this),this.requestRouter=new GR(this),this.consent=new _R(this),this.externalIntegrations=new JR(this);var n=(t=Ft.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=n.featureFlags&&new n.featureFlags(this),this.toolbar=n.toolbar&&new n.toolbar(this),this.surveys=n.surveys&&new n.surveys(this),this.conversations=n.conversations&&new n.conversations(this),this.logs=n.logs&&new n.logs(this),this.experiments=n.experiments&&new n.experiments(this),this.exceptions=n.exceptions&&new n.exceptions(this),this.people={set:(r,i,s)=>{var o=_e(r)?{[r]:i}:r;this.setPersonProperties(o),s==null||s({})},set_once:(r,i,s)=>{var o=_e(r)?{[r]:i}:r;this.setPersonProperties(void 0,o),s==null||s({})}},this.on("eventCaptured",r=>H.info('send "'+(r==null?void 0:r.event)+'"',r))}init(t,n,r){if(r&&r!==Si){var i,s=(i=vo[r])!==null&&i!==void 0?i:new Ft;return s._init(t,n,r),vo[r]=s,vo[Si][r]=s,s}return this._init(t,n,r)}_init(t,n,r){var i,s;if(n===void 0&&(n={}),W(t)||ul(t))return H.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},n.debug=this.Di(n.debug),this.qi=n,this.ji=[],n.person_profiles?this.Ni=n.person_profiles:n.process_person&&(this.Ni=n.process_person),this.set_config(Ce({},bv(n.defaults),Sv(n),{name:r,token:t})),this.config.on_xhr_error&&H.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=n.disable_compression?void 0:vn.GZipJS;var o=this.Hi();this.persistence=new Ju(this.config,o),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new Ju(z({},this.config,{persistence:"sessionStorage"}),o);var a=z({},this.persistence.props),l=z({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Ui=new UR(_=>this.Bi(_),this.config.request_queue_config),this.zi=new qR(this),this.__request_queue=[];var u=this.Ri();if(u||(this.sessionManager=new vv(this),this.sessionPropsManager=new gv(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(H.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>{this.Vi(u)},0)):(H.info("Initializing extensions synchronously"),this.Vi(u)),st.DEBUG=st.DEBUG||this.config.debug,st.DEBUG&&H.info("Starting in debug mode",{this:this,config:n,thisC:z({},this.config),p:a,s:l}),!this.config.identity_distinct_id||(i=n.bootstrap)!=null&&i.distinctID||(n.bootstrap=z({},n.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((s=n.bootstrap)==null?void 0:s.distinctID)!==void 0){var d=n.bootstrap.distinctID,p=this.get_distinct_id(),f=this.persistence.get_property(Kt);if(n.bootstrap.isIdentifiedID&&p!=null&&p!==d&&f===mi)this.identify(d);else if(n.bootstrap.isIdentifiedID&&p!=null&&p!==d&&f===gi)H.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var g=this.config.get_device_id(ur()),x=n.bootstrap.isIdentifiedID?g:d;this.persistence.set_property(Kt,n.bootstrap.isIdentifiedID?gi:mi),this.register({distinct_id:d,$device_id:x})}}if(u)this.register_once({distinct_id:$a,$device_id:null},"");else if(!this.get_distinct_id()){var h=this.config.get_device_id(ur());this.register_once({distinct_id:h,$device_id:h},""),this.persistence.set_property(Kt,mi)}return Re(P,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),n.segment?function(_,m){var v=_.config.segment;if(!v)return m();(function(y,b){var S=y.config.segment;if(!S)return b();var k=A=>{var C=()=>A.anonymousId()||ur();y.config.get_device_id=C,A.id()&&(y.register({distinct_id:A.id(),$device_id:C()}),y.persistence.set_property(Kt,gi)),b()},E=S.user();"then"in E&&Fn(E.then)?E.then(k):k(E)})(_,()=>{v.register((y=>{Promise&&Promise.resolve||Xu.warn("This browser does not have Promise support, and can not use the segment integration");
233var b=(S,k)=>{if(!k)return S;S.event.userId||S.event.anonymousId===y.get_distinct_id()||(Xu.info("No userId set, resetting PostHog"),y.reset()),S.event.userId&&S.event.userId!==y.get_distinct_id()&&(Xu.info("UserId set, identifying with PostHog"),y.identify(S.event.userId));var E=y.calculateEventProperties(k,S.event.properties);return S.event.properties=Object.assign({},E,S.event.properties),S};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:S=>b(S,S.event.event),page:S=>b(S,bi),identify:S=>b(S,Qu),screen:S=>b(S,"$screen")}})(_)).then(()=>{m()})})}(this,()=>this.Wi()):this.Wi(),Fn(this.config._onCapture)&&this.config._onCapture!==Jp&&(H.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",_=>this.config._onCapture(_.event,_))),this.config.ip&&H.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Vi(t){var n,r,i,s,o,a,l,u=performance.now(),d=z({},Ft.__defaultExtensionClasses,this.config.__extensionClasses),p=[];d.featureFlags&&this.Pi.push(this.featureFlags=(n=this.featureFlags)!==null&&n!==void 0?n:new d.featureFlags(this)),d.exceptions&&this.Pi.push(this.exceptions=(r=this.exceptions)!==null&&r!==void 0?r:new d.exceptions(this)),d.historyAutocapture&&this.Pi.push(this.historyAutocapture=new d.historyAutocapture(this)),d.tracingHeaders&&this.Pi.push(new d.tracingHeaders(this)),d.siteApps&&this.Pi.push(this.siteApps=new d.siteApps(this)),d.sessionRecording&&!t&&this.Pi.push(this.sessionRecording=new d.sessionRecording(this)),this.config.disable_scroll_properties||p.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),d.autocapture&&this.Pi.push(this.autocapture=new d.autocapture(this)),d.surveys&&this.Pi.push(this.surveys=(i=this.surveys)!==null&&i!==void 0?i:new d.surveys(this)),d.logs&&this.Pi.push(this.logs=(s=this.logs)!==null&&s!==void 0?s:new d.logs(this)),d.conversations&&this.Pi.push(this.conversations=(o=this.conversations)!==null&&o!==void 0?o:new d.conversations(this)),d.productTours&&this.Pi.push(this.productTours=new d.productTours(this)),d.heatmaps&&this.Pi.push(this.heatmaps=new d.heatmaps(this)),d.webVitalsAutocapture&&this.Pi.push(this.webVitalsAutocapture=new d.webVitalsAutocapture(this)),d.exceptionObserver&&this.Pi.push(this.exceptionObserver=new d.exceptionObserver(this)),d.deadClicksAutocapture&&this.Pi.push(this.deadClicksAutocapture=new d.deadClicksAutocapture(this,SR)),d.toolbar&&this.Pi.push(this.toolbar=(a=this.toolbar)!==null&&a!==void 0?a:new d.toolbar(this)),d.experiments&&this.Pi.push(this.experiments=(l=this.experiments)!==null&&l!==void 0?l:new d.experiments(this)),this.Pi.forEach(f=>{f.initialize&&p.push(()=>{f.initialize==null||f.initialize()})}),p.push(()=>{if(this.Zi){var f=this.Zi;this.Zi=void 0,this.Rr(f)}}),this.Gi(p,u)}Gi(t,n){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-n>=30&&t.length>0)return void setTimeout(()=>{this.Gi(t,n)},0);var r=t.shift();if(r)try{r()}catch(s){H.error("Error initializing extension:",s)}}var i=Math.round(performance.now()-n);this.register_for_session({[m_]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[g_]:i}),this.config.__preview_deferred_init_extensions&&H.info("PostHog extensions initialized ("+i+"ms)")}Rr(t){var n;if(!q||!q.body)return H.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.Rr(t)},500);this.config.__preview_deferred_init_extensions&&(this.Zi=t),this.Qi=t,this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=X(t.supportedCompression,vn.GZipJS)?vn.GZipJS:X(t.supportedCompression,vn.Base64)?vn.Base64:void 0),(n=t.analytics)!=null&&n.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Ni?this.Ni:Bp}),this.Pi.forEach(r=>r.onRemoteConfig==null?void 0:r.onRemoteConfig(t))}Wi(){try{this.config.loaded(this)}catch(r){H.critical("`loaded` function failed",r)}if(this.Ji(),this.config.internal_or_test_user_hostname&&qe!=null&&qe.hostname){var t=qe.hostname,n=this.config.internal_or_test_user_hostname;(typeof n=="string"?t===n:n.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||this.Ri())&&this.Ki()},1),this.Yi=new N_(this),this.Yi.load()}Ji(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.Ui)==null||t.enable())}_dom_loaded(){this.is_capturing()&&Ua(this.__request_queue,t=>this.Bi(t)),this.__request_queue=[],this.Ji()}_handle_unload(){var t,n,r,i;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Xi()&&this.capture(Ku),(n=this.logs)==null||n.flushLogs("sendBeacon"),(r=this.Ui)==null||r.unload(),(i=this.zi)==null||i.unload()):this.Xi()&&this.capture(Ku,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&($_?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=Bc(t.url,{ip:this.config.ip?1:0}),t.headers=z({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,
233(n=>{var r,i,s,o=z({},n);o.timeout=o.timeout||6e4,o.url=mv(o.url,o.compression);var a=(r=o.transport)!==null&&r!==void 0?r:"fetch",l=ml.filter(d=>!o.disableTransport||!d.transport||!o.disableTransport.includes(d.transport)),u=(i=(s=function(d,p){for(var f=0;d.length>f;f++)if(d[f].transport===a)return d[f]}(l))==null?void 0:s.method)!==null&&i!==void 0?i:l[0].method;if(!u)throw new Error("No available transport method");a!=="sendBeacon"&&o.data&&o.compression===vn.GZipJS&&Sj&&!hl?$R(o).then(d=>{u(d)}).catch(d=>{if(Kg(d))return hl=!0,void u(z({},o,{compression:void 0,url:mv(n.url,void 0)}));(p=>{if(!p||typeof p!="object")return!1;var f="name"in p?String(p.name):"";return Kg(p)||f===Dw})(d)&&(hl=!0),u(o)}):u(o)})(z({},t,{callback:n=>{var r,i;this.rateLimiter.checkForLimiting(n),400>n.statusCode||(r=(i=this.config).on_request_error)==null||r.call(i,n),t.callback==null||t.callback(n)}}))))}Bi(t){this.zi?this.zi.retriableRequest(t):this._send_request(t)}_execute_array(t){sd++;try{var n,r=[],i=[],s=[];Ua(t,a=>{if(a)if(te(n=a[0]))s.push(a);else if(Fn(a))try{a.call(this)}catch(l){H.error("Error executing queued PostHog call",a,l)}else te(a)&&n==="alias"?r.push(a):te(a)&&n.indexOf("capture")!==-1&&Fn(this[n])?s.push(a):i.push(a)});var o=function(a,l){Ua(a,function(u){try{if(te(u[0])){var d=l;pe(u,function(p){d=d[p[0]].apply(d,p.slice(1))})}else l[u[0]].apply(l,u.slice(1))}catch(p){H.error("Error executing queued PostHog call",u,p)}})};o(r,this),o(i,this),o(s,this)}finally{sd--}}push(t){if(sd>0&&te(t)&&_e(t[0])){var n=Ft.prototype[t[0]];Fn(n)&&n.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,n,r){var i,s,o,a,l;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Ui){if(this.is_capturing())if(!W(t)&&_e(t)){var u=!this.config.opt_out_useragent_filter&&this._is_bot();if(!u||this.config.__preview_capture_bot_pageviews){var d=r!=null&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(d==null||!d.isRateLimited){n!=null&&n.$current_url&&!_e(n==null?void 0:n.$current_url)&&(H.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),n==null||delete n.$current_url),t!=="$exception"||r!=null&&r.en||H.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var p=new Date,f=(r==null?void 0:r.timestamp)||p,g=(r==null?void 0:r.uuid)||ur(),x={uuid:g,event:t,properties:this.calculateEventProperties(t,n||{},f,g)};t===bi&&this.config.__preview_capture_bot_pageviews&&u&&(x.event="$bot_pageview",x.properties.$browser_type="bot"),d&&(x.properties.$lib_rate_limit_remaining_tokens=d.remainingTokens),r!=null&&r.$set&&(x.$set=r==null?void 0:r.$set);var h,_,m,v=this.tn(r==null?void 0:r.$set_once,t!==nv,t===Qu);if(v&&(x.$set_once=v),r!=null&&r._noTruncate||(s=this.config.properties_string_max_length,o=x,a=C=>_e(C)?C.slice(0,s):C,l=new Set,x=function C(R,$){return R!==Object(R)?a?a(R):R:l.has(R)?void 0:(l.add(R),te(R)?(L=[],Ua(R,U=>{L.push(C(U))})):(L={},pe(R,(U,I)=>{l.has(U)||(L[I]=C(U))})),L);var L}(o)),x.timestamp=f,W(r==null?void 0:r.timestamp)||(x.properties.$event_time_override_provided=!0,x.properties.$event_time_override_system_time=p),t===no.DISMISSED||t===no.SENT){var y=n==null?void 0:n[ed.SURVEY_ID],b=n==null?void 0:n[ed.SURVEY_ITERATION];(C=>{try{var R=($=>((L,U)=>{var I=""+Xp+U.id;return U.current_iteration&&U.current_iteration>0&&(I=""+Xp+U.id+"_"+U.current_iteration),I})(0,$))(C);if(localStorage.getItem(R))return;localStorage.setItem(R,"true")}catch($){se.error("Failed to persist survey seen state",$)}})({id:y,current_iteration:b}),x.$set=z({},x.$set,{[(h={id:y,current_iteration:b},_=t===no.SENT?"responded":"dismissed",m="$survey_"+_+"/"+h.id,h.current_iteration&&h.current_iteration>0&&(m="$survey_"+_+"/"+h.id+"/"+h.current_iteration),m)]:!0})}else t===no.SHOWN&&(x.$set=z({},x.$set,{[ed.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===RR.SHOWN){var S=n==null?void 0:n[lv.TOUR_TYPE];S&&(x.$set=z({},x.$set,{[lv.TOUR_LAST_SEEN_DATE+"/"+S]:new Date().toISOString()}))}var k=z({},x.properties.$set,x.$set);if(Li(k)||this.setPersonPropertiesForFlags(k),!J(this.config.before_send)){var E=this.rn(x);if(!E)return;x=E}this.Li.emit("eventCaptured",x);var A={method:"POST",url:(i=r==null?void 0:r._url)!==null&&i!==void 0?i:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:x,compression:"best-available",batchKey:r==null?void 0:r._batchKey,transport:r==null?void 0:r.transport};return!this.config.request_batching||r&&(r==null||!r._batchKey)||r!=null&&r.send_instantly?this.Bi(A):this.Ui.enqueue(A),x}H.critical("This capture call is ignored due to client rate limiting.")}}else H.error("No event name provided to posthog.capture")}else H.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",n=>t(n.event,n))}calculateEventProperties(t,n,r,i,s){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return n;var o=s?void 0:this.persistence.remove_event_timer(t),a=z({},n);if(a.token=this.config.token,a.$config_defaults=this.config.defaults,this.Ri()&&(a.$cookieless_mode=!0),t==="$snapshot"){var l=z({},this.persistence.properties(),this.sessionPersistence.properties());
233return a.distinct_id=l.distinct_id,(!_e(a.distinct_id)&&!Bt(a.distinct_id)||ul(a.distinct_id))&&H.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),a}var u,d=function(m,v){var y,b,S,k;if(!ft)return{};var E,A,C,R,$,L,U,I,j=m?[...ys,...v||[]]:[],[T,F]=function(N){for(var M=0;Jg.length>M;M++){var[B,K]=Jg[M],ee=B.exec(N),oe=ee&&(Fn(K)?K(ee,N):K);if(oe)return oe}return["",""]}(ft);return Ce(Th({$os:T,$os_version:F,$browser:r_(ft,navigator.vendor),$device:Zg(ft),$device_type:(A=ft,C={userAgentDataPlatform:(y=navigator)==null||(y=y.userAgentData)==null?void 0:y.platform,maxTouchPoints:(b=navigator)==null?void 0:b.maxTouchPoints,screenWidth:P==null||(S=P.screen)==null?void 0:S.width,screenHeight:P==null||(k=P.screen)==null?void 0:k.height,devicePixelRatio:P==null?void 0:P.devicePixelRatio},I=Zg(A),I===qw||I===Hw||I==="Kobo"||I==="Kindle Fire"||I===n_?ms:I===Uo||I===Qi||I===Ho||I===bp?"Console":I===Ww?"Wearable":I?Nt:(C==null?void 0:C.userAgentDataPlatform)==="Android"&&((R=C==null?void 0:C.maxTouchPoints)!==null&&R!==void 0?R:0)>0?600>Math.min(($=C==null?void 0:C.screenWidth)!==null&&$!==void 0?$:0,(L=C==null?void 0:C.screenHeight)!==null&&L!==void 0?L:0)/((U=C==null?void 0:C.devicePixelRatio)!==null&&U!==void 0?U:1)?Nt:ms:"Desktop"),$timezone:P_(),$timezone_offset:NR()}),{$current_url:Bo(qe==null?void 0:qe.href,j,Wo),$host:qe==null?void 0:qe.host,$pathname:qe==null?void 0:qe.pathname,$raw_user_agent:ft.length>1e3?ft.substring(0,997)+"...":ft,$browser_version:$j(ft,navigator.vendor),$browser_language:av(),$browser_language_prefix:(E=av(),typeof E=="string"?E.split("-")[0]:void 0),$screen_height:P==null?void 0:P.screen.height,$screen_width:P==null?void 0:P.screen.width,$viewport_height:P==null?void 0:P.innerHeight,$viewport_width:P==null?void 0:P.innerWidth,$lib:st.LIB_NAME,$lib_version:st.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:p,windowId:f}=this.sessionManager.checkAndGetSessionAndWindowId(s,r.getTime());a.$session_id=p,a.$window_id=f}this.sessionPropsManager&&Ce(a,this.sessionPropsManager.getSessionProps());try{var g;this.sessionRecording&&Ce(a,this.sessionRecording.sdkDebugProperties),a.$sdk_debug_retry_queue_size=(g=this.zi)==null?void 0:g.length}catch(m){a.$sdk_debug_error_capturing_properties=String(m)}if(this.requestRouter.region===Yp&&(a.$lib_custom_api_host=this.config.api_host),u=t!==bi||s?t!==Ku||s?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,i),a=Ce(a,u),t===bi&&q&&(a.title=q.title),!W(o)){var x=r.getTime()-o;a.$duration=parseFloat((x/1e3).toFixed(3))}ft&&this.config.opt_out_useragent_filter&&(a.$browser_type=this._is_bot()?"bot":"browser"),(a=Ce({},d,this.persistence.properties(),this.sessionPersistence.properties(),a)).$is_identified=this._isIdentified(),te(this.config.property_denylist)?pe(this.config.property_denylist,function(m){delete a[m]}):H.error(z_+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var h=this.config.sanitize_properties;h&&(H.error(_v),a=h(a,t));var _=this.nn();return a.$process_person_profile=_,_&&!s&&this.sn("_calculate_event_properties"),a}tn(t,n,r){var i;if(n===void 0&&(n=!0),r===void 0&&(r=!1),!this.persistence||!this.nn()||this.Oi&&!r)return t;var s=this.persistence.get_initial_props(),o=(i=this.sessionPropsManager)==null?void 0:i.getSetOnceProps(),a=Ce({},s,o||{},t||{}),l=this.config.sanitize_properties;return l&&(H.error(_v),a=l(a,"$set_once")),n&&(this.Oi=!0),Li(a)?void 0:a}register(t,n){var r;(r=this.persistence)==null||r.register(t,n)}register_once(t,n,r){var i;(i=this.persistence)==null||i.register_once(t,n,r)}register_for_session(t){var n;(n=this.sessionPersistence)==null||n.register(t)}unregister(t){var n;(n=this.persistence)==null||n.unregister(t)}unregister_for_session(t){var n;(n=this.sessionPersistence)==null||n.unregister(t)}an(t,n){this.register({[t]:n})}getFeatureFlag(t,n){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlag(t,n)}getFeatureFlagPayload(t){var n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlagPayload(t)}getFeatureFlagResult(t,n){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlagResult(t,n)}isFeatureEnabled(t,n){var r;return(r=this.featureFlags)==null?void 0:r.isFeatureEnabled(t,n)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,n,r){var i;(i=this.featureFlags)==null||i.updateFlags(t,n,r)}updateEarlyAccessFeatureEnrollment(t,n,r){var i;(i=this.featureFlags)==null||i.updateEarlyAccessFeatureEnrollment(t,n,r)}getEarlyAccessFeatures(t,n,r){var i;return n===void 0&&(n=!1),(i=this.featureFlags)==null?void 0:i.getEarlyAccessFeatures(t,n,r)}on(t,n){return this.Li.on(t,n)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:Bs}),()=>{})}onSessionId(t){var n,r;return(n=(r=this.sessionManager)==null?void 0:r.onSessionId(t))!==null&&n!==void 0?n:()=>{}}getSurveys(t,n){n===void 0&&(n=!1),this.surveys?this.surveys.getSurveys(t,n):t([],{isLoaded:!1,error:Bs})}getActiveMatchingSurveys(t,n){n===void 0&&(n=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,n):t([],{isLoaded:!1,error:Bs})}renderSurvey(t,n){var r;(r=this.surveys)==null||r.renderSurvey(t,n)}displaySurvey(t,n){var r;n===void 0&&(n=QR),(r=this.surveys)==null||r.displaySurvey(t,n)}cancelPendingSurvey(t){var n;(n=this.surveys)==null||n.cancelPendingSurvey(t)}canRenderSurvey(t){var n,r;return(n=(r=this.surveys)==null?void 0:r.canRenderSurvey(t))!==null&&n!==void 0?n:{visible:!1,disabledReason:Bs}}canRenderSurveyAsync(t,n){var r,i;return n===void 0&&(n=!1),(r=(i=this.surveys)==null?void 0:i.canRenderSurveyAsync(t,n))!==null&&r!==void 0?r:Promise.resolve({visible:!1,disabledReason:Bs})}un(t){return!t||ul(t)?(H.critical("Unique user id has not been set in posthog.identify"),!1):t===$a?(H.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(t.toLowerCase())&&!["undefined","null"].includes(t.toLowerCase())||(H.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and n
233ot a hardcoded string.'),!1)}identify(t,n,r){if(!this.__loaded||!this.persistence)return H.uninitializedWarning("posthog.identify");if(Bt(t)&&(t=t.toString(),H.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.un(t)&&this.sn("posthog.identify")){var i=this.get_distinct_id();this.register({$user_id:t}),this.get_property(Jl)||this.register_once({$had_persisted_distinct_id:!0,$device_id:i},""),t!==i&&t!==this.get_property(Js)&&(this.unregister(Js),this.register({distinct_id:t}));var s,o=(this.persistence.get_property(Kt)||mi)===mi;t!==i&&o?(this.persistence.set_property(Kt,gi),this.setPersonPropertiesForFlags({$set:n||{},$set_once:r||{}},!1),this.capture(Qu,{distinct_id:t,$anon_distinct_id:i},{$set:n||{},$set_once:r||{}}),this.$i=yv(t,n,r),(s=this.featureFlags)==null||s.setAnonymousDistinctId(i)):(n||r)&&this.setPersonProperties(n,r),t!==i&&(this.reloadFeatureFlags(),this.unregister(mo))}}setPersonProperties(t,n){if((t||n)&&this.sn("posthog.setPersonProperties")){var r=yv(this.get_distinct_id(),t,n);this.$i!==r?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:n||{}},!0),this.capture("$set",{$set:t||{},$set_once:n||{}}),this.$i=r):H.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,n,r){if(t&&n){var i=this.getGroups(),s=i[t]!==n;if(s&&this.resetGroupPropertiesForFlags(t),this.register({$groups:z({},i,{[t]:n})}),s||r){var o={$group_type:t,$group_key:n};r&&(o.$group_set=r),this.capture(nv,o)}r&&this.setGroupPropertiesForFlags({[t]:r}),s&&!r&&this.reloadFeatureFlags()}else H.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,n){var r;n===void 0&&(n=!0),(r=this.featureFlags)==null||r.setPersonPropertiesForFlags(t,n)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,n){var r;n===void 0&&(n=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((r=this.featureFlags)==null||r.setGroupPropertiesForFlags(t,n))}resetGroupPropertiesForFlags(t){var n;(n=this.featureFlags)==null||n.resetGroupPropertiesForFlags(t)}reset(t){var n,r,i,s,o,a,l,u;if(H.info("reset"),!this.__loaded)return H.uninitializedWarning("posthog.reset");var d,p=this.get_property(Jl),f=this.get_property(Vr);if(this.consent.reset(),(n=this.persistence)==null||n.clear(),(r=this.sessionPersistence)==null||r.clear(),W(f)||(d=this.persistence)==null||d.register({[Vr]:f}),(i=this.surveys)==null||i.reset(),(s=this.Yi)==null||s.stop(),(o=this.featureFlags)==null||o.reset(),(a=this.conversations)==null||a.reset(),(l=this.persistence)==null||l.set_property(Kt,mi),(u=this.sessionManager)==null||u.resetSessionId(),this.$i=null,this.config.cookieless_mode===Dn)this.register_once({distinct_id:$a,$device_id:null},"");else{var g=this.config.get_device_id(ur());this.register_once({distinct_id:g,$device_id:t?g:p},"")}this.register({$last_posthog_reset:new Date().toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(t,n){var r;this.config.identity_distinct_id=t,this.config.identity_hash=n,this.alias(t),(r=this.conversations)==null||r.ln()}clearIdentity(){var t;delete this.config.identity_distinct_id,delete this.config.identity_hash,(t=this.conversations)==null||t.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,n;return(t=(n=this.sessionManager)==null?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:n,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),i=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+n);if(t!=null&&t.withTimestamp&&r){var s,o=(s=t.timestampLookBack)!==null&&s!==void 0?s:10;if(!r)return i;i+="?t="+Math.max(Math.floor((new Date().getTime()-r)/1e3)-o,0)}return i}alias(t,n){return t===this.get_property(c_)?(H.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?(W(n)&&(n=this.get_distinct_id()),t!==n?(this.an(Js,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(H.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var n=z({},this.config);if(Ne(t)){var r,i,s,o,a,l,u,d,p,f;Ce(this.config,Sv(t));var g=this.Hi();(r=this.persistence)==null||r.update_config(this.config,n,g),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new Ju(z({},this.config,{persistence:"sessionStorage"}),g);var x=this.Di(this.config.debug);_n(x)&&(this.config.debug=x),_n(this.config.debug)&&(this.config.debug?(st.DEBUG=!0,we.R()&&we.N("ph_debug",!0),H.info("set_config",{config:t,oldConfig:n,newConfig:z({},this.config)})):(st.DEBUG=!1,we.R()&&we.q("ph_debug"))),(i=this.exceptionObserver)==null||i.onConfigChange(),(s=this.exceptions)==null||s.onConfigChange(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),(a=this.autocapture)==null||a.startIfEnabled(),(l=this.heatmaps)==null||l.startIfEnabled(),(u=this.exceptionObserver)==null||u.startIfEnabledOrStop(),(d=this.deadClicksAutocapture)==null||d.startIfEnabledOrStop(),(p=this.surveys)==null||p.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(t,n){st.LIB_NAME=t,st.LIB_VERSION=n}startSessionRecording(t){var n,r,i,s,o,a=t===!0,l={sampling:a||!(t==null||!t.sampling),linked_flag:a||!(t==null||!t.linked_flag),url_trigger:a||!(t==null||!t.url_trigger),event_trigger:a||!(t==null||!t.event_trigger)};Object.values(l).some(Boolean)&&((n=this.sessionManager)==null||n.checkAndGetSessionAndWindowId(),l.sampling&&((r=this.sessionRecording)==null||r.overrideSampling()),l.linked_flag&&((i=this.sessionRecording)==null||i.overrideLinkedFlag()),l.url_trigger&&((s=this.sessionRecording)==null||s.overrideTrigger("url")),l.event_trigger&&((o=this.sessionRecording)==null||o.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,n){if(this.exceptions){var r=new Error("PostHog syntheticException"),i=this.exceptions.buildProperties(t,{handled:!0,syntheticException:r});return this.exceptions.sendExceptionEvent(z({},i,n))}}addExceptionStep(t,n){var r;(r=this.exceptions)==null||r.addExceptionStep(t,n)}captureLog(t){var n;(n=this.logs)==null||n.captureLog(t)}get logger(){var t,n;return(t=(n=this.logs)==null?void 0:n.logger)!==null&&t!==void 0?t:Ft.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var n,r;return(n=(r=this.toolbar)==null?void 0:r.loadToolbar(t))!==null&&n!==void 0&&n}get_property(t){var n;return(n=this.persistence)==null?void 0:n.props[t]}getSessionProperty(t){var n;return(n=this.sessionPersistence)==null?void 0:n.props[t]}toString(){var t,n=(t=this.config.name)!==null&&t!==void 0?t:Si;return n!==Si&&(n=Si+"."+n),n}_isIdentified(){var t,n;return((t=this.persistence)==null?void 0:t.get_property(Kt))===gi||((n=this.sessionPersistence)==null?void 0:n.get_property(Kt))===gi}nn(){var t,n;return!(this.config.person_profiles==="never"||this.config.person_profiles===Bp&&!this._isIdentified()&&Li(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[Js])&&((n=this.persistence)==null||(n=n.props)==null||!n[nc]))}Xi(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.nn()||this.sn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.sn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}sn(t){return this.config.person_profiles==="never"?(H.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(nc,!0),!0)}Hi(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut();return this.config.disable_persistence||t&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==Hr)}cn(){var t,n,r,i,s=this.Hi();return((t=this.persistence)==null?void 0:t._r)!==s&&((r=this.persistence)==null||r.set_disabled(s)),((n=this.sessionPersistence)==null?void 0:n._r)!==s&&((i=this.sessionPersistence)==null||i.set_disabled(s)),s}opt_in_capturing(t){var n;if(this.config.cookieless_mode!==Dn){if(this.Ri()){var r,i,s,o,a;this.reset(!0),(r=this.sessionManager)==null||r.destroy(),(i=this.pageViewM
233anager)==null||i.destroy(),this.sessionManager=new vv(this),this.pageViewManager=new ov(this),this.persistence&&(this.sessionPropsManager=new gv(this,this.sessionManager,this.persistence));var l,u=(s=(o=this.config.__extensionClasses)==null?void 0:o.sessionRecording)!==null&&s!==void 0?s:(a=Ft.__defaultExtensionClasses)==null?void 0:a.sessionRecording;u&&(this.sessionRecording=this.Mi(this.sessionRecording,new u(this)),this.Qi&&((l=this.sessionRecording)==null||l.onRemoteConfig==null||l.onRemoteConfig(this.Qi)))}var d,p;this.consent.optInOut(!0),this.cn(),this.Ji(),(n=this.sessionRecording)==null||n.startIfEnabledOrStop(),this.config.cookieless_mode==Hr&&((d=this.surveys)==null||d.loadIfEnabled()),(W(t==null?void 0:t.captureEventName)||t!=null&&t.captureEventName)&&this.capture((p=t==null?void 0:t.captureEventName)!==null&&p!==void 0?p:"$opt_in",t==null?void 0:t.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ki()}else H.warn(wv)}opt_out_capturing(){var t,n,r;this.config.cookieless_mode!==Dn?(this.config.cookieless_mode===Hr&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===Hr&&(this.register({distinct_id:$a,$device_id:null}),(t=this.sessionRecording)==null||t.stopRecording(),this.sessionRecording=void 0,(n=this.sessionManager)==null||n.destroy(),(r=this.pageViewManager)==null||r.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,this.Ki())):H.warn(wv)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===1?"granted":t===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===Dn||(this.config.cookieless_mode===Hr?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return At?L_(At,this.config.custom_blocked_useragents):void 0}Ki(){q&&(q.visibilityState==="visible"?this.Fi||(this.Fi=!0,this.capture(bi,{title:q.title},{send_instantly:!0}),this.Ai&&(q.removeEventListener(rc,this.Ai),this.Ai=null)):this.Ai||(this.Ai=this.Ki.bind(this),Re(q,rc,this.Ai)))}debug(t){t===!1?(P==null||P.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(P==null||P.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Lr(){var t,n,r,i,s,o,a=this.qi||{};return"advanced_disable_flags"in a?!!a.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(H.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(r="advanced_disable_decide",i=H,s=(n="advanced_disable_flags")in(t=a)&&!J(t[n]),o=r in t&&!J(t[r]),s?t[n]:!!o&&(i&&i.warn("Config field '"+r+"' is deprecated. Please use '"+n+"' instead. The old field will be removed in a future major version."),t[r]))}rn(t){if(J(this.config.before_send))return t;var n=te(this.config.before_send)?this.config.before_send:[this.config.before_send],r=t;for(var i of n){if(r=i(r),J(r)){var s="Event '"+t.event+"' was rejected in beforeSend function";return Pj(t.event)?H.warn(s+". This can cause unexpected behavior."):H.info(s),null}r.properties&&!Li(r.properties)||H.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var t;return(t=this.pageViewManager.dr)==null?void 0:t.pageViewId}captureTraceFeedback(t,n){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:n})}captureTraceMetric(t,n,r){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:n,$ai_metric_value:String(r)})}Di(t){var n=_n(t)&&!t,r=we.R()&&we.A("ph_debug")==="true";return!n&&(!!r||t)}}Ft.__defaultExtensionClasses={},Ft.dn={trace:yi=()=>{},debug:yi,info:yi,warn:yi,error:yi,fatal:yi},function(e,t){for(var n=0;t.length>n;n++)e.prototype[t[n]]=pR(e.prototype[t[n]])}(Ft,["identify"]);var tT=1,nT=3,rT=11;function Ev(e){return e instanceof Element&&(e.id===h_||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function li(e){return!!e&&e.nodeType===tT}function tn(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function U_(e){return!!e&&e.nodeType===nT}function H_(e){return!!e&&e.nodeType===rT&&li(e.host)}function Lh(e){return e?Hc(e).split(/\s+/):[]}function kv(e){var t=P==null?void 0:P.location.href;return!!(t&&e&&e.some(n=>t.match(n)))}function dc(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return Lh(t)}function q_(e){return J(e)?null:Hc(e).split(/(\s+)/).filter(t=>yo(t)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Vo(e){var t="";return ef(e)&&!W_(e)&&e.childNodes&&e.childNodes.length&&pe(e.childNodes,function(n){var r;U_(n)&&n.textContent&&(t+=(r=q_(n.textContent))!==null&&r!==void 0?r:"")}),Hc(t)}function Av(e){return W(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var Fh=["a","button","form","input","select","textarea","label"];function Cv(e,t){if(W(t))return!0;var n,r=function(s){if(t.some(o=>s.matches(o)))return{v:!0}};for(var i of e)if(n=r(i))return n.v;return!1}function B_(e){var t=e.parentNode;return!(!t||!li(t))&&t}var iT=["next","previous","prev",">","<"],Pv=[".ph-no-rageclick",".ph-no-capture"],Zp=e=>!e||tn(e,"html")||!li(e),Nv=(e,t)=>{if(!P||Zp(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var n=!1,r=[e],i=e;i.parentNode&&!tn(i,"body");)if(H_(i.parentNode))r.push(i.parentNode.host),i=i.parentNode.host;else{var s=B_(i);if(!s)break;if(t||Fh.indexOf(s.tagName.toLowerCase())>-1)n=!0;else{var o=P.getComputedStyle(s);o&&o.getPropertyValue("cursor")==="pointer"&&(n=!0)}r.push(s),i=s}return{parentIsUsefulElement:n,targetElementList:r}};function ef(e){for(var t=e;t.parentNode&&!tn(t,"body");t=t.parentNode){var n=dc(t);if(X(n,"ph-sensitive")||X(n,"ph-no-capture"))return!1}if(X(dc(e),"ph-include"))return!0;var r=e.type||"";if(_e(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}
vendor: 2,114 bytes, line 233
233var i=e.name||e.id||"";return!_e(i)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,""))}function W_(e){return!!(tn(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||tn(e,"select")||tn(e,"textarea")||e.getAttribute("contenteditable")==="true")}var V_="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",sT=new RegExp("^(?:"+V_+")$"),oT=new RegExp(V_),G_="\\d{3}-?\\d{2}-?\\d{4}",aT=new RegExp("^("+G_+")$"),lT=new RegExp("("+G_+")");function yo(e,t){return t===void 0&&(t=!0),!(J(e)||_e(e)&&(e=Hc(e),(t?sT:oT).test((e||"").replace(/[- ]/g,""))||(t?aT:lT).test(e)))}function jv(e){var t=Vo(e);return yo(t=(t+" "+K_(e)).trim())?t:""}function K_(e){var t="";return e&&e.childNodes&&e.childNodes.length&&pe(e.childNodes,function(n){var r;if(n&&((r=n.tagName)==null?void 0:r.toLowerCase())==="span")try{var i=Vo(n);t=(t+" "+i).trim(),n.childNodes&&n.childNodes.length&&(t=(t+" "+K_(n)).trim())}catch(s){H.error("[AutoCapture]",s)}}),t}function Rv(e){return e.replace(/"|\\"/g,'\\"')}function cT(e){var t=e.attr__class;return t?te(t)?t:Lh(t):void 0}class Tv{constructor(t){this.disabled=t===!1;var n=Ne(t)?t:{};this.thresholdPx=n.threshold_px||30,this.timeoutMs=n.timeout_ms||1e3,this.clickCount=n.click_count||3,this.clicks=[]}isRageClick(t,n,r){if(this.disabled)return!1;var i=this.clicks[this.clicks.length-1];if(i&&Math.abs(t-i.x)+Math.abs(n-i.y)<this.thresholdPx&&this.timeoutMs>r-i.timestamp){if(this.clicks.push({x:t,y:n,timestamp:r}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:n,timestamp:r}];return!1}}var od="$copy_autocapture",ad=ye("[AutoCapture]");function ld(e,t){return t.length>e?t.slice(0,e)+"...":t}function uT(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!li(t));return t}function dT(e,t){var n,r,{e:i,maskAllElementAttributes:s,maskAllText:o,elementAttributeIgnoreList:a,elementsC
233hainAsString:l}=t;if(!li(e))return{props:{}};for(var u=[e],d=e;d.parentNode&&!tn(d,"body");)if(H_(d.parentNode))u.push(d.parentNode.host),d=d.parentNode.host;else{if(!li(d.parentNode))break;u.push(d.parentNode),d=d.parentNode}var p,f,g=[],x={},h=!1,_=!1;if(pe(u,S=>{var k=ef(S);if(tn(S,"a")){var E=S.getAttribute("href");h=k&&!!E&&yo(E)&&E}X(dc(S),"ph-no-capture")&&(_=!0),g.push(function(C,R,$,L){var U=C.tagName.toLowerCase(),I={tag_name:U};Fh.indexOf(U)>-1&&!$&&(I.$el_text=U.toLowerCase()==="a"||U.toLowerCase()==="button"?ld(1024,jv(C)):ld(1024,Vo(C)));var j=dc(C);j.length>0&&(I.classes=j.filter(function(M){return M!==""})),pe(C.attributes,function(M){var B;if((!W_(C)||["name","id","class","aria-label"].indexOf(M.name)!==-1)&&(L==null||!L.includes(M.name))&&!R&&yo(M.value)&&(!_e(B=M.name)||B.substring(0,10)!=="_ngcontent"&&B.substring(0,7)!=="_nghost")){var K=M.value;M.name==="class"&&(K=Lh(K).join(" ")),I["attr__"+M.name]=ld(1024,K)}});for(var T=1,F=1,N=C;N=uT(N);)T++,N.tagName===C.tagName&&F++;return I.nth_child=T,I.nth_of_type=F,I}(S,s,o,a));var A=function(C){if(!ef(C))return{};var R={};return pe(C.attributes,function($){if($.name&&$.name.indexOf("data-ph-capture-attribute")===0){var L=$.name.replace("data-ph-capture-attribute-",""),U=$.value;L&&U&&yo(U)&&(R[L]=U)}}),R}(S);Ce(x,A)}),_)return{props:{},explicitNoCapture:_};if(o||(g[0].$el_text=tn(e,"a")||tn(e,"button")?jv(e):Vo(e)),h){var m,v;g[0].attr__href=h;var y=(m=oc(h))==null?void 0:m.host,b=P==null||(v=P.location)==null?void 0:v.host;y&&b&&y!==b&&(p=h)}return{props:Ce({$event_type:i.type,$ce_version:1},l?{}:{$elements:g},{$elements_chain:(f=g,function(S){return S.map(k=>{var E,A,C="";if(k.tag_name&&(C+=k.tag_name),k.attr_class)for(var R of(k.attr_class.sort(),k.attr_class))C+="."+R.replace(/"/g,"");var $=z({},k.text?{text:k.text}:{},{"nth-child":(E=k.nth_child)!==null&&E!==void 0?E:0,"nth-of-type":(A=k.nth_of_type)!==null&&A!==void 0?A:0},k.href?{href:k.href}:{},k.attr_id?{attr_id:k.attr_id}:{},k.attributes),L={};return fl($).sort((U,I)=>{var[j]=U,[T]=I;return j.localeCompare(T)}).forEach(U=>{var[I,j]=U;return L[Rv(I.toString())]=Rv(j.toString())}),(C+=":")+fl(L).map(U=>{var[I,j]=U;return I+'="'+j+'"'}).join("")}).join(";")}(function(S){return S.map(k=>{var E,A,C={text:(E=k.$el_text)==null?void 0:E.slice(0,400),tag_name:k.tag_name,href:(A=k.attr__href)==null?void 0:A.slice(0,2048),attr_class:cT(k),attr_id:k.attr__id,nth_child:k.nth_child,nth_of_type:k.nth_of_type,attributes:{}};return fl(k).filter(R=>{var[$]=R;return $.indexOf("attr__")===0}).forEach(R=>{var[$,L]=R;return C.attributes[$]=L}),C})}(f)))},(n=g[0])!=null&&n.$el_text?{$el_text:(r=g[0])==null?void 0:r.$el_text}:{},p&&i.type==="click"?{$external_click_url:p}:{},x)}}var Ws=ye("[ExceptionAutocapture]");function Ov(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],i=n(r);return Fn(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}var pT=ye("[TracingHeaders]"),tr=ye("[Web Vitals]"),Iv=9e5,Mv="disabled",Lv="lazy_loading",Vs="awaiting_config",Va="missing_config";ye("[SessionRecording]"),ye("[SessionRecording]");var tf="[SessionRecording]",Rn=ye(tf),fT=ye("[Heatmaps]");function Fv(e){return Ne(e)&&"clientX"in e&&"clientY"in e&&Bt(e.clientX)&&Bt(e.clientY)}var Dv=ye("[Product Tours]"),hT=["$set_once","$set"],nr=ye("[SiteApps]"),zv="Error while initializing PostHog app with config id ";function xi(e,t,n){if(J(e))return!1;switch(n){case"exact":return e===t;case"contains":var r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(r,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class mT{constructor(t){this.vn=new Mh,this.fn=(n,r)=>this.pn(n,r)&&this.gn(n,r)&&this.mn(n,r)&&this.yn(n,r),this.pn=(n,r)=>r==null||!r.event||(n==null?void 0:n.event)===(r==null?void 0:r.event),this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,n;W((t=this._instance)==null?void 0:t._addCaptureHook)||(n=this._instance)==null||n._addCaptureHook((r,i)=>{this.on(r,i)})}register(t){var n,r;if(!W((n=this._instance)==null?void 0:n._addCaptureHook)&&(t.forEach(o=>{var a,l;(a=this._n)==null||a.add(o),(l=o.steps)==null||l.forEach(u=>{var d;
vendor: 5,590 bytes, line 233
233(d=this.bn)==null||d.add((u==null?void 0:u.event)||"")})}),(r=this._instance)!=null&&r.autocapture)){var i,s=new Set;t.forEach(o=>{var a;(a=o.steps)==null||a.forEach(l=>{l!=null&&l.selector&&s.add(l==null?void 0:l.selector)})}),(i=this._instance)==null||i.autocapture.setElementSelectors(s)}}on(t,n){var r;n!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(n==null?void 0:n.event))&&this._n&&((r=this._n)==null?void 0:r.size)>0&&this._n.forEach(i=>{this.wn(n,i)&&this.vn.emit("actionCaptured",i.name)})}xn(t){this.onAction("actionCaptured",n=>t(n))}wn(t,n){if((n==null?void 0:n.steps)==null)return!1;for(var r of n.steps)if(this.fn(t,r))return!0;return!1}onAction(t,n){return this.vn.on(t,n)}gn(t,n){if(n!=null&&n.url){var r,i=t==null||(r=t.properties)==null?void 0:r.$current_url;if(!i||typeof i!="string"||!xi(i,n.url,n.url_matching||"contains"))return!1}return!0}mn(t,n){return!!this.Sn(t,n)&&!!this.kn(t,n)&&!!this.Cn(t,n)}Sn(t,n){var r;if(n==null||!n.href)return!0;var i=this.In(t);if(i.length>0)return i.some(a=>xi(a.href,n.href,n.href_matching||"exact"));var s,o=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!o&&xi((s=o.match(/(?::|")href="(.*?)"/))?s[1]:"",n.href,n.href_matching||"exact")}kn(t,n){var r;if(n==null||!n.text)return!0;var i=this.In(t);if(i.length>0)return i.some(u=>xi(u.text,n.text,n.text_matching||"exact")||xi(u.$el_text,n.text,n.text_matching||"exact"));var s,o,a,l=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!l&&(s=function(u){for(var d,p=[],f=/(?::|")text="(.*?)"/g;!J(d=f.exec(u));)p.includes(d[1])||p.push(d[1]);return p}(l),o=n.text,a=n.text_matching||"exact",s.some(u=>xi(u,o,a)))}Cn(t,n){var r,i;if(n==null||!n.selector)return!0;var s=t==null||(r=t.properties)==null?void 0:r.$element_selectors;if(s!=null&&s.includes(n.selector))return!0;var o=(t==null||(i=t.properties)==null?void 0:i.$elements_chain)||"";if(n.selector_regex&&o)try{return new RegExp(n.selector_regex).test(o)}catch{return!1}return!1}In(t){var n;return(t==null||(n=t.properties)==null?void 0:n.$elements)==null?[]:t==null?void 0:t.properties.$elements}yn(t,n){return n==null||!n.properties||n.properties.length===0||D_(n.properties.reduce((r,i)=>{var s=te(i.value)?i.value.map(String):i.value!=null?[String(i.value)]:[];return r[i.key]={values:s,operator:i.operator||"exact"},r},{}),t==null?void 0:t.properties)}}class gT{constructor(t){this._instance=t,this.Tn=new Map,this.En=new Map,this.Mn=new Map}Pn(t,n){return!!t&&D_(t.propertyFilters,n==null?void 0:n.properties)}Rn(t,n){var r=new Map;return t.forEach(i=>{var s;(s=i.conditions)==null||(s=s[n])==null||(s=s.values)==null||s.forEach(o=>{if(o!=null&&o.name){var a=r.get(o.name)||[];a.push(i.id),r.set(o.name,a)}})}),r}On(t,n,r){var i=(r===$s.Activation?this.Tn:this.En).get(t),s=[];return this.Ln(o=>{s=o.filter(a=>i==null?void 0:i.includes(a.id))}),s.filter(o=>{var a,l=(a=o.conditions)==null||(a=a[r])==null||(a=a.values)==null?void 0:a.find(u=>u.name===t);return this.Pn(l,n)})}register(t){var n;W((n=this._instance)==null?void 0:n._addCaptureHook)||(this.Fn(t),this.An(t))}An(t){var n=t.filter(r=>{var i,s;return((i=r.conditions)==null?void 0:i.actions)&&((s=r.conditions)==null||(s=s.actions)==null||(s=s.values)==null?void 0:s.length)>0});n.length!==0&&(this.Nn==null&&(this.Nn=new mT(this._instance),this.Nn.init(),this.Nn.xn(r=>{this.onAction(r)})),n.forEach(r=>{var i,s,o,a,l;r.conditions&&(i=r.conditions)!=null&&i.actions&&(s=r.conditions)!=null&&(s=s.actions)!=null&&s.values&&((o=r.conditions)==null||(o=o.actions)==null||(o=o.values)==null?void 0:o.length)>0&&((a=this.Nn)==null||a.register(r.conditions.actions.values),(l=r.conditions)==null||(l=l.actions)==null||(l=l.values)==null||l.forEach(u=>{if(u&&u.name){var d=this.Mn.get(u.name);d&&d.push(r.id),this.Mn.set(u.name,d||[r.id])}}))}))}Fn(t){var n,r=t.filter(s=>{var o,a;return((o=s.conditions)==null?void 0:o.events)&&((a=s.conditions)==null||(a=a.events)==null||(a=a.values)==null?void 0:a.length)>0}),i=t.filter(s=>{var o,a;return((o=s.conditions)==null?void 0:o.cancelEvents)&&((a=s.conditions)==null||(a=a.cancelEvents)==null||(a=a.values)==null?void 0:a.length)>0});r.length===0&&i.length===0||((n=this._instance)==null||n._addCaptureHook((s,o)=>{this.onEvent(s,o)}),this.Tn=this.Rn(t,$s.Activation),this.En=this.Rn(t,$s.Cancellation))}onEvent(t,n){var r,i=this.le(),s=this.$n(),o=this.Dn(),a=((r=this._instance)==null||(r=r.persistence)==null?void 0:r.props[s])||[];if(o===t&&n&&a.length>0){var l,u;i.info("event matched, removing item from activated items",{event:t,eventPayload:n,existingActivatedItems:a});var d=(n==null||(l=n.properties)==null?void 0:l.$survey_id)||(n==null||(u=n.properties)==null?void 0:u.$product_tour_id);if(d){var p=a.indexOf(d);0>p||(a.splice(p,1),this.qn(a))}}else{if(this.En.has(t)){var f=this.On(t,n,$s.Cancellation);f.length>0&&(i.info("cancel event matched, cancelling items",{event:t,itemsToCancel:f.map(x=>x.id)}),f.forEach(x=>{var h=a.indexOf(x.id);0>h||a.splice(h,1),this.jn(x.id)}),this.qn(a))}if(this.Tn.has(t)){i.info("event name matched",{event:t,eventPayload:n,items:this.Tn.get(t)});var g=this.On(t,n,$s.Activation);this.qn(a.concat(g.map(x=>x.id)||[]))}}}onAction(t){var n,r=this.$n(),i=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[r])||[];this.Mn.has(t)&&this.qn(i.concat(this.Mn.get(t)||[]))}qn(t){var n=this.le(),r=[...new Set(t)].filter(i=>!this.Hn(i));n.info("updating activated items",{activatedItems:r}),this.Un(r)}getActivatedIds(){var t,n=this.$n();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[n])||[]}
233getEventToItemsMap(){return this.Tn}Bn(){return this.Nn}}class vT extends gT{constructor(t){super(t)}$n(){return Fp}Dn(){return no.SHOWN}Ln(t){var n;(n=this._instance)==null||n.getSurveys(t)}jn(t){var n;(n=this._instance)==null||n.cancelPendingSurvey(t)}le(){return se}Un(t){var n;(n=this._instance)==null||(n=n.persistence)==null||n.register({[Fp]:t})}Hn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var cd="SDK is not enabled or survey functionality is not yet loaded",$v="Disabled. Not loading surveys.",yT=P!=null&&P.location?ac(P.location.hash,"__posthog")||ac(location.hash,"state"):null,Uv="_postHogToolbarParams",Hv=ye("[Toolbar]"),nt=ye("[FeatureFlags]"),Fr=ye("[FeatureFlags]",{debugEnabled:!0}),ud=`" failed. Feature flags didn't load in time.`,qv=e=>{for(var t={},n=0;e.length>n;n++)t[e[n]]=!0;return t},Bv=e=>{var t={};for(var[n,r]of fl(e||{}))r&&(t[n]=r);return t},Tn=ye("[Error tracking]"),Wv="Refusing to render web experiment since the viewer is a likely bot",xT={icontains:(e,t)=>!!P&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!P&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!P&&uc(t.href,e),not_regex:(e,t)=>!!P&&!uc(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class Ye{get qt(){return this._instance.config}constructor(t){var n=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(r){r===void 0&&(r=!1),n.getWebExperiments(i=>{Ye.zn("retrieved web experiments from the server"),n.Vn=new Map,i.forEach(s=>{if(s.feature_flag_key){var o;n.Vn&&(Ye.zn("setting flag key ",s.feature_flag_key," to web experiment ",s),(o=n.Vn)==null||o.set(s.feature_flag_key,s));var a=n._instance.getFeatureFlag(s.feature_flag_key);_e(a)&&s.variants[a]&&n.Wn(s.name,a,s.variants[a].transforms)}else if(s.variants)for(var l in s.variants){var u=s.variants[l];Ye.Zn(u)&&n.Wn(s.name,l,u.transforms)}})},r)},this._instance=t,this._instance.onFeatureFlags(r=>{this.onFeatureFlags(r)})}initialize(){}onFeatureFlags(t){if(this._is_bot())Ye.zn(Wv);else if(!this.qt.disable_web_experiments){if(J(this.Vn))return this.Vn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();Ye.zn("applying feature flags",t),t.forEach(n=>{var r;if(this.Vn&&(r=this.Vn)!=null&&r.has(n)){var i,s=this._instance.getFeatureFlag(n),o=(i=this.Vn)==null?void 0:i.get(n);s&&o!=null&&o.variants[s]&&this.Wn(o.name,s,o.variants[s].transforms)}})}}previewWebExperiment(){var t=Ye.getWindowLocation();if(t!=null&&t.search){var n=qo(t==null?void 0:t.search,"__experiment_id"),r=qo(t==null?void 0:t.search,"__experiment_variant");n&&r&&(Ye.zn("previewing web experiments "+n+" && "+r),this.getWebExperiments(i=>{this.Gn(parseInt(n),r,i)},!1,!0))}}loadIfEnabled(){this.qt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,n,r){if(this.qt.disable_web_experiments&&!r)return t([]);var i=this._instance.get_property("$web_experiments");if(i&&!n)return t(i);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.qt.token),method:"GET",callback:s=>t(s.statusCode===200&&s.json&&s.json.experiments||[])})}Gn(t,n,r){var i=r.filter(s=>s.id===t);i&&i.length>0&&(Ye.zn("Previewing web experiment ["+i[0].name+"] with variant ["+n+"]"),this.Wn(i[0].name,n,i[0].variants[n].transforms))}static Zn(t){return!J(t.conditions)&&Ye.Qn(t)&&Ye.Jn(t)}static Qn(t){var n;if(J(t.conditions)||J((n=t.conditions)==null?void 0:n.url))return!0;var r,i,s,o=Ye.getWindowLocation();return!!o&&((r=t.conditions)==null||!r.url||xT[(i=(s=t.conditions)==null?void 0:s.urlMatchType)!==null&&i!==void 0?i:"icontains"](t.conditions.url,o))}
233static getWindowLocation(){return P==null?void 0:P.location}static Jn(t){var n;if(J(t.conditions)||J((n=t.conditions)==null?void 0:n.utm))return!0;var r=b_();if(r.utm_source){var i,s,o,a,l,u,d,p,f=(i=t.conditions)==null||(i=i.utm)==null||!i.utm_campaign||((s=t.conditions)==null||(s=s.utm)==null?void 0:s.utm_campaign)==r.utm_campaign,g=(o=t.conditions)==null||(o=o.utm)==null||!o.utm_source||((a=t.conditions)==null||(a=a.utm)==null?void 0:a.utm_source)==r.utm_source,x=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_medium||((u=t.conditions)==null||(u=u.utm)==null?void 0:u.utm_medium)==r.utm_medium,h=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_term||((p=t.conditions)==null||(p=p.utm)==null?void 0:p.utm_term)==r.utm_term;return f&&x&&h&&g}return!1}static zn(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;n>i;i++)r[i-1]=arguments[i];H.info("[WebExperiments] "+t,r)}Wn(t,n,r){this._is_bot()?Ye.zn(Wv):n!=="control"?r.forEach(i=>{if(i.selector){var s;Ye.zn("applying transform of variant "+n+" for experiment "+t+" ",i);var o=(s=document)==null?void 0:s.querySelectorAll(i.selector);o==null||o.forEach(a=>{var l=a;i.html&&(l.innerHTML=i.html),i.css&&l.setAttribute("style",i.css)})}}):Ye.zn("Control variants leave the page unmodified.")}_is_bot(){return At&&this._instance?L_(At,this.qt.custom_blocked_useragents):void 0}}var Ot=ye("[Conversations]"),Dr="Conversations not available yet.",Wc={featureFlags:class{constructor(e){this.Kn=!1,this.Yn=!1,this.Xn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this.ss=!1,this._instance=e,this.featureFlagEventHandlers=[]}get qt(){return this._instance.config}get ni(){return this._instance.persistence}os(e){return this._instance.get_property(e)}us(){var e,t;return(e=(t=this.ni)==null?void 0:t.wr(this.qt.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}ls(){return!!this.us()&&(this.ss||this.Xn||(this.ss=!0,nt.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var e,t=(e=this.qt.evaluation_contexts)!==null&&e!==void 0?e:this.qt.evaluation_environments;return!this.qt.evaluation_environments||this.qt.evaluation_contexts||this.ns||(nt.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),t!=null&&t.length?t.filter(n=>{var r=n&&typeof n=="string"&&n.trim().length>0;return r||nt.error("Invalid evaluation context found:",n,"Expected non-empty string"),r}):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:n}=this._instance,r=(e=(t=n.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(r).length){var i,s,o=(i=(s=n.bootstrap)==null?void 0:s.featureFlagPayloads)!==null&&i!==void 0?i:{},a=Object.keys(r).filter(u=>!!r[u]).reduce((u,d)=>(u[d]=r[d]||!1,u),{}),l=Object.keys(o).filter(u=>a[u]).reduce((u,d)=>(o[d]&&(u[d]=o[d]),u),{});this.receivedFeatureFlags({featureFlags:a,featureFlagPayloads:l})}}updateFlags(e,t,n){var r=n!=null&&n.merge?this.getFlagVariants():{},i=n!=null&&n.merge?this.getFlagPayloads():{},s=z({},r,e),o=z({},i,t),a={};for(var[l,u]of Object.entries(s)){var d=typeof u=="string";a[l]={key:l,enabled:!!d||!!u,variant:d?u:void 0,reason:void 0,metadata:W(o==null?void 0:o[l])?void 0:{id:0,version:void 0,description:void 0,payload:o[l]}}}this.receivedFeatureFlags({flags:a})}get hasLoadedFlags(){return this.Yn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(Op),t=this.os(In),n=this.os(_i);if(!n&&!t)return e||{};var r=Ce({},e||{}),i=[...new Set([...Object.keys(n||{}),...Object.keys(t||{})])];for(var s of i){var o,a,l=r[s],u=t==null?void 0:t[s],d=W(u)?(o=l==null?void 0:l.enabled)!==null&&o!==void 0&&o:!!u,p=W(u)?l.variant:typeof u=="string"?u:void 0,f=n==null?void 0:n[s],g=z({},l,{enabled:d,variant:d?p??(l==null?void 0:l.variant):void 0});d!==(l==null?void 0:l.enabled)&&(g.original_enabled=l==null?void 0:l.enabled),p!==(l==null?void 0:l.variant)&&(g.original_variant=l==null?void 0:l.variant),f&&(g.metadata=z({},l==null?void 0:l.metadata,{payload:f,original_payload:l==null||(a=l.metadata)==null?void 0:a.payload})),r[s]=g}return this.Kn||(nt.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:n,finalDetails:r}),this.Kn=!0),r}getFlagVariants(){var e=this.os(Fi),t=this.os(In);if(!t)return e||{};for(var n=Ce({},e),r=Object.keys(t),i=0;r.length>i;i++)n[r[i]]=t[r[i]];return this.Kn||(nt.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this.Kn=!0),n}getFlagPayloads(){var e=this.os(Ip),t=this.os(_i);if(!t)return e||{};for(var n=Ce({},e||{}),r=Object.keys(t),i=0;r.length>i;i++)n[r[i]]=t[r[i]];return this.Kn||(nt.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:n}),this.Kn=!0),n}reloadFeatureFlags(){this.es||this.qt.advanced_disable_feature_flags||this.ds||(this._instance.Li.emit("featureFlagsReloading",!0),this.ds=setTimeout(()=>{this.vs()},5))}fs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Yn||this.Xn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.es=e}vs(e){var t;if(this.fs(),!this._instance.Lr())if(this.Xn)this.ts=!0;else{var n=this.qt.token,r=this.os(Jl),i={token:n,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:z({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(to)||{}),group_properties:this.os(Ur),timezone:P_()};Yn(r)||W(r)||(i.$device_id=r),(e!=null&&e.disableFlags||this.qt.advanced_disable_feature_flags)&&(i.disable_flags=!0),this.cs()&&(i.evaluation_contexts=this.hs());var s=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.qt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Xn=!0,this._instance._send_request({method:"POST",url:s,data:i,compression:this.qt.disable_compression?void 0:vn.Base64,timeout:this.qt.feature_flag_request_timeout_ms,callback:o=>{var a,l,u,d=!0;if(o.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),d=!1),this.Xn=!1,!i.disable_flags||this.ts){this.rs=!d;var p=[];
233o.error?o.error instanceof Error?p.push(o.error.name==="AbortError"?"timeout":"connection_error"):p.push("unknown_error"):o.statusCode!==200&&p.push("api_error_"+o.statusCode),(a=o.json)!=null&&a.errorsWhileComputingFlags&&p.push("errors_while_computing_flags");var f,g=!((l=o.json)==null||(l=l.quotaLimited)==null||!l.includes("feature_flags"));g&&p.push("quota_limited"),(u=this.ni)==null||u.register({[zp]:p}),g?nt.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset.  Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(i.disable_flags||this.receivedFeatureFlags((f=o.json)!==null&&f!==void 0?f:{},d,{partialResponse:!!this.qt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(e,t){var n;if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Yn||this.getFlags()&&this.getFlags().length>0){if(!this.ls()){var r=this.getFeatureFlagResult(e,t);return(n=r==null?void 0:r.variant)!==null&&n!==void 0?n:r==null?void 0:r.enabled}}else nt.warn('getFeatureFlag for key "'+e+ud)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t==null?void 0:t.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Yn||this.getFlags()&&this.getFlags().length>0){if(!this.ls()){var n=this.getFlagVariants(),r=e in n,i=n[e],s=this.getFlagPayloads()[e],o=String(i),a=this.os(Mp)||void 0,l=this.os(ec)||void 0,u=this.os(mo)||{};if(this.qt.advanced_feature_flags_dedup_per_session){var d,p=this._instance.get_session_id(),f=this.os(Dp);p&&p!==f&&(u={},(d=this.ni)==null||d.register({[mo]:u,[Dp]:p}))}if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(o))){var g,x,h,_,m,v,y,b,S,k;te(u[e])?u[e].push(o):u[e]=[o],(g=this.ni)==null||g.register({[mo]:u});var E=this.getFeatureFlagDetails(e),A=[...(x=this.os(zp))!==null&&x!==void 0?x:[]];W(i)&&A.push("flag_missing");var C={$feature_flag:e,$feature_flag_response:i,$feature_flag_payload:s||null,$feature_flag_request_id:a,$feature_flag_evaluated_at:l,$feature_flag_bootstrapped_response:((h=this.qt.bootstrap)==null||(h=h.featureFlags)==null?void 0:h[e])||null,$feature_flag_bootstrapped_payload:((_=this.qt.bootstrap)==null||(_=_.featureFlagPayloads)==null?void 0:_[e])||null,$used_bootstrap_value:!this.rs};W(E==null||(m=E.metadata)==null?void 0:m.version)||(C.$feature_flag_version=E.metadata.version);var R,$=(v=E==null||(y=E.reason)==null?void 0:y.description)!==null&&v!==void 0?v:E==null||(b=E.reason)==null?void 0:b.code;$&&(C.$feature_flag_reason=$),E!=null&&(S=E.metadata)!=null&&S.id&&(C.$feature_flag_id=E.metadata.id),W(E==null?void 0:E.original_variant)&&W(E==null?void 0:E.original_enabled)||(C.$feature_flag_original_response=W(E.original_variant)?E.original_enabled:E.original_variant),E!=null&&(k=E.metadata)!=null&&k.original_payload&&(C.$feature_flag_original_payload=E==null||(R=E.metadata)==null?void 0:R.original_payload),A.length&&(C.$feature_flag_error=A.join(",")),this._instance.capture("$feature_flag_called",C)}if(r){var L=s;
233if(!W(s))try{L=JSON.parse(s)}catch{}return{key:e,enabled:!!i,variant:typeof i=="string"?i:void 0,payload:L}}}}else nt.warn('getFeatureFlagResult for key "'+e+ud)}getRemoteConfigPayload(e,t){var n=this.qt.token,r={distinct_id:this._instance.get_distinct_id(),token:n};this.cs()&&(r.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:r,compression:this.qt.disable_compression?void 0:vn.Base64,timeout:this.qt.feature_flag_request_timeout_ms,callback(i){var s,o=(s=i.json)==null?void 0:s.featureFlagPayloads;t((o==null?void 0:o[e])||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs){if(this.Yn||this.getFlags()&&this.getFlags().length>0){var n=this.getFeatureFlag(e,t);return W(n)?void 0:!!n}nt.warn('isFeatureEnabled for key "'+e+ud)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}receivedFeatureFlags(e,t,n){if(this.ni){this.Yn=!0;var r=this.getFlagVariants(),i=this.getFlagPayloads(),s=this.getFlagsWithDetails();(function(o,a,l,u,d,p){l===void 0&&(l={}),u===void 0&&(u={}),d===void 0&&(d={});var f=(A=>{var C=A.flags;return C?(A.featureFlags=Object.fromEntries(Object.keys(C).map(R=>{var $;return[R,($=C[R].variant)!==null&&$!==void 0?$:C[R].enabled]})),A.featureFlagPayloads=Object.fromEntries(Object.keys(C).filter(R=>C[R].enabled).filter(R=>{var $;return($=C[R].metadata)==null?void 0:$.payload}).map(R=>{var $;return[R,($=C[R].metadata)==null?void 0:$.payload]}))):nt.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),A})(o),g=f.flags,x=f.featureFlags,h=f.featureFlagPayloads;if(x){var _=o.requestId,m=o.evaluatedAt;if(te(x)){nt.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var v={};if(x)for(var y=0;x.length>y;y++)v[x[y]]=!0;a&&a.register({[dl]:x,[Fi]:v})}else{var b=x,S=h,k=g;if(p!=null&&p.partialResponse)b=z({},l,b),S=z({},u,S),k=z({},d,k);else if(o.errorsWhileComputingFlags)if(g){var E=new Set(Object.keys(g).filter(A=>{var C;return!((C=g[A])!=null&&C.failed)}));b=z({},l,Object.fromEntries(Object.entries(b).filter(A=>{var[C]=A;return E.has(C)}))),S=z({},u,Object.fromEntries(Object.entries(S||{}).filter(A=>{var[C]=A;return E.has(C)}))),k=z({},d,Object.fromEntries(Object.entries(k||{}).filter(A=>{var[C]=A;return E.has(C)})))}else b=z({},l,b),S=z({},u,S),k=z({},d,k);a&&a.register(z({[dl]:Object.keys(Bv(b)),[Fi]:b||{},[Ip]:S||{},[Op]:k||{}},_?{[Mp]:_}:{},m?{[ec]:m}:{}))}}})(e,this.ni,r,i,s,n),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),nt.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return nt.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(In),this.ni.unregister(_i),this.ps(),Fr.info("All overrides cleared");if(te(e)){var t=qv(e);return this.ni.register({[In]:t}),this.ps(),Fr.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var n,r=e;if(this.Kn=!!((n=r.suppressWarning)!==null&&n!==void 0&&n),"flags"in r){if(r.flags===!1)this.ni.unregister(In),Fr.info("Flag overrides cleared");else if(r.flags){if(te(r.flags)){var i=qv(r.flags);this.ni.register({[In]:i})}else this.ni.register({[In]:r.flags});Fr.info("Flag overrides set",{flags:r.flags})}}return"payloads"in r&&(r.payloads===!1?(this.ni.unregister(_i),Fr.info("Payload overrides cleared")):r.payloads&&(this.ni.register({[_i]:r.payloads}),Fr.info("Payload overrides set",{payloads:r.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[In]:e}),this.ps(),Fr.info("Flag overrides set",{flags:e});nt.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Yn){var{flags:t,flagVariants:n}=this.gs();e(t,n)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,n){var r,i=(this.os(eo)||[]).find(l=>l.flagKey===e),s={["$feature_enrollment/"+e]:t},o={$feature_flag:e,$feature_enrollment:t,$set:s};i&&(o.$early_access_feature_name=i.name),n&&(o.$feature_enrollment_stage=n),this._instance.capture("$feature_enrollment_update",o),this.setPersonPropertiesForFlags(s,!1);var a=z({},this.getFlagVariants(),{[e]:t});(r=this.ni)==null||r.register({[dl]:Object.keys(Bv(a)),[Fi]:a}),this.ps()}
233getEarlyAccessFeatures(e,t,n){t===void 0&&(t=!1);var r=this.os(eo),i=n?"&"+n.map(s=>"stage="+s).join("&"):"";if(r&&!t)return e(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.qt.token+i),method:"GET",callback:s=>{var o,a;if(s.json){var l=s.json.earlyAccessFeatures;return(o=this.ni)==null||o.unregister(eo),(a=this.ni)==null||a.register({[eo]:l}),e(l)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(n=>t[n]),flagVariants:Object.keys(t).filter(n=>t[n]).reduce((n,r)=>(n[r]=t[r],n),{})}}ps(e){var{flags:t,flagVariants:n}=this.gs();this.featureFlagEventHandlers.forEach(r=>r(t,n,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this.os(to)||{},r=(e==null?void 0:e.$set)||(e!=null&&e.$set_once?{}:e),i=e==null?void 0:e.$set_once,s={};if(i)for(var o in i)({}).hasOwnProperty.call(i,o)&&(o in n||(s[o]=i[o]));this._instance.register({[to]:z({},n,s,r)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(to)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this.os(Ur)||{};Object.keys(n).length!==0&&Object.keys(n).forEach(r=>{n[r]=z({},n[r],e[r]),delete e[r]}),this._instance.register({[Ur]:z({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(Ur)||{};this._instance.register({[Ur]:z({},t,{[e]:{}})})}else this._instance.unregister(Ur)}reset(){this.Yn=!1,this.Xn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.$anon_distinct_id=void 0,this.fs(),this.Kn=!1}}},wT={sessionRecording:class{get qt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var e;return!((e=this.ys)==null||!e.isStarted)}get status(){var e,t;return this.bs===Vs||this.bs===Va?this.bs:(e=(t=this.ys)==null?void 0:t.status)!==null&&e!==void 0?e:this.bs}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=Mv,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw Rn.error("started without valid sessionManager"),new Error(tf+" started without valid sessionManager. This is a bug.");if(this.qt.cookieless_mode===Dn)throw new Error(tf+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(Vr))==null||!e.enabled),n=!this.qt.disable_session_recording,r=this.qt.disable_session_recording||this._instance.consent.isOptedOut();return P&&t&&n&&!r}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var n=!W(Object.assign)&&!W(Array.from);this.ws&&n?(this.xs(e),Rn.info("starting")):(this.bs=Mv,this.stopRecording())}}xs(e){var t,n,r;this.ws&&(this.bs!==Vs&&this.bs!==Va&&(this.bs=Lv),G!=null&&(t=G.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(n=G.__PosthogExtensions__)!=null&&n.initSessionRecording?this.Ss(e):(r=G.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,this.ks,i=>{if(i)return Rn.error("could not load recorder",i);this.Ss(e)}))}stopRecording(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.stop()}Cs(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.discard()}Is(){var e;(e=this.ni)==null||e.unregister(jh)}Ts(e,t){if(J(e))return null;var n,r=Bt(e)?e:parseFloat(e);return typeof(n=r)!="number"||!Number.isFinite(n)||0>n||n>1?(Rn.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):r}Es(e){if(this.ni){var t,n,r=this.ni,i=()=>{var s,o=e.sessionRecording===!1?void 0:e.sessionRecording,a=this.Ts((s=this.qt.session_recording)==null?void 0:s.sampleRate,"session_recording.sampleRate"),l=this.Ts(o==null?void 0:o.sampleRate,"remote config sampleRate"),u=a??l;J(u)&&this.Is();var d=o==null?void 0:o.minimumDurationMilliseconds;r.register({[Vr]:z({cache_timestamp:Date.now(),enabled:!!o},o,{networkPayloadCapture:z({capturePerformance:e.capturePerformance},o==null?void 0:o.networkPayloadCapture),canvasRecording:{enabled:o==null?void 0:o.recordCanvas,fps:o==null?void 0:o.canvasFps,quality:o==null?void 0:o.canvasQuality},sampleRate:u,minimumDurationMilliseconds:W(d)?null:d,endpoint:o==null?void 0:o.endpoint,triggerMatchType:o==null?void 0:o.triggerMatchType,masking:o==null?void 0:o.masking,urlTriggers:o==null?void 0:o.urlTriggers,version:o==null?void 0:o.version,triggerGroups:o==null?void 0:o.triggerGroups})})};i(),(t=this._s)==null||t.call(this),this._s=(n=this._instance.sessionManager)==null?void 0:n.onSessionId(i)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.Es(e),void this.Cs()):(this.Es(e),void this.startIfEnabledOrStop()):(this.bs===Vs&&(this.bs=Va,Rn.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var n;t===void 0&&(t="log"),(n=this.ys)!=null&&n.log?this.ys.log(e,t):Rn.warn("log called before recorder was ready")}get ks(){var e,t,n=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(Vr);return(n==null||(t=n.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Ms(){var e,t,n=this._instance.get_property(Vr);if(!n)return!1;try{t=typeof n=="object"?n:JSON.parse(n)}catch(i){return Rn.warn("persisted remote config for session recording is invali
233d and will be ignored",i),!1}var r=(e=t.cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-r}Ss(e){var t,n;if((t=G.__PosthogExtensions__)==null||!t.initSessionRecording)return Rn.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[v_]:!0});if(this.ys||(this.ys=(n=G.__PosthogExtensions__)==null?void 0:n.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Ms())return this.bs===Va||this.bs===Vs?void 0:(this.bs=Vs,Rn.info("persisted remote config is stale, requesting fresh config before starting"),void new N_(this._instance).load());this.bs=Lv,this.ys.start(e)}onRRwebEmit(e){var t;(t=this.ys)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.ys||(t=this.ni)==null||t.register({[d_]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[u_]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,n;this.ys||(n=this.ni)==null||n.register({[e==="url"?p_:f_]:!0}),(t=this.ys)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.ys)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var n;return!((n=this.ys)==null||!n.tryAddCustomEvent(e,t))}}},_T={autocapture:class{constructor(e){this.Ps=!1,this.Rs=null,this.Os=!1,this.instance=e,this.rageclicks=new Tv(e.config.rageclick),this.Ls=null}initialize(){this.startIfEnabled()}get qt(){var e,t,n=Ne(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=(e=n.url_allowlist)==null?void 0:e.map(r=>new RegExp(r)),n.url_ignorelist=(t=n.url_ignorelist)==null?void 0:t.map(r=>new RegExp(r)),n}Fs(){if(this.isBrowserSupported()){if(P&&q){var e=n=>{n=n||(P==null?void 0:P.event);try{this.As(n)}catch(r){ad.error("Failed to capture event",r)}};if(Re(q,"submit",e,{capture:!0}),Re(q,"change",e,{capture:!0}),Re(q,"click",e,{capture:!0}),this.qt.capture_copied_text){var t=n=>{n=n||(P==null?void 0:P.event);try{this.As(n,od)}catch(r){ad.error("Failed to capture copy/cut event",r)}};Re(q,"copy",t,{capture:!0}),Re(q,"cut",t,{capture:!0})}}}else ad.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Ps&&(this.Fs(),this.Ps=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Os=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[kp]:!!e.autocapture_opt_out}),this.Rs=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Ls=e}getElementSelectors(e){var t,n=[];return(t=this.Ls)==null||t.forEach(r=>{var i=q==null?void 0:q.querySelectorAll(r);i==null||i.forEach(s=>{e===s&&n.push(r)})}),n}get isEnabled(){var e,t,n=(e=this.instance.persistence)==null?void 0:e.props[kp];if(Yn(this.Rs)&&!_n(n)&&!this.instance.Lr())return!1;var r=(t=this.Rs)!==null&&t!==void 0?t:!!n;return!!this.instance.config.autocapture&&!r}As(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var n,r=Av(e);U_(r)&&(r=r.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&function(p,f){if(!P||Zp(p))return!1;var g,x,h;if(_n(f)?(g=!!f&&Pv,x=void 0):(g=(h=f==null?void 0:f.css_selector_ignorelist)!==null&&h!==void 0?h:Pv,x=f==null?void 0:f.content_ignorelist),g===!1)return!1;var{targetElementList:_}=Nv(p,!1);return!function(m,v){if(m===!1||W(m))return!1;var y;if(m===!0)y=iT;else{if(!te(m))return!1;if(m.length>10)return H.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;y=m.map(b=>b.toLowerCase())}return v.some(b=>{var{safeText:S,ariaLabel:k}=b;return y.some(E=>S.includes(E)||k.includes(E))})}(x,_.map(m=>{var v;return{safeText:Vo(m).toLowerCase(),ariaLabel:((v=m.getAttribute("aria-label"))==null?void 0:v.toLowerCase().trim())||""}}))&&!Cv(_,g)}(r,this.instance.config.rageclick)&&this.As(e,"$rageclick");var i=t===od;if(r&&function(p,f,g,x,h){var _,m,v,y;if(g===void 0&&(g=void 0),!P||Zp(p)||(_=g)!=null&&_.url_allowlist&&!kv(g.url_allowlist)||(m=g)!=null&&m.url_ignorelist&&kv(g.url_ignorelist))return!1;if((v=g)!=null&&v.dom_event_allowlist){var b=g.dom_event_allowlist;if(b&&!b.some(C=>f.type===C))return!1}var{parentIsUsefulElement:S,targetElementList:k}=Nv(p,x);if(!function(C,R){var $=R==null?void 0:R.element_allowlist;if(W($))return!0;var L,U=function(j){if($.some(T=>j.tagName.toLowerCase()===T))return{v:!0}};for(var I of C)if(L=U(I))return L.v;return!1}(k,g)||!Cv(k,(y=g)==null?void 0:y.css_selector_allowlist))return!1;var E=P.getComputedStyle(p);if(E&&E.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var A=p.tagName.toLowerCase();switch(A){case"html":return!1;case"form":return(h||["submit"]).indexOf(f.type)>=0;case"input":case"select":case"textarea":return(h||["change","click"]).indexOf(f.type)>=0;default:return S?(h||["click"]).indexOf(f.type)>=0:(h||["click"]).indexOf(f.type)>=0&&(Fh.indexOf(A)>-1||p.getAttribute("contenteditable")==="true")}}(r,e,this.qt,i,i?["copy","cut"]:void 0)){var{props:s,explicitNoCapture:o}=dT(r,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.qt.element_attribute_ignorelist,elementsC
233hainAsString:this.Os});if(o)return!1;var a=this.getElementSelectors(r);if(a&&a.length>0&&(s.$element_selectors=a),t===od){var l,u=q_(P==null||(l=P.getSelection())==null?void 0:l.toString()),d=e.type||"clipboard";if(!u)return!1;s.$selected_content=u,s.$copy_type=d}return this.instance.capture(t,s),!0}}}isBrowserSupported(){return Fn(q==null?void 0:q.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ns=(P==null||(t=P.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(H.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.$s&&this.$s(),this.$s=void 0,H.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(P&&P.history){var n=this;(e=P.history.pushState)!=null&&e.__posthog_wrapped__||Ov(P.history,"pushState",r=>function(i,s,o){r.call(this,i,s,o),n.Ds("pushState")}),(t=P.history.replaceState)!=null&&t.__posthog_wrapped__||Ov(P.history,"replaceState",r=>function(i,s,o){r.call(this,i,s,o),n.Ds("replaceState")}),this.qs()}}Ds(e){try{var t,n=P==null||(t=P.location)==null?void 0:t.pathname;if(!n)return;n!==this.Ns&&this.isEnabled&&this._instance.capture(bi,{navigation_type:e}),this.Ns=n}catch(r){H.error("Error capturing "+e+" pageview",r)}}qs(){if(!this.$s){var e=()=>{this.Ds("popstate")};Re(P,"popstate",e),this.$s=()=>{P&&P.removeEventListener("popstate",e)}}}},heatmaps:class{get qt(){return this.instance.config}constructor(e){var t;this.js=!1,this.Ps=!1,this.Hs=null,this.instance=e,this.js=!((t=this.instance.persistence)==null||!t.props[Ap]),this.rageclicks=new Tv(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Ne(this.qt.capture_heatmaps)&&this.qt.capture_heatmaps.flush_interval_milliseconds&&(e=this.qt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return J(this.qt.capture_heatmaps)?J(this.qt.enable_heatmaps)?this.js:this.qt.enable_heatmaps:this.qt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Ps)return;fT.info("starting..."),this.Us(),this.At()}else{var e;clearInterval((e=this.Hs)!==null&&e!==void 0?e:void 0),this.Bs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[Ap]:t}),this.js=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.M;return this.M=void 0,e}zs(e){this.Mt(e.originalEvent,"deadclick")}At(){this.Hs&&clearInterval(this.Hs),this.Hs=(q==null?void 0:q.visibilityState)==="visible"?setInterval(this.Zr.bind(this),this.flushIntervalMilliseconds):null}Us(){P&&q&&(this.Vs=this.Zr.bind(this),Re(P,ic,this.Vs),this.Ws=e=>this.Mt(e||(P==null?void 0:P.event)),Re(q,"click",this.Ws,{capture:!0}),this.Zs=e=>this.Gs(e||(P==null?void 0:P.event)),Re(q,"mousemove",this.Zs,{capture:!0}),this.Qs=new sv(this.instance,bR,this.zs.bind(this)),this.Qs.startIfEnabledOrStop(),this.Js=this.At.bind(this),Re(q,rc,this.Js),this.Ps=!0)}Bs(){var e;P&&q&&(this.Vs&&P.removeEventListener(ic,this.Vs),this.Ws&&q.removeEventListener("click",this.Ws,{capture:!0}),this.Zs&&q.removeEventListener("mousemove",this.Zs,{capture:!0}),this.Js&&q.removeEventListener(rc,this.Js),clearTimeout(this.Ks),(e=this.Qs)==null||e.stop(),this.Ps=!1)}Ys(e,t){var n=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),i=this.instance.scrollManager.scrollElement(),s=function(o,a,l){for(var u=o;u&&li(u)&&!tn(u,"body");){if(u===l)return!1;if(X(a,P==null?void 0:P.getComputedStyle(u).position))return!0;u=B_(u)}return!1}(Av(e),["fixed","sticky"],i);return{x:e.clientX+(s?0:r),y:e.clientY+(s?0:n),target_fixed:s,type:t}}Mt(e,t){var n;if(t===void 0&&(t="click"),!Ev(e.target)&&Fv(e)){var r=this.Ys(e,t);(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Xs(z({},r,{type:"rageclick"})),this.Xs(r)}}Gs(e){!Ev(e.target)&&Fv(e)&&(clearTimeout(this.Ks),this.Ks=setTimeout(()=>{this.Xs(this.Ys(e,"mousemove"))},500))}Xs(e){if(P){var t=P.location.href,n=this.qt.custom_personal_data_properties,r=this.qt.mask_personal_data_properties?[...ys,...n||[]]:[],i=Bo(t,r,Wo);this.M=this.M||{},this.M[i]||(this.M[i]=[]),this.M[i].push(e)}}Zr(){this.M&&!Li(this.M)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:sv,webVitalsAutocapture:class{constructor(e){var t;this.js=!1,this.Ps=!1,this.M={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),this.M.metrics.length!==0&&(this._instance.capture("$web_vitals",this.M.metrics.reduce((n,r)=>z({},n,{["$web_vitals_"+r.name+"_event"]:z({},r),["$web_vitals_"+r.name+"_value"]:r.value}),{})),this.M={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=n=>{var r,i=(r=this._instance.sessionManager)==null?void 0:r.checkAndGetSessionAndWindowId(!0);if(W(i))tr.error("Could not read session ID. Dropping metrics!");else{this.M=this.M||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var s=this.io();W(s)||(J(n==null?void 0:n.name)||J(n==null?void 0:n.value)?tr.error("Invalid metric received",n):!this.no||this.no>n.value?(this.M.url!==s&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),W(this.M.url)&&(this.M.url=s),this.M.firstMetricTimestamp=W(this.M.firstMetricTimestamp)?Date.now():this.M.firstMetricTimestamp,n.attribution&&n.attribution.interactionTargetElement&&(n.attribution.interactionTargetElement=void 0),this.M.metrics.push(z({},n,{$current_url:s,$session_id:i.sessionId,$window_id:i.windowId,timestamp:Date.now()})),this.M.metrics.length===this.allowedMetrics.length&&this.eo()):tr.error("Ignoring metric with value >= "+this.no,n))}},this.so=()=>
233{if(!this.Ps){var n,r,i,s,o=G.__PosthogExtensions__;W(o)||W(o.postHogWebVitalsCallbacks)||({onLCP:n,onCLS:r,onFCP:i,onINP:s}=o.postHogWebVitalsCallbacks),n&&r&&i&&s?(this.allowedMetrics.indexOf("LCP")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&r(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&i(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&s(this.ht.bind(this)),this.Ps=!0):tr.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.js=!((t=this._instance.persistence)==null||!t.props[jp]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,n=Ne(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return J(n)?((t=this._instance.persistence)==null?void 0:t.props[Tp])||["CLS","FCP","INP","LCP"]:n}get flushToCaptureTimeoutMs(){return(Ne(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Ne(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Ne(this.oo)&&Bt(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:Iv;return e>0&&6e4>=e?Iv:e}get isEnabled(){var e=qe==null?void 0:qe.protocol;if(e!=="http:"&&e!=="https:")return tr.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Ne(this.oo)?this.oo.web_vitals:_n(this.oo)?this.oo:void 0;return _n(t)?t:this.js}startIfEnabled(){this.isEnabled&&!this.Ps&&(tr.info("enabled, starting..."),this.lr(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Ne(e.capturePerformance)&&!!e.capturePerformance.web_vitals,n=Ne(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[jp]:t}),this._instance.persistence.register({[Tp]:n})),this.js=t,this.startIfEnabled()}}lr(e){var t,n;(t=G.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(n=G.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",r=>{r?tr.error("failed to load script",r):e()})}io(){var e=P?P.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,n=this._instance.config.mask_personal_data_properties?[...ys,...t||[]]:[];return Bo(e,n,Wo)}tr.error("Could not determine current URL")}}},bT={exceptionObserver:class{constructor(e){var t,n,r;this.so=()=>{var i;if(P&&this.isEnabled&&(i=G.__PosthogExtensions__)!=null&&i.errorWrappingFunctions){var s=G.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,o=G.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,a=G.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.qt.capture_unhandled_errors&&(this.ao=s(this.captureException.bind(this))),!this.uo&&this.qt.capture_unhandled_rejections&&(this.uo=o(this.captureException.bind(this))),!this.lo&&this.qt.capture_console_errors&&(this.lo=a(this.captureException.bind(this)))}catch(l){Ws.error("failed to start",l),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[Cp]),this.do=new Rj({refillRate:(n=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&n!==void 0?n:1,bucketSize:(r=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&r!==void 0?r:10,refillInterval:1e4,Gt:Ws}),this.qt=this.vo(),this.startIfEnabledOrStop()}vo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Ne(e)?t=z({},t,e):(W(e)?this.co:e)&&(t=z({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.qt.capture_console_errors||this.qt.capture_unhandled_errors||this.qt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(Ws.info("enabled"),this.ho(),this.lr(this.so)):this.ho()}lr(e){var t,n;(t=G.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(n=G.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"exception-autocapture",r=>{if(r)return Ws.error("failed to load script",r);e()})}ho(){var e,t,n;(e=this.ao)==null||e.call(this),this.ao=void 0,(t=this.uo)==null||t.call(this),this.uo=void 0,(n=this.lo)==null||n.call(this),this.lo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[Cp]:this.co}),this.qt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.qt=this.vo()}captureException(e){var t,n,r,i=(t=e==null||(n=e.$exception_list)==null||(n=n[0])==null?void 0:n.type)!==null&&t!==void 0?t:"Exception";this.do.consumeRateLimit(i)?Ws.info("Skipping exception capture because of client rate limiting.",{exception:i}):(r=this._instance.exceptions)==null||r.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,n;this.fo=[],this.po=new Bj([new Jj,new aR,new eR,new Zj,new sR,new iR,new nR,new oR],function(r){for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;i>o;o++)s[o-1]=arguments[o];return function(a,l){l===void 0&&(l=0);for(var u=[],d=a.split(`
234`),p=l;d.length>p;p++){var f=d[p];if(1024>=f.length){var g=tv.test(f)?f.replace(tv,"$1"):f;if(!g.match(/\S*Error: /)){for(var x of s){var h=x(g,r);if(h){u.push(h);break}}if(u.length>=50)break}}}return function(_){if(!_.length)return[];var m=Array.from(_);return m.reverse(),m.slice(0,50).map(v=>{return z({},v,{filename:v.filename||(y=m,y[y.length-1]||{}).filename,function:v.function||vs});var y})}(u)}}("web:javascript",Kj,Xj)),this._instance=e,this.fo=(t=(n=this._instance.persistence)==null?void 0:n.get_property(Pp))!==null&&t!==void 0?t:[],this.mo=Xl(this.yo()),this.bo=new cR(this.mo)}onConfigChange(){this.mo=Xl(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,n,r;if("errorTracking"in e){var i=(t=(n=e.errorTracking)==null?void 0:n.suppressionRules)!==null&&t!==void 0?t:[],s=(r=e.errorTracking)==null?void 0:r.captureExtensionExceptions;this.fo=i,this._instance.persistence&&this._instance.persistence.register({[Pp]:this.fo,[Np]:s})}}get _o(){var e,t=!!this._instance.get_property(Np),n=this._instance.config.error_tracking.captureExtensionExceptions;return(e=n??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t==null?void 0:t.syntheticException,mechanism:{handled:t==null?void 0:t.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!_e(e)||e.trim().length===0)return void Tn.warn("Ignoring exception step because message must be a non-empty string");var n=this.wo(t),{sanitizedProperties:r,droppedKeys:i}=function(s){if(!s)return{sanitizedProperties:{},droppedKeys:[]};var o=[];return{sanitizedProperties:Object.keys(s).reduce((a,l)=>lR.has(l)?(o.push(l),a):(a[l]=s[l],a),{}),droppedKeys:o}}(n);i.length>0&&Tn.warn("Ignoring reserved exception step fields",{droppedKeys:i}),this.bo.add(z({[Ql]:e,[Yl]:new Date().toISOString()},r))}catch(s){Tn.error("Failed to add exception step. Ignoring breadcrumb.",s)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.xo(t)){if(this.So(t))return this.ko("Exception dropped: matched a suppression rule"),void Tn.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.Co(t))return this.ko("Exception dropped: thrown by a browser extension"),void Tn.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.Io(t))return this.ko("Exception dropped: thrown by the PostHog SDK"),void Tn.info("Skipping exception capture because it was thrown by the PostHog SDK")}var n=this.mo.enabled&&J(e.$exception_steps)?this.To(e):e;try{var r=this._instance.capture("$exception",n,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return r&&this.bo.clear(),r}catch(i){return Tn.error("Failed to capture exception event. Dropping this exception.",i),void this.bo.clear()}}catch(i){return void Tn.error("Failed to process exception event. Ignoring this exception.",i)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:z({},e,{$exception_steps:t})}catch(n){return Tn.error("Failed to read buffered exception steps. Capturing exception without steps.",n),e}}ko(e){this.mo.enabled&&this.bo.add({[Ql]:e,[Yl]:new Date().toISOString()})}wo(e){return Ne(e)?z({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}So(e){if(e.length===0)return!1;var t=e.reduce((n,r)=>{var{type:i,value:s}=r;return _e(i)&&i.length>0&&n.$exception_types.push(i),_e(s)&&s.length>0&&n.$exception_values.push(s),n},{$exception_types:[],$exception_values:[]});return this.fo.some(n=>{var r=n.values.map(i=>{var s,o=F_[i.operator],a=te(i.value)?i.value:[i.value],l=(s=t[i.
vendor: 9,020 bytes, line 234
234key])!==null&&s!==void 0?s:[];return a.length>0&&o(a,l)});return n.type==="OR"?r.some(Boolean):r.every(Boolean)})}Co(e){return e.flatMap(t=>{var n,r;return(n=(r=t.stacktrace)==null?void 0:r.frames)!==null&&n!==void 0?n:[]}).some(t=>t.filename&&t.filename.startsWith("chrome-extension://"))}Io(e){if(e.length>0){var t,n,r,i,s=(t=(n=e[0].stacktrace)==null?void 0:n.frames)!==null&&t!==void 0?t:[],o=s[s.length-1];return(r=o==null||(i=o.filename)==null?void 0:i.includes("posthog.com/static"))!==null&&r!==void 0&&r}return!1}xo(e){return!J(e)&&te(e)}}},ST=z({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Eo=null,this.Mo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[Rp]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Eo||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(Rp)||this.lr(()=>this.Po())}lr(e){var t,n;(t=G.__PosthogExtensions__)!=null&&t.generateProductTours?e():(n=G.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"product-tours",r=>{r?Dv.error("Could not load product tours script",r):e()})}Po(){var e;!this.Eo&&(e=G.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Eo=G.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!te(this.Mo)||t){var n=this.ni;if(n){var r=n.props[pl];if(te(r)&&!t)return this.Mo=r,void e(r,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:i=>{var s=i.statusCode;if(s!==200||!i.json){var o="Product Tours API could not be loaded, status: "+s;return Dv.error(o),void e([],{isLoaded:!1,error:o})}var a=te(i.json.product_tours)?i.json.product_tours:[];this.Mo=a,n&&n.register({[pl]:a}),e(a,{isLoaded:!0})}})}else e(this.Mo,{isLoaded:!0})}getActiveProductTours(e){J(this.Eo)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Eo.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Eo)==null||t.showTourById(e)}previewTour(e){this.Eo?this.Eo.previewTour(e):this.lr(()=>{var t;this.Po(),(t=this.Eo)==null||t.previewTour(e)})}dismissProductTour(){var e;(e=this.Eo)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Eo)==null||e.nextStep()}previousStep(){var e;(e=this.Eo)==null||e.previousStep()}clearCache(){var e;this.Mo=null,(e=this.ni)==null||e.unregister(pl)}resetTour(e){var t;(t=this.Eo)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Eo)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Eo)==null||t.cancelPendingTour(e)}}},Wc),ET={siteApps:class{constructor(e){this._instance=e,this.Ro=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Oo(e,t){if(t){var n=this.globalsForEvent(t);this.Ro.push(n),this.Ro.length>1e3&&(this.Ro=this.Ro.slice(10))}}get siteAppLoaders(){var e;return(e=G._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Oo.bind(this));this.Lo=()=>{e(),this.Ro=[],this.Lo=void 0}}}globalsForEvent(e){var t,n,r,i,s,o,a;if(!e)throw new Error("Event payload is required");var l={},u=this._instance.get_property("$groups")||[],d=this._instance.get_property("$stored_group_properties")||{};for(var[p,f]of Object.entries(d))l[p]={id:u[p],type:p,properties:f};var{$set_once:g,$set:x}=e;return{event:z({},Fw(e,hT),{properties:z({},e.properties,x?{$set:z({},(t=(n=e.properties)==null?void 0:n.$set)!==null&&t!==void 0?t:{},x)}:{},g?{$set_once:z({},(r=(i=e.properties)==null?void 0:i.$set_once)!==null&&r!==void 0?r:{},g)}:{}),elements_chain:(s=(o=e.properties)==null?void 0:o.$elements_chain)!==null&&s!==void 0?s:"",distinct_id:(a=e.properties)==null?void 0:a.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],n=()=>{var o;!t.errored&&this.Ro.length&&(nr.info("Processing "+this.Ro.length+" events for site app with id "+e.id),this.Ro.forEach(a=>t.processEvent==null?void 0:t.processEvent(a)),t.processedBuffer=!0),Object.values(this.apps).every(a=>a.processedBuffer||a.errored)&&((o=this.Lo)==null||o.call(this))},r=!1,i=o=>{t.errored=!o,t.loaded=!0,nr.info("Site app with id "+e.id+" "+(o?"loaded":"errored")),r&&n()};try{var{processEvent:s}=e.init({posthog:this._instance,callback(o){i(o)}});s&&(t.processEvent=s),r=!0}catch(o){nr.error(zv+e.id,o),i(!1)}if(r&&t.loaded)try{n()}catch(o){nr.error("Error while processing buffered events PostHog app with config id "+e.id,o),t.errored=!0}}Fo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var n of e)this.setupSiteApp(n)}Ao(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var n of Object.values(this.apps))try{n.processEvent==null||n.processEvent(t)}catch(r){nr.error("Error while processing event "+e.event+" for site app "+n.id,r)}}}onRemoteConfig(e){var t,n,r,i=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Fo(),void this._instance.on("eventCaptured",l=>this.Ao(l))):void nr.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((n=this.Lo)==null||n.call(this),(r=e.siteApps)!=null&&r.length)if(this.isEnabled){var s=function(l){var u;G["__$$ph_site_app_"+l]=i._instance,(u=G.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(i._instance,a,d=>{if(d)return nr.error(zv+l,d)})};for(var{id:o,url:a}of e.siteApps)s(o)}else nr.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},kT={tracingHeaders:class{constructor(e){this.No=void 0,this.$o=void 0,this.so=()=>{var t,n,r=this.Do()||[];W(this.No)&&((t=G.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(r,this._instance.get_distinct_id(),this._instance.sessionManager)),W(this.$o)&&((n=G.__PosthogExtensions__)==null||(n=n.tracingHeadersPatchFns)==null||n._patchFetch(r,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}lr(e){var t,n;(t=G.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(n=G.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"tracing-headers",r=>{if(r)return pT.error("failed to load script",r);e()})}Do(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Do()?this.lr(this.so):((e=this.No)==null||e.call(this),(t=this.$o)==null||t.call(this),this.No=void 0,this.$o=void 0)}}},AT=z({surveys:class{get qt(){return this._instance.config}constructor(e){this.qo=void 0,this._surveyManager=null,this.jo=!1,this.Ho=[],this.Uo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.qt.disable_surveys){var t=e.surveys;if(J(t))return se.warn("Flags not loaded yet. Not loading surveys.");var n=te(t);this.qo=n?t.length>0:t,se.info("flags response received, isSurveysEnabled: "+this.qo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var n=localStorage.key(t);(n!=null&&n.startsWith(Xp)||n!=null&&n.startsWith("inProgressSurvey_"))&&e.push(n)}e.forEach(r=>localStorage.removeItem(r))}loadIfEnabled(){if(!this._surveyManager)if(this.jo)se.info("Already initializing surveys, skipping...");else if(this.qt.disable_surveys)se.info($v);else if(this.qt.cookieless_mode&&this._instance.consent.isOptedOut())se.info("Not loading surveys in cookieless mode without consent.");else{var e=G==null?void 0:G.__PosthogExtensions__;if(e){if(!W(this.qo)||this.qt.advanced_enable_surveys){var t=this.qo||this.qt.advanced_enable_surveys;this.jo=!0;try{var n=e.generateSurveys;if(n)return void this.Bo(n,t);var r=e.loadExternalDependency;if(!r)return void this.zo(Rh);r(this._instance,"surveys",i=>{i||!e.generateSurveys?this.zo("Could not load surveys script",i):this.Bo(e.generateSurveys,t)})}catch(i){throw this.zo("Error initializing surveys",i),i}finally{this.jo=!1}}}else se.error("PostHog Extensions not found.")}}Bo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new vT(this._instance),se.info("Surveys loaded successfully"),this.Vo({isLoaded:!0})}zo(e,t){se.error(e,t),this.Vo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.Ho.push(e),this._surveyManager&&this.Vo({isLoaded:!0}),()=>{this.Ho=this.Ho.filter(t=>t!==e)}}getSurveys(e,t){if(t===void 0&&(t=!1),this.qt.disable_surveys)return se.info($v),e([]);var n,r=this._instance.get_property(Lp);if(r&&!t)return e(r,{isLoaded:!0});typeof Promise<"u"&&this.Uo?this.Uo.then(i=>{var{surveys:s,context:o}=i;return e(s,o)}):(typeof Promise<"u"&&(this.Uo=new Promise(i=>{n=i}
234)),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.qt.token),method:"GET",timeout:this.qt.surveys_request_timeout_ms,callback:i=>{var s;this.Uo=null;var o=i.statusCode;if(o!==200||!i.json){var a="Surveys API could not be loaded, status: "+o;se.error(a);var l={isLoaded:!1,error:a};return e([],l),void(n==null||n({surveys:[],context:l}))}var u,d=i.json.surveys||[],p=d.filter(g=>function(x){return!(!x.start_date||x.end_date)}(g)&&(function(x){var h;return!((h=x.conditions)==null||(h=h.events)==null||(h=h.values)==null||!h.length)}(g)||function(x){var h;return!((h=x.conditions)==null||(h=h.actions)==null||(h=h.values)==null||!h.length)}(g)));p.length>0&&((u=this._surveyEventReceiver)==null||u.register(p)),(s=this._instance.persistence)==null||s.register({[Lp]:d});var f={isLoaded:!0};e(d,f),n==null||n({surveys:d,context:f})}}))}Vo(e){for(var t of this.Ho)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(n){se.error("Error in survey callback",n)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!J(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);se.warn("init was not called")}Wo(e){var t=null;return this.getSurveys(n=>{var r;t=(r=n.find(i=>i.id===e))!==null&&r!==void 0?r:null}),t}Zo(e){if(J(this._surveyManager))return{eligible:!1,reason:cd};var t=typeof e=="string"?this.Wo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(J(this._surveyManager))return se.warn("init was not called"),{visible:!1,disabledReason:cd};var t=this.Zo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return J(this._surveyManager)?(se.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:cd})):new Promise(n=>{this.getSurveys(r=>{var i,s=(i=r.find(a=>a.id===e))!==null&&i!==void 0?i:null;if(s){var o=this.Zo(s);n({visible:o.eligible,disabledReason:o.reason})}else n({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t,n){var r;if(J(this._surveyManager))se.warn("init was not called");else{var i=typeof e=="string"?this.Wo(e):e;if(i!=null&&i.id)if(KR.includes(i.type)){var s=q==null?void 0:q.querySelector(t);if(s)return(r=i.appearance)!=null&&r.surveyPopupDelaySeconds?(se.info("Rendering survey "+i.id+" with delay of "+i.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var o,a;se.info("Rendering survey "+i.id+" with delay of "+((o=i.appearance)==null?void 0:o.surveyPopupDelaySeconds)+" seconds"),(a=this._surveyManager)==null||a.renderSurvey(i,s,n),se.info("Survey "+i.id+" rendered")},1e3*i.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(i,s,n);se.warn("Survey element not found")}else se.warn("Surveys of type "+i.type+" cannot be rendered in the app");else se.warn("Survey not found")}}displaySurvey(e,t){var n;if(J(this._surveyManager))se.warn("init was not called");else{var r=this.Wo(e);if(r){var i=r;if((n=r.appearance)!=null&&n.surveyPopupDelaySeconds&&t.ignoreDelay&&(i=z({},r,{appearance:z({},r.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==Wp.Popover&&t.initialResponses&&se.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var s=this.canRenderSurvey(r);if(!s.visible)return void se.warn("Survey is not eligible to be displayed: ",s.disabledReason)}t.displayType!==Wp.Inline?this._surveyManager.handlePopoverSurvey(i,t):this.renderSurvey(i,t.selector,t.properties)}else se.warn("Survey not found")}}cancelPendingSurvey(e){J(this._surveyManager)?se.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Wc),CT={toolbar:class{constructor(e){this.instance=e}Go(e){G.ph_toolbar_state=e}Qo(){var e;return(e=G.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,n){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),y_(this.instance.config)||!P||!q)return!1;e=e??P.location,n=n??P.history;try{if(!t){try{P.localStorage.setItem("test","test"),P.localStorage.removeItem("test")}catch{return!1}t=P==null?void 0:P.localStorage}var r,i=yT||ac(e.hash,"__posthog")||ac(e.hash,"state"),s=i?rv(()=>JSON.parse(atob(decodeURIComponent(i))))||rv(()=>JSON.parse(decodeURIComponent(i))):null;return s&&s.action==="ph_authorize"?((r=s).source="url",r&&Object.keys(r).length>0&&(s.desiredHash?e.hash=s.desiredHash:n?n.replaceState(n.state,"",e.pathname+e.search):e.hash="")):((r=JSON.parse(t.getItem(Uv)||"{}")).source="localstorage",delete r.userIntent),!(!r.token||this.instance.config.token!==r.token||(this.loadToolbar(r),0))}catch{return!1}}Jo(e){var t=G.ph_load_toolbar||G.ph_load_editor;!J(t)&&Fn(t)?t(e,this.instance):Hv.warn("No toolbar load function found")}loadToolbar(e){var t=!(q==null||!q.getElementById(h_));if(!P||t)return!1;var n=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,r=z({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});if(P.localStorage.setItem(Uv,JSON.stringify(z({},r,{source:void 0}))),this.Qo()===2)this.Jo(r);else if(this.Qo()===0){var i;this.Go(1),(i=G.__PosthogExtensions__)==null||i.loadExternalDependency==null||i.loadExternalDependency(this.instance,"toolbar",s=>{if(s)return Hv.error("[Toolbar] Failed to load",s),void this.Go(0);this.Go(2),this.Jo(r)}),Re(P,"turbolinks:load",()=>{this.Go(0),this.loadToolbar(r)})}return!0}Ko(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,n){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),this.maybeLoadToolbar(e,t,n)}}},PT=z({experiments:Ye},Wc),NT={conversations:class{constructor(e){this.Yo=void 0,this._conversationsManager=null,this.Xo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;J(t)||(_n(t)?this.Yo=t:(this.Yo=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Yo=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Xo||this._instance.config.disable_conversations||y_(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=G==null?void 0:G.__PosthogExtensions__;if(e&&!W(this.Yo)&&this.Yo)if(this.ea&&this.ea.token){this.Xo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Xo=!1);var n=e.loadExternalDependency;if(!n)return void this.ra(Rh);n(this._instance,"conversations",r=>{r||!e.initConversations?this.ra("Could not load conversations script",r):this.ta(e.initConversations),this.Xo=!1})}catch(r){this.ra("Error initializing conversations",r),this.Xo=!1}}else Ot.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Ot.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Ot.error("Cannot complete initialization: remote config is null")}ra(e,t){Ot.error(e,t),this._conversationsManager=null,this.Xo=!1}show(){this._conversationsManager?this._conversationsManager.show():Ot.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Yo===!0&&!Yn(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,n){var r=this;return St(function*(){return r._conversationsManager?r._conversationsManager.sendMessage(e,t,n):(Ot.warn(Dr),null)})()}getMessages(e,t){var n=this;return St(function*(){return n._conversationsManager?n._conversationsManager.getMessages(e,t):(Ot.warn(Dr),null)})()}markAsRead(e){var t=this;return St(function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Ot.warn(Dr),null)})()}getTickets(e){var t=this;return St(function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Ot.warn(Dr),null)})()}requestRestoreLink(e){var t=this;return St(function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Ot.warn(Dr),null)})()}restoreFromToken(e){var t=this;return St(function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Ot.warn(Dr),null)})()}restoreFromUrlToken(){var e=this;return St(function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Ot.warn(Dr),null)})()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}ln(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},jT={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=ye("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.ua=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,n=(t=e.logs)==null?void 0:t.captureConsoleLogs;!J(n)&&n&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.qr&&(clearTimeout(this.qr),this.qr=void 0),this.oa=0,this.aa=0,this.ua=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=G==null?void 0:G.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",n=>{var r;n||(r=e.logs)==null||!r.initializeLogs?this.Gt.error("Could not load logs script",n):(e.logs.initializeLogs(this._instance),this.na=!0)}):this.Gt.error(Rh)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,n,r,i,s,o;if(this._instance.is_capturing())if(e&&e.body){var a=(t=(n=this._instance.config.logs)==null?void 0:n.flushIntervalMs)!==null&&t!==void 0?t:3e3,l=(r=(i=this._instance.config.logs)==null?void 0:i.maxLogsPerInterval)!==null&&r!==void 0?r:1e3,u=Date.now();if(a>u-this.aa||(this.aa=u,this.oa=0,this.ua=!1),l>this.oa){this.oa++;var d=function(p,f){var g=p.level||"info",{text:x,number:h}=i_[g]||Hj,_=String(Date.now())+"000000",m={};f.distinctId&&(m.posthogDistinctId=f.distinctId),f.sessionId&&(m.sessionId=f.sessionId),f.currentUrl&&(m["url.full"]=f.currentUrl),f.screenName&&(m["screen.name"]=f.screenName),f.appState&&(m["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(m.feature_flags=f.activeFeatureFlags);var v=z({},m,p.attributes||{}),y={timeUnixNano:_,observedTimeUnixNano:_,severityNumber:h,severityText:x,body:{stringValue:p.body},attributes:ev(v)};return p.trace_id&&(y.traceId=p.trace_id),p.span_id&&(y.spanId=p.span_id),W(p.trace_flags)||(y.flags=p.trace_flags),y}(e,this.la());this.sa.push({record:d}),((s=(o=this._instance.config.logs)==null?void 0:o.maxBufferSize)!==null&&s!==void 0?s:100)>this.sa.length?this.ha():this.flushLogs()}else this.ua||(this.Gt.warn("captureLog dropping logs: exceeded "+l+" logs per "+a+"ms"),this.ua=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>
234this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.qr&&(clearTimeout(this.qr),this.qr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var n=this._instance.config.logs,r=z({"service.name":(n==null?void 0:n.serviceName)||"unknown_service"},(n==null?void 0:n.environment)&&{"deployment.environment":n.environment},(n==null?void 0:n.serviceVersion)&&{"service.version":n.serviceVersion},n==null?void 0:n.resourceAttributes),i=function(o,a,l,u){return{resourceLogs:[{resource:{attributes:ev(a)},scopeLogs:[{scope:{name:l,version:u},logRecords:o}]}]}}(t.map(o=>o.record),r,st.LIB_NAME,st.LIB_VERSION),s=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Bi({method:"POST",url:s,data:i,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.qr||(this.qr=setTimeout(()=>{this.qr=void 0,this.flushLogs()},(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}la(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:n}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=n}if(G!=null&&(e=G.location)!=null&&e.href&&(t.currentUrl=G.location.href),this._instance.featureFlags){var r=this._instance.featureFlags.getFlags();r&&r.length>0&&(t.activeFeatureFlags=r)}return t}}},RT=z({},Wc,wT,_T,bT,ST,ET,AT,kT,CT,PT,NT,jT);Ft.__defaultExtensionClasses=z({},RT);var Vv,Q_=(Vv=vo[Si]=new Ft,function(){function e(){e.done||(e.done=!0,$_=!1,pe(vo,function(t){t._dom_loaded()}))}q!=null&&q.addEventListener?q.readyState==="complete"?e():Re(q,"DOMContentLoaded",e,{capture:!1}):P&&H.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),Vv);const TT="phc_uAttcdKzZMvXX66H7v2j8XhBRRavRsAiWsNdTgTwMiQL",OT="/sml/r";let Gv=!1,dd=!1;const Kv=[];function IT(){return{subscription_status:localStorage.getItem("user_subscription_status")??void 0,subscription_plan:localStorage.getItem("user_subscription_plan")??void 0}}function MT(){for(const{event:e,properties:t}of Kv)Q_.capture(e,{path:window.location.pathname,...IT(),...t});Kv.length=0}function LT(){Gv||dd||(dd=!0,requestAnimationFrame(()=>{Q_.init(TT,{api_host:OT,ui_host:"https://us.posthog.com",debug:!1,on_request_error:()=>{},person_profiles:"always",capture_pageview:!0,capture_pageleave:!0,respect_dnt:!1,disable_session_recording:!1,session_recording:{maskAllInputs:!0,maskInputOptions:{password:!0},maskTextSelector:"[data-ph-mask]"},persistence:"localStorage+cookie",cookie_expiration:365,secure_cookie:!0,cross_subdomain_cookie:!1,loaded(e){e.startSessionRecording(),e.has_opted_out_capturing()&&e.opt_in_capturing(),Gv=!0,dd=!1,MT()}})}))}LT();vx(document.getElementById("root")).render(c.jsx(bj,{}));export{TC as A,Ck as B,OC as C,Rc as D,M2 as E,tw as F,T2 as G,$c as H,Eu as I,en as J,$T as K,UT as L,Ee as M,oh as N,FN as O,Oe as P,kN as Q,rr as R,Nc as S,yN as T,at as U,Tc as V,jN as W,PN as X,bN as Y,RN as Z,U2 as a,na as b,Wt as c,F1 as d,ut as e,ve as f,y2 as g,Lo as h,Pr as i,c as j,ea as k,ZP as l,fP as m,lt as n,uw as o,Nu as p,IC as q,w as r,DT as s,qt as t,zT as u,Wx as v,qT as w,nh as x,Do as y,ra as z};

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.