PageSourceSearch

https://gs1.ro/assets/index-BVmCNgbv.js

js gs1.ro collected 2026-10-09 17:28:58 UTC 577,571 bytes, 164 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid-HWGCJPDP-BiqwOrzR.js","assets/arrow-down-D3rshZmX.js","assets/index-Cq2abs_E.js","assets/check-CZ311p0B.js","assets/input-_cXnf5mS.js","assets/index-Dsc_ZGV2.js","assets/rotate-ccw-Bs3Sf5q9.js","assets/GS1Global-UxUi0Tw0.js","assets/index--Ac1Ztg_.js","assets/external-link-CyVKmQ0I.js","assets/fingerprint-B3dHFEEA.js","assets/scan-line-CQAFCuN9.js","assets/share-2-HXIUer-t.js","assets/shopping-bag-DpKMMPE-.js","assets/truck-Cl9nkz3v.js","assets/pill-kGs7vw38.js","assets/heart-pulse-WH9azCxs.js","assets/package-BH4TXL1D.js","assets/recycle-CetjX8cy.js","assets/shield-check-KcQOFmJD.js","assets/link-2-RP67zLSQ.js","assets/badge-check-CcEwmSL1.js","assets/boxes-DgAuktT_.js","assets/use-in-view-BHwGlLCO.js","assets/globe-CskyDiFl.js","assets/building-2-0nX-6aVd.js","assets/tag-DT--n84O.js","assets/GS1Europe-B4c6MQEb.js","assets/users-e-oqt1Ha.js","assets/handshake-CnrSPyvl.js","assets/database-DOJLPj3d.js","assets/shopping-cart-DswmZgds.js","assets/GS1Romania-Ct3TDs2F.js","assets/circle-check-BLA0fAID.js","assets/sparkles-Btf98TrN.js","assets/network-BTWf86ze.js","assets/landmark-Bk2Uhbsc.js","assets/award-DcH3SeYT.js","assets/refresh-cw-B_DrWG8y.js","assets/rocket-Bf44sFcu.js","assets/file-text-6hHJ-l56.js","assets/ObiectiveSiScop-C8NHBkdc.js","assets/trending-up-CI_Qs5ie.js","assets/Structura-B9p8woBo.js","assets/briefcase-CzutEkeI.js","assets/LicentaPotrivita-X3ox8AZ0.js","assets/LicensePackages-Dr8SKJVE.js","assets/accordion-QrOZUYOg.js","assets/triangle-alert-BzotDpSy.js","assets/lock-CNn-iAWj.js","assets/DezvoltareaStandardelor-ZeptBqsq.js","assets/scan-barcode-Da2wcQlI.js","assets/layers-BcHonZhD.js","assets/zap-Sj3zBUt6.js","assets/store-DacDGWpc.js","assets/factory-CV9dq1hQ.js","assets/cpu-BcVdb635.js","assets/file-check-DpRnqfqO.js","assets/book-open-atqlcv2H.js","assets/Trasabilitate-BoHyd6zJ.js","assets/eye-Bqj6aLd-.js","assets/package-search-Ci4sSds9.js","assets/qr-code-CWscx43m.js","assets/stethoscope-Sji7woON.js","assets/Identificare-BaRbiit1.js","assets/identificare-cta-buildings-BoBgzWbV.js","assets/wrench-CuNOug8a.js","assets/cog-CyiPdl7G.js","assets/CapturaDate-BNLa-3ZK.js","assets/gauge-B96n4OrQ.js","assets/radio-BDFRvZw8.js","assets/CoduriBare-CXpSs8Yn.js","assets/arrow-left-O9Qe4WHe.js","assets/barcode-CjmY4sqj.js","assets/smartphone-BXEer4UC.js","assets/CoduriEAN-B5kg2lGp.js","assets/earth-B50zawFP.js","assets/CodulQrGs1-DISZZ04s.js","assets/qr-digital-link-demo-W9o8i4nv.js","assets/CodulDataMatrix-NlXK49uu.js","assets/EpcRfid-zaQfyfvq.js","assets/activity-DN-oDQxd.js","assets/code-xml-B1GFJQ4M.js","assets/PartajareaDate-oGjgu3dV.js","assets/circle-alert-5w9anEbI.js","assets/GpcBrowser-BY8XVJP3.js","assets/languages-BL-U4oUZ.js","assets/VerifiedByGS1-BF0lR4fq.js","assets/GS1DigitalLink-CqCQKNRQ.js","assets/Codaloc-DLgugIQg.js","assets/file-spreadsheet-C-krLNkT.js","assets/Medaloc-D3xGqva8.js","assets/clock-Cim5UyiI.js","assets/hospital-C34NBBfp.js","assets/FarmaSerializare-B3EgSX8i.js","assets/farma-serializare-datamatrix-Bbjv2Dqk.js","assets/map-pinned-QRBcbuA5.js","assets/Canamed-DJCZXqT4.js","assets/CountUp-DfCPzoyx.js","assets/calculator-TR5ci25g.js","assets/Etlog-CC2fzO_J.js","assets/Clb-DF9lo4mb.js","assets/wallet-B5PB9ifA.js","assets/IdentificareProduse-CbffN7xK.js","assets/IdentificareCompanie-MQs_6Rlz.js","assets/Gs1RoNdp-D9HRa-lN.js","assets/message-square-DInDMGp1.js","assets/CodulUdi-BvQ8ituq.js","assets/udi-hero-CwPdu7vO.js","assets/file-check-2-BW59vgJP.js","assets/RetuSgr-C7Dm0evQ.js","assets/workflow-ChAylZBZ.js","assets/chart-column-CgXNKueD.js","assets/Sgr-B1cot9Yn.js","assets/IerarhieAmbalareGtinSgr-CjKrOtYe.js","assets/Contact-opFj7IqE.js","assets/Retail-Ca46MDiE.js","assets/FAQSection-CFXVXYVa.js","assets/Sanatate-RRDnDGiv.js","assets/clipboard-check-CayWytRl.js","assets/TransporturiLogistica-uzS9h8Y2.js","assets/warehouse-vTbzMRP-.js","assets/SolutionProviders-D5ti80Ao.js","assets/LOGO-URI-ITG-C1vyCloN.js","assets/sp-gold-B48wmizf.js","assets/sp-platinum-DnwAicnF.js","assets/download-Dx5wpvmB.js","assets/ComunicatieElectronica-CJkCU4dB.js","assets/clipboard-list-CLVDGqsx.js","assets/CBPScan-BOXPHh0s.js","assets/CertificareRVM-DqRUjD5J.js","assets/Aparare-D6i9cF0r.js","assets/LeanGreen-GxNHY9gB.js","assets/SursaCoduriBare-DC3_5OFx.js","assets/CalculatorCifraControl-C1LHQgKb.js","assets/Ecommerce-A_PH0mNr.js","assets/Constructii-CF3KEWDN.js","assets/StireItGenetics-DQUhA
vendor: 6,589 bytes, lines 1-10
1yEq.js","assets/PartnerProfile-CRtGz-Oe.js","assets/GDPR-BMYuyeui.js","assets/TermeniSiConditii-ODbj2IuX.js","assets/Agricultura-D2W64k8g.js","assets/AdminAsistent-SNakGcME.js"])))=>i.map(i=>d[i]);
2var Hb=Object.defineProperty;var mh=e=>{throw TypeError(e)};var Kb=(e,t,n)=>t in e?Hb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var un=(e,t,n)=>Kb(e,typeof t!="symbol"?t+"":t,n),wc=(e,t,n)=>t.has(e)||mh("Cannot "+n);var R=(e,t,n)=>(wc(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?mh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(wc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_e=(e,t,n)=>(wc(e,t,"access private method"),n);var Js=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return R(e,t,r)}});function Xb(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 o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{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 o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var OI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ms(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qy={exports:{}},Il={},Yy={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 Is=Symbol.for("react.element"),Qb=Symbol.for("react.portal"),qb=Symbol.for("react.fragment"),Yb=Symbol.for("react.strict_mode"),Zb=Symbol.for("react.profiler"),Jb=Symbol.for("react.provider"),eS=Symbol.for("react.context"),tS=Symbol.for("react.forward_ref"),nS=Symbol.for("react.suspense"),rS=Symbol.for("react.memo"),iS=Symbol.for("react.lazy"),gh=Symbol.iterator;function oS(e){return e===null||typeof e!="object"?null:(e=gh&&e[gh]||e["@@iterator"],typeof e=="function"?e:null)}var Zy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Jy=Object.assign,ev={};function lo(e,t,n){this.props=e,this.context=t,this.refs=ev,this.updater=n||Zy}lo.prototype.isReactComponent={};lo.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")};lo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tv(){}tv.prototype=lo.prototype;function sf(e,t,n){this.props=e,this.context=t,this.refs=ev,this.updater=n||Zy}var af=sf.prototype=new tv;af.constructor=sf;Jy(af,lo.prototype);af.isPureReactComponent=!0;var yh=Array.isArray,nv=Object.prototype.hasOwnProperty,lf={current:null},rv={key:!0,ref:!0,__self:!0,__source:!0};function iv(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)nv.call(t,r)&&!rv.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),c=0;c<a;c++)l[c]=arguments[c+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:Is,type:e,key:o,ref:s,props:i,_owner:lf.current}}function sS(e,t){return{$$typeof:Is,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function cf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Is}function aS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var vh=/\/+/g;function bc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?aS(""+e.key):t.toString(36)}function Ra(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Is:case Qb:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+bc(s,0):r,yh(i)?(n="",e!=null&&(n=e.replace(vh,"$&/")+"/"),Ra(i,t,n,"",function(c){return c})):i!=null&&(cf(i)&&(i=sS(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(vh,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",yh(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+bc(o,a);s+=Ra(o,t,n,l,i)}else if(l=oS(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+bc(o,a++),s+=Ra(o,t,n,l,i);else if(o==="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 s}function ea(e,t,n){if(e==null)return e;var r=[],i=0;return Ra(e,r,"","",function(o){return t.call(n,o,i++)}),r}function lS(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 qe={current:null},ka={transition:null},cS={ReactCurrentDispatcher:qe,ReactCurrentBatchConfig:ka,ReactCurrentOwner:lf};function ov(){throw Error("act(...) is not supported in production builds of React.")}Z.Children={map:ea,forEach:function(e,t,n){ea(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ea(e,function(){t++}),t},toArray:function(e){return ea(e,function(t){return t})||[]},only:function(e){if(!cf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=lo;Z.Fragment=qb;Z.Profiler=Zb;Z.PureComponent=sf;Z.StrictMode=Yb;Z.Suspense=nS;
vendor: 5,027 bytes, lines 10-26
10Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cS;Z.act=ov;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=Jy({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=lf.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)nv.call(t,l)&&!rv.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 c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Is,type:e.type,key:i,ref:o,props:r,_owner:s}};Z.createContext=function(e){return e={$$typeof:eS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Jb,_context:e},e.Consumer=e};Z.createElement=iv;Z.createFactory=function(e){var t=iv.bind(null,e);return t.type=e,t};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:tS,render:e}};Z.isValidElement=cf;Z.lazy=function(e){return{$$typeof:iS,_payload:{_status:-1,_result:e},_init:lS}};Z.memo=function(e,t){return{$$typeof:rS,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=ov;Z.useCallback=function(e,t){return qe.current.useCallback(e,t)};Z.useContext=function(e){return qe.current.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e){return qe.current.useDeferredValue(e)};Z.useEffect=function(e,t){return qe.current.useEffect(e,t)};Z.useId=function(){return qe.current.useId()};Z.useImperativeHandle=function(e,t,n){return qe.current.useImperativeHandle(e,t,n)};Z.useInsertionEffect=function(e,t){return qe.current.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return qe.current.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return qe.current.useMemo(e,t)};Z.useReducer=function(e,t,n){return qe.current.useReducer(e,t,n)};Z.useRef=function(e){return qe.current.useRef(e)};Z.useState=function(e){return qe.current.useState(e)};Z.useSyncExternalStore=function(e,t,n){return qe.current.useSyncExternalStore(e,t,n)};Z.useTransition=function(){return qe.current.useTransition()};Z.version="18.3.1";Yy.exports=Z;var g=Yy.exports;const N=Ms(g),sv=Xb({__proto__:null,default:N},[g]);/**
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 uS=g,dS=Symbol.for("react.element"),fS=Symbol.for("react.fragment"),pS=Object.prototype.hasOwnProperty,hS=uS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mS={key:!0,ref:!0,__self:!0,__source:!0};function av(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)pS.call(t,r)&&!mS.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:dS,type:e,key:o,ref:s,props:i,_owner:hS.current}}Il.Fragment=fS;Il.jsx=av;Il.jsxs=av;qy.exports=Il;var p=qy.exports,lv={exports:{}},ht={},cv={exports:{}},uv={};/**
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(A,k){var M=A.length;A.push(k);e:for(;0<M;){var X=M-1>>>1,B=A[X];if(0<i(B,k))A[X]=k,A[M]=B,M=X;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var k=A[0],M=A.pop();if(M!==k){A[0]=M;e:for(var X=0,B=A.length,Y=B>>>1;X<Y;){var J=2*(X+1)-1,Ee=A[J],Ie=J+1,re=A[Ie];if(0>i(Ee,M))Ie<B&&0>i(re,Ee)?(A[X]=re,A[Ie]=M,X=Ie):(A[X]=Ee,A[J]=M,X=J);else if(Ie<B&&0>i(re,M))A[X]=re,A[Ie]=M,X=Ie;else break e}}return k}function i(A,k){var M=A.sortIndex-k.sortIndex;return M!==0?M:A.id-k.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,h=!1,v=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(A){for(var k=n(c);k!==null;){if(k.callback===null)r(c);else if(k.startTime<=A)r(c),k.sortIndex=k.expirationTime,t(l,k);else break;k=n(c)}}function S(A){if(m=!1,b(A),!v)if(n(l)!==null)v=!0,W(E);else{var k=n(c);k!==null&&V(S,k.startTime-A)}}function E(A,k){v=!1,m&&(m=!1,y(P),P=-1),h=!0;var M=f;try{for(b(k),d=n(l);d!==null&&(!(d.expirationTime>k)||A&&!z());){var X=d.callback;
vendor: 9,152 bytes, lines 26-35
26if(typeof X=="function"){d.callback=null,f=d.priorityLevel;var B=X(d.expirationTime<=k);k=e.unstable_now(),typeof B=="function"?d.callback=B:d===n(l)&&r(l),b(k)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var J=n(c);J!==null&&V(S,J.startTime-k),Y=!1}return Y}finally{d=null,f=M,h=!1}}var T=!1,C=null,P=-1,j=5,D=-1;function z(){return!(e.unstable_now()-D<j)}function I(){if(C!==null){var A=e.unstable_now();D=A;var k=!0;try{k=C(!0,A)}finally{k?U():(T=!1,C=null)}}else T=!1}var U;if(typeof x=="function")U=function(){x(I)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,q=L.port2;L.port1.onmessage=I,U=function(){q.postMessage(null)}}else U=function(){w(I,0)};function W(A){C=A,T||(T=!0,U())}function V(A,k){P=w(function(){A(e.unstable_now())},k)}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(A){A.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,W(E))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(A){switch(f){case 1:case 2:case 3:var k=3;break;default:k=f}var M=f;f=k;try{return A()}finally{f=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,k){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var M=f;f=A;try{return k()}finally{f=M}},e.unstable_scheduleCallback=function(A,k,M){var X=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?X+M:X):M=X,A){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=M+B,A={id:u++,callback:k,priorityLevel:A,startTime:M,expirationTime:B,sortIndex:-1},M>X?(A.sortIndex=M,t(c,A),n(l)===null&&A===n(c)&&(m?(y(P),P=-1):m=!0,V(S,M-X))):(A.sortIndex=B,t(l,A),v||h||(v=!0,W(E))),A},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(A){var k=f;return function(){var M=f;f=k;try{return A.apply(this,arguments)}finally{f=M}}}})(uv);cv.exports=uv;var gS=cv.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 yS=g,ft=gS;function O(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 dv=new Set,ns={};function Jr(e,t){Qi(e,t),Qi(e+"Capture",t)}function Qi(e,t){for(ns[e]=t,e=0;e<t.length;e++)dv.add(t[e])}var bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pu=Object.prototype.hasOwnProperty,vS=/^[: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]*$/,xh={},wh={};function xS(e){return Pu.call(wh,e)?!0:Pu.call(xh,e)?!1:vS.test(e)?wh[e]=!0:(xh[e]=!0,!1)}function wS(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 bS(e,t,n,r){if(t===null||typeof t>"u"||wS(e,t,n,r))return!0;if(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 Ye(e,t,n,r,i,o,s){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=o,this.removeEmptyString=s}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new Ye(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){Me[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var uf=/[\-:]([a-z])/g;function df(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(uf,df);Me[t]=new Ye(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(uf,df);Me[t]=new Ye(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(uf,df);Me[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function ff(e,t,n,r){var i=Me.hasOwnProperty(t)?Me[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(bS(t,n,i,r)&&(n=null),r||i===null?xS(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 Rn=yS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ta=Symbol.for("react.element"),hi=Symbol.for("react.portal"),mi=Symbol.for("react.fragment"),pf=Symbol.for("react.strict_mode"),Au=Symbol.for("react.profiler"),fv=Symbol.for("react.provider"),pv=Symbol.for("react.context"),hf=Symbol.for("react.forward_ref"),Ru=Symbol.for("react.suspense"),ku=Symbol.for("react.suspense_list"),mf=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),hv=Symbol.for("react.offscreen"),bh=Symbol.iterator;function bo(e){return e===null||typeof e!="object"?null:(e=bh&&e[bh]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,Sc;function Mo(e){if(Sc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sc=t&&t[1]||""}return`
35`+Sc+e}var Ec=!1;function Tc(e,t){if(!e||Ec)return"";Ec=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 4,297 bytes, lines 35-38
35catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
36`),o=r.stack.split(`
37`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
38`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Ec=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mo(e):""}function SS(e){switch(e.tag){case 5:return Mo(e.type);case 16:return Mo("Lazy");case 13:return Mo("Suspense");case 19:return Mo("SuspenseList");case 0:case 2:case 15:return e=Tc(e.type,!1),e;case 11:return e=Tc(e.type.render,!1),e;case 1:return e=Tc(e.type,!0),e;default:return""}}function Nu(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 mi:return"Fragment";case hi:return"Portal";case Au:return"Profiler";case pf:return"StrictMode";case Ru:return"Suspense";case ku:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pv:return(e.displayName||"Context")+".Consumer";case fv:return(e._context.displayName||"Context")+".Provider";case hf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mf:return t=e.displayName||null,t!==null?t:Nu(e.type)||"Memo";case Fn:t=e._payload,e=e._init;try{return Nu(e(t))}catch{}}return null}function ES(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 Nu(t);case 8:return t===pf?"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 lr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function TS(e){var t=mv(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function na(e){e._valueTracker||(e._valueTracker=TS(e))}function gv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qa(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 ju(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Sh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=lr(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 yv(e,t){t=t.checked,t!=null&&ff(e,"checked",t,!1)}function Du(e,t){yv(e,t);var n=lr(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")?Ou(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ou(e,t.type,lr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 38
38function Eh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ou(e,t,n){(t!=="number"||qa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Io=Array.isArray;function ji(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=""+lr(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 Lu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(O(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Th(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(O(92));if(Io(n)){if(1<n.length)throw Error(O(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:lr(n)}}function vv(e,t){var n=lr(t.value),r=lr(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 Ch(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xv(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 Mu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ra,wv=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(ra=ra||document.createElement("div"),ra.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ra.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bo={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},CS=["Webkit","ms","Moz","O"];Object.keys(Bo).forEach(function(e){CS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bo[t]=Bo[e]})});function bv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Bo.hasOwnProperty(e)&&Bo[e]?(""+t).trim():t+"px"}function Sv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=bv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var PS=ge({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 Iu(e,t){if(t){if(PS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function _u(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
38ing";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 zu=null;function gf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vu=null,Di=null,Oi=null;function Ph(e){if(e=Vs(e)){if(typeof Vu!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Fl(t),Vu(e.stateNode,e.type,t))}}function Ev(e){Di?Oi?Oi.push(e):Oi=[e]:Di=e}function Tv(){if(Di){var e=Di,t=Oi;if(Oi=Di=null,Ph(e),t)for(e=0;e<t.length;e++)Ph(t[e])}}function Cv(e,t){return e(t)}function Pv(){}var Cc=!1;function Av(e,t,n){if(Cc)return e(t,n);Cc=!0;try{return Cv(e,t,n)}finally{Cc=!1,(Di!==null||Oi!==null)&&(Pv(),Tv())}}function is(e,t){var n=e.stateNode;if(n===null)return null;var r=Fl(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(O(231,t,typeof n));return n}var Gu=!1;if(bn)try{var So={};Object.defineProperty(So,"passive",{get:function(){Gu=!0}}),window.addEventListener("test",So,So),window.removeEventListener("test",So,So)}catch{Gu=!1}function AS(e,t,n,r,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Uo=!1,Ya=null,Za=!1,Fu=null,RS={onError:function(e){Uo=!0,Ya=e}};function kS(e,t,n,r,i,o,s,a,l){Uo=!1,Ya=null,AS.apply(RS,arguments)}function NS(e,t,n,r,i,o,s,a,l){if(kS.apply(this,arguments),Uo){if(Uo){var c=Ya;Uo=!1,Ya=null}else throw Error(O(198));Za||(Za=!0,Fu=c)}}function ei(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 Rv(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 Ah(e){if(ei(e)!==e)throw Error(O(188))}function jS(e){var t=e.alternate;if(!t){if(t=ei(e),t===null)throw Error(O(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ah(i),e;if(o===r)return Ah(i),t;o=o.sibling}throw Error(O(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(O(189))}}if(n.alternate!==r)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function kv(e){return e=jS(e),e!==null?Nv(e):null}function Nv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Nv(e);if(t!==null)return t;e=e.sibling}return null}var jv=ft.unstable_scheduleCallback,Rh=ft.unstable_cancelCallback,DS=ft.unstable_shouldYield,OS=ft.unstable_requestPaint,be=ft.unstable_now,LS=ft.unstable_getCurrentPriorityLevel,yf=ft.unstable_ImmediatePriority,Dv=ft.unstable_UserBlockingPriority,Ja=ft.unstable_NormalPriority,MS=ft.unstable_LowPriority,Ov=ft.unstable_IdlePriority,_l=null,nn=null;function IS(e){if(nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(_l,e,void 0,(e.current.flags&128)===128)}catch{}}var Bt=Math.clz32?Math.clz32:VS,_S=Math.log,zS=Math.LN2;function VS(e){return e>>>=0,e===0?32:31-(_S(e)/zS|0)|0}var ia=64,oa=4194304;function _o(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 el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=_o(a):(o&=s,o!==0&&(r=_o(o)))}else s=n&~i,s!==0?r=_o(s):o!==0&&(r=_o(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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-Bt(t),i=1<<n,r|=e[n],t&=~i;return r}function GS(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 FS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Bt(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=GS(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Bu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Lv(){var e=ia;return ia<<=1,!(ia&4194240)&&(ia=64),e}function Pc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 3,405 bytes, line 38
38function _s(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Bt(t),e[t]=n}function BS(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-Bt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function vf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Bt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ie=0;function Mv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Iv,xf,_v,zv,Vv,Uu=!1,sa=[],Jn=null,er=null,tr=null,os=new Map,ss=new Map,Un=[],US="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 kh(e,t){switch(e){case"focusin":case"focusout":Jn=null;break;case"dragenter":case"dragleave":er=null;break;case"mouseover":case"mouseout":tr=null;break;case"pointerover":case"pointerout":os.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ss.delete(t.pointerId)}}function Eo(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Vs(t),t!==null&&xf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function $S(e,t,n,r,i){switch(t){case"focusin":return Jn=Eo(Jn,e,t,n,r,i),!0;case"dragenter":return er=Eo(er,e,t,n,r,i),!0;case"mouseover":return tr=Eo(tr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return os.set(o,Eo(os.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ss.set(o,Eo(ss.get(o)||null,e,t,n,r,i)),!0}return!1}function Gv(e){var t=Dr(e.target);if(t!==null){var n=ei(t);if(n!==null){if(t=n.tag,t===13){if(t=Rv(n),t!==null){e.blockedOn=t,Vv(e.priority,function(){_v(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 Na(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=$u(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);zu=r,n.target.dispatchEvent(r),zu=null}else return t=Vs(n),t!==null&&xf(t),e.blockedOn=n,!1;t.shift()}return!0}function Nh(e,t,n){Na(e)&&n.delete(t)}function WS(){Uu=!1,Jn!==null&&Na(Jn)&&(Jn=null),er!==null&&Na(er)&&(er=null),tr!==null&&Na(tr)&&(tr=null),os.forEach(Nh),ss.forEach(Nh)}function To(e,t){e.blockedOn===t&&(e.blockedOn=null,Uu||(Uu=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,WS)))}function as(e){function t(i){return To(i,e)}if(0<sa.length){To(sa[0],e);for(var n=1;n<sa.length;n++){var r=sa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Jn!==null&&To(Jn,e),er!==null&&To(er,e),tr!==null&&To(tr,e),os.forEach(t),ss.forEach(t),n=0;n<Un.length;n++)r=Un[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Un.length&&(n=Un[0],n.blockedOn===null);)Gv(n),n.blockedOn===null&&Un.shift()}var Li=Rn.ReactCurrentBatchConfig,tl=!0;function HS(e,t,n,r){var i=ie,o=Li.transition;Li.transition=null;try{ie=1,wf(e,t,n,r)}finally{ie=i,Li.transition=o}}function KS(e,t,n,r){var i=ie,o=Li.transition;Li.transition=null;
vendor: 9,809 bytes, line 38
38try{ie=4,wf(e,t,n,r)}finally{ie=i,Li.transition=o}}function wf(e,t,n,r){if(tl){var i=$u(e,t,n,r);if(i===null)Ic(e,t,r,nl,n),kh(e,r);else if($S(i,e,t,n,r))r.stopPropagation();else if(kh(e,r),t&4&&-1<US.indexOf(e)){for(;i!==null;){var o=Vs(i);if(o!==null&&Iv(o),o=$u(e,t,n,r),o===null&&Ic(e,t,r,nl,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ic(e,t,r,null,n)}}var nl=null;function $u(e,t,n,r){if(nl=null,e=gf(r),e=Dr(e),e!==null)if(t=ei(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Rv(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 nl=e,null}function Fv(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(LS()){case yf:return 1;case Dv:return 4;case Ja:case MS:return 16;case Ov:return 536870912;default:return 16}default:return 16}}var qn=null,bf=null,ja=null;function Bv(){if(ja)return ja;var e,t=bf,n=t.length,r,i="value"in qn?qn.value:qn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return ja=i.slice(e,1<r?1-r:void 0)}function Da(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 aa(){return!0}function jh(){return!1}function mt(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?aa:jh,this.isPropagationStopped=jh,this}return ge(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=aa)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=aa)},persist:function(){},isPersistent:aa}),t}var co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sf=mt(co),zs=ge({},co,{view:0,detail:0}),XS=mt(zs),Ac,Rc,Co,zl=ge({},zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ef,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!==Co&&(Co&&e.type==="mousemove"?(Ac=e.screenX-Co.screenX,Rc=e.screenY-Co.screenY):Rc=Ac=0,Co=e),Ac)},movementY:function(e){return"movementY"in e?e.movementY:Rc}}),Dh=mt(zl),QS=ge({},zl,{dataTransfer:0}),qS=mt(QS),YS=ge({},zs,{relatedTarget:0}),kc=mt(YS),ZS=ge({},co,{animationName:0,elapsedTime:0,pseudoElement:0}),JS=mt(ZS),eE=ge({},co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tE=mt(eE),nE=ge({},co,{data:0}),Oh=mt(nE),rE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iE={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"},oE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sE(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=oE[e])?!!t[e]:!1}function Ef(){return sE}var aE=ge({},zs,{key:function(e){if(e.key){var t=rE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Da(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?iE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ef,charCode:function(e){return e.type==="keypress"?Da(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Da(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lE=mt(aE),cE=ge({},zl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lh=mt(cE),uE=ge({},zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ef}),dE=mt(uE),fE=ge({},co,{propertyName:0,elapsedTime:0,pseudoElement:0}),pE=mt(fE),hE=ge({},zl,{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}),mE=mt(hE),gE=[9,13,27,32],Tf=bn&&"CompositionEvent"in window,$o=null;bn&&"documentMode"in document&&($o=document.documentMode);var yE=bn&&"TextEvent"in window&&!$o,Uv=bn&&(!Tf||$o&&8<$o&&11>=$o),Mh=" ",Ih=!1;function $v(e,t){switch(e){case"keyup":return gE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gi=!1;function vE(e,t){switch(e){case"compositionend":return Wv(t);case"keypress":return t.which!==32?null:(Ih=!0,Mh);case"textInput":return e=t.data,e===Mh&&Ih?null:e;default:return null}}function xE(e,t){if(gi)return e==="compositionend"||!Tf&&$v(e,t)?(e=Bv(),ja=bf=qn=null,gi=!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 Uv&&t.locale!=="ko"?null:t.data;default:return null}}var wE={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 _h(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!wE[e.type]:t==="textarea"}function Hv(e,t,n,r){Ev(r),t=rl(t,"onChange"),0<t.length&&(n=new Sf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wo=null,ls=null;function bE(e){r0(e,0)}function Vl(e){var t=xi(e);if(gv(t))return e}function SE(e,t){if(e==="change")return t}var Kv=!1;if(bn){var Nc;if(bn){var jc="oninput"in document;if(!jc){var zh=document.createElement("div");zh.setAttribute("oninput","return;"),jc=typeof zh.oninput=="function"}Nc=jc}else Nc=!1;Kv=Nc&&(!document.documentMode||9<document.documentMode)}function Vh(){Wo&&(Wo.detachEvent("onpropertychange",Xv),ls=Wo=null)}function Xv(e){if(e.propertyName==="value"&&Vl(ls)){var t=[];Hv(t,ls,e,gf(e)),Av(bE,t)}}function EE(e,t,n){e==="focusin"?(Vh(),Wo=t,ls=n,Wo.attachEvent("onpropertychange",Xv)):e==="focusout"&&Vh()}function TE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Vl(ls)}function CE(e,t){if(e==="click")return Vl(t)}function PE(e,t){if(e==="input"||e==="change")return Vl(t)}function AE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $t=typeof Object.is=="function"?Object.is:AE;function cs(e,t){if($t(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(!Pu.call(t,i)||!$t(e[i],t[i]))return!1}return!0}function Gh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fh(e,t){var n=Gh(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=Gh(n)}}function Qv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qv(){for(var e=window,t=qa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qa(e.document)}return t}function Cf(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 RE(e){var t=qv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qv(n.ownerDocument.documentElement,n)){if(r!==null&&Cf(n)){if
vendor: 4,424 bytes, line 38
38(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,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Fh(n,o);var s=Fh(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 kE=bn&&"documentMode"in document&&11>=document.documentMode,yi=null,Wu=null,Ho=null,Hu=!1;function Bh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hu||yi==null||yi!==qa(r)||(r=yi,"selectionStart"in r&&Cf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ho&&cs(Ho,r)||(Ho=r,r=rl(Wu,"onSelect"),0<r.length&&(t=new Sf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yi)))}function la(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var vi={animationend:la("Animation","AnimationEnd"),animationiteration:la("Animation","AnimationIteration"),animationstart:la("Animation","AnimationStart"),transitionend:la("Transition","TransitionEnd")},Dc={},Yv={};bn&&(Yv=document.createElement("div").style,"AnimationEvent"in window||(delete vi.animationend.animation,delete vi.animationiteration.animation,delete vi.animationstart.animation),"TransitionEvent"in window||delete vi.transitionend.transition);function Gl(e){if(Dc[e])return Dc[e];if(!vi[e])return e;var t=vi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Yv)return Dc[e]=t[n];return e}var Zv=Gl("animationend"),Jv=Gl("animationiteration"),e0=Gl("animationstart"),t0=Gl("transitionend"),n0=new Map,Uh="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 gr(e,t){n0.set(e,t),Jr(t,[e])}for(var Oc=0;Oc<Uh.length;Oc++){var Lc=Uh[Oc],NE=Lc.toLowerCase(),jE=Lc[0].toUpperCase()+Lc.slice(1);gr(NE,"on"+jE)}gr(Zv,"onAnimationEnd");gr(Jv,"onAnimationIteration");gr(e0,"onAnimationStart");gr("dblclick","onDoubleClick");gr("focusin","onFocus");gr("focusout","onBlur");gr(t0,"onTransitionEnd");Qi("onMouseEnter",["mouseout","mouseover"]);Qi("onMouseLeave",["mouseout","mouseover"]);Qi("onPointerEnter",["pointerout","pointerover"]);Qi("onPointerLeave",["pointerout","pointerover"]);Jr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Jr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Jr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Jr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Jr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Jr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zo="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(" "),DE=new Set("cancel close invalid load scroll toggle".split(" ").concat(zo));function $h(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,NS(r,t,void 0,e),e.currentTarget=null}
vendor: 5,164 bytes, line 38
38function r0(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 o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;$h(i,a,c),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;$h(i,a,c),o=l}}}if(Za)throw e=Fu,Za=!1,Fu=null,e}function le(e,t){var n=t[Yu];n===void 0&&(n=t[Yu]=new Set);var r=e+"__bubble";n.has(r)||(i0(t,e,2,!1),n.add(r))}function Mc(e,t,n){var r=0;t&&(r|=4),i0(n,e,r,t)}var ca="_reactListening"+Math.random().toString(36).slice(2);function us(e){if(!e[ca]){e[ca]=!0,dv.forEach(function(n){n!=="selectionchange"&&(DE.has(n)||Mc(n,!1,e),Mc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ca]||(t[ca]=!0,Mc("selectionchange",!1,t))}}function i0(e,t,n,r){switch(Fv(t)){case 1:var i=HS;break;case 4:i=KS;break;default:i=wf}n=i.bind(null,t,n,e),i=void 0,!Gu||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 Ic(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Dr(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}Av(function(){var c=o,u=gf(n),d=[];e:{var f=n0.get(e);if(f!==void 0){var h=Sf,v=e;switch(e){case"keypress":if(Da(n)===0)break e;case"keydown":case"keyup":h=lE;break;case"focusin":v="focus",h=kc;break;case"focusout":v="blur",h=kc;break;case"beforeblur":case"afterblur":h=kc;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":h=Dh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=qS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=dE;break;case Zv:case Jv:case e0:h=JS;break;case t0:h=pE;break;case"scroll":h=XS;break;case"wheel":h=mE;break;case"copy":case"cut":case"paste":h=tE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Lh}var m=(t&4)!==0,w=!m&&e==="scroll",y=m?f!==null?f+"Capture":null:f;m=[];for(var x=c,b;x!==null;){b=x;var S=b.stateNode;if(b.tag===5&&S!==null&&(b=S,y!==null&&(S=is(x,y),S!=null&&m.push(ds(x,S,b)))),w)break;x=x.return}0<m.length&&(f=new h(f,v,null,n,u),d.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==zu&&(v=n.relatedTarget||n.fromElement)&&(Dr(v)||v[Sn]))break e;if((h||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=c,v=v?Dr(v):null,v!==null&&(w=ei(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=c),h!==v)){if(m=Dh,S="onMouseLeave",y="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(m=Lh,S="onPointerLeave",y="onPointerEnter",x="pointer"),w=h==null?f:xi(h),b=v==null?f:xi(v),f=new m(S,x+"leave",h,n,u),f.target=w,f.relatedTarget=b,S=null,Dr(u)===c&&(m=new m(y,x+"enter",v,n,u),m.target=b,m.relatedTarget=w,S=m),w=S,h&&v)t:{for(m=h,y=v,x=0,b=m;b;b=li(b))x++;for(b=0,S=y;S;S=li(S))b++;for(;0<x-b;)m=li(m),x--;for(;0<b-x;)y=li(y),b--;for(;x--;){if(m===y||y!==null&&m===y.alternate)break t;m=li(m),y=li(y)}m=null}else m=null;h!==null&&Wh(d,f,h,m,!1),v!==null&&w!==null&&Wh(d,w,v,m,!0)}}e:{if(f=c?xi(c):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var E=SE;else if(_h(f))if(Kv)E=PE;else{E=TE;var T=EE}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(E=CE);if(E&&(E=E(e,c))){Hv(d,E,n,u);break e}T&&T(e,f,c),e==="focusout"&&(T=f._wrapperState)&&T.controlled&&f.type==="number"&&Ou(f,"number",f.value)}switch(T=c?xi(c):window,e){case"focusin":(_h(T)||T.contentEditable==="true")&&(yi=T,Wu=c,Ho=null);break;case"focusout":Ho=Wu=yi=null;break;case"mousedown":Hu=!0;break;case"contextmenu":case"mouseup":case"dragend":Hu=!1,Bh(d,n,u);break;case"selectionchange":if(kE)break;case"keydown":case"keyup":Bh(d,n,u)}var C;if(Tf)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else gi?$v(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Uv&&n.locale!=="ko"&&(gi||P!=="onCompositionStart"?P==="onCompositionEnd"&&gi&&(C=Bv()):(qn=u,bf="value"in qn?qn.value:qn.textContent,gi=!0)),T=rl(c,P),0<T.length&&(P=new Oh(P,e,null,n,u),d.push({event:P,listeners:T}),C?P.data=C:(C=Wv(n),C!==null&&(P.data=C)))),(C=yE?vE(e,n):xE(e,n))&&
vendor: 4,571 bytes, lines 38-39
38(c=rl(c,"onBeforeInput"),0<c.length&&(u=new Oh("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=C))}r0(d,t)})}function ds(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=is(e,n),o!=null&&r.unshift(ds(e,o,i)),o=is(e,t),o!=null&&r.push(ds(e,o,i))),e=e.return}return r}function li(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Wh(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=is(n,o),l!=null&&s.unshift(ds(n,l,a))):i||(l=is(n,o),l!=null&&s.push(ds(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var OE=/\r\n?/g,LE=/\u0000|\uFFFD/g;function Hh(e){return(typeof e=="string"?e:""+e).replace(OE,`
39`).replace(LE,"")}function ua(e,t,n){if(t=Hh(t),Hh(e)!==t&&n)throw Error(O(425))}function il(){}var Ku=null,Xu=null;function Qu(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 qu=typeof setTimeout=="function"?setTimeout:void 0,ME=typeof clearTimeout=="function"?clearTimeout:void 0,Kh=typeof Promise=="function"?Promise:void 0,IE=typeof queueMicrotask=="function"?queueMicrotask:typeof Kh<"u"?function(e){return Kh.resolve(null).then(e).catch(_E)}:qu;function _E(e){setTimeout(function(){throw e})}function _c(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),as(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);as(t)}function nr(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 Xh(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 uo=Math.random().toString(36).slice(2),en="__reactFiber$"+uo,fs="__reactProps$"+uo,Sn="__reactContainer$"+uo,Yu="__reactEvents$"+uo,zE="__reactListeners$"+uo,VE="__reactHandles$"+uo;function Dr(e){var t=e[en];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Sn]||n[en]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Xh(e);e!==null;){if(n=e[en])return n;e=Xh(e)}return t}e=n,n=e.parentNode}return null}function Vs(e){return e=e[en]||e[Sn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function xi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function Fl(e){return e[fs]||null}var Zu=[],wi=-1;function yr(e){return{current:e}}function ce(e){0>wi||(e.current=Zu[wi],Zu[wi]=null,wi--)}function se(e,t){wi++,Zu[wi]=e.current,e.current=t}var cr={},We=yr(cr),tt=yr(!1),Hr=cr;function qi(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={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function nt(e){return e=e.childContextTypes,e!=null}function ol(){ce(tt),ce(We)}function Qh(e,t,n){if(We.current!==cr)throw Error(O(168));se(We,t),se(tt,n)}function o0(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(O(108,ES(e)||"Unknown",i));return ge({},n,r)}function sl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cr,Hr=We.current,se(We,e),se(tt,tt.current),!0}function qh(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=o0(e,t,Hr),r.__reactInternalMemoizedMergedChildContext=e,ce(tt),ce(We),se(We,e)):ce(tt),se(tt,n)}var hn=null,Bl=!1,zc=!1;function s0(e){hn===null?hn=[e]:hn.push(e)}function GE(e){Bl=!0,s0(e)}function vr(){if(!zc&&hn!==null){zc=!0;var e=0,t=ie;try{var n=hn;for(ie=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}hn=null,Bl=!1}catch(i){throw hn!==null&&(hn=hn.slice(e+1)),jv(yf,vr),i}finally{ie=t,zc=!1}}return null}var bi=[],Si=0,al=null,ll=0,Et=[],Tt=0,Kr=null,gn=1,yn="";function Rr(e,t){bi[Si++]=ll,bi[Si++]=al,al=e,ll=t}function a0(e,t,n){Et[Tt++]=gn,Et[Tt++]=yn,Et[Tt++]=Kr,Kr=e;var r=gn;e=yn;var i=32-Bt(r)-1;r&=~(1<<i),n+=1;var o=32-Bt(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>
vendor: 25,999 bytes, lines 39-41
39=s,i-=s,gn=1<<32-Bt(t)+i|n<<i|r,yn=o+e}else gn=1<<o|n<<i|r,yn=e}function Pf(e){e.return!==null&&(Rr(e,1),a0(e,1,0))}function Af(e){for(;e===al;)al=bi[--Si],bi[Si]=null,ll=bi[--Si],bi[Si]=null;for(;e===Kr;)Kr=Et[--Tt],Et[Tt]=null,yn=Et[--Tt],Et[Tt]=null,gn=Et[--Tt],Et[Tt]=null}var ct=null,lt=null,fe=!1,Gt=null;function l0(e,t){var n=Ct(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 Yh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ct=e,lt=nr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ct=e,lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Kr!==null?{id:gn,overflow:yn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ct(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ct=e,lt=null,!0):!1;default:return!1}}function Ju(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ed(e){if(fe){var t=lt;if(t){var n=t;if(!Yh(e,t)){if(Ju(e))throw Error(O(418));t=nr(n.nextSibling);var r=ct;t&&Yh(e,t)?l0(r,n):(e.flags=e.flags&-4097|2,fe=!1,ct=e)}}else{if(Ju(e))throw Error(O(418));e.flags=e.flags&-4097|2,fe=!1,ct=e}}}function Zh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ct=e}function da(e){if(e!==ct)return!1;if(!fe)return Zh(e),fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Qu(e.type,e.memoizedProps)),t&&(t=lt)){if(Ju(e))throw c0(),Error(O(418));for(;t;)l0(e,t),t=nr(t.nextSibling)}if(Zh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=nr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ct?nr(e.stateNode.nextSibling):null;return!0}function c0(){for(var e=lt;e;)e=nr(e.nextSibling)}function Yi(){lt=ct=null,fe=!1}function Rf(e){Gt===null?Gt=[e]:Gt.push(e)}var FE=Rn.ReactCurrentBatchConfig;function Po(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(O(309));var r=n.stateNode}if(!r)throw Error(O(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(O(284));if(!n._owner)throw Error(O(290,e))}return e}function fa(e,t){throw e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Jh(e){var t=e._init;return t(e._payload)}function u0(e){function t(y,x){if(e){var b=y.deletions;b===null?(y.deletions=[x],y.flags|=16):b.push(x)}}function n(y,x){if(!e)return null;for(;x!==null;)t(y,x),x=x.sibling;return null}function r(y,x){for(y=new Map;x!==null;)x.key!==null?y.set(x.key,x):y.set(x.index,x),x=x.sibling;return y}function i(y,x){return y=sr(y,x),y.index=0,y.sibling=null,y}function o(y,x,b){return y.index=b,e?(b=y.alternate,b!==null?(b=b.index,b<x?(y.flags|=2,x):b):(y.flags|=2,x)):(y.flags|=1048576,x)}function s(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,x,b,S){return x===null||x.tag!==6?(x=Wc(b,y.mode,S),x.return=y,x):(x=i(x,b),x.return=y,x)}function l(y,x,b,S){var E=b.type;return E===mi?u(y,x,b.props.children,S,b.key):x!==null&&(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Fn&&Jh(E)===x.type)?(S=i(x,b.props),S.ref=Po(y,x,b),S.return=y,S):(S=Va(b.type,b.key,b.props,null,y.mode,S),S.ref=Po(y,x,b),S.return=y,S)}function c(y,x,b,S){return x===null||x.tag!==4||x.stateNode.containerInfo!==b.containerInfo||x.stateNode.implementation!==b.implementation?(x=Hc(b,y.mode,S),x.return=y,x):(x=i(x,b.children||[]),x.return=y,x)}function u(y,x,b,S,E){return x===null||x.tag!==7?(x=$r(b,y.mode,S,E),x.return=y,x):(x=i(x,b),x.return=y,x)}function d(y,x,b){if(typeof x=="string"&&x!==""||typeof x=="number")return x=Wc(""+x,y.mode,b),x.return=y,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ta:return b=Va(x.type,x.key,x.props,null,y.mode,b),b.ref=Po(y,null,x),b.return=y,b;case hi:return x=Hc(x,y.mode,b),x.return=y,x;case Fn:var S=x._init;return d(y,S(x._payload),b)}if(Io(x)||bo(x))return x=$r(x,y.mode,b,null),x.return=y,x;fa(y,x)}return null}function f(y,x,b,S){var E=x!==null?x.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return E!==null?null:a(y,x,""+b,S);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case ta:return b.key===E?l(y,x,b,S):null;case hi:return b.key===E?c(y,x,b,S):null;case Fn:return E=b._init,f(y,x,E(b._payload),S)}if(Io(b)||bo(b))return E!==null?null:u(y,x,b,S,null);fa(y,b)}return null}function h(y,x,b,S,E){if(typeof S=="string"&&S!==""||typeof S=="number")return y=y.get(b)||null,a(x,y,""+S,E);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ta:return y=y.get(S.key===null?b:S.key)||null,l(x,y,S,E);case hi:return y=y.get(S.key===null?b:S.key)||null,c(x,y,S,E);case Fn:var T=S._init;return h(y,x,b,T(S._payload),E)}if(Io(S)||bo(S))return y=y.get(b)||null,u(x,y,S,E,null);fa(x,S)}return null}function v(y,x,b,S){for(var E=null,T=null,C=x,P=x=0,j=null;C!==null&&P<b.length;P++){C.index>P?(j=C,C=null):j=C.sibling;var D=f(y,C,b[P],S);if(D===null){C===null&&(C=j);break}e&&C&&D.alternate===null&&t(y,C),x=o(D,x,P),T===null?E=D:T.sibling=D,T=D,C=j}if(P===b.length)return n(y,C),fe&&Rr(y,P),E;if(C===null){for(;P<b.length;P++)C=d(y,b[P],S),C!==null&&(x=o(C,x,P),T===null?E=C:T.sibling=C,T=C);return fe&&Rr(y,P),E}for(C=r(y,C);P<b.length;P++)j=h(C,y,P,b[P],S),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?P:j.key),x=o(j,x,P),T===null?E=j:T.sibling=j,T=j);return e&&C.forEach(function(z){return t(y,z)}),fe&&Rr(y,P),E}function m(y,x,b,S){var E=bo(b);if(typeof E!="function")throw Error(O(150));if(b=E.call(b),b==null)throw Error(O(151));for(var T=E=null,C=x,P=x=0,j=null,D=b.next();C!==null&&!D.done;P++,D=b.next()){C.index>P?(j=C,C=null):j=C.sibling;var z=f(y,C,D.value,S);if(z===null){C===null&&(C=j);break}e&&C&&z.alternate===null&&t(y,C),x=o(z,x,P),T===null?E=z:T.sibling=z,T=z,C=j}if(D.done)return n(y,C),fe&&Rr(y,P),E;if(C===null){for(;!D.done;P++,D=b.next())D=d(y,D.value,S),D!==null&&(x=o(D,x,P),T===null?E=D:T.sibling=D,T=D);return fe&&Rr(y,P),E}for(C=r(y,C);!D.done;P++,D=b.next())D=h(C,y,P,D.value,S),D!==null&&(e&&D.alternate!==null&&C.delete(D.key===null?P:D.key),x=o(D,x,P),T===null?E=D:T.sibling=D,T=D);return e&&C.forEach(function(I){return t(y,I)}),fe&&Rr(y,P),E}function w(y,x,b,S){if(typeof b=="object"&&b!==null&&b.type===mi&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case ta:e:{for(var E=b.key,T=x;T!==null;){if(T.key===E){if(E=b.type,E===mi){if(T.tag===7){n(y,T.sibling),x=i(T,b.props.children),x.return=y,y=x;break e}}else if(T.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Fn&&Jh(E)===T.type){n(y,T.sibling),x=i(T,b.props),x.ref=Po(y,T,b),x.return=y,y=x;break e}n(y,T);break}else t(y,T);T=T.sibling}b.type===mi?(x=$r(b.props.children,y.mode,S,b.key),x.return=y,y=x):(S=Va(b.type,b.key,b.props,null,y.mode,S),S.ref=Po(y,x,b),S.return=y,y=S)}return s(y);case hi:e:{for(T=b.key;x!==null;){if(x.key===T)if(x.tag===4&&x.stateNode.containerInfo===b.containerInfo&&x.stateNode.implementation===b.implementation){n(y,x.sibling),x=i(x,b.children||[]),x.return=y,y=x;break e}else{n(y,x);break}else t(y,x);x=x.sibling}x=Hc(b,y.mode,S),x.return=y,y=x}return s(y);case Fn:return T=b._init,w(y,x,T(b._payload),S)}if(Io(b))return v(y,x,b,S);if(bo(b))return m(y,x,b,S);fa(y,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,x!==null&&x.tag===6?(n(y,x.sibling),x=i(x,b),x.return=y,y=x):(n(y,x),x=Wc(b,y.mode,S),x.return=y,y=x),s(y)):n(y,x)}return w}var Zi=u0(!0),d0=u0(!1),cl=yr(null),ul=null,Ei=null,kf=null;function Nf(){kf=Ei=ul=null}function jf(e){var t=cl.current;ce(cl),e._currentValue=t}function td(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 Mi(e,t){ul=e,kf=Ei=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(et=!0),e.firstContext=null)}function At(e){var t=e._currentValue;if(kf!==e)if(e={context:e,memoizedValue:t,next:null},Ei===null){if(ul===null)throw Error(O(308));Ei=e,ul.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Or=null;function Df(e){Or===null?Or=[e]:Or.push(e)}function f0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Df(t)):(n.next=i.next,i.next=n),t.interleaved=n,En(e,r)}function En(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 Bn=!1;function Of(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function p0(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 vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function rr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,En(e,n)}return i=r.interleaved,i===null?(t.next=t,Df(r)):(t.next=i.next,i.next=t),r.interleaved=t,En(e,n)}function Oa(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,vf(e,n)}}function em(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 dl(e,t,n,r){var i=e.updateQueue;Bn=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,u=c=l=null,a=o;do{var f=a.lane,h=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,m=a;switch(f=t,h=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){d=v.call(h,d,f);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,f=typeof v=="function"?v.call(h,d,f):v,f==null)break e;d=ge({},d,f);break e;case 2:Bn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=h,l=d):u=u.next=h,s|=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(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Qr|=s,e.lanes=s,e.memoizedState=d}}function tm(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(O(191,i));i.call(r)}}}var Gs={},rn=yr(Gs),ps=yr(Gs),hs=yr(Gs);function Lr(e){if(e===Gs)throw Error(O(174));return e}function Lf(e,t){switch(se(hs,t),se(ps,e),se(rn,Gs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Mu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Mu(t,e)}ce(rn),se(rn,t)}function Ji(){ce(rn),ce(ps),ce(hs)}function h0(e){Lr(hs.current);var t=Lr(rn.current),n=Mu(t,e.type);t!==n&&(se(ps,e),se(rn,n))}function Mf(e){ps.current===e&&(ce(rn),ce(ps))}var pe=yr(0);function fl(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 Vc=[];function If(){for(var e=0;e<Vc.length;e++)Vc[e]._workInProgressVersionPrimary=null;Vc.length=0}var La=Rn.ReactCurrentDispatcher,Gc=Rn.ReactCurrentBatchConfig,Xr=0,me=null,Ce=null,Re=null,pl=!1,Ko=!1,ms=0,BE=0;function ze(){throw Error(O(321))}function _f(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$t(e[n],t[n]))return!1;return!0}function zf(e,t,n,r,i,o){if(Xr=o,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,La.current=e===null||e.memoizedState===null?HE:KE,e=n(r,i),Ko){o=0;do{if(Ko=!1,ms=0,25<=o)throw Error(O(301));o+=1,Re=Ce=null,t.updateQueue=null,La.current=XE,e=n(r,i)}while(Ko)}if(La.current=hl,t=Ce!==null&&Ce.next!==null,Xr=0,Re=Ce=me=null,pl=!1,t)throw Error(O(300));return e}function Vf(){var e=ms!==0;return ms=0,e}function qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Re===null?me.memoizedState=Re=e:Re=Re.next=e,Re}function Rt(){if(Ce===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Re===null?me.memoizedState:Re.next;if(t!==null)Re=t,Ce=e;else{if(e===null)throw Error(O(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Re===null?me.memoizedState=Re=e:Re=Re.next=e}return Re}function gs(e,t){return typeof t=="function"?t(e):t}function Fc(e){var t=Rt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=Ce,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,c=o;do{var u=c.lane;if((Xr&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,me.lanes|=u,Qr|=u}c=c.next}while(c!==null&&c!==o);l===null?s=r:l.next=a,$t(r,t.memoizedState)||(et=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,me.lanes|=o,Qr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Bc(e){var t=Rt(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);$t(o,t.memoizedState)||(et=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function m0(){}function g0(e,t){var n=me,r=Rt(),i=t(),o=!$t(r.memoizedState,i);if(o&&(r.memoizedState=i,et=!0),r=r.queue,Gf(x0.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Re!==null&&Re.memoizedState.tag&1){if(n.flags|=2048,ys(9,v0.bind(null,n,r,i,t),void 0,null),ke===null)throw Error(O(349));Xr&30||y0(n,t,i)}return i}function y0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function v0(e,t,n,r){t.value=n,t.getSnapshot=r,w0(t)&&b0(e)}function x0(e,t,n){return n(function(){w0(t)&&b0(e)})}function w0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$t(e,n)}catch{return!0}}function b0(e){var t=En(e,1);t!==null&&Ut(t,e,1,-1)}function nm(e){var t=qt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:e},t.queue=e,e=e.dispatch=WE.bind(null,me,e),[t.memoizedState,e]}function ys(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.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 S0(){return Rt().memoizedState}function Ma(e,t,n,r){var i=qt();me.flags|=e,i.memoizedState=ys(1|t,n,void 0,r===void 0?null:r)}function Ul(e,t,n,r){var i=Rt();r=r===void 0?null:r;var o=void 0;if(Ce!==null){var s=Ce.memoizedState;if(o=s.destroy,r!==null&&_f(r,s.deps)){i.memoizedState=ys(t,n,o,r);return}}me.flags|=e,i.memoizedState=ys(1|t,n,o,r)}function rm(e,t){return Ma(8390656,8,e,t)}function Gf(e,t){return Ul(2048,8,e,t)}function E0(e,t){return Ul(4,2,e,t)}function T0(e,t){return Ul(4,4,e,t)}function C0(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 P0(e,t,n){return n=n!=null?n.concat([e]):null,Ul(4,4,C0.bind(null,t,e),n)}function Ff(){}function A0(e,t){var n=Rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&_f(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function R0(e,t){var n=Rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&_f(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function k0(e,t,n){return Xr&21?($t(n,t)||(n=Lv(),me.lanes|=n,Qr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,et=!0),e.memoizedState=n)}function UE(e,t){var n=ie;ie=n!==0&&4>n?n:4,e(!0);var r=Gc.transition;Gc.transition={};try{e(!1),t()}finally{ie=n,Gc.transition=r}}function N0(){return Rt().memoizedState}function $E(e,t,n){var r=or(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},j0(e))D0(t,n);else if(n=f0(e,t,n,r),n!==null){var i=Qe();Ut(n,e,r,i),O0(n,t,r)}}function WE(e,t,n){var r=or(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(j0(e))D0(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,$t(a,s)){var l=t.interleaved;l===null?(i.next=i,Df(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=f0(e,t,i,r),n!==null&&(i=Qe(),Ut(n,e,r,i),O0(n,t,r))}}function j0(e){var t=e.alternate;return e===me||t!==null&&t===me}function D0(e,t){Ko=pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function O0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vf(e,n)}}var hl={readContext:At,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useInsertionEffect:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useMutableSource:ze,useSyncExternalStore:ze,useId:ze,unstable_isNewReconciler:!1},HE={readContext:At,useCallback:function(e,t){return qt().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:rm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ma(4194308,4,C0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ma(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ma(4,2,e,t)},useMemo:function(e,t){var n=qt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=qt();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=$E.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=qt();return e={current:e},t.memoizedState=e},useState:nm,useDebugValue:Ff,useDeferredValue:function(e){return qt().memoizedState=e},useTransition:function(){var e=nm(!1),t=e[0];return e=UE.bind(null,e[1]),qt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,i=qt();if(fe){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),ke===null)throw Error(O(349));Xr&30||y0(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,rm(x0.bind(null,r,o,e),[e]),r.flags|=2048,ys(9,v0.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=qt(),t=ke.identifierPrefix;if(fe){var n=yn,r=gn;n=(r&~(1<<32-Bt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ms++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=BE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},KE={readContext:At,useCallback:A0,useContext:At,useEffect:Gf,useImperativeHandle:P0,useInsertionEffect:E0,useLayoutEffect:T0,useMemo:R0,useReducer:Fc,useRef:S0,useState:function(){return Fc(gs)},useDebugValue:Ff,useDeferredValue:function(e){var t=Rt();return k0(t,Ce.memoizedState,e)},useTransition:function(){var e=Fc(gs)[0],t=Rt().memoizedState;return[e,t]},useMutableSource:m0,useSyncExternalStore:g0,useId:N0,unstable_isNewReconciler:!1},XE={readContext:At,useCallback:A0,useContext:At,useEffect:Gf,useImperativeHandle:P0,useInsertionEffect:E0,useLayoutEffect:T0,useMemo:R0,useReducer:Bc,useRef:S0,useState:function(){return Bc(gs)},useDebugValue:Ff,useDeferredValue:function(e){var t=Rt();return Ce===null?t.memoizedState=e:k0(t,Ce.memoizedState,e)},useTransition:function(){var e=Bc(gs)[0],t=Rt().memoizedState;return[e,t]},useMutableSource:m0,useSyncExternalStore:g0,useId:N0,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function nd(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $l={isMounted:function(e){return(e=e._reactInternals)?ei(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Qe(),i=or(e),o=vn(r,i);o.payload=t,n!=null&&(o.callback=n),t=rr(e,o,i),t!==null&&(Ut(t,e,i,r),Oa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Qe(),i=or(e),o=vn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=rr(e,o,i),t!==null&&(Ut(t,e,i,r),Oa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qe(),r=or(e),i=vn(n,r);i.tag=2,t!=null&&(i.callback=t),t=rr(e,i,r),t!==null&&(Ut(t,e,r,n),Oa(t,e,r))}};function im(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!cs(n,r)||!cs(i,o):!0}function L0(e,t,n){var r=!1,i=cr,o=t.contextType;return typeof o=="object"&&o!==null?o=At(o):(i=nt(t)?Hr:We.current,r=t.contextTypes,o=(r=r!=null)?qi(e,i):cr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$l,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function om(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&&$l.enqueueReplaceState(t,t.state,null)}function rd(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Of(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=At(o):(o=nt(t)?Hr:We.current,i.context=qi(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(nd(e,t,o,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&&$l.enqueueReplaceState(i,i.state,null),dl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function eo(e,t){try{var n="",r=t;do n+=SS(r),r=r.return;while(r);var i=n}catch(o){i=`
40Error generating stack: `+o.message+`
41`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Uc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function id(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var QE=typeof WeakMap=="function"?WeakMap:Map;function M0(e,t,n){n=vn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gl||(gl=!0,hd=r),id(e,t)},n}function I0(e,t,n){n=vn(-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(){id(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){id(e,t),typeof r!="function"&&(ir===null?ir=new Set([this]):ir.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function sm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new QE;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=cT.bind(null,e,t,n),t.then(e,e))}function am(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 lm(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=vn(-1,1),t.tag=2,rr(n,t,1))),n.lanes|=1),e)}var qE=Rn.ReactCurrentOwner,et=!1;function Ke(e,t,n,r){t.child=e===null?d0(t,null,n,r):Zi(t,e.child,n,r)}function cm(e,t,n,r,i){n=n.render;var o=t.ref;return Mi(t,i),r=zf(e,t,n,r,o,i),n=Vf(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tn(e,t,i)):(fe&&n&&Pf(t),t.flags|=1,Ke(e,t,r,i
vendor: 10,428 bytes, line 41
41),t.child)}function um(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Qf(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,_0(e,t,o,r,i)):(e=Va(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:cs,n(s,r)&&e.ref===t.ref)return Tn(e,t,i)}return t.flags|=1,e=sr(o,r),e.ref=t.ref,e.return=t,t.child=e}function _0(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(cs(o,r)&&e.ref===t.ref)if(et=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(et=!0);else return t.lanes=e.lanes,Tn(e,t,i)}return od(e,t,n,r,i)}function z0(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(Ci,st),st|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(Ci,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,se(Ci,st),st|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,se(Ci,st),st|=r;return Ke(e,t,i,n),t.child}function V0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function od(e,t,n,r,i){var o=nt(n)?Hr:We.current;return o=qi(t,o),Mi(t,i),n=zf(e,t,n,r,o,i),r=Vf(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tn(e,t,i)):(fe&&r&&Pf(t),t.flags|=1,Ke(e,t,n,i),t.child)}function dm(e,t,n,r,i){if(nt(n)){var o=!0;sl(t)}else o=!1;if(Mi(t,i),t.stateNode===null)Ia(e,t),L0(t,n,r),rd(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=At(c):(c=nt(n)?Hr:We.current,c=qi(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&om(t,s,r,c),Bn=!1;var f=t.memoizedState;s.state=f,dl(t,r,s,i),l=t.memoizedState,a!==r||f!==l||tt.current||Bn?(typeof u=="function"&&(nd(t,n,u,r),l=t.memoizedState),(a=Bn||im(t,n,a,r,f,l,c))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,p0(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Mt(t.type,a),s.props=c,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=At(l):(l=nt(n)?Hr:We.current,l=qi(t,l));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&om(t,s,r,l),Bn=!1,f=t.memoizedState,s.state=f,dl(t,r,s,i);var v=t.memoizedState;a!==d||f!==v||tt.current||Bn?(typeof h=="function"&&(nd(t,n,h,r),v=t.memoizedState),(c=Bn||im(t,n,c,r,f,v,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return sd(e,t,n,r,o,i)}function sd(e,t,n,r,i,o){V0(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&qh(t,n,!1),Tn(e,t,o);r=t.stateNode,qE.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Zi(t,e.child,null,o),t.child=Zi(t,null,a,o)):Ke(e,t,a,o),t.memoizedState=r.state,i&&qh(t,n,!0),t.child}function G0(e){var t=e.stateNode;t.pendingContext?Qh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Qh(e,t.context,!1),Lf(e,t.containerInfo)}function fm(e,t,n,r,i){return Yi(),Rf(i),t.flags|=256,Ke(e,t,n,r),t.child}var ad={dehydrated:null,treeContext:null,retryLane:0};function ld(e){return{baseLanes:e,cachePool:null,transitions:null}}function F0(e,t,n){var r=t.pendingProps,i=pe.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),se(pe,i&1),e===null)return ed(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):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Kl(s,r,0,null),e=$r(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ld(n),t.memoizedState=ad,e):Bf(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return YE(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=sr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=sr(a,o):(o=$r(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?ld(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=ad,r}return o=e.child,e=o.sibling,r=sr(o,{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 Bf(e,t){return t=Kl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function pa(e,t,n,r){return r!==null&&Rf(r),Zi(t,e.child,null,n),e=Bf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function YE(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Uc(Error(O(422))),pa(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Kl({mode:"visible",children:r.children},i,0,null),o=$r(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Zi(t,e.child,null,s),t.child.memoizedState=ld(s),t.memoizedState=ad,o);if(!(t.mode&1))return pa(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(O(419)),r=Uc(o,r,void 0),pa(e,t,s,r)}if(a=(s&e.childLanes)!==0,et||a){if(r=ke,r!==null){switch(s&-s){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|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,En(e,i),Ut(r,e,i,-1))}return Xf(),r=Uc(Error(O(421))),pa(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=uT.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,lt=nr(i.nextSibling),ct=t,fe=!0,Gt=null,e!==null&&(Et[Tt++]=gn,Et[Tt++]=yn,Et[Tt++]=Kr,gn=e.id,yn=e.overflow,Kr=t),t=Bf(t,r.children),t.flags|=4096,t)}function pm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),td(e.return,t,n)}function $c(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function B0(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ke(e,t,r.children,n),r=pe.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&&pm(e,n,t);else if(e.tag===19)pm(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(se(pe,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&&fl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$c(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$c(t,!0,n,null,o);break;case"together":$c(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ia(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Tn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));if(t.child!==null){for(e=t.child,n=sr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=sr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ZE(e,t,n){switch(t.tag){case 3:G0(t),Yi();break;case 5:h0(t);break;case 1:nt(t.type)&&sl(t);break;case 4:Lf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;se(cl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(pe,pe.current&1),t.flags|=128,null):n&t.child.childLanes?F0(e,t,n):(se(pe,pe.current&1),e=Tn(e,t,n),e!==null?e.sibling:null);se(pe,pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return B0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),se(pe,pe.current),r)break;return null;case 22:case 23:return t.lanes=0,z0(e,t,n)}
vendor: 4,554 bytes, line 41
41return Tn(e,t,n)}var U0,cd,$0,W0;U0=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}};cd=function(){};$0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Lr(rn.current);var o=null;switch(n){case"input":i=ju(e,i),r=ju(e,r),o=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),o=[];break;case"textarea":i=Lu(e,i),r=Lu(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=il)}Iu(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(ns.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(ns.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&le("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};W0=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ao(e,t){if(!fe)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 Ve(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 JE(e,t,n){var r=t.pendingProps;switch(Af(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return nt(t.type)&&ol(),Ve(t),null;case 3:return r=t.stateNode,Ji(),ce(tt),ce(We),If(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(da(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Gt!==null&&(yd(Gt),Gt=null))),cd(e,t),Ve(t),null;case 5:Mf(t);var i=Lr(hs.current);if(n=t.type,e!==null&&t.stateNode!=null)$0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return Ve(t),null}if(e=Lr(rn.current),da(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[en]=t,r[fs]=o,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(i=0;i<zo.length;i++)le(zo[i],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":Sh(r,o),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},le("invalid",r);break;case"textarea":Th(r,o),le("invalid",r)}Iu(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&ua(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&ua(r.textContent,a,e),i=["children",""+a]):ns.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&le("scroll",r)}switch(n){case"input":na(r),Eh(r,o,!0);break;case"textarea":na(r),Ch(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=il)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xv(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>
41",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[en]=t,e[fs]=r,U0(e,t,!1,!1),t.stateNode=e;e:{switch(s=_u(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;i<zo.length;i++)le(zo[i],e);i=r;break;case"source":le("error",e),i=r;break;case"img":case"image":case"link":le("error",e),le("load",e),i=r;break;case"details":le("toggle",e),i=r;break;case"input":Sh(e,r),i=ju(e,r),le("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),le("invalid",e);break;case"textarea":Th(e,r),i=Lu(e,r),le("invalid",e);break;default:i=r}Iu(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Sv(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&wv(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&rs(e,l):typeof l=="number"&&rs(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(ns.hasOwnProperty(o)?l!=null&&o==="onScroll"&&le("scroll",e):l!=null&&ff(e,o,l,s))}switch(n){case"input":na(e),Eh(e,r,!1);break;case"textarea":na(e),Ch(e);break;case"option":r.value!=null&&e.setAttribute("value",""+lr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?ji(e,!!r.multiple,o,!1):r.defaultValue!=null&&ji(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=il)}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 Ve(t),null;case 6:if(e&&t.stateNode!=null)W0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(O(166));if(n=Lr(hs.current),Lr(rn.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[en]=t,(o=r.nodeValue!==n)&&(e=ct,e!==null))switch(e.tag){case 3:ua(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ua(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[en]=t,t.stateNode=r}return Ve(t),null;case 13:if(ce(pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(fe&&lt!==null&&t.mode&1&&!(t.flags&128))c0(),Yi(),t.flags|=98560,o=!1;else if(o=da(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(O(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(O(317));o[en]=t}else Yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),o=!1}else Gt!==null&&(yd(Gt),Gt=null),o=!0;if(!o)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||pe.current&1?Ae===0&&(Ae=3):Xf())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return Ji(),cd(e,t),e===null&&us(t.stateNode.containerInfo),Ve(t),null;case 10:return jf(t.type._context),Ve(t),null;case 17:return nt(t.type)&&ol(),Ve(t),null;case 19:if(ce(pe),o=t.memoizedState,o===null)return Ve(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Ao(o,!1);else{if(Ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=fl(e),s!==null){for(t.flags|=128,Ao(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(pe,pe.current&1|2),t.child}e=e.sibling}o.tail!==null&&be()>to&&(t.flags|=128,r=!0,Ao(o,!1),t.lanes=4194304)}else{if(!r)if(e=fl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ao(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!fe)return Ve(t),null}else 2*be()-o.renderingStartTime>to&&n!==1073741824&&(t.flags|=128,r=!0,Ao(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=be(),t.sibling=null,n=pe.current,se(pe,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return Kf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function eT(e,t){switch(Af(t),t.tag){case 1:return nt(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,144 bytes, line 41
41case 3:return Ji(),ce(tt),ce(We),If(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mf(t),null;case 13:if(ce(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(pe),null;case 4:return Ji(),null;case 10:return jf(t.type._context),null;case 22:case 23:return Kf(),null;case 24:return null;default:return null}}var ha=!1,Be=!1,tT=typeof WeakSet=="function"?WeakSet:Set,_=null;function Ti(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){xe(e,t,r)}else n.current=null}function ud(e,t,n){try{n()}catch(r){xe(e,t,r)}}var hm=!1;function nT(e,t){if(Ku=tl,e=qv(),Cf(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Xu={focusedElem:e,selectionRange:n},tl=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,w=v.memoizedState,y=t.stateNode,x=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:Mt(t.type,m),w);y.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(S){xe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return v=hm,hm=!1,v}function Xo(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 o=i.destroy;i.destroy=void 0,o!==void 0&&ud(t,n,o)}i=i.next}while(i!==r)}}function Wl(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 dd(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 H0(e){var t=e.alternate;t!==null&&(e.alternate=null,H0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[en],delete t[fs],delete t[Yu],delete t[zE],delete t[VE])),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 K0(e){return e.tag===5||e.tag===3||e.tag===4}function mm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||K0(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 fd(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=il));else if(r!==4&&(e=e.child,e!==null))for(fd(e,t,n),e=e.sibling;e!==null;)fd(e,t,n),e=e.sibling}function pd(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(pd(e,t,n),e=e.sibling;e!==null;)pd(e,t,n),e=e.sibling}var Ne=null,Vt=!1;function Mn(e,t,n){for(n=n.child;n!==null;)X0(e,t,n),n=n.sibling}function X0(e,t,n){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(_l,n)}catch{}switch(n.tag){case 5:Be||Ti(n,t);case 6:var r=Ne,i=Vt;Ne=null,Mn(e,t,n),Ne=r,Vt=i,Ne!==null&&(Vt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(Vt?(e=Ne,n=n.stateNode,e.nodeType===8?_c(e.parentNode,n):e.nodeType===1&&_c(e,n),as(e)):_c(Ne,n.stateNode));break;case 4:r=Ne,i=Vt,Ne=n.stateNode.containerInfo,Vt=!0,Mn(e,t,n),Ne=r,Vt=i;break;case 0:case 11:case 14:case 15:if(!Be&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&ud(n,t,s),i=i.next}while(i!==r)}Mn(e,t,n);break;case 1:if(!Be&&(Ti(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){xe(n,t,a)}Mn(e,t,n);break;case 21:Mn(e,t,n);break;case 22:n.mode&1?(Be=(r=Be)||n.memoizedState!==null,Mn(e,t,n),Be=r):Mn(e,t,n);break;default:Mn(e,t,n)}}function gm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tT),t.forEach(function(r){var i=dT.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Dt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ne=a.stateNode,Vt=!1;break e;case 3:Ne=a.stateNode.containerInfo,Vt=!0;break e;case 4:Ne=a.stateNode.containerInfo,Vt=!0;break e}a=a.return}if(Ne===null)throw Error(O(160));X0(o,s,i),Ne=null,Vt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){xe(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Q0(t,e),t=t.sibling}function Q0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Dt(t,e),Qt(e),r&4){try{Xo(3,e,e.return),Wl(3,e)}catch(m){xe(e,e.return,m)}try{Xo(5,e,e.return)}catch(m){xe(e,e.return,m)}}break;case 1:Dt(t,e),Qt(e),r&512&&n!==null&&Ti(n,n.return);break;case 5:if(Dt(t,e),Qt(e),r&512&&n!==null&&Ti(n,n.return),e.flags&32){var i=e.stateNode;try{rs(i,"")}catch(m){xe(e,e.return,m)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&yv(i,o),_u(a,s);var c=_u(a,o);for(s=0;s<l.length;s+=2){var u=l[s],d=l[s+1];u==="style"?Sv(i,d):u==="dangerouslySetInnerHTML"?wv(i,d):u==="children"?rs(i,d):ff(i,u,d,c)}switch(a){case"input":Du(i,o);break;case"textarea":vv(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?ji(i,!!o.multiple,h,!1):f!==!!o.multiple&&(o.defaultValue!=null?ji(i,!!o.multiple,o.defaultValue,!0):ji(i,!!o.multiple,o.multiple?[]:"",!1))}i[fs]=o}catch(m){xe(e,e.return,m)}}break;case 6:if(Dt(t,e),Qt(e),r&4){if(e.stateNode===null)throw Error(O(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(m){xe(e,e.return,m)}}break;case 3:if(Dt(t,e),Qt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{as(t.containerInfo)}catch(m){xe(e,e.return,m)}break;case 4:Dt(t,e),Qt(e);break;case 13:Dt(t,e),Qt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Wf=be())),r&4&&gm(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Be=(c=Be)||u,Dt(t,e),Be=c):Dt(t,e),Qt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(_=e,u=e.child;u!==null;){for(d=_=u;_!==null;){switch(f=_,h=f.child,f.tag){case 0:case 11:case 14:case 15:Xo(4,f,f.return);break;case 1:Ti(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){xe(r,n,m)}}break;case 5:Ti(f,f.return);break;case 22:if(f.memoizedState!==null){vm(d);continue}}h!==null?(h.return=f,_=h):vm(d)}u=u.sibling}e:for(u=null,d=e;;){if(d.tag===5){if(u===null){u=d;try{i=d.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=bv("display",s))}catch(m){xe(e,e.return,m)}}}else if(d.tag===6){if(u===null)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){xe(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Dt(t,e),Qt(e),r&4&&gm(e);break;case 21:break;default:Dt(t,e),Qt(e)}}function Qt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(K0(n)){var r=n;break e}n=n.return}throw Error(O(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(rs(i,""),r.flags&=-33);var o=mm(e);pd(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=mm(e);fd(e,a,s);break;default:throw Error(O(161))}}catch(l){xe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rT(e,t,n){_=e,q0(e)}function q0(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var i=_,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ha;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Be;a=ha;var c=Be;if(ha=s,(Be=l)&&!c)for(_=i;_!==null;)s=_,l=s.child,s.tag===22&&s.memoizedState!==null?xm(i):l!==null?(l.return=s,_=l):xm(i);for(;o!==null;)_=o,q0(o),o=o.sibling;_=i,ha=a,Be=c}ym(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,_=o):ym(e)}}function ym(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Be||Wl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Be)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&tm(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}tm(t,s,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 c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&as(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}Be||t.flags&512&&dd(t)}catch(f){xe(t,t.return,f)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function vm(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function xm(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wl(4,t)}catch(l){xe(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){xe(t,i,l)}}var o=t.return;try{dd(t)}catch(l){xe(t,o,l)}break;case 5:var s=t.return;try{dd(t)}catch(l){xe(t,s,l)}}}catch(l){xe(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var iT=Math.ceil,ml=Rn.ReactCurrentDispatcher,Uf=Rn.ReactCurrentOwner,Pt=Rn.ReactCurrentBatchConfig,te=0,ke=null,Te=null,Le=0,st=0,Ci=yr(0),Ae=0,vs=null,Qr=0,Hl=0,$f=0,Qo=null,Je=null,Wf=0,to=1/0,pn=null,gl=!1,hd=null,ir=null,ma=!1,Yn=null,yl=0,qo=0,md=null,_a=-1,za=0;function Qe(){return te&6?be():_a!==-1?_a:_a=be()}function or(e){return e.mode&1?te&2&&Le!==0?Le&-Le:FE.transition!==null?(za===0&&(za=Lv()),za):(e=ie,e!==0||(e=window.event,e=e===void 0?16:Fv(e.type)),e):1}function Ut(e,t,n,r){if(50<qo)throw qo=0,md=null,Error(O(185));_s(e,n,r),(!(te&2)||e!==ke)&&(e===ke&&(!(te&2)&&(Hl|=n),Ae===4&&$n(e,Le)),rt(e,r),n===1&&te===0&&!(t.mode&1)&&(to=be()+500,Bl&&vr()))}function rt(e,t){var n=e.callbackNode;FS(e,t);var r=el(e,e===ke?Le:0);if(r===0)n!==null&&Rh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Rh(n),t===1)e.tag===0?GE(wm.bind(null,e)):s0(wm.bind(null,e)),IE(function(){!(te&6)&&vr()}),n=null;else{switch(Mv(r)){case 1:n=yf;break;case 4:n=Dv;break;case 16:n=Ja;break;case 536870912:n=Ov;break;default:n=Ja}n=ix(n,Y0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Y0(e,t){if(_a=-1,za=0,te&6)throw Error(O(327));var n=e.callbackNode;if(Ii()&&e.callbackNode!==n)return null;var r=el(e,e===ke?Le:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=vl(e,r);else{t=r;var i=te;te|=2;var o=J0();(ke!==e||Le!==t)&&(pn=null,to=be()+500,Ur(e,t));do try{aT();break}catch(a){Z0(e,a)}while(!0);Nf(),ml.current=o,te=i,Te!==null?t=0:(ke=null,Le=0,t=Ae)}if(t!==0){if(t===2&&(i=Bu(e),i!==0&&(r=i,t=gd(e,i))),t===1)throw n=vs,Ur(e,0),$n(e,r),rt(e,be()),n;if(t===6)$n(e,r);else{if(i=e.current.alternate,!(r&30)&&!oT(i)&&(t=vl(e,r),t===2&&(o=Bu(e),o!==0&&(r=o,t=gd(e,o))),t===1))throw n=vs,Ur(e,0),$n(e,r),rt(e,be()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(O(345));case 2:kr(e,Je,pn);break;case 3:if($n(e,r),(r&130023424)===r&&(t=Wf+500-be(),10<t)){if(el(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=qu(kr.bind(null,e,Je,pn),t);break}kr(e,Je,pn);break;case 4:if($n(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-Bt(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=be()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iT(r/1960))-r,10<r){e.timeoutHandle=qu(kr.bind(null,e,Je,pn),r);break}kr(e,Je,pn);break;case 5:kr(e,Je,pn);break;default:throw Error(O(329))}}}return rt(e,be()),e.callbackNode===n?Y0.bind(null,e):null}function gd(e,t){var n=Qo;return e.current.memoizedState.isDehydrated&&(Ur(e,t).flags|=256),e=vl(e,t),e!==2&&(t=Je,Je=n,t!==null&&yd(t)),e}function yd(e){Je===null?Je=e:Je.push.apply(Je,e)}function oT(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],o=i.getSnapshot;i=i.value;try{if(!$t(o(),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 $n(e,t){for(t&=~$f,t&=~Hl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Bt(t),r=1<<n;e[n]=-1,t&=~r}}function wm(e){if(te&6)throw Error(O(327));Ii();var t=el(e,0);if(!(t&1))return rt(e,be()),null;var n=vl(e,t);if(e.tag!==0&&n===2){var r=Bu(e);r!==0&&(t=r,n=gd(e,r))}if(n===1)throw n=vs,Ur(e,0),$n(e,t),rt(e,be()),n;if(n===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kr(e,Je,pn),rt(e,be()),null}function Hf(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(to=be()+500,Bl&&vr())}}function qr(e){Yn!==null&&Yn.tag===0&&!(te&6)&&Ii();var t=te;te|=1;var n=Pt.transition,r=ie;try{if(Pt.transition=null,ie=1,e)return e()}finally{ie=r,Pt.transition=n,te=t,!(te&6)&&vr()}}function Kf(){st=Ci.current,ce(Ci)}function Ur(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ME(n)),Te!==null)for(n=Te.return;n!==null;){var r=n;switch(Af(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ol();break;case 3:Ji(),ce(tt),ce(We),If();break;case 5:Mf(r);break;case 4:Ji();break;case 13:ce(pe);break;case 19:ce(pe);break;case 10:jf(r.type._context);break;case 22:case 23:Kf()}n=n.return}if(ke=e,Te=e=sr(e.current,null),Le=st=t,Ae=0,vs=null,$f=Hl=Qr=0,Je=Qo=null,Or!==null){for(t=0;t<Or.length;t++)if(n=Or[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Or=null}return e}function Z0(e,t){do{var n=Te;try{if(Nf(),La.current=hl,pl){for(var r=me.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}pl=!1}if(Xr=0,Re=Ce=me=null,Ko=!1,ms=0,Uf.current=null,n===null||n.return===null){Ae=1,vs=t,Te=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Le,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,d=u.tag;if(!(u.mode&1)&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=am(s);if(h!==null){h.flags&=-257,lm(h,s,a,o,t),h.mode&1&&sm(o,c,t),t=h,l=c;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if(!(t&1)){sm(o,c,t),Xf();break e}l=Error(O(426))}}else if(fe&&a.mode&1){var w=am(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),lm(w,s,a,o,t),Rf(eo(l,a));break e}}o=l=eo(l,a),Ae!==4&&(Ae=2),Qo===null?Qo=[o]:Qo.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=M0(o,l,t);em(o,y);break e;case 1:a=l;var x=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof x.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(ir===null||!ir.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=I0(o,a,t);em(o,S);break e}}o=o.return}while(o!==null)}tx(n)}catch(E){t=E,Te===n&&n!==null&&(Te=n=n.return);continue}break}while(!0)}function J0(){var e=ml.current;return ml.current=hl,e===null?hl:e}function Xf(){(Ae===0||Ae===3||Ae===2)&&(Ae=4),ke===null||!(Qr&268435455)&&!(Hl&268435455)||$n(ke,Le)}function vl(e,t){var n=te;te|=2;var r=J0();(ke!==e||Le!==t)&&(pn=null,Ur(e,t));do try{sT();break}catch(i){Z0(e,i)}while(!0);if(Nf(),te=n,ml.current=r,Te!==null)throw Error(O(261));return ke=null,Le=0,Ae}function sT(){for(;Te!==null;)ex(Te)}function aT(){for(;Te!==null&&!DS();)ex(Te)}function ex(e){var t=rx(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?tx(e):Te=t,Uf.current=null}function tx(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=eT(n,t),n!==null){n.flags&=32767,Te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ae=6,Te=null;return}}else if(n=JE(n,t,st),n!==null){Te=n;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);Ae===0&&(Ae=5)}function kr(e,t,n){var r=ie,i=Pt.transition;try{Pt.transition=null,ie=1,lT(e,t,n,r)}finally{Pt.transition=i,ie=r}return null}function lT(e,t,n,r){do Ii();while(Yn!==null);if(te&6)throw Error(O(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(O(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(BS(e,o),e===ke&&(Te=ke=null,Le=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ma||(ma=!0,ix(Ja,function(){return Ii(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Pt.transition,Pt.transition=null;var s=ie;ie=1;var a=te;te|=4,Uf.current=null,nT(e,n),Q0(n,e),RE(Xu),tl=!!Ku,Xu=Ku=null,e.current=n,rT(n),OS(),te=a,ie=s,Pt.transition=o}else e.current=n;if(ma&&(ma=!1,Yn=e,yl=i),o=e.pendingLanes,o===0&&(ir=null),IS(n.stateNode),rt(e,be()),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(gl)throw gl=!1,e=hd,hd=null,e;return yl&1&&e.tag!==0&&Ii(),o=e.pendingLanes,o&1?e===md?qo++:(qo=0,md=e):qo=0,vr(),null}function Ii(){if(Yn!==null){var e=Mv(yl),t=Pt.transition,n=ie;try{if(Pt.transition=null,ie=16>e?16:e,Yn===null)var r=!1;else{if(e=Yn,Yn=null,yl=0,te&6)throw Error(O(331));var i=te;for(te|=4,_=e.current;_!==null;){var o=_,s=o.child;if(_.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(_=c;_!==null;){var u=_;switch(u.tag){case 0:case 11:case 15:Xo(8,u,o)}var d=u.child;if(d!==null)d.return=u,_=d;else for(;_!==null;){u=_;var f=u.sibling,h=u.return;if(H0(u),u===c){_=null;break}if(f!==null){f.return=h,_=f;break}_=h}}}var v=o.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}_=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,_=s;else e:for(;_!==null;){if(o=_,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Xo(9,o,o.return)}var y=o.sibling;if(y!==null){y.return=o.return,_=y;break e}_=o.return}}var x=e.current;for(_=x;_!==null;){s=_;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,_=b;else e:for(s=x;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Wl(9,a)}}catch(E){xe(a,a.return,E)}if(a===s){_=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,_=S;break e}_=a.return}}if(te=i,vr(),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(_l,e)}catch{}r=!0}return r}finally{ie=n,Pt.transition=t}}return!1}function bm(e,t,n){t=eo(n,t),t=M0(e,t,1),e=rr(e,t,1),t=Qe(),e!==null&&(_s(e,1,t),rt(e,t))}function xe(e,t,n){if(e.tag===3)bm(e,e,n);else for(;t!==null;){if(t.tag===3){bm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ir===null||!ir.has(r))){e=eo(n,e),e=I0(t,e,1),t=rr(t,e,1),e=Qe(),t!==null&&(_s(t,1,e),rt(t,e));break}}t=t.return}}function cT(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Qe(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(Le&n)===n&&(Ae===4||Ae===3&&(Le&130023424)===Le&&500>be()-Wf?Ur(e,0):$f|=n),rt(e,t)}function nx(e,t){t===0&&(e.mode&1?(t=oa,oa<<=1,!(oa&130023424)&&(oa=4194304)):t=1);var n=Qe();e=En(e,t),e!==null&&(_s(e,t,n),rt(e,n))}function uT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nx(e,n)}function dT(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(O(314))}r!==null&&r.delete(t),nx(e,n)}var rx;rx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)et=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return et=!1,ZE(e,t,n);et=!!(e.flags&131072)}else et=!1,fe&&t.flags&1048576&&a0(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ia(e,t),e=t.pendingProps;var i=qi(t,We.current);Mi(t,n),i=zf(null,t,r,e,i,n);var o=Vf();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,nt(r)?(o=!0,sl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Of(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,rd(t,r,e,n),t=sd(null,t,r,!0,o,n)):(t.tag=0,fe&&o&&Pf(t),Ke(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ia(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=pT(r),e=Mt(r,e),i){case 0:t=od(null,t,r,e,n);break e;case 1:t=dm(null,t,r,e,n);break e;case 11:t=cm(null,t,r,e,n);break e;case 14:t=um(null,t,r,Mt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),od(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),dm(e,t,r,i,n);case 3:e:{if(G0(t),e===null)throw Error(O(387));
vendor: 2,306 bytes, line 41
41r=t.pendingProps,o=t.memoizedState,i=o.element,p0(e,t),dl(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=eo(Error(O(423)),t),t=fm(e,t,r,n,i);break e}else if(r!==i){i=eo(Error(O(424)),t),t=fm(e,t,r,n,i);break e}else for(lt=nr(t.stateNode.containerInfo.firstChild),ct=t,fe=!0,Gt=null,n=d0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yi(),r===i){t=Tn(e,t,n);break e}Ke(e,t,r,n)}t=t.child}return t;case 5:return h0(t),e===null&&ed(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Qu(r,i)?s=null:o!==null&&Qu(r,o)&&(t.flags|=32),V0(e,t),Ke(e,t,s,n),t.child;case 6:return e===null&&ed(t),null;case 13:return F0(e,t,n);case 4:return Lf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zi(t,null,r,n):Ke(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),cm(e,t,r,i,n);case 7:return Ke(e,t,t.pendingProps,n),t.child;case 8:return Ke(e,t,t.pendingProps.children,n),t.child;case 12:return Ke(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,se(cl,r._currentValue),r._currentValue=s,o!==null)if($t(o.value,s)){if(o.children===i.children&&!tt.current){t=Tn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=vn(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),td(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(O(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),td(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ke(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Mi(t,n),i=At(i),r=r(i),t.flags|=1,Ke(e,t,r,n),t.child;
vendor: 6,156 bytes, line 41
41case 14:return r=t.type,i=Mt(r,t.pendingProps),i=Mt(r.type,i),um(e,t,r,i,n);case 15:return _0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Ia(e,t),t.tag=1,nt(r)?(e=!0,sl(t)):e=!1,Mi(t,n),L0(t,r,i),rd(t,r,i,n),sd(null,t,r,!0,e,n);case 19:return B0(e,t,n);case 22:return z0(e,t,n)}throw Error(O(156,t.tag))};function ix(e,t){return jv(e,t)}function fT(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 Ct(e,t,n,r){return new fT(e,t,n,r)}function Qf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pT(e){if(typeof e=="function")return Qf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hf)return 11;if(e===mf)return 14}return 2}function sr(e,t){var n=e.alternate;return n===null?(n=Ct(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 Va(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Qf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case mi:return $r(n.children,i,o,t);case pf:s=8,i|=8;break;case Au:return e=Ct(12,n,t,i|2),e.elementType=Au,e.lanes=o,e;case Ru:return e=Ct(13,n,t,i),e.elementType=Ru,e.lanes=o,e;case ku:return e=Ct(19,n,t,i),e.elementType=ku,e.lanes=o,e;case hv:return Kl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fv:s=10;break e;case pv:s=9;break e;case hf:s=11;break e;case mf:s=14;break e;case Fn:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Ct(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function $r(e,t,n,r){return e=Ct(7,e,r,t),e.lanes=n,e}function Kl(e,t,n,r){return e=Ct(22,e,r,t),e.elementType=hv,e.lanes=n,e.stateNode={isHidden:!1},e}function Wc(e,t,n){return e=Ct(6,e,null,t),e.lanes=n,e}function Hc(e,t,n){return t=Ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hT(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=Pc(0),this.expirationTimes=Pc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function qf(e,t,n,r,i,o,s,a,l){return e=new hT(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ct(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Of(o),e}function mT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:hi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function ox(e){if(!e)return cr;e=e._reactInternals;e:{if(ei(e)!==e||e.tag!==1)throw Error(O(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(O(171))}if(e.tag===1){var n=e.type;if(nt(n))return o0(e,n,t)}return t}function sx(e,t,n,r,i,o,s,a,l){return e=qf(n,r,!0,e,i,o,s,a,l),e.context=ox(null),n=e.current,r=Qe(),i=or(n),o=vn(r,i),o.callback=t??null,rr(n,o,i),e.current.lanes=i,_s(e,i,r),rt(e,r),e}function Xl(e,t,n,r){var i=t.current,o=Qe(),s=or(i);return n=ox(n),t.context===null?t.context=n:t.pendingContext=n,t=vn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=rr(i,t,s),e!==null&&(Ut(e,i,s,o),Oa(e,i,s)),s}function xl(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 Sm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Yf(e,t){Sm(e,t),(e=e.alternate)&&Sm(e,t)}function gT(){return null}var ax=typeof reportError=="function"?reportError:function(e){console.error(e)};function Zf(e){this._internalRoot=e}Ql.prototype.render=Zf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));Xl(e,t,null,null)};Ql.prototype.unmount=Zf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qr(function(){Xl(null,e,null,null)}),t[Sn]=null}};function Ql(e){this._internalRoot=e}Ql.prototype.unstable_scheduleHydration=function(e){if(e){var t=zv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Un.length&&t!==0&&t<Un[n].priority;n++);Un.splice(n,0,e),n===0&&Gv(e)}};function Jf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ql(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Em(){}function yT(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=xl(s);o.call(c)}}var s=sx(t,r,e,0,null,!1,!1,"",Em);return e._reactRootContainer=s,e[Sn]=s.current,us(e.nodeType===8?e.parentNode:e),qr(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=xl(l);a.call(c)}}var l=qf(e,0,!1,null,null,!1,!1,"",Em);return e._reactRootContainer=l,e[Sn]=l.current,us(e.nodeType===8?e.parentNode:e),qr(function(){Xl(t,l,n,r)}),l}function Yl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=xl(s);
vendor: 4,489 bytes, line 41
41a.call(l)}}Xl(t,s,e,i)}else s=yT(n,t,e,i,r);return xl(s)}Iv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=_o(t.pendingLanes);n!==0&&(vf(t,n|1),rt(t,be()),!(te&6)&&(to=be()+500,vr()))}break;case 13:qr(function(){var r=En(e,1);if(r!==null){var i=Qe();Ut(r,e,1,i)}}),Yf(e,1)}};xf=function(e){if(e.tag===13){var t=En(e,134217728);if(t!==null){var n=Qe();Ut(t,e,134217728,n)}Yf(e,134217728)}};_v=function(e){if(e.tag===13){var t=or(e),n=En(e,t);if(n!==null){var r=Qe();Ut(n,e,t,r)}Yf(e,t)}};zv=function(){return ie};Vv=function(e,t){var n=ie;try{return ie=e,t()}finally{ie=n}};Vu=function(e,t,n){switch(t){case"input":if(Du(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=Fl(r);if(!i)throw Error(O(90));gv(r),Du(r,i)}}}break;case"textarea":vv(e,n);break;case"select":t=n.value,t!=null&&ji(e,!!n.multiple,t,!1)}};Cv=Hf;Pv=qr;var vT={usingClientEntryPoint:!1,Events:[Vs,xi,Fl,Ev,Tv,Hf]},Ro={findFiberByHostInstance:Dr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},xT={bundleType:Ro.bundleType,version:Ro.version,rendererPackageName:Ro.rendererPackageName,rendererConfig:Ro.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Rn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=kv(e),e===null?null:e.stateNode},findFiberByHostInstance:Ro.findFiberByHostInstance||gT,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ga.isDisabled&&ga.supportsFiber)try{_l=ga.inject(xT),nn=ga}catch{}}ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vT;ht.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jf(t))throw Error(O(200));return mT(e,t,null,n)};ht.createRoot=function(e,t){if(!Jf(e))throw Error(O(299));var n=!1,r="",i=ax;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=qf(e,1,!1,null,null,n,!1,r,i),e[Sn]=t.current,us(e.nodeType===8?e.parentNode:e),new Zf(t)};ht.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(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=kv(t),e=e===null?null:e.stateNode,e};ht.flushSync=function(e){return qr(e)};ht.hydrate=function(e,t,n){if(!ql(t))throw Error(O(200));return Yl(null,e,t,!0,n)};ht.hydrateRoot=function(e,t,n){if(!Jf(e))throw Error(O(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=ax;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=sx(t,null,e,1,n??null,i,!1,o,s),e[Sn]=t.current,us(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 Ql(t)};ht.render=function(e,t,n){if(!ql(t))throw Error(O(200));return Yl(null,e,t,!1,n)};ht.unmountComponentAtNode=function(e){if(!ql(e))throw Error(O(40));return e._reactRootContainer?(qr(function(){Yl(null,null,e,!1,function(){e._reactRootContainer=null,e[Sn]=null})}),!0):!1};ht.unstable_batchedUpdates=Hf;ht.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ql(n))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return Yl(e,t,n,!1,r)};ht.version="18.3.1-next-f1338f8080-20240426";function lx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lx)}catch(e){console.error(e)}}lx(),lv.exports=ht;var Fs=lv.exports;const cx=Ms(Fs);var ux,dx,Tm=Fs;dx=Tm.createRoot,ux=Tm.hydrateRoot;var wT=typeof Element<"u",bT=typeof Map=="function",ST=typeof Set=="function",ET=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ga(e,t){if(e===t)return!0;
41if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ga(e[r],t[r]))return!1;return!0}var o;if(bT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!Ga(r.value[1],t.get(r.value[0])))return!1;return!0}if(ST&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ET&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(wT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Ga(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var TT=function(t,n){try{return Ga(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const CT=Ms(TT);var PT=function(e,t,n,r,i,o,s,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,a],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},AT=PT;const Cm=Ms(AT);var RT=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<s.length;c++){var u=s[c];if(!l(u))return!1;var d=t[u],f=n[u];if(o=r?r.call(i,d,f,u):void 0,o===!1||o===void 0&&d!==f)return!1}return!0};const kT=Ms(RT);var fx=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(fx||{}),Kc={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Pm=Object.values(fx),Zl={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},px=Object.entries(Zl).reduce((e,[t,n])=>(e[n]=t,e),{}),Ft="data-rh",_i={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},zi=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},NT=e=>{let t=zi(e,"title");const n=zi(e,_i.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=zi(e,_i.DEFAULT_TITLE);return t||r||void 0},jT=e=>zi(e,_i.ON_CHANGE_CLIENT_STATE)||(()=>{}),Xc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),DT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;o<i.length;o+=1){const a=i[o].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),OT=e=>console&&typeof console.warn=="function"&&console.warn(e),ko=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&OT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,o)=>{const s={};o.filter(l=>{let c;const u=Object.keys(l);for(let f=0;f<u.length;f+=1){const h=u[f],v=h.toLowerCase();t.indexOf(v)!==-1&&!(c==="rel"&&l[c].toLowerCase()==="canonical")&&!(v==="rel"&&l[v].toLowerCase()==="stylesheet")&&(c=v),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(c=h)}if(!c||!l[c])return!1;const d=l[c].toLowerCase();return r[c]||(r[c]={}),s[c]||(s[c]={}),r[c][d]?!1:(s[c][d]=!0,!0)}
41).reverse().forEach(l=>i.push(l));const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const c=a[l],u={...r[c],...s[c]};r[c]=u}return i},[]).reverse()},LT=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},MT=e=>({baseTag:DT(["href"],e),bodyAttributes:Xc("bodyAttributes",e),defer:zi(e,_i.DEFER),encode:zi(e,_i.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Xc("htmlAttributes",e),linkTags:ko("link",["rel","href"],e),metaTags:ko("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:ko("noscript",["innerHTML"],e),onChangeClientState:jT(e),scriptTags:ko("script",["src","innerHTML"],e),styleTags:ko("style",["cssText"],e),title:NT(e),titleAttributes:Xc("titleAttributes",e),prioritizeSeoTags:LT(e,_i.PRIORITIZE_SEO_TAGS)}),hx=e=>Array.isArray(e)?e.join(""):e,IT=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Qc=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(IT(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Am=(e,t)=>({...e,[t]:void 0}),_T=["noscript","script","style"],vd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),mx=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),zT=(e,t,n,r)=>{const i=mx(n),o=hx(t);return i?`<${e} ${Ft}="true" ${i}>${vd(o,r)}</${e}>`:`<${e} ${Ft}="true">${vd(o,r)}</${e}>`},VT=(e,t,n=!0)=>t.reduce((r,i)=>{const o=i,s=Object.keys(o).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const d=typeof o[u]>"u"?u:`${u}="${vd(o[u],n)}"`;return c?`${c} ${d}`:d},""),a=o.innerHTML||o.cssText||"",l=_T.indexOf(e)===-1;return`${r}<${e} ${Ft}="true" ${s}${l?"/>":`>${a}</${e}>`}`},""),gx=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Zl[r];return n[i||r]=e[r],n},t),GT=(e,t,n)=>{const r={key:t,[Ft]:!0},i=gx(n,r);return[N.createElement("title",i,t)]},Fa=(e,t)=>t.map((n,r)=>{const i={key:r,[Ft]:!0};return Object.keys(n).forEach(o=>{const a=Zl[o]||o;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[a]=n[o]}),N.createElement(e,i)}),bt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>GT(e,t.title,t.titleAttributes),toString:()=>zT(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>gx(t),toString:()=>mx(t)};default:return{toComponent:()=>Fa(e,t),toString:()=>VT(e,t,n)}}},FT=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=Qc(e,Kc.meta),o=Qc(t,Kc.link),s=Qc(n,Kc.script);return{priorityMethods:{toComponent:()=>[...Fa("meta",i.priority),...Fa("link",o.priority),...Fa("script",s.priority)],toString:()=>`${bt("meta",i.priority,r)} ${bt("link",o.priority,r)} ${bt("script",s.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:s.default}},BT=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:d,scriptTags:f}=e,h={toComponent:()=>[],toString:()=>""};return c&&({priorityMethods:h,linkTags:u,metaTags:d,scriptTags:f}=FT(e)),{priority:h,base:bt("base",t,r),bodyAttributes:bt("bodyAttributes",n,r),htmlAttributes:bt("htmlAttributes",i,r),link:bt("link",u,r),meta:bt("meta",d,r),noscript:bt("noscript",o,r),script:bt("script",f,r),style:bt("style",s,r),title:bt("title",{title:a,titleAttributes:l},r)}},xd=BT,ya=[],ep=!!(typeof window<"u"&&window.document&&window.document.createElement),wd=class{constructor(e,t){un(this,"instances",[]);un(this,"canUseDOM",ep);un(this,"context");un(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?ya:this.instances,add:e=>{(this.canUseDOM?ya:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?ya:this.instances).indexOf(e);(this.canUseDOM?ya:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=xd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},UT=parseInt(N.version.split(".")[0],10),bd=UT>=19,$T={},yx=N.createContext($T),Ir,vx=(Ir=class extends g.Component{constructor(n){super(n);un(this,"helmetData");bd?this.helmetData=null:this.helmetData=new wd(this.props.context||{},Ir.canUseDOM)}render(){return bd?N.createElement(N.Fragment,null,this.props.children):N.createElement(yx.Provider,{value:this.helmetData.value},this.props.children)}},un(Ir,"canUseDOM",ep),Ir),ci=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Ft}]`),i=[].slice.call(r),o=[];let s;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c))if(c==="innerHTML")l.innerHTML=a.innerHTML;else if(c==="cssText"){const u=a.cssText;l.appendChild(document.createTextNode(u))}else{const u=c,d=typeof a[u]>
41"u"?"":a[u];l.setAttribute(c,d)}l.setAttribute(Ft,"true"),i.some((c,u)=>(s=u,l.isEqualNode(c)))?i.splice(s,1):o.push(l)}),i.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),o.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:o}},Sd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Ft),i=r?r.split(","):[],o=[...i],s=Object.keys(t);for(const a of s){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),i.indexOf(a)===-1&&i.push(a);const c=o.indexOf(a);c!==-1&&o.splice(c,1)}for(let a=o.length-1;a>=0;a-=1)n.removeAttribute(o[a]);i.length===o.length?n.removeAttribute(Ft):n.getAttribute(Ft)!==s.join(",")&&n.setAttribute(Ft,s.join(","))},WT=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=hx(e)),Sd("title",t)},Rm=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:u,title:d,titleAttributes:f}=e;Sd("body",r),Sd("html",i),WT(d,f);const h={baseTag:ci("base",n),linkTags:ci("link",o),metaTags:ci("meta",s),noscriptTags:ci("noscript",a),scriptTags:ci("script",c),styleTags:ci("style",u)},v={},m={};Object.keys(h).forEach(w=>{const{newTags:y,oldTags:x}=h[w];y.length&&(v[w]=y),x.length&&(m[w]=h[w].oldTags)}),t&&t(),l(e,v,m)},No=null,HT=e=>{No&&cancelAnimationFrame(No),e.defer?No=requestAnimationFrame(()=>{Rm(e,()=>{No=null})}):(Rm(e),No=null)},KT=HT,km=class extends g.Component{constructor(){super(...arguments);un(this,"rendered",!1)}shouldComponentUpdate(t){return!kT(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=MT(t.get().map(o=>{const{context:s,...a}=o.props;return a}));vx.canUseDOM?KT(i):xd&&(r=xd(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Ba=[],Nm=e=>{const t={};for(const n of Object.keys(e))t[px[n]||n]=e[n];return t},Pr=e=>{const t={};for(const n of Object.keys(e)){const r=Zl[n];t[r||n]=e[n]}return t},jm=(e,t)=>{if(!ep)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",i=n.getAttribute(r),o=i?i.split(","):[],s=Object.keys(t);for(const a of o)s.includes(a)||n.removeAttribute(a);for(const a of s){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}s.length>0?n.setAttribute(r,s.join(",")):n.removeAttribute(r)},qc=()=>{const e={},t={};for(const n of Ba){const{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,Nm(r)),i&&Object.assign(t,Nm(i))}jm("html",e),jm("body",t)},XT=class extends g.Component{componentDidMount(){Ba.push(this),qc()}componentDidUpdate(){qc()}componentWillUnmount(){const e=Ba.indexOf(this);e!==-1&&Ba.splice(e,1),qc()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return N.createElement("title",Pr(t),e)}renderBase(){const{base:e}=this.props;return e?N.createElement("base",Pr(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>N.createElement("meta",{key:n,...Pr(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>N.createElement("link",{key:n,...Pr(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,o=Pr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),N.createElement("script",{key:n,...o})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...i}=t,o=Pr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),N.createElement("style",{key:n,...o})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,o=Pr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),N.createElement("noscript",{key:n,...o})})}render(){return N.createElement(N.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Cu,QT=(Cu=class extends g.Component{shouldComponentUpdate(e){return!CT(Am(this.props,"helmetData"),Am(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
41warnOnInvalidChildren(e,t){return Cm(Pm.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Pm.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Cm(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return N.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,s=Object.keys(o).reduce((l,c)=>(l[px[c]||c]=o[c],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,s,i);break;default:t=this.mapObjectTypeChildren(r,t,s,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof wd)){const i=r;r=new wd(i.context,!0),delete n.helmetData}return bd?N.createElement(XT,{...n}):r?N.createElement(km,{...n,context:r.value}):N.createElement(yx.Consumer,null,i=>N.createElement(km,{...n,context:i}))}},un(Cu,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Cu);const qT="modulepreload",YT=function(e){return"/"+e},Dm={},G=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=YT(l),l in Dm)return;Dm[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":qT,c||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((f,h)=>{d.addEventListener("load",f),d.addEventListener("error",()=>h(Error(`Unable to preload CSS for ${l}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};var Jl=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(){}},ec=typeof window>"u"||"Deno"in globalThis;function It(){}function ZT(e,t){return typeof e=="function"?e(t):e}function JT(e){return typeof e=="number"&&e>=0&&e!==1/0}function eC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ed(e,t){return typeof e=="function"?e(t):e}function tC(e,t){return typeof e=="function"?e(t):e}function Om(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==tp(s,t.options))return!1}else if(!ws(t.queryKey,s))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||o&&!o(t))}function Lm(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(xs(t.options.mutationKey)!==xs(o))return!1}else if(!ws(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function tp(e,t){return((t==null?void 0:t.queryKeyHashFn)||xs)(e)}function xs(e){return JSON.stringify(e,(t,n)=>Td(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ws(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ws(e[n],t[n])):!1}function xx(e,t){if(e===t)return e;const n=Mm(e)&&Mm(t);if(n||Td(e)&&Td(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{},l=new Set(r);let c=0;for(let u=0;u<s;u++){const d=n?u:o[u];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,c++):(a[d]=xx(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&c++)}return i===s&&c===i?e:a}return t}function Mm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Td(e){if(!Im(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Im(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Im(e){return Object.prototype.toString.call(e)==="[object Object]"}function nC(e){return new Promise(t=>{setTimeout(t,e)})}
vendor: 5,389 bytes, line 41
41function rC(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?xx(e,t):t}function iC(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function oC(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var np=Symbol();function wx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===np?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var _r,Wn,Fi,By,sC=(By=class extends Jl{constructor(){super();ne(this,_r);ne(this,Wn);ne(this,Fi);K(this,Fi,t=>{if(!ec&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Wn)||this.setEventListener(R(this,Fi))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Wn))==null||t.call(this),K(this,Wn,void 0))}setEventListener(t){var n;K(this,Fi,t),(n=R(this,Wn))==null||n.call(this),K(this,Wn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,_r)!==t&&(K(this,_r,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,_r)=="boolean"?R(this,_r):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},_r=new WeakMap,Wn=new WeakMap,Fi=new WeakMap,By),bx=new sC,Bi,Hn,Ui,Uy,aC=(Uy=class extends Jl{constructor(){super();ne(this,Bi,!0);ne(this,Hn);ne(this,Ui);K(this,Ui,t=>{if(!ec&&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(){R(this,Hn)||this.setEventListener(R(this,Ui))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Hn))==null||t.call(this),K(this,Hn,void 0))}setEventListener(t){var n;K(this,Ui,t),(n=R(this,Hn))==null||n.call(this),K(this,Hn,t(this.setOnline.bind(this)))}setOnline(t){R(this,Bi)!==t&&(K(this,Bi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,Bi)}},Bi=new WeakMap,Hn=new WeakMap,Ui=new WeakMap,Uy),wl=new aC;function lC(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});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 cC(e){return Math.min(1e3*2**e,3e4)}function Sx(e){return(e??"online")==="online"?wl.isOnline():!0}var Ex=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Yc(e){return e instanceof Ex}function Tx(e){let t=!1,n=0,r=!1,i;const o=lC(),s=m=>{var w;r||(f(new Ex(m)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>bx.isFocused()&&(e.networkMode==="always"||wl.isOnline())&&e.canRun(),u=()=>Sx(e.networkMode)&&e.canRun(),d=m=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,m),i==null||i(),o.resolve(m))},f=m=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,m),i==null||i(),o.reject(m))},h=()=>new Promise(m=>{var w;i=y=>{(r||c())&&m(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var m;i=void 0,r||(m=e.onContinue)==null||m.call(e)}),v=()=>{if(r)return;let m;const w=n===0?e.initialPromise:void 0;try{m=w??e.fn()}catch(y){m=Promise.reject(y)}Promise.resolve(m).then(d).catch(y=>{var T;if(r)return;const x=e.retry??(ec?0:3),b=e.retryDelay??cC,S=typeof b=="function"?b(n,y):b,E=x===!0||typeof x=="number"&&n<x||typeof x=="function"&&x(n,y);if(t||!E){f(y);return}n++,(T=e.onFail)==null||T.call(e,n,y),nC(S).then(()=>c()?void 0:h()).then(()=>{t?f(y):v()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?v():h().then(v),o)}}var uC=e=>setTimeout(e,0);function dC(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=uC;const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{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||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Xe=dC(),zr,$y,Cx=($y=class{constructor(){ne(this,zr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),JT(this.gcTime)&&K(this,zr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ec?1/0:5*60*1e3))}clearGcTimeout(){R(this,zr)&&(clearTimeout(R(this,zr)),K(this,zr,void 0))}},zr=new WeakMap,$y),$i,Vr,St,Gr,Ge,Os,Fr,_t,fn,Wy,fC=(Wy=class extends Cx{constructor(t){super();ne(this,_t);ne(this,$i);ne(this,Vr);ne(this,St);ne(this,Gr);ne(this,Ge);ne(this,Os);ne(this,Fr);K(this,Fr,!1),K(this,Os,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Gr,t.client),K(this,St,R(this,Gr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,$i,hC(this.options)),this.state=t.state??R(this,$i),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,Ge))==null?void 0:t.promise}setOptions(t){this.options={...R(this,Os),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,St).remove(this)}setData(t,n){const r=rC(this.state.data,t,this.options);
vendor: 1,948 bytes, line 41
41return _e(this,_t,fn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){_e(this,_t,fn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=R(this,Ge))==null?void 0:r.promise;return(i=R(this,Ge))==null||i.cancel(t),n?n.then(It).catch(It):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,$i))}isActive(){return this.observers.some(t=>tC(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===np||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Ed(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!eC(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Ge))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Ge))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,St).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,Ge)&&(R(this,Fr)?R(this,Ge).cancel({revert:!0}):R(this,Ge).cancelRetry()),this.scheduleGc()),R(this,St).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||_e(this,_t,fn).call(this,{type:"invalidate"})}
vendor: 4,422 bytes, line 41
41fetch(t,n){var c,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,Ge))return R(this,Ge).continueRetry(),R(this,Ge).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(K(this,Fr,!0),r.signal)})},o=()=>{const f=wx(this.options,n),v=(()=>{const m={client:R(this,Gr),queryKey:this.queryKey,meta:this.meta};return i(m),m})();return K(this,Fr,!1),this.options.persister?this.options.persister(f,v,this):f(v)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,Gr),state:this.state,fetchFn:o};return i(f),f})();(c=this.options.behavior)==null||c.onFetch(a,this),K(this,Vr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&_e(this,_t,fn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,v,m,w;Yc(f)&&f.silent||_e(this,_t,fn).call(this,{type:"error",error:f}),Yc(f)||((v=(h=R(this,St).config).onError)==null||v.call(h,f,this),(w=(m=R(this,St).config).onSettled)==null||w.call(m,this.state.data,f,this)),this.scheduleGc()};return K(this,Ge,Tx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,v,m,w;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(y){l(y);return}(v=(h=R(this,St).config).onSuccess)==null||v.call(h,f,this),(w=(m=R(this,St).config).onSettled)==null||w.call(m,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{_e(this,_t,fn).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{_e(this,_t,fn).call(this,{type:"pause"})},onContinue:()=>{_e(this,_t,fn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),R(this,Ge).start()}},$i=new WeakMap,Vr=new WeakMap,St=new WeakMap,Gr=new WeakMap,Ge=new WeakMap,Os=new WeakMap,Fr=new WeakMap,_t=new WeakSet,fn=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,...pC(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,Vr,void 0),{...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 Yc(i)&&i.revert&&R(this,Vr)?{...R(this,Vr),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),Xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,St).notify({query:this,type:"updated",action:t})})},Wy);function pC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Sx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function hC(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 Yt,Hy,mC=(Hy=class extends Jl{constructor(t={}){super();ne(this,Yt);this.config=t,K(this,Yt,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??tp(i,n);let s=this.get(o);return s||(s=new fC({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){R(this,Yt).has(t.queryHash)||(R(this,Yt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Yt).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Yt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Xe.batch(()=>
41{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Yt).get(t)}getAll(){return[...R(this,Yt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Om(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Om(t,r)):n}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Yt=new WeakMap,Hy),Zt,He,Br,Jt,Vn,Ky,gC=(Ky=class extends Cx{constructor(t){super();ne(this,Jt);ne(this,Zt);ne(this,He);ne(this,Br);this.mutationId=t.mutationId,K(this,He,t.mutationCache),K(this,Zt,[]),this.state=t.state||yC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Zt).includes(t)||(R(this,Zt).push(t),this.clearGcTimeout(),R(this,He).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Zt,R(this,Zt).filter(n=>n!==t)),this.scheduleGc(),R(this,He).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():R(this,He).remove(this))}continue(){var t;return((t=R(this,Br))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,a,l,c,u,d,f,h,v,m,w,y,x,b,S,E,T,C,P;const n=()=>{_e(this,Jt,Vn).call(this,{type:"continue"})};K(this,Br,Tx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,D)=>{_e(this,Jt,Vn).call(this,{type:"failed",failureCount:j,error:D})},onPause:()=>{_e(this,Jt,Vn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,He).canRun(this)}));const r=this.state.status==="pending",i=!R(this,Br).canStart();try{if(r)n();else{_e(this,Jt,Vn).call(this,{type:"pending",variables:t,isPaused:i}),await((s=(o=R(this,He).config).onMutate)==null?void 0:s.call(o,t,this));const D=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));D!==this.state.context&&_e(this,Jt,Vn).call(this,{type:"pending",context:D,variables:t,isPaused:i})}const j=await R(this,Br).start();return await((u=(c=R(this,He).config).onSuccess)==null?void 0:u.call(c,j,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,j,t,this.state.context)),await((v=(h=R(this,He).config).onSettled)==null?void 0:v.call(h,j,null,this.state.variables,this.state.context,this)),await((w=(m=this.options).onSettled)==null?void 0:w.call(m,j,null,t,this.state.context)),_e(this,Jt,Vn).call(this,{type:"success",data:j}),j}catch(j){try{throw await((x=(y=R(this,He).config).onError)==null?void 0:x.call(y,j,t,this.state.context,this)),await((S=(b=this.options).onError)==null?void 0:S.call(b,j,t,this.state.context)),await((T=(E=R(this,He).config).onSettled)==null?void 0:T.call(E,void 0,j,this.state.variables,this.state.context,this)),await((P=(C=this.options).onSettled)==null?void 0:P.call(C,void 0,j,t,this.state.context)),j}finally{_e(this,Jt,Vn).call(this,{type:"error",error:j})}}finally{R(this,He).runNext(this)}}},Zt=new WeakMap,He=new WeakMap,Br=new WeakMap,Jt=new WeakSet,Vn=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),Xe.batch(()=>{R(this,Zt).forEach(r=>{r.onMutationUpdate(t)}),R(this,He).notify({mutation:this,type:"updated",action:t})})},Ky);function yC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var mn,zt,Ls,Xy,vC=(Xy=class extends Jl{constructor(t={}){super();ne(this,mn);ne(this,zt);ne(this,Ls);this.config=t,K(this,mn,new Set),K(this,zt,new Map),K(this,Ls,0)}build(t,n,r){const i=new gC({mutationCache:this,mutationId:++Js(this,Ls)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){R(this,mn).add(t);const n=va(t);if(typeof n=="string"){const r=R(this,zt).get(n);r?r.push(t):R(this,zt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,mn).delete(t)){const n=va(t);if(typeof n=="string"){const r=R(this,zt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&R(this,zt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=va(t);if(typeof n=="string"){const r=R(this,zt).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=va(t);if(typeof n=="string"){const i=(r=R(this,zt).get(n))==null?void 0:r.find(o=>
41o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Xe.batch(()=>{R(this,mn).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,mn).clear(),R(this,zt).clear()})}getAll(){return Array.from(R(this,mn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Lm(n,r))}findAll(t={}){return this.getAll().filter(n=>Lm(t,n))}notify(t){Xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(It))))}},mn=new WeakMap,zt=new WeakMap,Ls=new WeakMap,Xy);function va(e){var t;return(t=e.options.scope)==null?void 0:t.id}function _m(e){return{onFetch:(t,n)=>{var u,d,f,h,v;const r=t.options,i=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],s=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let m=!1;const w=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},y=wx(t.options,t.fetchOptions),x=async(b,S,E)=>{if(m)return Promise.reject();if(S==null&&b.pages.length)return Promise.resolve(b);const C=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return w(z),z})(),P=await y(C),{maxPages:j}=t.options,D=E?oC:iC;return{pages:D(b.pages,P,j),pageParams:D(b.pageParams,S,j)}};if(i&&o.length){const b=i==="backward",S=b?xC:zm,E={pages:o,pageParams:s},T=S(r,E);a=await x(E,T,b)}else{const b=e??o.length;do{const S=l===0?s[0]??r.initialPageParam:zm(r,a);if(l>0&&S==null)break;a=await x(a,S),l++}while(l<b)}return a};t.options.persister?t.fetchFn=()=>{var m,w;return(w=(m=t.options).persister)==null?void 0:w.call(m,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function zm(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 xC(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 ye,Kn,Xn,Wi,Hi,Qn,Ki,Xi,Qy,wC=(Qy=class{constructor(e={}){ne(this,ye);ne(this,Kn);ne(this,Xn);ne(this,Wi);ne(this,Hi);ne(this,Qn);ne(this,Ki);ne(this,Xi);K(this,ye,e.queryCache||new mC),K(this,Kn,e.mutationCache||new vC),K(this,Xn,e.defaultOptions||{}),K(this,Wi,new Map),K(this,Hi,new Map),K(this,Qn,0)}mount(){Js(this,Qn)._++,R(this,Qn)===1&&(K(this,Ki,bx.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ye).onFocus())})),K(this,Xi,wl.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ye).onOnline())})))}unmount(){var e,t;Js(this,Qn)._--,R(this,Qn)===0&&((e=R(this,Ki))==null||e.call(this),K(this,Ki,void 0),(t=R(this,Xi))==null||t.call(this),K(this,Xi,void 0))}isFetching(e){return R(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,Kn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ye).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,ye).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ed(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,ye).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=R(this,ye).get(r.queryHash),o=i==null?void 0:i.state.data,s=ZT(t,o);if(s!==void 0)return R(this,ye).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Xe.batch(()=>R(this,ye).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ye).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,ye);Xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,ye);return Xe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Xe.batch(()=>R(this,ye).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(It).catch(It)}invalidateQueries(e,t={}){return Xe.batch(()=>(R(this,ye).findAll(e).forEach(n=>
41{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Xe.batch(()=>R(this,ye).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(It)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(It)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,ye).build(this,t);return n.isStaleByTime(Ed(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(It).catch(It)}fetchInfiniteQuery(e){return e.behavior=_m(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(It).catch(It)}ensureInfiniteQueryData(e){return e.behavior=_m(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return wl.isOnline()?R(this,Kn).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,ye)}getMutationCache(){return R(this,Kn)}getDefaultOptions(){return R(this,Xn)}setDefaultOptions(e){K(this,Xn,e)}setQueryDefaults(e,t){R(this,Wi).set(xs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,Wi).values()],n={};return t.forEach(r=>{ws(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,Hi).set(xs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Hi).values()],n={};return t.forEach(r=>{ws(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Xn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=tp(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.queryFn===np&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Xn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,ye).clear(),R(this,Kn).clear()}},ye=new WeakMap,Kn=new WeakMap,Xn=new WeakMap,Wi=new WeakMap,Hi=new WeakMap,Qn=new WeakMap,Ki=new WeakMap,Xi=new WeakMap,Qy),bC=g.createContext(void 0),SC=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(bC.Provider,{value:e,children:t}));/**
42 * @remix-run/router v1.23.0
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */function bs(){return bs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bs.apply(this,arguments)}var Zn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Zn||(Zn={}));const Vm="popstate";function EC(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return Cd("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:bl(i)}return CC(t,n,null,e)}function Se(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Px(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function TC(){return Math.random().toString(36).substr(2,8)}function Gm(e,t){return{usr:e.state,key:e.key,idx:t}}function Cd(e,t,n,r){return n===void 0&&(n=null),bs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?fo(t):t,{state:n,key:t&&t.key||r||TC()})}function bl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function fo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function CC(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Zn.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(bs({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function d(){a=Zn.Pop;let w=u(),y=w==null?null:w-c;c=w,l&&l({action:a,location:m.location,delta:y})}function f(w,y){a=Zn.Push;let x=Cd(m.location,w,y);c=u()+1;let b=Gm(x,c),S=m.createHref(x);try{s.pushState(b,"",S)}
vendor: 1,037 bytes, line 50
50catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(S)}o&&l&&l({action:a,location:m.location,delta:1})}function h(w,y){a=Zn.Replace;let x=Cd(m.location,w,y);c=u();let b=Gm(x,c),S=m.createHref(x);s.replaceState(b,"",S),o&&l&&l({action:a,location:m.location,delta:0})}function v(w){let y=i.location.origin!=="null"?i.location.origin:i.location.href,x=typeof w=="string"?w:bl(w);return x=x.replace(/ $/,"%20"),Se(y,"No window.location.(origin|href) available to create URL for href: "+x),new URL(x,y)}let m={get action(){return a},get location(){return e(i,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Vm,d),l=w,()=>{i.removeEventListener(Vm,d),l=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let y=v(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:h,go(w){return s.go(w)}};return m}var Fm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Fm||(Fm={}));
vendor: 9,121 bytes, lines 50-59
50function PC(e,t,n){return n===void 0&&(n="/"),AC(e,t,n,!1)}function AC(e,t,n,r){let i=typeof t=="string"?fo(t):t,o=rp(i.pathname||"/",n);if(o==null)return null;let s=Ax(e);RC(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=VC(o);a=_C(s[l],c,r)}return a}function Ax(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(Se(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=ar([r,l.relativePath]),u=n.concat(l);o.children&&o.children.length>0&&(Se(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Ax(o.children,t,u,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:MC(c,o.index),routesMeta:u})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of Rx(o.path))i(o,s,l)}),t}function Rx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=Rx(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function RC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:IC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const kC=/^:[\w-]+$/,NC=3,jC=2,DC=1,OC=10,LC=-2,Bm=e=>e==="*";function MC(e,t){let n=e.split("/"),r=n.length;return n.some(Bm)&&(r+=LC),t&&(r+=jC),n.filter(i=>!Bm(i)).reduce((i,o)=>i+(kC.test(o)?NC:o===""?DC:OC),r)}function IC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function _C(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=o==="/"?t:t.slice(o.length)||"/",d=Um({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),f=l.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=Um({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!d)return null;Object.assign(i,d.params),s.push({params:i,pathname:ar([o,d.pathname]),pathnameBase:UC(ar([o,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(o=ar([o,d.pathnameBase]))}return s}function Um(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=zC(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((c,u,d)=>{let{paramName:f,isOptional:h}=u;if(f==="*"){let m=a[d]||"";s=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const v=a[d];return h&&!v?c[f]=void 0:c[f]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:s,pattern:e}}function zC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Px(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function VC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Px(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function rp(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function GC(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?fo(e):e;return{pathname:n?n.startsWith("/")?n:FC(n,t):t,search:$C(r),hash:WC(i)}}function FC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Zc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function BC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ip(e,t){let n=BC(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function op(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=fo(e):(i=bs({},e),Se(!i.pathname||!i.pathname.includes("?"),Zc("?","pathname","search",i)),Se(!i.pathname||!i.pathname.includes("#"),Zc("#","pathname","hash",i)),Se(!i.search||!i.search.includes("#"),Zc("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=GC(i,a),c=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const ar=e=>e.join("/").replace(/\/\/+/g,"/"),UC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$C=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,WC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function HC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const kx=["post","put","patch","delete"];new Set(kx);const KC=["get",...kx];new Set(KC);/**
51 * React Router v6.30.1
52 *
53 * Copyright (c) Remix Software Inc.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE.md file in the root directory of this source tree.
57 *
58 * @license MIT
59 */function Ss(){return Ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ss.apply(this,arguments)}const sp=g.createContext(null),XC=g.createContext(null),xr=g.createContext(null),tc=g.createContext(null),wr=g.createContext({outlet:null,matches:[],isDataRoute:!1}),Nx=g.createContext(null);function QC(e,t){let{relative:n}=t===void 0?{}:t;po()||Se(!1);let{basename:r,navigator:i}=g.useContext(xr),{hash:o,pathname:s,search:a}=Dx(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:ar([r,s])),i.createHref({pathname:l,search:a,hash:o})}function po(){return g.useContext(tc)!=null}function gt(){return po()||Se(!1),g.useContext(tc).location}function jx(e){g.useContext(xr).static||g.useLayoutEffect(e)}function Bs(){let{isDataRoute:e}=g.useContext(wr);return e?lP():qC()}function qC(){po()||Se(!1);let e=g.useContext(sp),{basename:t,future:n,navigator:r}=g.useContext(xr),{matches:i}=g.useContext(wr),{pathname:o}=gt(),s=JSON.stringify(ip(i,n.v7_relativeSplatPath)),a=g.useRef(!1);return jx(()=>{a.current=!0}),g.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let d=op(c,JSON.parse(s),o,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:ar([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,s,o,e])}function Dx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=g.useContext(xr),{matches:i}=g.useContext(wr),{pathname:o}=gt(),s=JSON.stringify(ip(i,r.v7_relativeSplatPath));return g.useMemo(()=>op(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function YC(e,t){return ZC(e,t)}function ZC(e,t,n,r){po()||Se(!1);let{navigator:i}=g.useContext(xr),{matches:o}=g.useContext(wr),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=gt(),u;if(t){var d;let w=typeof t=="string"?fo(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||Se(!1),u=w}else u=c;let f=u.pathname||"/",h=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=PC(e,{pathname:h}),m=rP(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:ar([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:ar([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r);return t&&m?g.createElement(tc.Provider,{value:{location:Ss({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Zn.Pop}},m):m}function JC(){let e=aP(),t=HC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application 
59Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:i},n):null,null)}const eP=g.createElement(JC,null);class tP extends g.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?g.createElement(wr.Provider,{value:this.props.routeContext},g.createElement(Nx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function nP(e){let{routeContext:t,match:n,children:r}=e,i=g.useContext(sp);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(wr.Provider,{value:t},r)}function rP(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let u=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);u>=0||Se(!1),s=s.slice(0,Math.min(s.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<s.length;u++){let d=s[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(c=u),d.route.id){let{loaderData:f,errors:h}=n,v=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||v){l=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((u,d,f)=>{let h,v=!1,m=null,w=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,m=d.route.errorElement||eP,l&&(c<0&&f===0?(v=!0,w=null):c===f&&(v=!0,w=d.route.hydrateFallbackElement||null)));let y=t.concat(s.slice(0,f+1)),x=()=>{let b;return h?b=m:v?b=w:d.route.Component?b=g.createElement(d.route.Component,null):d.route.element?b=d.route.element:b=u,g.createElement(nP,{match:d,routeContext:{outlet:u,matches:y,isDataRoute:n!=null},children:b})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?g.createElement(tP,{location:n.location,revalidation:n.revalidation,component:m,error:h,children:x(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):x()},null)}var Ox=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ox||{}),Sl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Sl||{});function iP(e){let t=g.useContext(sp);return t||Se(!1),t}function oP(e){let t=g.useContext(XC);return t||Se(!1),t}function sP(e){let t=g.useContext(wr);return t||Se(!1),t}function Lx(e){let t=sP(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}function aP(){var e;let t=g.useContext(Nx),n=oP(Sl.UseRouteError),r=Lx(Sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function lP(){let{router:e}=iP(Ox.UseNavigateStable),t=Lx(Sl.UseNavigateStable),n=g.useRef(!1);return jx(()=>{n.current=!0}),g.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ss({fromRouteId:t},o)))},[e,t])}function cP(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function In(e){let{to:t,replace:n,state:r,relative:i}=e;po()||Se(!1);let{future:o,static:s}=g.useContext(xr),{matches:a}=g.useContext(wr),{pathname:l}=gt(),c=Bs(),u=op(t,ip(a,o.v7_relativeSplatPath),l,i==="path"),d=JSON.stringify(u);return g.useEffect(()=>c(JSON.parse(d),{replace:n,state:r,relative:i}),[c,d,i,n,r]),null}function ot(e){Se(!1)}function uP(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Zn.Pop,navigator:o,static:s=!1,future:a}=e;po()&&Se(!1);let l=t.replace(/^\/*/,"/"),c=g.useMemo(()=>({basename:l,navigator:o,static:s,future:Ss({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=fo(r));
59let{pathname:u="/",search:d="",hash:f="",state:h=null,key:v="default"}=r,m=g.useMemo(()=>{let w=rp(u,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:h,key:v},navigationType:i}},[l,u,d,f,h,v,i]);return m==null?null:g.createElement(xr.Provider,{value:c},g.createElement(tc.Provider,{children:n,value:m}))}function dP(e){let{children:t,location:n}=e;return YC(Pd(t),n)}new Promise(()=>{});function Pd(e,t){t===void 0&&(t=[]);let n=[];return g.Children.forEach(e,(r,i)=>{if(!g.isValidElement(r))return;let o=[...t,i];if(r.type===g.Fragment){n.push.apply(n,Pd(r.props.children,o));return}r.type!==ot&&Se(!1),!r.props.index||!r.props.children||Se(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Pd(r.props.children,o)),n.push(s)}),n}/**
60 * React Router DOM v6.30.1
61 *
62 * Copyright (c) Remix Software Inc.
63 *
64 * This source code is licensed under the MIT license found in the
65 * LICENSE.md file in the root directory of this source tree.
66 *
67 * @license MIT
68 */function Ad(){return Ad=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ad.apply(this,arguments)}function fP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function pP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hP(e,t){return e.button===0&&(!t||t==="_self")&&!pP(e)}function Rd(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function mP(e,t){let n=Rd(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}const gP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],yP="6";try{window.__reactRouterVersion=yP}catch{}const vP="startTransition",$m=sv[vP];function xP(e){let{basename:t,children:n,future:r,window:i}=e,o=g.useRef();o.current==null&&(o.current=EC({window:i,v5Compat:!0}));let s=o.current,[a,l]=g.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=g.useCallback(d=>{c&&$m?$m(()=>l(d)):l(d)},[l,c]);return g.useLayoutEffect(()=>s.listen(u),[s,u]),g.useEffect(()=>cP(r),[r]),g.createElement(uP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const wP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ee=g.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:d}=t,f=fP(t,gP),{basename:h}=g.useContext(xr),v,m=!1;if(typeof c=="string"&&bP.test(c)&&(v=c,wP))try{let b=new URL(window.location.href),S=c.startsWith("//")?new URL(b.protocol+c):new URL(c),E=rp(S.pathname,h);S.origin===b.origin&&E!=null?c=E+S.search+S.hash:m=!0}catch{}let w=QC(c,{relative:i}),y=SP(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:i,viewTransition:d});function x(b){r&&r(b),b.defaultPrevented||y(b)}return g.createElement("a",Ad({},f,{href:v||w,onClick:m||o?r:x,ref:n,target:l}))});var Wm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Wm||(Wm={}));var Hm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Hm||(Hm={}));function SP(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,viewTransition:a}=t===void 0?{}:t,l=Bs(),c=gt(),u=Dx(e,{relative:s});return g.useCallback(d=>
68{if(hP(d,n)){d.preventDefault();let f=r!==void 0?r:bl(c)===bl(u);l(e,{replace:f,state:i,preventScrollReset:o,relative:s,viewTransition:a})}},[c,l,u,r,i,n,e,o,s,a])}function LI(e){let t=g.useRef(Rd(e)),n=g.useRef(!1),r=gt(),i=g.useMemo(()=>mP(r.search,n.current?null:t.current),[r.search]),o=Bs(),s=g.useCallback((a,l)=>{const c=Rd(typeof a=="function"?a(i):a);n.current=!0,o("?"+c,l)},[o,i]);return[i,s]}var Km=["light","dark"],EP="(prefers-color-scheme: dark)",TP=g.createContext(void 0),CP={setTheme:e=>{},themes:[]},PP=()=>{var e;return(e=g.useContext(TP))!=null?e:CP};g.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:s,attrs:a,nonce:l})=>{let c=o==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?Km.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(v,m=!1,w=!0)=>{let y=s?s[v]:v,x=m?v+"|| ''":`'${y}'`,b="";return i&&w&&!m&&Km.includes(v)&&(b+=`d.style.colorScheme = '${v}';`),n==="class"?m||y?b+=`c.add(${x})`:b+="null":y&&(b+=`d[s](n,${x})`),b},h=e?`!function(){${u}${f(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${EP}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${c?"":"else{"+f(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${d}}catch(t){}}();`;return g.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var AP=e=>{switch(e){case"success":return NP;case"info":return DP;case"warning":return jP;case"error":return OP;default:return null}},RP=Array(12).fill(0),kP=({visible:e,className:t})=>N.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},N.createElement("div",{className:"sonner-spinner"},RP.map((n,r)=>N.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),NP=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),jP=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),DP=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),OP=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},N.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),LP=N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},N.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),N.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),MP=()=>{let[e,t]=N.useState(document.hidden);return N.useEffect(()=>{let n=()=>{t(document.hidden)};
68return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},kd=1,IP=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:kd++,o=this.toasts.find(a=>a.id===i),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
68this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,o,s=r.then(async l=>{if(o=["resolve",l],N.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(zP(l)&&!l.ok){i=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:u})}else if(t.success!==void 0){i=!1;let c=typeof t.success=="function"?await t.success(l):t.success,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){i=!1;let c=typeof t.error=="function"?await t.error(l):t.error,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>s.then(()=>o[0]==="reject"?c(o[1]):l(o[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||kd++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ze=new IP,_P=(e,t)=>{let n=(t==null?void 0:t.id)||kd++;return Ze.addToast({title:e,...t,id:n}),n},zP=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",VP=_P,GP=()=>Ze.toasts,FP=()=>Ze.getActiveToasts();Object.assign(VP,{success:Ze.success,info:Ze.info,warning:Ze.warning,error:Ze.error,custom:Ze.custom,message:Ze.message,promise:Ze.promise,dismiss:Ze.dismiss,loading:Ze.loading},{getHistory:GP,getToasts:FP});function BP(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}BP(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
68left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
68:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
68--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
69`);function xa(e){return e.label!==void 0}var UP=3,$P="32px",WP="16px",Xm=4e3,HP=356,KP=14,XP=20,QP=200;function Ot(...e){return e.filter(Boolean).join(" ")}function qP(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var YP=e=>{var t,n,r,i,o,s,a,l,c,u,d;let{invert:f,toast:h,unstyled:v,interacting:m,setHeights:w,visibleToasts:y,heights:x,index:b,toasts:S,expanded:E,removeToast:T,defaultRichColors:C,closeButton:P,style:j,cancelButtonStyle:D,actionButtonStyle:z,className:I="",descriptionClassName:U="",duration:L,position:q,gap:W,loadingIcon:V,expandByDefault:A,classNames:k,icons:M,closeButtonAriaLabel:X="Close toast",pauseWhenPageIsHidden:B}=e,[Y,J]=N.useState(null),[Ee,Ie]=N.useState(null),[re,ni]=N.useState(!1),[kn,Er]=N.useState(!1),[Nn,ri]=N.useState(!1),[jn,qs]=N.useState(!1),[gc,Ys]=N.useState(!1),[yc,xo]=N.useState(0),[ii,ch]=N.useState(0),wo=N.useRef(h.duration||L||Xm),uh=N.useRef(null),Tr=N.useRef(null),_b=b===0,zb=b+1<=y,vt=h.type,oi=h.dism
69issible!==!1,Vb=h.className||"",Gb=h.descriptionClassName||"",Zs=N.useMemo(()=>x.findIndex(H=>H.toastId===h.id)||0,[x,h.id]),Fb=N.useMemo(()=>{var H;return(H=h.closeButton)!=null?H:P},[h.closeButton,P]),dh=N.useMemo(()=>h.duration||L||Xm,[h.duration,L]),vc=N.useRef(0),si=N.useRef(0),fh=N.useRef(0),ai=N.useRef(null),[Bb,Ub]=q.split("-"),ph=N.useMemo(()=>x.reduce((H,oe,de)=>de>=Zs?H:H+oe.height,0),[x,Zs]),hh=MP(),$b=h.invert||f,xc=vt==="loading";si.current=N.useMemo(()=>Zs*W+ph,[Zs,ph]),N.useEffect(()=>{wo.current=dh},[dh]),N.useEffect(()=>{ni(!0)},[]),N.useEffect(()=>{let H=Tr.current;if(H){let oe=H.getBoundingClientRect().height;return ch(oe),w(de=>[{toastId:h.id,height:oe,position:h.position},...de]),()=>w(de=>de.filter(kt=>kt.toastId!==h.id))}},[w,h.id]),N.useLayoutEffect(()=>{if(!re)return;let H=Tr.current,oe=H.style.height;H.style.height="auto";let de=H.getBoundingClientRect().height;H.style.height=oe,ch(de),w(kt=>kt.find(Nt=>Nt.toastId===h.id)?kt.map(Nt=>Nt.toastId===h.id?{...Nt,height:de}:Nt):[{toastId:h.id,height:de,position:h.position},...kt])},[re,h.title,h.description,w,h.id]);let Dn=N.useCallback(()=>{Er(!0),xo(si.current),w(H=>H.filter(oe=>oe.toastId!==h.id)),setTimeout(()=>{T(h)},QP)},[h,T,w,si]);N.useEffect(()=>{if(h.promise&&vt==="loading"||h.duration===1/0||h.type==="loading")return;let H;return E||m||B&&hh?(()=>{if(fh.current<vc.current){let oe=new Date().getTime()-vc.current;wo.current=wo.current-oe}fh.current=new Date().getTime()})():wo.current!==1/0&&(vc.current=new Date().getTime(),H=setTimeout(()=>{var oe;(oe=h.onAutoClose)==null||oe.call(h,h),Dn()},wo.current)),()=>clearTimeout(H)},[E,m,h,vt,B,hh,Dn]),N.useEffect(()=>{h.delete&&Dn()},[Dn,h.delete]);function Wb(){var H,oe,de;return M!=null&&M.loading?N.createElement("div",{className:Ot(k==null?void 0:k.loader,(H=h==null?void 0:h.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":vt==="loading"},M.loading):V?N.createElement("div",{className:Ot(k==null?void 0:k.loader,(oe=h==null?void 0:h.classNames)==null?void 0:oe.loader,"sonner-loader"),"data-visible":vt==="loading"},V):N.createElement(kP,{className:Ot(k==null?void 0:k.loader,(de=h==null?void 0:h.classNames)==null?void 0:de.loader),visible:vt==="loading"})}return N.createElement("li",{tabIndex:0,ref:Tr,className:Ot(I,Vb,k==null?void 0:k.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,k==null?void 0:k.default,k==null?void 0:k[vt],(n=h==null?void 0:h.classNames)==null?void 0:n[vt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:C,"data-styled":!(h.jsx||h.unstyled||v),"data-mounted":re,"data-
69promise":!!h.promise,"data-swiped":gc,"data-removed":kn,"data-visible":zb,"data-y-position":Bb,"data-x-position":Ub,"data-index":b,"data-front":_b,"data-swiping":Nn,"data-dismissible":oi,"data-type":vt,"data-invert":$b,"data-swipe-out":jn,"data-swipe-direction":Ee,"data-expanded":!!(E||A&&re),style:{"--index":b,"--toasts-before":b,"--z-index":S.length-b,"--offset":`${kn?yc:si.current}px`,"--initial-height":A?"auto":`${ii}px`,...j,...h.style},onDragEnd:()=>{ri(!1),J(null),ai.current=null},onPointerDown:H=>{xc||!oi||(uh.current=new Date,xo(si.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(ri(!0),ai.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,oe,de,kt;if(jn||!oi)return;ai.current=null;let Nt=Number(((H=Tr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),On=Number(((oe=Tr.current)==null?void 0:oe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Cr=new Date().getTime()-((de=uh.current)==null?void 0:de.getTime()),jt=Y==="x"?Nt:On,Ln=Math.abs(jt)/Cr;if(Math.abs(jt)>=XP||Ln>.11){xo(si.current),(kt=h.onDismiss)==null||kt.call(h,h),Ie(Y==="x"?Nt>0?"right":"left":On>0?"down":"up"),Dn(),qs(!0),Ys(!1);return}ri(!1),J(null)},onPointerMove:H=>{var oe,de,kt,Nt;if(!ai.current||!oi||((oe=window.getSelection())==null?void 0:oe.toString().length)>0)return;let On=H.clientY-ai.current.y,Cr=H.clientX-ai.current.x,jt=(de=e.swipeDirections)!=null?de:qP(q);!Y&&(Math.abs(Cr)>1||Math.abs(On)>1)&&J(Math.abs(Cr)>Math.abs(On)?"x":"y");let Ln={x:0,y:0};Y==="y"?(jt.includes("top")||jt.includes("bottom"))&&(jt.includes("top")&&On<0||jt.includes("bottom")&&On>0)&&(Ln.y=On):Y==="x"&&(jt.includes("left")||jt.includes("right"))&&(jt.includes("left")&&Cr<0||jt.includes("right")&&Cr>0)&&(Ln.x=Cr),(Math.abs(Ln.x)>0||Math.abs(Ln.y)>0)&&Ys(!0),(kt=Tr.current)==null||kt.style.setProperty("--swipe-amount-x",`${Ln.x}px`),(Nt=Tr.current)==null||Nt.style.setProperty("--swipe-amount-y",`${Ln.y}px`)}},Fb&&!h.jsx?N.createElement("button",{"aria-label":X,"data-disabled":xc,"data-close-button":!0,onClick:xc||!oi?()=>{}:()=>{var H;Dn(),(H=h.onDismiss)==null||H.call(h,h)},className:Ot(k==null?void 0:k.closeButton,(i=h==null?void 0:h.classNames)==null?void 0:i.closeButton)},(o=M==null?void 0:M.close)!=null?o:LP):null,h.jsx||g.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:N.createElement(N.Fragment,null,vt||h.icon||h.promise?N.createElement("div",{"data-icon":"",className:Ot(k==null?void 0:k.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Wb():null,h.type!=="loading"?h.icon||(M==null?void 0:M[vt])||AP(vt):null):null,N.createElement("div",{"data-content":"",className:Ot(k==null?void 0:k.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},N.createElement("div",{"data-title":"",className:Ot(k==null?void 0:k.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?N.createElement("div",{"data-description":"",className:Ot(U,Gb,k==null?void 0:k.description,(c=h==null?void 0:h.classNames)==null?void 0:c.description)},typeof h.description=="function"?h.description():h.description):null),g.isValidElement(h.cancel)?h.cancel:h.cancel&&xa(h.cancel)?N.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||D,onClick:H=>{var oe,de;xa(h.cancel)&&oi&&((de=(oe=h.cancel).onClick)==null||de.call(oe,H),Dn())},className:Ot(k==null?void 0:k.cancelButton,(u=h==null?void 0:h.classNames)==null?void 0:u.cancelButton)},h.cancel.label):null,g.isValidElement(h.action)?h.action:h.action&&xa(h.action)?N.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||z,onClick:H=>{var oe,de;xa(h.action)&&((de=(oe=h.action).onClick)==null||de.call(oe,H),!H.defaultPrevented&&Dn())},className:Ot(k==null?void 0:k.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function Qm(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function ZP(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,s=o?"--mobile-offset":"--offset",a=o?WP:$P;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${s}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${s}-${c}`]=a:n[`${s}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var JP=g.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:s,className:a,offset:l,mobileOffset:c,theme:u="light",richColors:d,duration:f,style:h,visibleToasts:v=UP,toastOptions:m,dir:w=Qm(),gap:y=KP,loadingIcon:x,icons:b,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:E}=e,[T,C]=N.useState([]),P=N.useMemo(()=>Array.from(new Set([r].concat(T.filter(B=>B.position).map(B=>B.position)))),[T,r]),[j,D]=N.useState([]),[z,I]=N.useState(!1),[U,L]=N.useState(!1),[q,W]=N.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
69k":"light"),V=N.useRef(null),A=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=N.useRef(null),M=N.useRef(!1),X=N.useCallback(B=>{C(Y=>{var J;return(J=Y.find(Ee=>Ee.id===B.id))!=null&&J.delete||Ze.dismiss(B.id),Y.filter(({id:Ee})=>Ee!==B.id)})},[]);return N.useEffect(()=>Ze.subscribe(B=>{if(B.dismiss){C(Y=>Y.map(J=>J.id===B.id?{...J,delete:!0}:J));return}setTimeout(()=>{cx.flushSync(()=>{C(Y=>{let J=Y.findIndex(Ee=>Ee.id===B.id);return J!==-1?[...Y.slice(0,J),{...Y[J],...B},...Y.slice(J+1)]:[B,...Y]})})})}),[]),N.useEffect(()=>{if(u!=="system"){W(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?W("dark"):W("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Y})=>{W(Y?"dark":"light")})}catch{B.addListener(({matches:J})=>{try{W(J?"dark":"light")}catch(Ee){console.error(Ee)}})}},[u]),N.useEffect(()=>{T.length<=1&&I(!1)},[T]),N.useEffect(()=>{let B=Y=>{var J,Ee;i.every(Ie=>Y[Ie]||Y.code===Ie)&&(I(!0),(J=V.current)==null||J.focus()),Y.code==="Escape"&&(document.activeElement===V.current||(Ee=V.current)!=null&&Ee.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[i]),N.useEffect(()=>{if(V.current)return()=>{k.current&&(k.current.focus({preventScroll:!0}),k.current=null,M.current=!1)}},[V.current]),N.createElement("section",{ref:t,"aria-label":`${S} ${A}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((B,Y)=>{var J;let[Ee,Ie]=B.split("-");return T.length?N.createElement("ol",{key:B,dir:w==="auto"?Qm():w,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":q,"data-y-position":Ee,"data-lifted":z&&T.length>1&&!o,"data-x-position":Ie,style:{"--front-toast-height":`${((J=j[0])==null?void 0:J.height)||0}px`,"--width":`${HP}px`,"--gap":`${y}px`,...h,...ZP(l,c)},onBlur:re=>{M.current&&!re.currentTarget.contains(re.relatedTarget)&&(M.current=!1,k.current&&(k.current.focus({preventScroll:!0}),k.current=null))},onFocus:re=>{re.target instanceof HTMLElement&&re.target.dataset.dismissible==="false"||M.current||(M.current=!0,k.current=re.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{U||I(!1)},onDragEnd:()=>I(!1),onPointerDown:re=>{re.target instanceof HTMLElement&&re.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},T.filter(re=>!re.position&&Y===0||re.position===B).map((re,ni)=>{var kn,Er;return N.createElement(YP,{key:re.id,icons:b,index:ni,toast:re,defaultRichColors:d,duration:(kn=m==null?void 0:m.duration)!=null?kn:f,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:v,closeButton:(Er=m==null?void 0:m.closeButton)!=null?Er:s,interacting:U,position:B,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:X,toasts:T.filter(Nn=>Nn.position==re.position),heights:j.filter(Nn=>Nn.position==re.position),setHeights:D,expandByDefault:o,gap:y,loadingIcon:x,expanded:z,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const eA=({...e})=>{const{theme:t="system"}=PP();return p.jsx(JP,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},tA=1,nA=1e6;let Jc=0;function rA(){return Jc=(Jc+1)%Number.MAX_SAFE_INTEGER,Jc.toString()}const eu=new Map,qm=e=>{if(eu.has(e))return;const t=setTimeout(()=>{eu.delete(e),Yo({type:"REMOVE_TOAST",toastId:e})},nA);eu.set(e,t)},iA=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,tA)};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;
69return n?qm(n):e.toasts.forEach(r=>{qm(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)}}},Ua=[];let $a={toasts:[]};function Yo(e){$a=iA($a,e),Ua.forEach(t=>{t($a)})}function oA({...e}){const t=rA(),n=i=>Yo({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Yo({type:"DISMISS_TOAST",toastId:t});return Yo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function sA(){const[e,t]=g.useState($a);return g.useEffect(()=>(Ua.push(t),()=>{const n=Ua.indexOf(t);n>-1&&Ua.splice(n,1)}),[e]),{...e,toast:oA,dismiss:n=>Yo({type:"DISMISS_TOAST",toastId:n})}}function Pe(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 Ym(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Mx(...e){return t=>{let n=!1;const r=e.map(i=>{const o=Ym(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():Ym(e[i],null)}}}}function Wt(...e){return g.useCallback(Mx(...e),e)}function MI(e,t){const n=g.createContext(t),r=o=>{const{children:s,...a}=o,l=g.useMemo(()=>a,Object.values(a));return p.jsx(n.Provider,{value:l,children:s})};r.displayName=e+"Provider";function i(o){const s=g.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,i]}function nc(e,t=[]){let n=[];function r(o,s){const a=g.createContext(s),l=n.length;n=[...n,s];const c=d=>{var y;const{scope:f,children:h,...v}=d,m=((y=f==null?void 0:f[e])==null?void 0:y[l])||a,w=g.useMemo(()=>v,Object.values(v));return p.jsx(m.Provider,{value:w,children:h})};c.displayName=o+"Provider";function u(d,f){var m;const h=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,v=g.useContext(h);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[c,u]}const i=()=>{const o=n.map(s=>g.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,aA(i,...t)]}function aA(...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(o){const s=r.reduce((a,{useScope:l,scopeName:c})=>{const d=l(o)[`__scope${c}`];return{...a,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function El(e){const t=cA(e),n=g.forwardRef((r,i)=>{const{children:o,...s}=r,a=g.Children.toArray(o),l=a.find(dA);if(l){const c=l.props.children,u=a.map(d=>d===l?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return p.jsx(t,{...s,ref:i,children:g.isValidElement(c)?g.cloneElement(c,void 0,u):null})}return p.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var lA=El("Slot");function cA(e){const t=g.forwardRef((n,r)=>{const{children:i,...o}=n;if(g.isValidElement(i)){const s=pA(i),a=fA(o,i.props);return i.type!==g.Fragment&&(a.ref=r?Mx(r,s):s),g.cloneElement(i,a)}return g.Children.count(i)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Ix=Symbol("radix.slottable");function uA(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Ix,t}function dA(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ix}function fA(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{const l=o(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function pA(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 hA(e){const t=e+"CollectionProvider",[n,r]=nc(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{const{scope:w,children:y}=m,x=N.useRef(null),b=N.useRef(new Map).current;return p.jsx(i,{scope:w,itemMap:b,collectionRef:x,children:y})};s.displayName=t;const a=e+"CollectionSlot",l=El(a),c=N.forwardRef((m,w)=>{const{scope:y,children:x}=m,b=o(a,y),S=Wt(w,b.collectionRef);return p.jsx(l,{ref:S,children:x})});c.displayName=a;const u=e+"CollectionItemSlot",d="data-radix-collection-item",f=El(u),h=N.forwardRef((m,w)=>{const{scope:y,children:x,...b}=m,S=N.useRef(null),E=Wt(w,S),T=o(u,y);return N.useEffect(()=>(T.itemMap.set(S,{ref:S,...b}),()=>void T.itemMap.delete(S))),p.jsx(f,{[d]:"",ref:E,children:x})});h.displayName=u;function v(m){const w=o(e+"CollectionConsumer",m);return N.useCallback(()=>{const x=w.collectionRef.current;if(!x)return[];const b=Array.from(x.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((T,C)=>b.indexOf(T.ref.current)-b.indexOf(C.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:c,ItemSlot:h},v,r]}var mA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],it=mA.reduce((e,t)=>
vendor: 8,608 bytes, line 69
69{const n=El(`Primitive.${t}`),r=g.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function _x(e,t){e&&Fs.flushSync(()=>e.dispatchEvent(t))}function ur(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function gA(e,t=globalThis==null?void 0:globalThis.document){const n=ur(e);g.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 yA="DismissableLayer",Nd="dismissableLayer.update",vA="dismissableLayer.pointerDownOutside",xA="dismissableLayer.focusOutside",Zm,zx=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ap=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,c=g.useContext(zx),[u,d]=g.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=g.useState({}),v=Wt(t,C=>d(C)),m=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(w),x=u?m.indexOf(u):-1,b=c.layersWithOutsidePointerEventsDisabled.size>0,S=x>=y,E=bA(C=>{const P=C.target,j=[...c.branches].some(D=>D.contains(P));!S||j||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},f),T=SA(C=>{const P=C.target;[...c.branches].some(D=>D.contains(P))||(o==null||o(C),s==null||s(C),C.defaultPrevented||a==null||a())},f);return gA(C=>{x===c.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},f),g.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(Zm=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),Jm(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Zm)}},[u,f,n,c]),g.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),Jm())},[u,c]),g.useEffect(()=>{const C=()=>h({});return document.addEventListener(Nd,C),()=>document.removeEventListener(Nd,C)},[]),p.jsx(it.div,{...l,ref:v,style:{pointerEvents:b?S?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,E.onPointerDownCapture)})});ap.displayName=yA;var wA="DismissableLayerBranch",Vx=g.forwardRef((e,t)=>{const n=g.useContext(zx),r=g.useRef(null),i=Wt(t,r);return g.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),p.jsx(it.div,{...e,ref:i})});Vx.displayName=wA;function bA(e,t=globalThis==null?void 0:globalThis.document){const n=ur(e),r=g.useRef(!1),i=g.useRef(()=>{});return g.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){Gx(vA,n,c,{discrete:!0})};const c={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},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function SA(e,t=globalThis==null?void 0:globalThis.document){const n=ur(e),r=g.useRef(!1);return g.useEffect(()=>{const i=o=>{o.target&&!r.current&&Gx(xA,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Jm(){const e=new CustomEvent(Nd);document.dispatchEvent(e)}function Gx(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?_x(i,o):i.dispatchEvent(o)}var EA=ap,TA=Vx,dr=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},CA="Portal",Fx=g.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=g.useState(!1);dr(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?cx.createPortal(p.jsx(it.div,{...r,ref:t}),s):null});Fx.displayName=CA;function PA(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var lp=e=>{const{present:t,children:n}=e,r=AA(t),i=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),o=Wt(r.ref,RA(i));return typeof n=="function"||r.isPresent?g.cloneElement(i,{ref:o}):null};lp.displayName="Presence";function AA(e){const[t,n]=g.useState(),r=g.useRef(null),i=g.useRef(e),o=g.useRef("none"),s=e?"mounted":"unmounted",[a,l]=PA(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const c=wa(r.current);o.current=a==="mounted"?c:"none"},[a]),dr(()=>{const c=r.current,u=i.current;if(u!==e){const f=o.current,h=wa(c);e?l("MOUNT"):h==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),dr(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,d=h=>{const m=wa(r.current).includes(h.animationName);if(h.target===t&&m&&(l("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=h=>{h.target===t&&(o.current=wa(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:g.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function wa(e){return(e==null?void 0:e.animationName)||"none"}function RA(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)}var kA=sv[" useInsertionEffect ".trim().toString()]||dr;function NA({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=jA({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const u=g.useRef(e!==void 0);g.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,r])}const c=g.useCallback(u=>{var d;if(a){const f=DA(u)?u(e):u;f!==e&&((d=s.current)==null||d.call(s,f))}else o(u)},[a,e,o,s]);return[l,c]}function jA({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),i=g.useRef(n),o=g.useRef(t);return kA(()=>{o.current=t},[t]),g.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function DA(e){return typeof e=="function"}var OA=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),LA="VisuallyHidden",rc=g.forwardRef((e,t)=>p.jsx(it.span,{...e,ref:t,style:{...OA,...e.style}}));rc.displayName=LA;var MA=rc,cp="ToastProvider",[up,IA,_A]=hA("Toast"),[Bx,II]=nc("Toast",[_A]),[zA,ic]=Bx(cp),Ux=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=g.useState(null),[c,u]=g.useState(0),d=g.useRef(!1),f=g.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${cp}\`. Expected non-empty \`string\`.`),p.jsx(up.Provider,{scope:t,children:p.jsx(zA,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:g.useCallback(()=>u(h=>h+1),[]),onToastRemove:g.useCallback(()=>u(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};Ux.displayName=cp;var $x="ToastViewport",VA=["F8"],jd="toast.viewportPause",Dd="toast.viewportResume",Wx=g.forwardRef((e,t)=>
69{const{__scopeToast:n,hotkey:r=VA,label:i="Notifications ({hotkey})",...o}=e,s=ic($x,n),a=IA(n),l=g.useRef(null),c=g.useRef(null),u=g.useRef(null),d=g.useRef(null),f=Wt(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;g.useEffect(()=>{const w=y=>{var b;r.length!==0&&r.every(S=>y[S]||y.code===S)&&((b=d.current)==null||b.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),g.useEffect(()=>{const w=l.current,y=d.current;if(v&&w&&y){const x=()=>{if(!s.isClosePausedRef.current){const T=new CustomEvent(jd);y.dispatchEvent(T),s.isClosePausedRef.current=!0}},b=()=>{if(s.isClosePausedRef.current){const T=new CustomEvent(Dd);y.dispatchEvent(T),s.isClosePausedRef.current=!1}},S=T=>{!w.contains(T.relatedTarget)&&b()},E=()=>{w.contains(document.activeElement)||b()};return w.addEventListener("focusin",x),w.addEventListener("focusout",S),w.addEventListener("pointermove",x),w.addEventListener("pointerleave",E),window.addEventListener("blur",x),window.addEventListener("focus",b),()=>{w.removeEventListener("focusin",x),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",x),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",x),window.removeEventListener("focus",b)}}},[v,s.isClosePausedRef]);const m=g.useCallback(({tabbingDirection:w})=>{const x=a().map(b=>{const S=b.ref.current,E=[S,...ZA(S)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?x.reverse():x).flat()},[a]);return g.useEffect(()=>{const w=d.current;if(w){const y=x=>{var E,T,C;const b=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!b){const P=document.activeElement,j=x.shiftKey;if(x.target===w&&j){(E=c.current)==null||E.focus();return}const I=m({tabbingDirection:j?"backwards":"forwards"}),U=I.findIndex(L=>L===P);tu(I.slice(U+1))?x.preventDefault():j?(T=c.current)==null||T.focus():(C=u.current)==null||C.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[a,m]),p.jsxs(TA,{ref:l,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&p.jsx(Od,{ref:c,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});tu(w)}}),p.jsx(up.Slot,{scope:n,children:p.jsx(it.ol,{tabIndex:-1,...o,ref:f})}),v&&p.jsx(Od,{ref:u,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});tu(w)}})]})});Wx.displayName=$x;var Hx="ToastFocusProxy",Od=g.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=ic(Hx,n);return p.jsx(rc,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var c;const a=s.relatedTarget;!((c=o.viewport)!=null&&c.contains(a))&&r()}})});Od.displayName=Hx;var Us="Toast",GA="toast.swipeStart",FA="toast.swipeMove",BA="toast.swipeCancel",UA="toast.swipeEnd",Kx=g.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=NA({prop:r,defaultProp:i??!0,onChange:o,caller:Us});return p.jsx(lp,{present:n||a,children:p.jsx(HA,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:ur(e.onPause),onResume:ur(e.onResume),onSwipeStart:Pe(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Pe(e.onSwipeMove,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Pe(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Pe(e.onSwipeEnd,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});Kx.displayName=Us;var[$A,WA]=Bx(Us,{onClose(){}}),HA=g.forwardRef((e,t)=>
69{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...v}=e,m=ic(Us,n),[w,y]=g.useState(null),x=Wt(t,L=>y(L)),b=g.useRef(null),S=g.useRef(null),E=i||m.duration,T=g.useRef(0),C=g.useRef(E),P=g.useRef(0),{onToastAdd:j,onToastRemove:D}=m,z=ur(()=>{var q;(w==null?void 0:w.contains(document.activeElement))&&((q=m.viewport)==null||q.focus()),s()}),I=g.useCallback(L=>{!L||L===1/0||(window.clearTimeout(P.current),T.current=new Date().getTime(),P.current=window.setTimeout(z,L))},[z]);g.useEffect(()=>{const L=m.viewport;if(L){const q=()=>{I(C.current),c==null||c()},W=()=>{const V=new Date().getTime()-T.current;C.current=C.current-V,window.clearTimeout(P.current),l==null||l()};return L.addEventListener(jd,W),L.addEventListener(Dd,q),()=>{L.removeEventListener(jd,W),L.removeEventListener(Dd,q)}}},[m.viewport,E,l,c,I]),g.useEffect(()=>{o&&!m.isClosePausedRef.current&&I(E)},[o,E,m.isClosePausedRef,I]),g.useEffect(()=>(j(),()=>D()),[j,D]);const U=g.useMemo(()=>w?e1(w):null,[w]);return m.viewport?p.jsxs(p.Fragment,{children:[U&&p.jsx(KA,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),p.jsx($A,{scope:n,onClose:z,children:Fs.createPortal(p.jsx(up.ItemSlot,{scope:n,children:p.jsx(EA,{asChild:!0,onEscapeKeyDown:Pe(a,()=>{m.isFocusedToastEscapeKeyDownRef.current||z(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(it.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":m.swipeDirection,...v,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Pe(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:Pe(e.onPointerDown,L=>{L.button===0&&(b.current={x:L.clientX,y:L.clientY})}),onPointerMove:Pe(e.onPointerMove,L=>{if(!b.current)return;const q=L.clientX-b.current.x,W=L.clientY-b.current.y,V=!!S.current,A=["left","right"].includes(m.swipeDirection),k=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,M=A?k(0,q):0,X=A?0:k(0,W),B=L.pointerType==="touch"?10:2,Y={x:M,y:X},J={originalEvent:L,delta:Y};V?(S.current=Y,ba(FA,d,J,{discrete:!1})):eg(Y,m.swipeDirection,B)?(S.current=Y,ba(GA,u,J,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(q)>B||Math.abs(W)>B)&&(b.current=null)}),onPointerUp:Pe(e.onPointerUp,L=>{const q=S.current,W=L.target;if(W.hasPointerCapture(L.pointerId)&&W.releasePointerCapture(L.pointerId),S.current=null,b.current=null,q){const V=L.currentTarget,A={originalEvent:L,delta:q};eg(q,m.swipeDirection,m.swipeThreshold)?ba(UA,h,A,{discrete:!0}):ba(BA,f,A,{discrete:!0}),V.addEventListener("click",k=>k.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),KA=e=>{const{__scopeToast:t,children:n,...r}=e,i=ic(Us,t),[o,s]=g.useState(!1),[a,l]=g.useState(!1);return qA(()=>s(!0)),g.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:p.jsx(Fx,{asChild:!0,children:p.jsx(rc,{...r,children:o&&p.jsxs(p.Fragment,{children:[i.label," ",n]})})})},XA="ToastTitle",Xx=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(it.div,{...r,ref:t})});Xx.displayName=XA;var QA="ToastDescription",Qx=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(it.div,{...r,ref:t})});Qx.displayName=QA;var qx="ToastAction",Yx=g.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(Jx,{altText:n,asChild:!0,children:p.jsx(dp,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${qx}\`. Expected non-empty \`string\`.`),null)});Yx.displayName=qx;var Zx="ToastClose",dp=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=WA(Zx,n);return p.jsx(Jx,{asChild:!0,children:p.jsx(it.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,i.onClose)})})});dp.displayName=Zx;var Jx=g.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return p.jsx(it.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function e1(e){const t=[];
vendor: 8,561 bytes, lines 69-154
69return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),YA(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...e1(r))}}),t}function ba(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?_x(i,o):i.dispatchEvent(o)}var eg=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function qA(e=()=>{}){const t=ur(e);dr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function YA(e){return e.nodeType===e.ELEMENT_NODE}function ZA(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 tu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var JA=Ux,t1=Wx,n1=Kx,r1=Xx,i1=Qx,o1=Yx,s1=dp;function a1(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=a1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function l1(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=a1(e))&&(r&&(r+=" "),r+=t);return r}const tg=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ng=l1,c1=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ng(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(c=>{const u=n==null?void 0:n[c],d=o==null?void 0:o[c];if(u===null)return null;const f=tg(u)||tg(d);return i[c][f]}),a=n&&Object.entries(n).reduce((c,u)=>{let[d,f]=u;return f===void 0||(c[d]=f),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:f,...h}=u;return Object.entries(h).every(v=>{let[m,w]=v;return Array.isArray(w)?w.includes({...o,...a}[m]):{...o,...a}[m]===w})?[...c,d,f]:c},[]);return ng(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
70 * @license lucide-react v0.462.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 eR=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u1=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
75 * @license lucide-react v0.462.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 */var tR={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"};/**
80 * @license lucide-react v0.462.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 nR=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>g.createElement("svg",{ref:l,...tR,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:u1("lucide",i),...a},[...s.map(([c,u])=>g.createElement(c,u)),...Array.isArray(o)?o:[o]]));/**
85 * @license lucide-react v0.462.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 yt=(e,t)=>{const n=g.forwardRef(({className:r,...i},o)=>g.createElement(nR,{ref:o,iconNode:t,className:u1(`lucide-${eR(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
90 * @license lucide-react v0.462.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 De=yt("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
95 * @license lucide-react v0.462.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 rR=yt("Calendar",[["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"}]]);/**
100 * @license lucide-react v0.462.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 rg=yt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
105 * @license lucide-react v0.462.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 iR=yt("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
110 * @license lucide-react v0.462.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 oR=yt("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
115 * @license lucide-react v0.462.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 sR=yt("LifeBuoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
120 * @license lucide-react v0.462.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 aR=yt("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
125 * @license lucide-react v0.462.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 lR=yt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
130 * @license lucide-react v0.462.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 cR=yt("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"}]]);/**
135 * @license lucide-react v0.462.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 uR=yt("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"}]]);/**
140 * @license lucide-react v0.462.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 dR=yt("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
145 * @license lucide-react v0.462.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 fR=yt("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
150 * @license lucide-react v0.462.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 fp=yt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,906 bytes, line 154
154],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),pp="-",pR=e=>{const t=mR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(pp);return a[0]===""&&a.length!==1&&a.shift(),d1(a,t)||hR(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},d1=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?d1(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(pp);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},ig=/^\[(.+)\]$/,hR=e=>{if(ig.test(e)){const t=ig.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},mR=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return yR(Object.entries(e.classGroups),n).forEach(([o,s])=>{Ld(s,r,o,t)}),r},Ld=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:og(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(gR(i)){Ld(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Ld(s,og(t,o),n,r)})})},og=(e,t)=>{let n=e;return t.split(pp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},gR=e=>e.isThemeGetter,yR=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e,vR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}},f1="!",xR=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{const l=[];let c=0,u=0,d;for(let w=0;w<a.length;w++){let y=a[w];if(c===0){if(y===i&&(r||a.slice(w,w+o)===t)){l.push(a.slice(u,w)),u=w+o;continue}if(y==="/"){d=w;continue}}y==="["?c++:y==="]"&&c--}const f=l.length===0?a:a.substring(u),h=f.startsWith(f1),v=h?f.substring(1):f,m=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:m}};return n?a=>n({className:a,parseClassName:s}):s},wR=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},bR=e=>({cache:vR(e.cacheSize),parseClassName:xR(e),...pR(e)}),SR=/\s+/,ER=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(SR);let a="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(c);let v=!!h,m=r(v?f.substring(0,h):f);if(!m){if(!v){a=c+(a.length>0?" "+a:a);continue}if(m=r(f),!m){a=c+(a.length>0?" "+a:a);continue}v=!1}const w=wR(u).join(":"),y=d?w+f1:w,x=y+m;if(o.includes(x))continue;o.push(x);const b=i(m,v);for(let S=0;S<b.length;++S){const E=b[S];o.push(y+E)}a=c+(a.length>0?" "+a:a)}return a};function TR(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=p1(t))&&(r&&(r+=" "),r+=n);return r}const p1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=p1(e[r]))&&(n&&(n+=" "),n+=t);return n};function CR(e,...t){let n,r,i,o=s;function s(l){const c=t.reduce((u,d)=>d(u),e());return n=bR(c),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=ER(l,n);return i(l,u),u}return function(){return o(TR.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},h1=/^\[(?:([a-z-]+):)?(.+)\]$/i,PR=/^\d+\/\d+$/,AR=new Set(["px","full","screen"]),RR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kR=/\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$/,NR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,DR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>Vi(e)||AR.has(e)||PR.test(e),_n=e=>ho(e,"length",GR),Vi=e=>!!e&&!Number.isNaN(Number(e)),nu=e=>ho(e,"number",Vi),jo=e=>!!e&&Number.isInteger(Number(e)),OR=e=>e.endsWith("%")&&Vi(e.slice(0,-1)),Q=e=>h1.test(e),zn=e=>RR.test(e),LR=new Set(["length","size","percentage"]),MR=e=>ho(e,LR,m1),IR=e=>ho(e,"position",m1),_R=new Set(["image","url"]),zR=e=>ho(e,_R,BR),VR=e=>ho(e,"",FR),Do=()=>!0,ho=(e,t,n)=>{const r=h1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},GR=e=>kR.test(e)&&!NR.test(e),m1=()=>!1,FR=e=>jR.test(e),BR=e=>DR.test(e),UR=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),i=ae("borderColor"),o=ae("borderRadius"),s=ae("borderSpacing"),a=ae("borderWidth"),l=ae("contrast"),c=ae("grayscale"),u=ae("hueRotate"),d=ae("invert"),f=ae("gap"),h=ae("gradientColorStops"),v=ae("gradientColorStopPositions"),m=ae("inset"),w=ae("margin"),y=ae("opacity"),x=ae("padding"),b=ae("saturate"),S=ae("scale"),E=ae("sepia"),T=ae("skew"),C=ae("space"),P=ae("translate"),j=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",Q,t],I=()=>[Q,t],U=()=>["",dn,_n],L=()=>["auto",Vi,Q],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],k=()=>["","0",Q],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[Vi,Q];return{cacheSize:500,separator:":",theme:{colors:[Do],spacing:[dn,_n],blur:["none","",zn,Q],brightness:X(),borderColor:[e],borderRadius:["n
154one","","full",zn,Q],borderSpacing:I(),borderWidth:U(),contrast:X(),grayscale:k(),hueRotate:X(),invert:k(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[OR,_n],inset:z(),margin:z(),opacity:X(),padding:I(),saturate:X(),scale:X(),sepia:k(),skew:X(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[zn]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:[...q(),Q]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",jo,Q]}],basis:[{basis:z()}],"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:k()}],shrink:[{shrink:k()}],order:[{order:["first","last","none",jo,Q]}],"grid-cols":[{"grid-cols":[Do]}],"col-start-end":[{col:["auto",{span:["full",jo,Q]},Q]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Do]}],"row-start-end":[{row:["auto",{span:[jo,Q]},Q]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"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",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}
vendor: 8,317 bytes, line 154
154],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"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:[zn]},zn]}],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",zn,_n]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",nu]}],"font-family":[{font:[Do]}],"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",Vi,nu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",dn,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":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",dn,_n]}],"underline-offset":[{"underline-offset":["auto",dn,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:I()}],"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":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),IR]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",MR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zR]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"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":[y]}],"border-style":[{border:[...W(),"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":[y]}],"divide-style":[{divide:W()}],"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:["",...W()]}],"outline-offset":[{"outline-offset":[dn,Q]}],"outline-w":[{outline:[dn,_n]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[dn,_n]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",zn,VR]}],"shadow-color":[{shadow:[Do]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",zn,Q]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Q]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[jo,Q]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"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":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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"]}
154],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:[dn,_n,nu]}],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"]}}},$R=CR(UR);function br(...e){return $R(l1(e))}const WR=JA,g1=g.forwardRef(({className:e,...t},n)=>p.jsx(t1,{ref:n,className:br("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}));g1.displayName=t1.displayName;const HR=c1("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"}}),y1=g.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(n1,{ref:r,className:br(HR({variant:t}),e),...n}));y1.displayName=n1.displayName;const KR=g.forwardRef(({className:e,...t},n)=>p.jsx(o1,{ref:n,className:br("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));KR.displayName=o1.displayName;const v1=g.forwardRef(({className:e,...t},n)=>p.jsx(s1,{ref:n,className:br("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 12,989 bytes, line 154
154/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:p.jsx(fp,{className:"h-4 w-4"})}));v1.displayName=s1.displayName;const x1=g.forwardRef(({className:e,...t},n)=>p.jsx(r1,{ref:n,className:br("text-sm font-semibold",e),...t}));x1.displayName=r1.displayName;const w1=g.forwardRef(({className:e,...t},n)=>p.jsx(i1,{ref:n,className:br("text-sm opacity-90",e),...t}));w1.displayName=i1.displayName;function XR(){const{toasts:e}=sA();return p.jsxs(WR,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return p.jsxs(y1,{...o,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(x1,{children:n}),r&&p.jsx(w1,{children:r})]}),i,p.jsx(v1,{})]},t)}),p.jsx(g1,{})]})}const QR=["top","right","bottom","left"],fr=Math.min,at=Math.max,Tl=Math.round,Sa=Math.floor,on=e=>({x:e,y:e}),qR={left:"right",right:"left",bottom:"top",top:"bottom"},YR={start:"end",end:"start"};function Md(e,t,n){return at(e,fr(t,n))}function Cn(e,t){return typeof e=="function"?e(t):e}function Pn(e){return e.split("-")[0]}function mo(e){return e.split("-")[1]}function hp(e){return e==="x"?"y":"x"}function mp(e){return e==="y"?"height":"width"}const ZR=new Set(["top","bottom"]);function tn(e){return ZR.has(Pn(e))?"y":"x"}function gp(e){return hp(tn(e))}function JR(e,t,n){n===void 0&&(n=!1);const r=mo(e),i=gp(e),o=mp(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Cl(s)),[s,Cl(s)]}function ek(e){const t=Cl(e);return[Id(e),t,Id(t)]}function Id(e){return e.replace(/start|end/g,t=>YR[t])}const sg=["left","right"],ag=["right","left"],tk=["top","bottom"],nk=["bottom","top"];function rk(e,t,n){switch(e){case"top":case"bottom":return n?t?ag:sg:t?sg:ag;case"left":case"right":return t?tk:nk;default:return[]}}function ik(e,t,n,r){const i=mo(e);let o=rk(Pn(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(Id)))),o}function Cl(e){return e.replace(/left|right|bottom|top/g,t=>qR[t])}function ok(e){return{top:0,right:0,bottom:0,left:0,...e}}function b1(e){return typeof e!="number"?ok(e):{top:e,right:e,bottom:e,left:e}}function Pl(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 lg(e,t,n){let{reference:r,floating:i}=e;const o=tn(t),s=gp(t),a=mp(s),l=Pn(t),c=o==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(mo(t)){case"start":h[s]-=f*(n&&c?-1:1);break;case"end":h[s]+=f*(n&&c?-1:1);break}return h}const sk=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=lg(c,r,l),f=r,h={},v=0;for(let m=0;m<a.length;m++){const{name:w,fn:y}=a[m],{x,y:b,data:S,reset:E}=await y({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=x??u,d=b??d,h={...h,[w]:{...h[w],...S}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:u,y:d}=lg(c,f,l)),m=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:h}};async function Es(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=Cn(t,e),v=b1(h),w=a[f?d==="floating"?"reference":"floating":d],y=Pl(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),x=d==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),S=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},E=Pl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:b,strategy:l}):x);return{top:(y.top-E.top+v.top)/S.y,bottom:(E.bottom-y.bottom+v.bottom)/S.y,left:(y.left-E.left+v.left)/S.x,right:(E.right-y.right+v.right)/S.x}}const ak=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Cn(e,t)||{};if(c==null)return{};const d=b1(u),f={x:n,y:r},h=gp(i),v=mp(h),m=await s.getDimensions(c),w=h==="y",y=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",S=o.reference[v]+o.reference[h]-f[h]-o.floating[v],E=f[h]-o.reference[h],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let C=T?T[b]:0;(!C||!await(s.isElement==null?void 0:s.isElement(T)))&&(C=a.floating[b]||o.floating[v]);const P=S/2-E/2,j=C/2-m[v]/2-1,D=fr(d[y],j),z=fr(d[x],j),I=D,U=C-m[v]-z,L=C/2-m[v]/2+P,q=Md(I,L,U),W=!l.arrow&&mo(i)!=null&&L!==q&&o.reference[v]/2-(L<I?D:z)-m[v]/2<0,V=W?L<I?L-I:L-U:0;return{[h]:f[h]+V,data:{[h]:q,centerOffset:L-q-V,...W&&{alignmentOffset:V}},reset:W}}}),lk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...w}=Cn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const y=Pn(i),x=tn(a),b=Pn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),E=f||(b||!m?[Cl(a)]:ek(a)),T=v!=="none";!f&&T&&E.push(...ik(a,m,v,S));const C=[a,...E],P=await Es(t,w),j=[];let D=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&j.push(P[y]),d){const L=JR(i,s,S);j.push(P[L[0]],P[L[1]])}if(D=[...D,{placement:i,overflows:j}],!j.every(L=>L<=0)){var z,I;const L=(((z=o.flip)==null?void 0:z.index)||0)+1,q=C[L];if(q&&(!(d==="alignment"?x!==tn(q):!1)||D.every(A=>A.overflows[0]>0&&tn(A.placement)===x)))return{data:{index:L,overflows:D},reset:{placement:q}};let W=(I=D.filter(V=>V.overflows[0]<=0).sort((V,A)=>V.overflows[1]-A.overflows[1])[0])==null?void 0:I.placement;if(!W)switch(h){case"bestFit":{var U;const V=(U=D.filter(A=>{if(T){const k=tn(A.placement);return k===x||k==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(k=>k>0).reduce((k,M)=>k+M,0)]).sort((A,k)=>A[1]-k[1])[0])==null?void 0:U[0];V&&(W=V);break}case"initialPlacement":W=a;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function cg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ug(e){return QR.some(t=>e[t]>=0)}const ck=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Cn(e,t);switch(r){case"referenceHidden":{const o=await Es(t,{...i,elementContext:"reference"}),s=cg(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:ug(s)}}}case"escaped":{const o=await Es(t,{...i,altBoundary:!0}),s=cg(o,n.floating);return{data:{escapedOffsets:s,escaped:ug(s)}}}default:return{}}}}},S1=new Set(["left","top"]);async function uk(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Pn(n),a=mo(n),l=tn(n)==="y",c=S1.has(s)?-1:1,u=o&&l?-1:1,d=Cn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(h=a==="end"?v*-1:v),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}const dk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await uk(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},fk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:y,y:x}=w;return{x:y,y:x}}},...l}=Cn(e,t),c={x:n,y:r},u=await Es(t,l),d=tn(Pn(i)),f=hp(d);let h=c[f],v=c[d];if(o){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",x=h+u[w],b=h-u[y];h=Md(x,h,b)}if(s){const w=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=v+u[w],b=v-u[y];v=Md(x,v,b)}const m=a.fn({...t,[f]:h,[d]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:o,[d]:s}}}}}},pk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Cn(e,t),u={x:n,y:r},d=tn(i),f=hp(d);let h=u[f],v=u[d];const m=Cn(a,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",S=o.reference[f]-o.floating[b]+w.mainAxis,E=o.reference[f]+o.reference[b]-w.mainAxis;h<S?h=S:h>E&&(h=E)}if(c){var y,x;const b=f==="y"?"width":"height",S=S1.has(Pn(i)),E=o.reference[d]-o.floating[b]+(S&&((y=s.offset)==null?void 0:y[d])||0)+(S?0:w.crossAxis),T=o.reference[d]+o.reference[b]+(S?0:((x=s.offset)==null?void 0:x[d])||0)-(S?w.crossAxis:0);v<E?v=E:v>T&&(v=T)}return{[f]:h,[d]:v}}}},hk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...c}=Cn(e,t),u=await Es(t,c),d=Pn(i),f=mo(i),h=tn(i)==="y",{width:v,height:m}=o.floating;let w,y;d==="top"||d==="bottom"?(w=d,y=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,w=f==="end"?"top":"bottom");const x=m-u.top-u.bottom,b=v-u.left-u.right,S=fr(m-u[w],x),E=fr(v-u[y],b),T=!t.middlewareData.shift;let C=S,P=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=x),T&&!f){const D=at(u.left,0),z=at(u.right,0),I=at(u.top,0),U=at(u.bottom,0);h?P=v-2*(D!==0||z!==0?D+z:at(u.left,u.right)):C=m-2*(I!==0||U!==0?I+U:at(u.top,u.bottom))}await l({...t,availableWidth:P,availableHeight:C});const j=await s.getDimensions(a.floating);return v!==j.width||m!==j.height?{reset:{rects:!0}}:{}}}};function oc(){return typeof window<"u"}function go(e){return E1(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function cn(e){var t;return(t=(E1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function E1(e){return oc()?e instanceof Node||e instanceof ut(e).Node:!1}function Ht(e){return oc()?e instanceof Element||e instanceof ut(e).Element:!1}function ln(e){return oc()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function dg(e){return!oc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}const mk=new Set(["inline","contents"]);function $s(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Kt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!mk.has(i)}const gk=new Set(["table","td","th"]);function yk(e){return gk.has(go(e))}const vk=[":popover-open",":modal"];function sc(e){return vk.some(t=>{try{return e.matches(t)}catch{return!1}})}const xk=["transform","translate","scale","rotate","perspective"],wk=["transform","translate","scale","rotate","perspective","filter"],bk=["paint","layout","strict","content"];function yp(e){const t=vp(),n=Ht(e)?Kt(e):e;return xk.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)||wk.some(r=>(n.willChange||"").includes(r))||bk.some(r=>(n.contain||"").includes(r))}function Sk(e){let t=pr(e);for(;ln(t)&&!no(t);){if(yp(t))return t;if(sc(t))return null;t=pr(t)}return null}function vp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ek=new Set(["html","body","#document"]);function no(e){return Ek.has(go(e))}function Kt(e){return ut(e).getComputedStyle(e)}function ac(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pr(e){if(go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dg(e)&&e.host||cn(e);return dg(t)?t.host:t}function T1(e){const t=pr(e);return no(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&$s(t)?t:T1(t)}function Ts(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=T1(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=ut(i);if(o){const a=_d(s);
vendor: 5,412 bytes, line 154
154return t.concat(s,s.visualViewport||[],$s(i)?i:[],a&&n?Ts(a):[])}return t.concat(i,Ts(i,[],n))}function _d(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function C1(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ln(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Tl(n)!==o||Tl(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function xp(e){return Ht(e)?e:e.contextElement}function Gi(e){const t=xp(e);if(!ln(t))return on(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=C1(t);let s=(o?Tl(n.width):n.width)/r,a=(o?Tl(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Tk=on(0);function P1(e){const t=ut(e);return!vp()||!t.visualViewport?Tk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ck(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function Yr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=xp(e);let s=on(1);t&&(r?Ht(r)&&(s=Gi(r)):s=Gi(e));const a=Ck(o,n,r)?P1(o):on(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(o){const f=ut(o),h=r&&Ht(r)?ut(r):r;let v=f,m=_d(v);for(;m&&r&&h!==v;){const w=Gi(m),y=m.getBoundingClientRect(),x=Kt(m),b=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,S=y.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,c*=w.y,u*=w.x,d*=w.y,l+=b,c+=S,v=ut(m),m=_d(v)}}return Pl({width:u,height:d,x:l,y:c})}function wp(e,t){const n=ac(e).scrollLeft;return t?t.left+n:Yr(cn(e)).left+n}function A1(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:wp(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function Pk(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=cn(r),a=t?sc(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},c=on(1);const u=on(0),d=ln(r);if((d||!d&&!o)&&((go(r)!=="body"||$s(s))&&(l=ac(r)),ln(r))){const h=Yr(r);c=Gi(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}const f=s&&!d&&!o?A1(s,l,!0):on(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function Ak(e){return Array.from(e.getClientRects())}function Rk(e){const t=cn(e),n=ac(e),r=e.ownerDocument.body,i=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+wp(e);const a=-n.scrollTop;return Kt(r).direction==="rtl"&&(s+=at(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function kk(e,t){const n=ut(e),r=cn(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const c=vp();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}const Nk=new Set(["absolute","fixed"]);function jk(e,t){const n=Yr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ln(e)?Gi(e):on(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,c=r*o.y;return{width:s,height:a,x:l,y:c}}function fg(e,t,n){let r;if(t==="viewport")r=kk(e,n);else if(t==="document")r=Rk(cn(e));else if(Ht(t))r=jk(t,n);else{const i=P1(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Pl(r)}function R1(e,t){const n=pr(e);return n===t||!Ht(n)||no(n)?!1:Kt(n).position==="fixed"||R1(n,t)}function Dk(e,t){const n=t.get(e);if(n)return n;let r=Ts(e,[],!1).filter(a=>Ht(a)&&go(a)!=="body"),i=null;const o=Kt(e).position==="fixed";let s=o?pr(e):e;for(;Ht(s)&&!no(s);){const a=Kt(s),l=yp(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&Nk.has(i.position)||$s(s)&&!l&&R1(e,s))?r=r.filter(u=>u!==s):i=a,s=pr(s)}return t.set(e,r),r}function Ok(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?sc(t)?[]:Dk(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,u)=>{const d=fg(t,u,i);return c.top=at(d.top,c.top),c.right=fr(d.right,c.right),c.bottom=fr(d.bottom,c.bottom),c.left=at(d.left,c.left),c},fg(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Lk(e){const{width:t,height:n}=C1(e);return{width:t,height:n}}function Mk(e,t,n){const r=ln(t),i=cn(t),o=n==="fixed",s=Yr(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=on(0);function c(){l.x=wp(i)}if(r||!r&&!o)if((go(t)!=="body"||$s(i))&&(a=ac(t)),r){const h=Yr(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else i&&c();o&&!r&&i&&c();const u=i&&!r&&!o?A1(i,a):on(0),d=s.left+a.scrollLeft-l.x-u.x,f=s.top+a.scrollTop-l.y-u.y;return{x:d,y:f,width:s.width,height:s.height}}function ru(e){return Kt(e).position==="static"}function pg(e,t){if(!ln(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return cn(e)===n&&(n=n.ownerDocument.body),n}function k1(e,t){const n=ut(e);if(sc(e))return n;if(!ln(e)){let i=pr(e);for(;i&&!no(i);){if(Ht(i)&&!ru(i))return i;i=pr(i)}return n}let r=pg(e,t);for(;r&&yk(r)&&ru(r);)r=pg(r,t);return r&&no(r)&&ru(r)&&!yp(r)?n:r||Sk(e)||n}const Ik=async function(e){const t=this.getOffsetParent||k1,n=this.getDimensions,r=await n(e.floating);return{reference:Mk(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _k(e){return Kt(e).direction==="rtl"}const zk={convertOffsetParentRelativeRectToViewportRelativeRect:Pk,getDocumentElement:cn,getClippingRect:Ok,getOffsetParent:k1,getElementRects:Ik,getClientRects:Ak,getDimensions:Lk,get
vendor: 10,283 bytes, line 154
154Scale:Gi,isElement:Ht,isRTL:_k};function N1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vk(e,t){let n=null,r;const i=cn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(a||t(),!f||!h)return;const v=Sa(d),m=Sa(i.clientWidth-(u+f)),w=Sa(i.clientHeight-(d+h)),y=Sa(u),b={rootMargin:-v+"px "+-m+"px "+-w+"px "+-y+"px",threshold:at(0,fr(1,l))||1};let S=!0;function E(T){const C=T[0].intersectionRatio;if(C!==l){if(!S)return s();C?s(!1,C):r=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!N1(c,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(E,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,b)}n.observe(e)}return s(!0),o}function Gk(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=xp(e),u=i||o?[...c?Ts(c):[],...Ts(t)]:[];u.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),o&&y.addEventListener("resize",n)});const d=c&&a?Vk(c,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=h)==null||b.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let v,m=l?Yr(e):null;l&&w();function w(){const y=Yr(e);m&&!N1(m,y)&&n(),m=y,v=requestAnimationFrame(w)}return n(),()=>{var y;u.forEach(x=>{i&&x.removeEventListener("scroll",n),o&&x.removeEventListener("resize",n)}),d==null||d(),(y=h)==null||y.disconnect(),h=null,l&&cancelAnimationFrame(v)}}const Fk=dk,Bk=fk,Uk=lk,$k=hk,Wk=ck,hg=ak,Hk=pk,Kk=(e,t,n)=>{const r=new Map,i={platform:zk,...n},o={...i.platform,_c:r};return sk(e,t,{...i,platform:o})};var Xk=typeof document<"u",Qk=function(){},Wa=Xk?g.useLayoutEffect:Qk;function Al(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(!Al(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 o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Al(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function j1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function mg(e,t){const n=j1(e);return Math.round(t*n)/n}function iu(e){const t=g.useRef(e);return Wa(()=>{t.current=e}),t}function qk(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=g.useState(r);Al(f,r)||h(r);const[v,m]=g.useState(null),[w,y]=g.useState(null),x=g.useCallback(A=>{A!==T.current&&(T.current=A,m(A))},[]),b=g.useCallback(A=>{A!==C.current&&(C.current=A,y(A))},[]),S=o||v,E=s||w,T=g.useRef(null),C=g.useRef(null),P=g.useRef(u),j=l!=null,D=iu(l),z=iu(i),I=iu(c),U=g.useCallback(()=>{if(!T.current||!C.current)return;const A={placement:t,strategy:n,middleware:f};z.current&&(A.platform=z.current),Kk(T.current,C.current,A).then(k=>{const M={...k,isPositioned:I.current!==!1};L.current&&!Al(P.current,M)&&(P.current=M,Fs.flushSync(()=>{d(M)}))})},[f,t,n,z,I]);Wa(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(A=>({...A,isPositioned:!1})))},[c]);const L=g.useRef(!1);Wa(()=>(L.current=!0,()=>{L.current=!1}),[]),Wa(()=>{if(S&&(T.current=S),E&&(C.current=E),S&&E){if(D.current)return D.current(S,E,U);U()}},[S,E,U,D,j]);const q=g.useMemo(()=>({reference:T,floating:C,setReference:x,setFloating:b}),[x,b]),W=g.useMemo(()=>({reference:S,floating:E}),[S,E]),V=g.useMemo(()=>{const A={position:n,left:0,top:0};if(!W.floating)return A;const k=mg(W.floating,u.x),M=mg(W.floating,u.y);return a?{...A,transform:"translate("+k+"px, "+M+"px)",...j1(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:k,top:M}},[n,a,W.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:U,refs:q,elements:W,floatingStyles:V}),[u,U,q,W,V])}const Yk=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?hg({element:r.current,padding:i}).fn(n):{}:r?hg({element:r,padding:i}).fn(n):{}}}},Zk=(e,t)=>({...Fk(e),options:[e,t]}),Jk=(e,t)=>({...Bk(e),options:[e,t]}),e2=(e,t)=>({...Hk(e),options:[e,t]}),t2=(e,t)=>({...Uk(e),options:[e,t]}),n2=(e,t)=>({...$k(e),options:[e,t]}),r2=(e,t)=>({...Wk(e),options:[e,t]}),i2=(e,t)=>({...Yk(e),options:[e,t]});var o2="Arrow",D1=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return p.jsx(it.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});D1.displayName=o2;var s2=D1;function a2(e){const[t,n]=g.useState(void 0);return dr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,a=c.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var O1="Popper",[L1,M1]=nc(O1),[_I,I1]=L1(O1),_1="PopperAnchor",z1=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=I1(_1,n),s=g.useRef(null),a=Wt(t,s);return g.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:p.jsx(it.div,{...i,ref:a})});z1.displayName=_1;var bp="PopperContent",[l2,c2]=L1(bp),V1=g.forwardRef((e,t)=>{var re,ni,kn,Er,Nn,ri;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:v,...m}=e,w=I1(bp,n),[y,x]=g.useState(null),b=Wt(t,jn=>x(jn)),[S,E]=g.useState(null),T=a2(S),C=(T==null?void 0:T.width)??0,P=(T==null?void 0:T.height)??0,j=r+(o!=="center"?"-"+o:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},z=Array.isArray(c)?c:[c],I=z.length>0,U={padding:D,boundary:z.filter(d2),altBoundary:I},{refs:L,floatingStyles:q,placement:W,isPositioned:V,middlewareData:A}=qk({strategy:"fixed",placement:j,whileElementsMounted:(...jn)=>Gk(...jn,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[Zk({mainAxis:i+P,alignmentAxis:s}),l&&Jk({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?e2():void 0,...U}),l&&t2({...U}),n2({...U,apply:({elements:jn,rects:qs,availableWidth:gc,availableHeight:Ys})=>{const{width:yc,height:xo}=qs.reference,ii=jn.floating.style;ii.setProperty("--radix-popper-available-width",`${gc}px`),ii.setProperty("--radix-popper-available-height",`${Ys}px`),ii.setProperty("--radix-popper-anchor-width",`${yc}px`),ii.setProperty("--radix-popper-anchor-height",`${xo}px`)}}),S&&i2({element:S,padding:a}),f2({arrowWidth:C,arrowHeight:P}),f&&r2({strategy:"referenceHidden",...U})]}),[k,M]=B1(W),X=ur(v);dr(()=>{V&&(X==null||X())},[V,X]);const B=(re=A.arrow)==null?void 0:re.x,Y=(ni=A.arrow)==null?void 0:ni.y,J=((kn=A.arrow)==null?void 0:kn.centerOffset)!==0,[Ee,Ie]=g.useState();return dr(()=>{y&&Ie(window.getComputedStyle(y).zIndex)},[y]),p.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:V?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ee,"--radix-popper-transform-origin":[(Er=A.transformOrigin)==null?void 0:Er.x,(Nn=A.transformOrigin)==null?void 0:Nn.y].join(" "),...((ri=A.hide)==null?void 0:ri.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(l2,{scope:n,placedSide:k,onArrowChange:E,arrowX:B,arrowY:Y,shouldHideArrow:J,children:p.jsx(it.div,{"data-side":k,"data-align":M,...m,ref:b,style:{...m.style,animation:V?void 0:"none"}})})})});V1.displayName=bp;var G1="PopperArrow",u2={top:"bottom",right:"left",bottom:"top",left:"right"},F1=g.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=c2(G1,r),s=u2[o.placedSide];return p.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:p.jsx(s2,{...i,ref:n,style:{...i.style,display:"block"}})})});F1.displayName=G1;function d2(e){return e!==null}var f2=e=>({name:"transformOrigin",options:e,fn(t){var w,y,x;const{placement:n,rects:r,middlewareData:i}=t,s=((w=i.arrow)==null?void 0:w.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,u]=B1(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((y=i.arrow)==null?void 0:y.x)??0)+a/2,h=(((x=i.arrow)==null?void 0:x.y)??0)+l/2;let v="",m="";return c==="bottom"?(v=s?d:`${f}px`,m=`${-l}px`):c==="top"?(v=s?d:`${f}px`,m=`${r.floating.height+l}px`):c==="right"?(v=`${-l}px`,m=s?d:`${h}px`):c==="left"&&(v=`${r.floating.width+l}px`,m=s?d:`${h}px`),{data:{x:v,y:m}}}});function B1(e){const[t,n="center"]=e.split("-");return[t,n]}var p2=z1,h2=V1,m2=F1,[lc,zI]=nc("Tooltip",[M1]),Sp=M1(),U1="TooltipProvider",g2=700,gg="tooltip.open",[y2,$1]=lc(U1),W1=e=>{const{__scopeTooltip:t,delayDuration:n=g2,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=g.useRef(!0),a=g.useRef(!1),l=g.useRef(0);return g.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),p.jsx(y2,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:g.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:g.useCallback(c=>{a.current=c}
vendor: 5,364 bytes, line 154
154,[]),disableHoverableContent:i,children:o})};W1.displayName=U1;var H1="Tooltip",[VI,cc]=lc(H1),zd="TooltipTrigger",v2=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=cc(zd,n),o=$1(zd,n),s=Sp(n),a=g.useRef(null),l=Wt(t,a,i.onTriggerChange),c=g.useRef(!1),u=g.useRef(!1),d=g.useCallback(()=>c.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),p.jsx(p2,{asChild:!0,...s,children:p.jsx(it.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Pe(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:Pe(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:Pe(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Pe(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:Pe(e.onBlur,i.onClose),onClick:Pe(e.onClick,i.onClose)})})});v2.displayName=zd;var x2="TooltipPortal",[GI,w2]=lc(x2,{forceMount:void 0}),ro="TooltipContent",K1=g.forwardRef((e,t)=>{const n=w2(ro,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=cc(ro,e.__scopeTooltip);return p.jsx(lp,{present:r||s.open,children:s.disableHoverableContent?p.jsx(X1,{side:i,...o,ref:t}):p.jsx(b2,{side:i,...o,ref:t})})}),b2=g.forwardRef((e,t)=>{const n=cc(ro,e.__scopeTooltip),r=$1(ro,e.__scopeTooltip),i=g.useRef(null),o=Wt(t,i),[s,a]=g.useState(null),{trigger:l,onClose:c}=n,u=i.current,{onPointerInTransitChange:d}=r,f=g.useCallback(()=>{a(null),d(!1)},[d]),h=g.useCallback((v,m)=>{const w=v.currentTarget,y={x:v.clientX,y:v.clientY},x=P2(y,w.getBoundingClientRect()),b=A2(y,x),S=R2(m.getBoundingClientRect()),E=N2([...b,...S]);a(E),d(!0)},[d]);return g.useEffect(()=>()=>f(),[f]),g.useEffect(()=>{if(l&&u){const v=w=>h(w,u),m=w=>h(w,l);return l.addEventListener("pointerleave",v),u.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",v),u.removeEventListener("pointerleave",m)}}},[l,u,h,f]),g.useEffect(()=>{if(s){const v=m=>{const w=m.target,y={x:m.clientX,y:m.clientY},x=(l==null?void 0:l.contains(w))||(u==null?void 0:u.contains(w)),b=!k2(y,s);x?f():b&&(f(),c())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,u,s,c,f]),p.jsx(X1,{...e,ref:o})}),[S2,E2]=lc(H1,{isInside:!1}),T2=uA("TooltipContent"),X1=g.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=cc(ro,n),c=Sp(n),{onClose:u}=l;return g.useEffect(()=>(document.addEventListener(gg,u),()=>document.removeEventListener(gg,u)),[u]),g.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),p.jsx(ap,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u,children:p.jsxs(h2,{"data-state":l.stateAttribute,...c,...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:[p.jsx(T2,{children:r}),p.jsx(S2,{scope:n,isInside:!0,children:p.jsx(MA,{id:l.contentId,role:"tooltip",children:i||r})})]})})});K1.displayName=ro;var Q1="TooltipArrow",C2=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Sp(n);return E2(Q1,n).isInside?null:p.jsx(m2,{...i,...r,ref:t})});C2.displayName=Q1;function P2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function A2(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 R2(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 k2(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const a=t[o],l=t[s],c=a.x,u=a.y,d=l.x,f=l.y;u>r!=f>r&&n<(d-c)*(r-u)/(f-u)+c&&(i=!i)}return i}function N2(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),j2(t)}function j2(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 o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.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 o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.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 D2=W1,q1=K1;const O2=D2,L2=g.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
154p.jsx(q1,{ref:r,sideOffset:t,className:br("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",e),...n}));L2.displayName=q1.displayName;const M2=()=>{const{pathname:e,hash:t}=gt();return g.useEffect(()=>{if(t){const n=t.replace("#",""),r=()=>{const i=document.getElementById(n);return i?(i.scrollIntoView({behavior:"smooth",block:"start"}),!0):!1};if(!r()){const i=window.setTimeout(r,300);return()=>window.clearTimeout(i)}return}window.scrollTo({top:0,left:0,behavior:"instant"})},[e,t]),null},Ep={"/obtine-coduri-de-bare-gs1":"/get-gs1-barcodes","/coduri-de-bare-la-bucata":"/individual-gs1-barcodes","/coduri-de-bare":"/gs1-barcodes","/coduri-de-bare-ean":"/ean-barcodes","/codul-qr-gs1":"/gs1-qr-code","/codul-datamatrix":"/gs1-datamatrix","/coduri-gs1-oficiale":"/official-gs1-codes","/calculator-cifra-control":"/check-digit-calculator","/eticheta-logistica-gs1-128":"/gs1-128-logistic-label","/standarde-epc-rfid":"/epc-rfid-standards","/identificare-produse-gtin-ean":"/product-identification-gtin","/identificare-companii-si-locatii-gln":"/company-and-location-identification-gln","/identificare-dispozitive-medicale-udi":"/udi-identification-medical-devices","/standarde-pentru-identificare":"/gs1-identification-standards","/standarde-gs1-pentru-captura-automata-date":"/gs1-standards-for-automatic-data-capture","/standarde-gs1-pentru-partajarea-datelor":"/gs1-standards-for-data-sharing","/standarde-gs1-pentru-trasabilitate":"/gs1-standards-for-traceability","/schimb-electronic-de-date-edi":"/electronic-data-interchange-edi","/dezvoltarea-standardelor":"/standards-development","/standarde-gs1-pentru-agricultura":"/gs1-standards-for-agriculture","/standarde-gs1-pentru-aparare":"/gs1-standards-for-defence","/standarde-gs1-pentru-constructii":"/gs1-standards-for-construction","/standarde-gs1-pentru-ecommerce":"/gs1-standards-for-ecommerce","/standarde-gs1-pentru-retail":"/gs1-standards-for-retail","/standarde-gs1-pentru-sanatate":"/gs1-standards-for-healthcare","/standarde-gs1-pentru-transport-si-logistica":"/gs1-standards-for-transport-and-logistics","/standarde-gs1-pentru-sgr":"/gs1-standards-for-sgr","/medaloc-identificare-farma-snvm":"/medaloc-pharma-identification-snvm","/codaloc-administrare-coduri-gs1":"/codaloc-gs1-code-management","/ndp-sincronizare-date-produse":"/ndp-product-data-synchronisation","/canamed-dosare-pret-medicamente":"/canamed-medicine-pricing","/serializare-medicamente":"/medicine-serialisation","/certificare-rvm-sgr":"/rvm-certification-sgr","/ierarhie-ambalare-gtin-sgr":"/gtin-sgr-packaging-hierarchy","/protectia-consumatorului-cbpscan":"/consumer-protection-cbpscan","/retusgr-digitalizarea-colectarii-manuale":"/retusgr","/despre-gs1-romania":"/about-gs1-romania","/obiective-si-scop":"/objectives-and-purpose","/structura-asociatiei-gs1-romania":"/gs1-romania-structure","/termeni-si-conditii-generale":"/terms-and-conditions","/stiri":"/news","/stiri/it-genetics-partener-platinum-gs1-solution-providers":"/news/it-genetics-platinum-partner-gs1-solution-providers","/evenimente":"/events"},I2={"/agriculture":"/gs1-standards-for-agriculture","/construction":"/gs1-standards-for-construction","/healthcare":"/gs1-standards-for-healthcare","/transport-logistics":"/gs1-standards-for-transport-and-logistics","/automatic-data-capture":"/gs1-standards-for-automatic-data-capture","/data-sharing":"/gs1-standards-for-data-sharing","/traceability":"/gs1-standards-for-traceability","/company-identification-gln":"/company-and-location-identification-gln","/retusgr-digitalizarea-colectarii-manuale":"/retusgr"},_2=Object.fromEntries(Object.entries(Ep).map(([e,t])=>[t,e])),Y1=e=>{const t=e.replace(/\/+$/,"");return t===""?"/":t},Z1=e=>Ep[Y1(e)]??e,z2=e=>_2[Y1(e)]??e,Ha=e=>{const t=Z1(e);return t==="/"?"/en":`/en${t}`};let ou=null,J1=null;const Tp=()=>(ou||(ou=G(()=>import("./dictionary-C6ZUlWs_.js"),[]).then(e=>(J1=e.enDictionary,e.enDictionary))),ou),V2=e=>e==="/en"||e.startsWith("/en/")?Tp():Promise.resolve();if(typeof window<"u"){const e=window.location.pathname;(e==="/en"||e.startsWith("/en/"))&&Tp()}const ew=g.createContext({lang:"ro",t:e=>e,path:e=>e}),Cp=e=>e==="/en"||e.startsWith("/en/")?"en":"ro",tw=e=>{const t=e.search(/[?#]/);return t===-1?[e,""]:[e.slice(0,t),e.slice(t)]},Vd=e=>{const[t,n]=tw(e);return t==="/en"||t==="/en/"?`/${n}`:t.startsWith("/en/")?`${z2(t.slice(3))}${n}`:e},Cs=(e,t)=>{if(t!=="en"||!e.startsWith("/")||e.startsWith("//"))return e;const[n,r]=tw(e);return n==="/"||n===""?`/en${r}`:`/en${Z1(n)}${r}`},G2=({children:e})=>{const{pathname:t}=gt(),n=Bs(),r=Cp(t);g.useEffect(()=>{document.documentElement.lang=r},[r]),g.useEffect(()=>{if(r!=="en")return;const a=l=>{var h,v;if(l.button!==0||l.metaKey||l.ctrlKey||l.shiftKey)return;const c=(v=(h=l.target)==null?void 0:h.closest)==null?void 0:v.call(h,"a");
154if(!c)return;const u=c.getAttribute("href"),d=c.getAttribute("target");if(!u||d==="_blank"||c.closest("[data-lang-switch]")||!u.startsWith("/")||u.startsWith("//")||u.startsWith("/en/")||u==="/en")return;const[f]=u.split(/[?#]/);/\.[a-z0-9]{2,5}$/i.test(f)||(l.preventDefault(),l.stopPropagation(),n(Cs(u,"en")))};return document.addEventListener("click",a,!0),()=>document.removeEventListener("click",a,!0)},[r,n]);const[i,o]=g.useState(J1);g.useEffect(()=>{if(r!=="en"||i)return;let a=!0;return Tp().then(l=>{a&&o(l)}),()=>{a=!1}},[r,i]);const s=g.useMemo(()=>({lang:r,t:a=>r==="en"&&i?i[a]??a:a,path:a=>Cs(a,r)}),[r,i]);return r==="en"&&!i?null:p.jsx(ew.Provider,{value:s,children:e})},Ws=()=>g.useContext(ew),Xt=()=>Ws().t,su={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_GA4_ID:"",VITE_SUPABASE_PROJECT_ID:"hpctzimrrsmbtbinznnp",VITE_SUPABASE_PUBLISHABLE_KEY:"sb_publishable_SVhalB0Z6EtHyt8DlJRcmA_KvfGU1ke",VITE_SUPABASE_URL:"https://hpctzimrrsmbtbinznnp.supabase.co"};var au={};const F2=(typeof import.meta<"u"?su==null?void 0:su.VITE_SITE_URL:void 0)??(typeof process<"u"?au==null?void 0:au.VITE_SITE_URL:void 0),Ue=(F2||"https://gs1.ro").replace(/\/+$/,""),F="GS1 România",Ps={"/":{title:"GS1 România — Sursa Oficială pentru Coduri de Bare",description:"Sursa oficială de coduri de bare GS1 în România: obține GTIN și GLN, pregătește-ți produsele pentru codurile QR GS1 și aplică standardele globale.",titleEn:"GS1 Romania — The Official Source for Barcodes",descriptionEn:"The official source of GS1 barcodes in Romania: get GTIN and GLN codes, prepare your products for GS1 QR codes and apply global standards."},"/obtine-coduri-de-bare-gs1":{title:`Coduri de bare GS1 pentru produse | GTIN/ EAN și GLN | ${F}`,description:"Obține coduri GTIN/EAN oficiale: alege codurile la bucată sau licența GS1 anuală, care include și GLN, în funcție de numărul de produse.",titleEn:"GS1 barcodes for products | GTIN/ EAN and GLN | GS1 Romania",descriptionEn:"Get official GTIN/EAN codes: choose individual codes or the annual GS1 licence, which also includes a GLN, based on how many products you have."},"/coduri-de-bare-la-bucata":{title:`CLB — coduri GTIN individuale pentru produsele tale | ${F}`,description:"Coduri la bucată (CLB): cea mai simplă cale de a obține câteva coduri GTIN oficiale pentru produsele tale, pentru eMAG, magazin propriu și retail.",titleEn:"CLB — individual GTIN codes for your products | GS1 Romania",descriptionEn:"Individual barcodes (CLB): the simplest way to get a few official GTIN codes for your products, for eMAG, your own shop and retail."},"/identificare-produse-gtin-ean":{title:`Identificarea produselor cu GTIN | ${F}`,description:"Identifică-ți unic produsele cu GTIN: cum funcționează codul, ce licență ți se potrivește și cum obții coduri de bare acceptate în retail și pe marketplace-uri.",titleEn:"Product identification with GTIN | GS1 Romania",descriptionEn:"Identify your products uniquely with GTIN: how the code works, which licence fits you, and how to get barcodes accepted by retailers and marketplaces."},"/identificare-companii-si-locatii-gln":{title:`Identificarea companiei și locațiilor cu GLN | ${F}`,description:"Identifică-ți compania, locațiile și unitățile logistice cu GLN și SSCC: opțiuni de licențiere, tarife orientative și generarea codurilor în CODALOC.",titleEn:"Company and location identification with GLN | GS1 Romania",descriptionEn:"Identify your company, locations and logistic units with GLN and SSCC. See licensing options, indicative fees and how to generate identifiers in the CODALOC platform."},"/standarde-pentru-identificare":{title:`Identificare GS1 | Standarde pentru produse, locații și active | ${F}`,description:"Cheile de identificare GS1 (GTIN, GLN, SSCC și altele) identifică unic produse, locații, unități logistice, documente și active, la nivel global.",titleEn:"GS1 identification | Standards for products, locations and assets | GS1 Romania",descriptionEn:"GS1 identification keys (GTIN, GLN, SSCC and more) uniquely identify products, locations, logistic units, documents and assets worldwide."},"/coduri-de-bare":{title:`Coduri de bare GS1 | Tipuri, utilizare și alegerea corectă | ${F}`,description:"Standarde GS1 pentru coduri de bare și simboluri 2D: EAN/UPC, GS1-128, DataMatrix și QR, unde se folosește fiecare și cum alegi simbolul potrivit.",titleEn:"GS1 barcodes | Types, uses and how to choose | GS1 Romania",descriptionEn:"GS1 standards for barcodes and 2D symbols: EAN/UPC, GS1-128, DataMatrix and QR, where each is used and how to choose the right one."}
154,"/coduri-de-bare-ean":{title:`Coduri EAN | Codul de bare pentru produse de retail | ${F}`,description:"Coduri de bare EAN/UPC: cum devine EAN-ul un simbol citit de scanere la casa de marcat, cum se construiește și cum obții coduri GTIN oficiale.",titleEn:"EAN barcodes | The retail product barcode | GS1 Romania",descriptionEn:"EAN/UPC barcodes: how an EAN becomes a symbol read by checkout scanners, how it is built and how to get official GTIN codes."},"/codul-qr-gs1":{title:`Codul QR cu GS1 Digital Link | ${F}`,description:"Codul QR GS1: un simbol 2D standardizat care conține GTIN-ul și date suplimentare despre produs, pentru retail, logistică și informații digitale.",titleEn:"QR code powered by GS1 Digital Link | GS1 Romania",descriptionEn:"The GS1 QR code: a standardised 2D symbol that carries the GTIN and extra product data, for retail, logistics and digital information."},"/codul-datamatrix":{title:`GS1 DataMatrix | Cod 2D pentru sănătate și industrie | ${F}`,description:"GS1 DataMatrix: simbolul 2D folosit în sănătate pentru GTIN, lot, dată de expirare și număr de serie, pentru trasabilitate și conformitate.",titleEn:"GS1 DataMatrix | 2D code for healthcare and industry | GS1 Romania",descriptionEn:"GS1 DataMatrix: the 2D symbol used in healthcare to carry GTIN, batch, expiry date and serial number, for traceability and compliance."},"/standarde-epc-rfid":{title:`Standarde EPC/RFID | Identificare fără contact vizual | ${F}`,description:"Standarde GS1 EPC/RFID: citirea automată prin radiofrecvență a produselor și activelor, fără contact vizual, pentru inventar și trasabilitate.",titleEn:"EPC/RFID standards | Identification without line of sight | GS1 Romania",descriptionEn:"GS1 EPC/RFID standards: automatic radio-frequency reading of products and assets without line of sight, for inventory and traceability."},"/standarde-gs1-pentru-captura-automata-date":{title:`Captura automată a datelor | Coduri de bare, 2D și RFID | ${F}`,description:"Captura automată a datelor (AIDC): cum transformi identificatorii GS1 în informații scanate și procesate automat prin coduri de bare, 2D și RFID.",titleEn:"Automatic data capture | Barcodes, 2D codes and RFID | GS1 Romania",descriptionEn:"Automatic data capture (AIDC): how GS1 identifiers become information that is scanned and processed automatically via barcodes, 2D codes and RFID."},"/standarde-gs1-pentru-partajarea-datelor":{title:`Partajarea datelor | EDI, GDSN și evenimente EPCIS | ${F}`,description:"Standarde GS1 pentru partajarea datelor: schimb de informații între companii, sisteme și consumatori prin EDI, date master și evenimente de trasabilitate.",titleEn:"Data sharing | EDI, GDSN and EPCIS events | GS1 Romania",descriptionEn:"GS1 data-sharing standards: exchanging information between companies, systems and consumers through EDI, master data and traceability events."},"/standarde-gs1-pentru-trasabilitate":{title:`Trasabilitate cu standarde GS1 | ${F}`,description:"Standardul Global de Trasabilitate GS1: vizibilitate completă asupra produselor, de la origine până la consumator, pe întregul lanț de aprovizionare.",titleEn:"Traceability with GS1 standards | GS1 Romania",descriptionEn:"The GS1 Global Traceability Standard: full visibility of products from origin to consumer across the whole supply chain."},"/gs1-digital-link":{title:`GS1 Digital Link | ${F}`,description:"GS1 Digital Link: pregătește-ți produsele pentru noua generație de coduri QR. Un singur cod QR pentru informații, servicii și conformitate.",titleEn:"GS1 Digital Link | GS1 Romania",descriptionEn:"GS1 Digital Link: get your products ready for the next generation of QR codes. One QR code for information, services and compliance."},"/verified-by-gs1":{title:`Verified by GS1 | Date de produs verificate global | ${F}`,description:"Verified by GS1: verifică dacă un GTIN și datele de bază ale produsului sunt valide și înregistrate, pentru încredere în retail și pe marketplace-uri.",titleEn:"Verified by GS1 | Globally verified product data | GS1 Romania",descriptionEn:"Verified by GS1: check whether a GTIN and its core product data are valid and registered, for trust in retail and on marketplaces."},"/gpc-browser":{title:`GPC Browser | Clasificarea globală a produselor | ${F}`,description:"GPC Browser: găsește categoria GPC potrivită și clasifică uniform produsele pentru lanțurile de aprovizionare internaționale.",titleEn:"GPC Browser | Global Product Classification | GS1 Romania",descriptionEn:"GPC Browser: find the right GPC category and classify your products consistently for international supply chains."},"/ndp-sincronizare-date-produse":{title:`National Data Pool (NDP) | ${F}`,description:"GS1 National Data Pool (NDP): platforma națională prin care producătorii sincronizează datele master de produs cu retailerii din România.",titleEn:"National Data Pool (NDP) | GS1 Romania",descriptionEn:"GS1 National Data Pool (NDP): the national platform where manufacturers synchronise product master data with retailers in Romania."},"/codaloc-administrare-coduri-gs1":{title:`CODALOC | Platforma de administrare a 
154identificatorilor GS1 | ${F}`,description:"CODALOC este platforma online prin care membrii GS1 România solicită și administrează identificatorii GS1 ai produselor și ai companiei.",titleEn:"CODALOC | GS1 identifier management platform | GS1 Romania",descriptionEn:"CODALOC is the online platform where GS1 Romania members request and manage the GS1 identifiers for their products and company."},"/medaloc-identificare-farma-snvm":{title:`MEDALOC | Identificarea locațiilor farma în SNVM | ${F}`,description:"MEDALOC este aplicația GS1 pentru distribuitori, farmacii și unități medicale: identificarea unică a locațiilor în Sistemul Național de Verificare a Medicamentelor.",titleEn:"MEDALOC | Pharma location identification for SNVM | GS1 Romania",descriptionEn:"MEDALOC is the GS1 application for distributors, pharmacies and healthcare units: unique location identification in the Romanian medicines verification system."},"/canamed-dosare-pret-medicamente":{title:`CANAMED | Dosare de preț pentru medicamente | ${F}`,description:"CANAMED permite producătorilor și deținătorilor de autorizație să întocmească, să semneze electronic și să depună la Ministerul Sănătății dosarele de preț ale medicamentelor.",titleEn:"CANAMED | Medicine pricing files | GS1 Romania",descriptionEn:"CANAMED lets manufacturers and marketing authorisation holders prepare, e-sign and submit medicine pricing files to the Romanian Ministry of Health."},"/serializare-medicamente":{title:`Farma și Serializare | Identificare GS1 pentru medicamente | ${F}`,description:"Serializarea medicamentelor cu standarde GS1: GTIN, GLN, SSCC și GS1 DataMatrix pentru verificarea în SNVM, cu sprijinul MEDALOC și CANAMED.",titleEn:"Pharma and serialisation | GS1 identification for medicines | GS1 Romania",descriptionEn:"Medicine serialisation with GS1 standards: GTIN, GLN, SSCC and GS1 DataMatrix for verification in SNVM, supported by MEDALOC and CANAMED."},"/identificare-dispozitive-medicale-udi":{title:`Codul UDI | Identificarea unică a dispozitivelor medicale | ${F}`,description:"Identificarea dispozitivelor medicale cu UDI: conformare cu reglementările UE (MDR/IVDR) folosind identificatori GS1 și marcaj GS1 DataMatrix.",titleEn:"UDI code | Unique device identification | GS1 Romania",descriptionEn:"UDI identification for medical devices: comply with EU rules (MDR/IVDR) using GS1 identifiers and GS1 DataMatrix marking."},"/eticheta-logistica-gs1-128":{title:`ETLOG | Eticheta logistică GS1-128 | ${F}`,description:"ETLOG: aplicația GS1 România pentru etichete logistice GS1-128 cu SSCC, pentru identificarea și urmărirea paleților și baxurilor.",titleEn:"ETLOG | GS1-128 logistic label | GS1 Romania",descriptionEn:"ETLOG: GS1 Romania's application for GS1-128 logistic labels with SSCC, to identify and track pallets and cases."},"/standarde-gs1-pentru-sgr":{title:`SGR | Identificarea ambalajelor în Sistemul de Garanție-Returnare | ${F}`,description:"Codificarea produselor pentru SGR: alocarea și administrarea codurilor GTIN SGR pentru ambalajele din sistemul național administrat de RetuRO.",titleEn:"DRS | Packaging identification in the deposit-return system | GS1 Romania",descriptionEn:"Product coding for SGR: allocating and managing SGR GTIN codes for packaging in the national deposit-return system run by RetuRO."},"/retusgr-digitalizarea-colectarii-manuale":{title:`RetuSGR | Aplicația pentru colectarea manuală SGR | ${F}`,description:"RetuSGR digitalizează punctele de returnare SGR cu colectare manuală: scanezi ambalajul, verifici eligibilitatea și gestionezi sacii și raportarea datelor.",titleEn:"RetuSGR | App for manual deposit-return collection | GS1 Romania",descriptionEn:"RetuSGR digitises manual collection at SGR return points: scan the packaging, check eligibility, and manage bag sealing and data reporting in one app."},"/ierarhie-ambalare-gtin-sgr":{title:`Ierarhia de ambalare și GTIN în SGR | ${F}`,description:"Exemple de structuri GTIN pentru ambalajele colective omogene și neomogene ale produselor cu ambalaje SGR.",titleEn:"Packaging hierarchy and GTIN in the deposit-return system | GS1 Romania",descriptionEn:"Example GTIN structures for homogeneous and mixed multipacks of products in SGR packaging."},"/certificare-rvm-sgr":{title:`Certificare RVM pentru SGR | ${F}`,description:"Certificarea operațională a echipamentelor RVM: GS1 România validează performanța aparatelor de preluare automată a ambalajelor SGR.",titleEn:"RVM certification for the deposit-return system | GS1 Romania",descriptionEn:"Operational certification of RVM equipment: GS1 Romania validates the performance of reverse vending machines for SGR packaging."}
154,"/standarde-gs1-pentru-retail":{title:`FMCG & Retail | Standarde GS1 pentru comerț modern | ${F}`,description:"Standarde GS1 pentru retail și FMCG: identificarea produselor cu GTIN, date de produs corecte și schimb de date automatizat între producători și retaileri.",titleEn:"FMCG & Retail | GS1 standards for modern commerce | GS1 Romania",descriptionEn:"GS1 standards for retail and FMCG: GTIN product identification, accurate product data and automated data exchange between manufacturers and retailers."},"/standarde-gs1-pentru-sanatate":{title:`Standarde GS1 pentru Sănătate | Identificare, UDI și trasabilitate | ${F}`,description:"Standarde GS1 pentru sănătate: identificarea medicamentelor, a dispozitivelor medicale (UDI) și a locațiilor, cu captură automată a datelor și trasabilitate.",titleEn:"GS1 standards for Healthcare | Identification, UDI and traceability | GS1 Romania",descriptionEn:"GS1 standards for healthcare: identification of medicines, medical devices (UDI), locations and logistic units, with automatic data capture and traceability."},"/standarde-gs1-pentru-transport-si-logistica":{title:`Transport & Logistică — Standarde GS1 pentru un lanț logistic digital | ${F}`,description:"Standarde GS1 pentru transport și logistică: SSCC, eticheta GS1-128, GTIN, GLN și EDI/EANCOM pentru un lanț de aprovizionare conectat și trasabil.",titleEn:"Transport & Logistics — GS1 standards for a digital supply chain | GS1 Romania",descriptionEn:"GS1 standards for transport and logistics: SSCC, the GS1-128 label, GTIN, GLN and EDI/EANCOM for a connected, traceable supply chain."},"/standarde-gs1-pentru-ecommerce":{title:`Standarde GS1 pentru E-commerce | GTIN și date de produs | ${F}`,description:"Vinzi pe eMAG, Amazon, eBay sau în magazinul tău? Folosește GTIN și date de produs standardizate, conforme cu cerințele marketplace-urilor.",titleEn:"GS1 standards for E-commerce | GTIN and product data | GS1 Romania",descriptionEn:"Selling on eMAG, Amazon, eBay or your own shop? Use GTINs and standardised product data that meet marketplace requirements."},"/standarde-gs1-pentru-constructii":{title:`Standarde GS1 pentru construcții | Conformitate CPR 2025 | ${F}`,description:"Standarde GS1 pentru construcții: pregătește-te pentru noul CPR (Regulamentul UE 2024/3110) și Digital Product Passport, de la fabricație la reciclare.",titleEn:"GS1 standards for construction | CPR 2025 compliance | GS1 Romania",descriptionEn:"GS1 standards for construction: prepare for the new CPR (EU Regulation 2024/3110) and the Digital Product Passport, from manufacture to recycling."},"/standarde-gs1-pentru-agricultura":{title:`Agricultură & Siguranță Alimentară | ${F}`,description:"Standarde GS1 pentru agricultură și siguranță alimentară: trasabilitate și conformitate cu reglementările europene. Conținut dedicat în curând.",titleEn:"Agriculture & Food Safety | GS1 Romania",descriptionEn:"GS1 standards for agriculture and food safety: traceability and compliance with EU regulations. Dedicated content coming soon."},"/standarde-gs1-pentru-aparare":{title:`Standarde GS1 pentru Apărare | Identificare UID și trasabilitate NATO | ${F}`,description:"Standarde GS1 pentru apărare, recunoscute de NATO: identificare standardizată, trasabilitate și interoperabilitate în lanțul de aprovizionare militar.",titleEn:"GS1 standards for Defence | UID identification and NATO traceability | GS1 Romania",descriptionEn:"GS1 standards for defence, recognised by NATO: standardised identification, traceability and interoperability across the military supply chain."},"/lean-green":{title:`Lean & Green | Reducerea emisiilor în logistică | ${F}`,description:"Lean & Green România: programul internațional de certificare pentru reducerea emisiilor de CO₂ în transport și logistică.",titleEn:"Lean & Green | Cutting logistics emissions | GS1 Romania",descriptionEn:"Lean & Green Romania: the international certification programme for reducing CO₂ emissions in transport and logistics."},"/schimb-electronic-de-date-edi":{title:`Schimb electronic de date EDI/EANCOM | ${F}`,description:"Standardizează comenzile, avizele de expediție și facturile prin mesaje E
154DI/EANCOM și reduce erorile în relația cu partenerii comerciali.",titleEn:"Electronic data interchange EDI/EANCOM | GS1 Romania",descriptionEn:"Standardise orders, despatch advices and invoices through EDI/EANCOM messages and reduce errors with your trading partners."},"/protectia-consumatorului-cbpscan":{title:`CBPScan | Codul de Bune Practici în Domeniul Scanării | ${F}`,description:"Programul GS1 România pentru retaileri: prețul de la raft este prețul de la casa de marcat. Aderare, verificări periodice și beneficii pentru încrederea clienților.",titleEn:"CBPScan | Code of Good Practice in Scanning | GS1 Romania",descriptionEn:"GS1 Romania's programme for retailers: the shelf price is the checkout price. How to join, periodic compliance checks and the benefits for customer trust."},"/gs1-solution-providers":{title:`GS1 Solution Providers | Partenerii tehnologici GS1 | ${F}`,description:"GS1 Solution Providers: rețeaua de parteneri tehnologici (software, hardware, etichetare) care implementează standardele GS1 în companii.",titleEn:"GS1 Solution Providers | GS1 technology partners | GS1 Romania",descriptionEn:"GS1 Solution Providers: the network of technology partners (software, hardware, labelling) that implement GS1 standards for businesses."},"/coduri-gs1-oficiale":{title:`De ce să folosești coduri GS1 oficiale | ${F}`,description:"Află de ce contează sursa codurilor de bare, cum recunoști un GTIN alocat legitim și de ce codurile revândute pot fi respinse de retaileri.",titleEn:"Why use official GS1 codes | GS1 Romania",descriptionEn:"Learn why barcode provenance matters, how to recognise a legitimately allocated GTIN, and why resold codes can be rejected by retailers."},"/calculator-cifra-control":{title:`Calculator cifră de control GS1 | ${F}`,description:"Calculator gratuit de cifră de control pentru GTIN-8, GTIN-12, GTIN-13, GTIN-14, GLN, SSCC și alte chei GS1: introdu numărul și verifică-l.",titleEn:"GS1 check digit calculator | GS1 Romania",descriptionEn:"Free check digit calculator for GTIN-8, GTIN-12, GTIN-13, GTIN-14, GLN, SSCC and other GS1 keys: enter the number and validate it."},"/dezvoltarea-standardelor":{title:`Dezvoltarea standardelor GS1 | ${F}`,description:"Cum sunt dezvoltate standardele GS1: standarde create de industrie, pentru industrie, printr-un proces global la care participă companii din toată lumea.",titleEn:"GS1 standards development | GS1 Romania",descriptionEn:"How GS1 standards are developed: standards created by industry, for industry, through a global process involving companies worldwide."},"/gs1-global":{title:`GS1 Global | Organizația globală de standarde | ${F}`,description:"GS1 Global: organizația internațională, neutră și non-profit, care de peste 50 de ani dezvoltă limbajul global al afacerilor, în peste 110 țări.",titleEn:"GS1 Global | The global standards organisation | GS1 Romania",descriptionEn:"GS1 Global: the neutral, non-profit international organisation that has developed the global language of business for over 50 years, in 110+ countries."},"/gs1-europe":{title:`GS1 Europe | Standarde GS1 în context european | ${F}`,description:"GS1 in Europe reprezintă comunitatea GS1 în dialogul cu instituțiile UE, pe teme precum FMD, CPR, Digital Product Passport și interoperabilitate.",titleEn:"GS1 Europe | GS1 standards in a European context | GS1 Romania",descriptionEn:"GS1 in Europe represents the GS1 community in dialogue with EU institutions on FMD, CPR, the Digital Product Passport and interoperability."},"/despre-gs1-romania":{title:`Despre GS1 România | Organizația națională de standarde GS1 | ${F}`,description:"GS1 România este organizația neutră, non-profit, singura autorizată de GS1 Global să conecteze companiile românești la standardele GS1.",titleEn:"About GS1 Romania | The national GS1 member organisation | GS1 Romania",descriptionEn:"GS1 Romania is the neutral, non-profit organisation, the only one authorised by GS1 Global to connect Romanian companies to GS1 standards."},"/obiective-si-scop":{title:`Obiective și scop | ${F}`,description:"Misiunea GS1 România: construim încredere, eficiență și interoperabilitate, sprijinind companiile și instituțiile să adopte standardele GS1.",titleEn:"Objectives and purpose | GS1 Romania",descriptionEn:"GS1 Romania's mission: building trust, efficiency and interoperability by helping companies and institutions adopt GS1 standards."},"/structura-asociatiei-gs1-romania":{title:`Structura organizatorică | ${F}`,description:"Guvernanța GS1 România: o asociație non-profit condusă transparent și reprezentativ, cu impl
154icarea membrilor în direcția strategică.",titleEn:"Organisational structure | GS1 Romania",descriptionEn:"GS1 Romania governance: a non-profit association run transparently and representatively, with members shaping its strategic direction."},"/stiri":{title:`Știri GS1 România | Noutăți despre standarde și servicii | ${F}`,description:"Știri GS1 România: anunțuri, comunicate și noutăți despre standardele GS1, proiecte precum pilotul codurilor QR GS1 și reglementări.",titleEn:"GS1 Romania news | Standards and service updates | GS1 Romania",descriptionEn:"GS1 Romania news: announcements, press releases and updates on GS1 standards, projects such as the GS1 QR code pilot, and regulations."},"/stiri/it-genetics-partener-platinum-gs1-solution-providers":{title:`IT Genetics devine partener Platinum GS1 Solution Providers | ${F}`,description:"IT Genetics, integrator de soluții pentru Retail, Logistics și Manufacturing, devine partener Platinum în programul GS1 Solution Providers.",titleEn:"IT Genetics becomes a Platinum GS1 Solution Provider | GS1 Romania",descriptionEn:"IT Genetics, a technology integrator for Retail, Logistics and Manufacturing, becomes a Platinum partner in the GS1 Solution Providers programme."},"/gs1-solution-providers/pricon-graphics":{title:`Pricon Graphics – Partener Platinum GS1 Solution Providers | ${F}`,description:"Pricon Graphics: echipamente, consumabile și sisteme de verificare a calității codurilor de bare, 2D și DPM pentru tipografii și producători de ambalaje.",titleEn:"Pricon Graphics – Platinum GS1 Solution Provider | GS1 Romania",descriptionEn:"Pricon Graphics: equipment, consumables and barcode, 2D and DPM code quality verification systems for printers and packaging manufacturers."},"/gs1-solution-providers/imark-sistem":{title:`Imark Sistem – Partener Gold GS1 Solution Providers | ${F}`,description:"Imark Sistem: soluții industriale de marcare, codificare, etichetare și scanare pentru trasabilitate conform standardelor GS1.",titleEn:"Imark Sistem – Gold GS1 Solution Provider | GS1 Romania",descriptionEn:"Imark Sistem: industrial marking, coding, labelling and scanning solutions for traceability in line with GS1 standards."},"/evenimente":{title:`Evenimente GS1 România | Webinarii și conferințe | ${F}`,description:"Evenimente GS1: conferințe, webinarii și întâlniri organizate de GS1 România sau GS1 Global pentru membri și parteneri.",titleEn:"GS1 Romania events | Webinars and conferences | GS1 Romania",descriptionEn:"GS1 events: conferences, webinars and meetings run by GS1 Romania or GS1 Global for members and partners."},"/contact":{title:`Contact GS1 România | Suport pentru coduri și licențe GS1 | ${F}`,description:"Contactează echipa GS1 România pentru întrebări despre coduri de bare, licențe, identificatori și servicii. Telefon +40 21 317 80 31, [email protected].",titleEn:"Contact GS1 Romania | Support for GS1 codes and licences | GS1 Romania",descriptionEn:"Contact the GS1 Romania team about barcodes, licences, identifiers and services. Phone +40 21 317 80 31, [email protected]."},"/gdpr":{title:`Protecția datelor (GDPR) | ${F}`,description:"Cum prelucrează GS1 România datele personale și care sunt drepturile tale conform Regulamentului general privind protecția datelor.",titleEn:"Data protection (GDPR) | GS1 Romania",descriptionEn:"How GS1 Romania processes personal data and what your rights are under the General Data Protection Regulation."},"/termeni-si-conditii-generale":{title:`Termeni și condiții | ${F}`,description:"Termenii și condițiile de utilizare a serviciilor și identificatorilor GS1 furnizați de GS1 România.",titleEn:"Terms and conditions | GS1 Romania",descriptionEn:"The terms and conditions for using the GS1 services and identifiers provided by GS1 Romania."}},B2=e=>Ps[e===""?"/":e.replace(/\/+$/,"")||"/"],U2={"/":"home","/obtine-coduri-de-bare-gs1":"service","/coduri-de-bare-la-bucata":"service","/identificare-produse-gtin-ean":"service","/identificare-companii-si-locatii-gln":"service","/codaloc-administrare-coduri-gs1":"service","/medaloc-identificare-farma-snvm":"service","/canamed-dosare-pret-medicamente":"service","/ndp-sincronizare-date-produse":"service","/eticheta-logistica-gs1-128":"service","/protectia-consumatorului-cbpscan":"service","/certificare-rvm-sgr":"service","/gpc-browser":"service","/ver
154ified-by-gs1":"service","/calculator-cifra-control":"service","/retusgr-digitalizarea-colectarii-manuale":"service","/lean-green":"service","/gs1-solution-providers":"service","/despre-gs1-romania":"about","/obiective-si-scop":"about","/structura-asociatiei-gs1-romania":"about","/gs1-global":"about","/gs1-europe":"about","/contact":"contact","/stiri":"news","/evenimente":"events","/gdpr":"legal","/termeni-si-conditii-generale":"legal"},$2=e=>U2[e]??"info",W2="/assets/stire-qr-pilot-crop-CGZXVSpZ.webp",H2="/assets/eveniment-gs1-standards-2026-CpGt7p_e.webp",K2="/assets/stire-itgenetics-platinum-CD0q5VXA.webp",nw=[{date:"28/09/2026",category:"PARTENERI · GS1 SOLUTION PROVIDERS",title:"IT Genetics devine partener Platinum în programul GS1 Solution Providers",excerpt:"IT Genetics, integrator de soluții tehnologice pentru Retail, Logistics și Manufacturing, se alătură programului GS1 Solution Providers la nivel Platinum.",href:"/stiri/it-genetics-partener-platinum-gs1-solution-providers",image:K2,imageContain:!0},{date:"20/07/2026",category:"PROIECT PILOT · GS1 DIGITAL LINK",title:"Peste 50 de companii pregătesc tranziția către codurile QR GS1 în România",excerpt:"Producători, retaileri și furnizori de tehnologie participă la proiectul pilot coordonat de GS1 România pentru pregătirea tranziției către noua generație de coduri 2D.",href:"/gs1-digital-link#proiect-pilot",image:W2,imageContain:!0}],X2=[{date:"21/09/2026",category:"EVENIMENT GLOBAL · ONLINE",title:"GS1 Industry & Standards Event 2026",excerpt:"Lideri din industrie, experți și organizații GS1 din peste 85 de țări se reunesc pentru a explora viitorul standardelor globale, migrarea către codurile 2D, Digital Product Passport, interoperabilitatea și schimbul de date de încredere.",href:"https://events.gs1.org/event/standards-event/summary",image:H2,imageContain:!0}],Zr=`${Ue}/#organization`,Q2=e=>e.split("|")[0].trim(),Gd=e=>{const[t,n,r]=e.split("/");return`${r}-${n==null?void 0:n.padStart(2,"0")}-${t==null?void 0:t.padStart(2,"0")}`},Rl=e=>e.startsWith("http")?e:`${Ue}${e}`,q2=e=>e==="en"?Ps["/"].descriptionEn:Ps["/"].description,Y2=e=>({"@type":"Organization","@id":Zr,name:"GS1 Romania",legalName:"Asociația GS1 România",alternateName:e==="en"?"GS1 Romania":"GS1 România",url:`${Ue}/`,logo:`${Ue}/favicon.svg`,description:q2(e),email:"[email protected]",telephone:"+40213178031",address:{"@type":"PostalAddress",streetAddress:e==="en"?"1 Arh. Louis Blanc St., 2nd floor":"Str. Arh. Louis Blanc nr. 1, etaj 2",addressLocality:e==="en"?"Bucharest":"București",addressRegion:e==="en"?"District 1":"Sector 1",postalCode:"011751",addressCountry:"RO"},vatID:"5659755",areaServed:{"@type":"Country",name:e==="en"?"Romania":"România"},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:30",closes:"17:00"}],contactPoint:[{"@type":"ContactPoint",contactType:"customer service",telephone:"+40213178031",email:"[email protected]",areaServed:"RO",availableLanguage:["ro","en"],hoursAvailable:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"08:30",closes:"17:00"}]}],sameAs:["https://www.linkedin.com/company/gs1-romania/","https://www.facebook.com/GS1Romania","https://www.instagram.com/gs1.romania/"],parentOrganization:{"@type":"Organization",name:"GS1",url:"https://www.gs1.org"}}),Z2=(e,t)=>({"@type":"WebSite","@id":e==="en"?`${Ue}/en/#website-en`:`${Ue}/#website-ro`,url:e==="en"?`${Ue}/en`:`${Ue}/`,name:t,inLanguage:e==="en"?"en":"ro-RO",publisher:{"@id":Zr}}),J2=(e,t,n,r)=>({"@type":"NewsArticle",headline:n(e.title),...e.excerpt?{description:n(e.excerpt)}:{},...e.image?{image:Rl(e.image)}:{},datePublished:Gd(e.date),dateModified:Gd(e.date),inLanguage:t==="en"?"en":"ro-RO",mainEntityOfPage:r,...e.href?{url:Rl(e.href)}:{},author:{"@id":Zr},publisher:{"@id":Zr}}),eN=(e,t,n)=>{const r=(e.category??"").toUpperCase().includes("ONLINE");return{"@type":"Event",name:n(e.title),...e.excerpt?{description:n(e.excerpt)}:{},...e.image?{image:Rl(e.image)}:{},startDate:Gd(e.date),inLanguage:t==="en"?"en":"ro-RO",eventStatus:"https://schema.org/EventScheduled",...r?{eventAttendanceMode:"https://schema.org/OnlineEventAttendanceMode",location:{"@type":"VirtualLocation",...e.href?{url:e.href}:{}}}:{},organizer:{"@id":Zr},...e.href?{url:Rl(e.href)}:{}}},tN=({roPath:e,lang:t,title:n,description:r,canonical:i,roUrl:o,enUrl:s,hasPair:a,t:l})=>{const c=$2(e),u=t==="en"?"GS1 Romania":"GS1 România",d=t==="en"?`${Ue}/en`:`${Ue}/`,f=t==="en"?"Home":"Acasă",h=Q2(n),v=t==="en"?"en":"ro-RO",m=c==="about"?"AboutPage":c==="contact"?"ContactPage":c==="news"||c==="events"?"CollectionPage":"WebPage",w=a?t==="en"?{translationOfWork:{"@id":o}}
154:{workTranslation:{"@id":s}}:{},y=[Y2(t),Z2(t,u),{"@type":m,"@id":i,url:i,name:n,description:r,inLanguage:v,isPartOf:{"@id":t==="en"?`${Ue}/en/#website-en`:`${Ue}/#website-ro`},about:{"@id":Zr},...w}];return e!=="/"&&y.push({"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:f,item:d},{"@type":"ListItem",position:2,name:h,item:i}]}),c==="service"&&y.push({"@type":"Service",name:h,description:r,serviceType:h,provider:{"@id":Zr},areaServed:"RO",inLanguage:v}),c==="news"&&nw.forEach(x=>y.push(J2(x,t,l,i))),c==="events"&&X2.forEach(x=>y.push(eN(x,t,l))),{"@context":"https://schema.org","@graph":y}},nN=()=>{const{pathname:e}=gt(),t=Xt(),n=Cp(e),r=Vd(e),i=B2(r);if(e.startsWith("/admin"))return null;const o=i?n==="en"?i.titleEn:i.title:n==="en"?"Page not found | GS1 Romania":"Pagina nu a fost găsită | GS1 România",s=i?n==="en"?i.descriptionEn:i.description:n==="en"?"The page you are looking for is not available. Explore GS1 Romania standards and services instead.":"Pagina căutată nu este disponibilă. Descoperă standardele și serviciile GS1 România.",a=`${Ue}${r==="/"?"/":r}`,l=`${Ue}${r==="/"?"/en":Ha(r)}`,c=n==="en"?l:a,u=i?tN({roPath:r,lang:n,title:o,description:s,canonical:c,roUrl:a,enUrl:l,hasPair:!0,t}):null;return p.jsxs(QT,{children:[p.jsx("html",{lang:n}),p.jsx("title",{children:o}),p.jsx("meta",{name:"description",content:s}),p.jsx("link",{rel:"canonical",href:c}),i?p.jsx("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1"}):p.jsx("meta",{name:"robots",content:"noindex, follow"}),i&&p.jsx("link",{rel:"alternate",hrefLang:"ro-RO",href:a}),i&&p.jsx("link",{rel:"alternate",hrefLang:"en",href:l}),i&&p.jsx("link",{rel:"alternate",hrefLang:"x-default",href:a}),p.jsx("meta",{property:"og:type",content:"website"}),p.jsx("meta",{property:"og:site_name",content:n==="en"?"GS1 Romania":"GS1 România"}),p.jsx("meta",{property:"og:locale",content:n==="en"?"en_US":"ro_RO"}),p.jsx("meta",{property:"og:title",content:o}),p.jsx("meta",{property:"og:description",content:s}),p.jsx("meta",{property:"og:url",content:c}),p.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),p.jsx("meta",{name:"twitter:title",content:o}),p.jsx("meta",{name:"twitter:description",content:s}),p.jsx("meta",{property:"og:image",content:`${Ue}/og-image.jpg`}),p.jsx("meta",{property:"og:image:width",content:"1200"}),p.jsx("meta",{property:"og:image:height",content:"630"}),p.jsx("meta",{property:"og:image:alt",content:n==="en"?"GS1 Romania — global standards for the Romanian supply chain":"GS1 România — standarde globale pentru supply chain-ul românesc"}),p.jsx("meta",{name:"twitter:image",content:`${Ue}/og-image.jpg`}),p.jsx("meta",{property:"og:locale:alternate",content:n==="en"?"ro_RO":"en_US"}),u&&p.jsx("script",{type:"application/ld+json",children:JSON.stringify(u)})]})},rN="G-9GL93S1CCL",lu="".trim()||rN,rw="gs1ro-consent",iw=()=>(window.dataLayer=window.dataLayer||[],window.dataLayer);function iN(){return arguments}const io=(...e)=>{if(typeof window.gtag=="function"){window.gtag(...e);return}iw().push(iN.apply(null,e))},Pp=e=>{iw().push(e)},Ap=()=>{try{const e=localStorage.getItem(rw);return e==="granted"||e==="denied"?e:null}catch{return null}},oN=e=>{try{localStorage.setItem(rw,e)}catch{}};let yg=!1,Rp=!1;const sN=e=>{const t=document.createElement("script");t.async=!0,t.src=e,document.head.appendChild(t)},aN=()=>{yg||lu&&(yg=!0,Rp=!0,sN(`https://www.googletagmanager.com/gtag/js?id=${lu}`),io("js",new Date),io("config",lu,{send_page_view:!1}))},ow=aN,lN=()=>{Ap()==="granted"&&(io("consent","update",{analytics_storage:"granted",ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted"}),ow())},Fd="gs1ro-consent-change",cN=e=>{oN(e);const t=e==="granted"?"granted":"denied";io("consent","update",{analytics_storage:t,ad_storage:t,ad_user_data:t,ad_personalization:t}),Pp({event:"consent_choice",consent_state:e}),e==="granted"&&ow(),window.dispatchEvent(new CustomEvent(Fd,{detail:e}))},cu=()=>Ap()==="granted";let vg="";const uN=e=>{const t=window.location.href,n=document.title,r=`${t}|${n}`;if(r===vg)return;vg=r;const i={page_language:e,page_location:t,page_title:n};Pp({event:"page_view",...i}),Rp&&io("event","page_view",i)},ui=(e,t,n={})=>{Pp({event:e,page_language:t,...n}),Rp&&io("event",e,{page_language:t,...n})},dN=/\.(pdf|docx?|xlsx?|pptx?|zip|csv)(\?|$)/i,fN=["/obtine-coduri-de-bare-gs1","/contact"],pN=2e3,hN=()=>{const{pathname:e}=gt(),{lang:t}=Ws(),n=g.useRef(null);g.useEffect(()=>{lN()},[]);const r=g.useCallback(()=>
154{if(!cu())return()=>{};const i=document.querySelector("title");let o=!1;const s=()=>{o||(o=!0,l==null||l.disconnect(),clearTimeout(c),n.current=document.title,uN(t))},a=()=>{document.title&&document.title!==n.current&&s()},l=i?new MutationObserver(a):null;l==null||l.observe(i,{childList:!0,characterData:!0,subtree:!0});const c=window.setTimeout(s,pN);return requestAnimationFrame(()=>requestAnimationFrame(a)),()=>{l==null||l.disconnect(),clearTimeout(c)}},[t]);return g.useEffect(()=>r(),[e,t,r]),g.useEffect(()=>{const i=()=>r();return window.addEventListener(Fd,i),()=>window.removeEventListener(Fd,i)},[r]),g.useEffect(()=>{const i=s=>{var f;if(!cu())return;const a=s.target,l=(f=a==null?void 0:a.closest)==null?void 0:f.call(a,"a");if(!l)return;const c=l.getAttribute("href")??"",u=(l.textContent??"").trim().slice(0,80);if(c.startsWith("tel:")){ui("phone_click",t,{link_url:c,link_text:u});return}if(c.startsWith("mailto:")){ui("email_click",t,{link_url:c,link_text:u});return}if(l.closest("[data-lang-switch]")){ui("language_switch",t,{to_language:c.startsWith("/en")?"en":"ro",from_language:t});return}if(dN.test(c)){ui("file_download",t,{file_name:c.split("/").pop(),link_url:c});return}const d=c.replace(/^\/en/,"");(fN.includes(d)||l.dataset.cta)&&ui("cta_click",t,{cta_target:c,cta_text:u})},o=s=>{if(!cu())return;const a=s.target;ui("form_submit",t,{form_id:(a==null?void 0:a.id)||(a==null?void 0:a.getAttribute("name"))||"contact",page_path:e})};return document.addEventListener("click",i,!0),document.addEventListener("submit",o,!0),()=>{document.removeEventListener("click",i,!0),document.removeEventListener("submit",o,!0)}},[t,e]),null},mN=c1("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","icon-sm":"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}}),As=g.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const s=r?lA:"button";return p.jsx(s,{className:br(mN({variant:t,size:n,className:e})),ref:o,...i})});As.displayName="Button";const gN=()=>{const e=Xt(),[t,n]=g.useState(!1);if(g.useEffect(()=>{Ap()===null&&n(!0)},[]),!t)return null;const r=i=>{cN(i),n(!1)};return p.jsx("div",{role:"dialog","aria-label":e("Setări cookie-uri"),className:"fixed bottom-0 left-0 right-0 z-50 border-t border-border bg-background/95 backdrop-blur",children:p.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-4 flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[p.jsxs("p",{className:"text-sm text-muted-foreground max-w-2xl",children:[e("Folosim cookie-uri necesare pentru funcționarea site-ului și, doar cu acordul tău, cookie-uri de statistică pentru a înțelege cum este folosit site-ul.")," ",p.jsx(ee,{to:"/gdpr",className:"underline hover:text-foreground",children:e("Politica de confidențialitate")})]}),p.jsxs("div",{className:"flex gap-2 shrink-0",children:[p.jsx(As,{variant:"outline",size:"sm",onClick:()=>r("denied"),children:e("Doar necesare")}),p.jsx(As,{size:"sm",onClick:()=>r("granted"),children:e("Accept toate")})]})]})})},yN="data:image/webp;base64,UklGRmQPAABXRUJQVlA4IFgPAAAQOACdASpgAGAAPjkWiUMiISEZy6bYIAOEtgBjOX2je+P8yex/37yJdfPRnk+dHf7n0FepH9OewJ+tfSk8wH7j/rp70fon/yvqAf1D/L9Y16AH7VenJ7Jv9o/5v7i+0j6gH//xfP7D4W+DPw57N/1z/se7JkL6Uv670G/jP13+6f2H9r/y8+Lf8j+QHmz8TP5L1Avxn+U/3P+q/tH+YvH4gE/Ov6F/ffzK/vfpa6mver2AP5b/N/8p+Wv91///1L/bv9h4yXmXsB/yz+vf7T/G/uZ/oPpd/jf+l/lv8Z+1HtZ+bv+B/g/yj+wf+Sf0D/Rf2v94v8P///qm9fn7U///3S/11//Lt1YOD7/dd76KMnUKnMmqpvQXneLlMPQPoT5SH2bWmFSO4eITWdMlp34YLQ7CkgMnbLG5rDn+AYvAEf2gx/AMJ7Sh2ojBc2QZW3yF9I+coGxHQnuMMdK+8vfP93k2e5NsP9FfRrjWTpB59KlxgVf7kkHXY6wRIWRjvpL95qxvHpiZnuUBKf7KuY4x/Aueu0CodP6HM1s5hwcoFnSNiI9AGzlwWKKsy4G047EiXC52Uiiv7a/jFtEb63avzlcSYYh1W7gAAP7/NYDFYRDv/duY5tI2C+HTw+PdfgCi2Yxb4MyOYh9lJxReE/YMTjTXMU7Q2fx+Gg3DBQtWBOGiFX/Ik2mgpHSPswbH1tDa/bWKIivmvhAnxVr/yWRtVVjcyXrcexfTK+Nw0AZftIdQ6Elhg4Pz6SXhtP7Pqce1HbKxKF990+pGUd66xH3rMb8a61TT4oQBUkC1FhqsstCCB/iqB783o+Ce3lvqAIUT/+Zxlc47tbZkhNz1Epq3SPAuuI/3PHsbz+SrxtR6//pu9xTO4i2E7A8wkZIPJ90dQtUirzzHAD/9jcDxnV48LUv+K3mn+cQ27dOFC7VTaRMbsrZu6b8UUk5uPSgoA7zTmPiG8kgOfp1ORykCNDw9nk/4JBs3HVEyiIlVgt9yr7xKDXxWAYCveQORehhJjUnSXxf/CXbbFdmIZ23zHP35qNnwsW53ZbwXGXI0+t/dW38gfR86Cebt5ldbo44J5VaojiW/SkzMaepS5qYN1sSFTMGC+/wgqnOgLbpNc22GXeVLiZi/lZaAYY3kdWEfpYjDiSy8Lk7PVOfWdkutOISGCdZI5bRcACtxym4TXbCTL4chIypAgpmi6SSEmFe65qXXJOAWY0rDfyyHDe4ZSn/kaTnvIR+nG0QvCjnCLP1zO6F+ni/K+0HeSyqOGqhtPPfVxjiTXYIczQ5EHL3tUaHcBdARM4wP4zeoJpsNn2coR1ZwplwYiHTWPfHhyNNi+FAfTwenBjOIojAQopn6c0mS09I1I27fLvj3nAeAQt2c7qSiZNWxmW9PS0tfDuxuB0FR3k5TUfkDrPzDnqp1A8nrV70PrBEk1T1hOc2ZZkIy+HwUMY42OYL7tyaJnh7CcuYGUz/T0amkaBh8ZLUZSXO/Y32ksZ0VezrpdEPS/aAFDIoqiiEqnIUMVQIIhNhup3bCpTdfqJ2fm1vNYJKCalOtWp/500suj/uy09tqWhVEn3K2zB4q29a6aEEFPC0jODW5vxHLJokglXYPK+OlMquW76KrfKnznNxvQVeS9640NGweOXgQ+eqNzhMPBNLCk3e2bLyWDcgzcIOz11BSkh0+UgC+8/Wq52pWcPY
15416P530ke28lnY2Ck+RwcBnHhVw4bfwgOTUtX+5GTTFJYqxR3czN48AyMMo2VB+/iT3EIxSyn0LDsoTyzgy95vT0snumyFtgKku74iwJ9YArS7FthLpqJXoMtUYuGKYyToR26S5dufW1OcaE+8AuAounDnVyiGOWhk3ddYSd6P874uixOMjnwwWtOWamQg8wBh9bUJP+jyFDkrKDz/0wcsyU3p1OnuI9pnRQc5MwICtbVVdn+wWnQG5PTVn8xh1pZy4nwbOnHmxg0xdWNJQ1FsgEBpQk9mXuYpvavxtoubZ1mLTxNI1/FnSOiqen44T7ONF6gbV5tYYpB0AIdZlengeGJl7qLLn34O35enbXCq2QwW/wDdOUQqf+RePPTyVrDOoNRYtjFuKtaatS/cHF0sHLpTRbwX5Vqt2PpjJ5F75BLM1umj6MwEKDG/yQHpwdJTXtZKLsbZm9i2KTwjIa3X/8CG2xy01Dpwer9REk5amC6Wf4yojWGmCuac2Z+6VEozLhEOy0fVbqMPVWqR5LLr06XgmCxrmMUaK1uFvBM76zY+ANS+b+/eVADwTZQgtX6PfX5T2BZ5FD0Z/nrbSyzZJoseX/9PHZHLdYno6dwafTsB5+7W3WNaVb4X9739GBNx5rn22v3rxNtp8UqKvXM3RMcCTnjve1A0r9Fs4H2IWeOR871UVjFn4jrCPa91HvDVD4OKuIMxA5TBLs73gQUw39QlgQGwtGo2Fl7re1vXktlyl0L//NI+E9c28Vo+6Kcardi3lQO5lQtN93gGV5X3Bfm3G8FYYDrPDgF5VEzqcC4Q9TtdxXrbwr9E0Med/WIbiHiOdEjWSnAym64NY+KL8BNdguPiG+zRZskSxhGi6fX0VVshaFyurJjsOjkFkRLFGxwZwY1WULVamXDRJN7iTr7n9qktZT1t1f8x2gE6o72OC2UM7OIfTlJeyp5oPht9cPvyk+JR7bdWiqp+z4rwHhDxmD+XP1frk1durQmG2RVzWujmqKNb91K7u9fhmcAX2H1tGM/ruWNcoLP4VkutbHn2KpGWfNcuIWt/4YMJPcCY5hD2yfHjQFQkA3pt0SEsotekebOBOsyFnXFTpnKdoeObGk9zceQf61z1nZFzlW5g4GyCJhswb7Dx7cIgjg68mkyrPT9GIC+H6o9HokfakKV0ARdUmN7npUQTuXWWbWF1xVMgRtenSvv0jAau/F3rqxcLWVqnQXUMN/5bx2wf6k6Ntw3bwIrf53s+LCVqAimiqJuNn8h6C9jjXboelIMUTi9BE3wzKsLxbxFCHiMWaZso6+k3N545TGTX8LIvujiYZ/AJX+SkH3/Ij6bth44cjm6r1c+ZP4r2vweF/iM61rOJLTpX4/OoYdwT3GoyPIotFcVydVKm+oAlL/OePkCYYEaj5cVDE/8Jl5W/geX8G1wGw8y4I1gMhCtHUIqBYBCS26PyXmq0tyOf3cFYjJ9L9Km9sVNlqMP9yyOjMM5gsX+Q2gq5K/hp0ny9GFZl6sbQCbzsR9/+cyAFmPe3J95p3sa/qf6V6DMjj4H9sQ/3vPa0kzToFGk5AYv9UIeq72diZTT6Xtj8EVedejUMce9G3lUH8z6uce7pONhGOFxHUCq+3MrAc9DkzStL+0oCqh4x8zZ9pt6Y2sDAkiCaKKGHsY3mEYua6NX8d/tzrtjnulDN9qyiIzAt+/RUBE5ao5K0P6Cc2CHybiihLWfK7EYO2pQGKul88r8X75BmzgLFlJscQeQDC1my0OzZcvqA1vob4ojIi9E+SHNjiMozIo27A8aXevSXm3G6yERQmLCmf7KUxYRnseuG6oEyE//ebWPq68xEp6LkGZjVZDWC63J0yEsE4fibZSIZgEkAwODL29xqmnPU/WWZrh6C6NasEA71vus/sm6p4j1of90kZ9WZU8rM8M4rdF8JXnDMMiOc7sEwvGu16jYaBElMuSIMNG/FdYDkqWdbq0LJQDHCA3afkcUIMewRLznR74yTSxrN34P5PsXnKItnnOsmGytjDfzoEQcvDKijwA/uXw/fu0/yZQY1go5c2tUub/iL8NxEkZNbG2qDCbyj1tReA5t5ml14vzpQKrDrjZySAe1Sc2cdr0a3gqq3HMCK0pY9nnsXkK1YSexz1T/qqPdCoLRBkBhZrQxCEyE6MbZJKoKa+riqS/WLRUbVu5mBHN5zb2myoEfHhl1+d8XDSc6wmQsjDfm7k8Ckg9cExq1ZMEGisQorf9Grh/z2RWD9Xqy737xFeWbq1lWkNuikx9ads/9cpxoPB2jy3EqBoC+k5Fjd8RjECy3eJYRI6oGbPcOZ0z7vCQW+pMw7is1ffTfglH2+GI5LlwKs+WEmw4uaY2YdDPMHN/PT0D5tyjr6A/8KoUN0jNeTS1JzTaQBJhJ5wIECKGZf6rTZZsmQnv/EgttH5p5OlavnfVIGb7VPJ1b4cIbGF9yN1D5K4m1hfa6kYcUXSFg+JEh0lC01Wfe4bd1t/57IuGDqAQK0mC5//kBaf/HG99lSiwMZCgpbx9skUToQalVP+RVYurtJ/IPG0iU9+maZG18j32J4r7op61zib1tJ5z/e3d2XasOmDlLImNYpxjZnaziwVLCDH+JxMXfqepH8JFIHR9BvZJNyIdLSoJqEDX+XRNV7H4NsTx60jfe2/YcQzESBcIjjdkaiBxspXNzIvQs41PmuGnWbS5UNqOwL2+Rqt/SdM/wjPlaNR9/a+yjhPIXJYsd1L3UMt92yVemHKIZG9b5R4p7c3MKl9OTmhZv0fzqlGSQIv59jcy5njarii/lcqoTfoZEIpUcH/EuSb8LYD/m/C06UPNZuRoO4i8cZ0AhNeLZ8u77gWTwO2y7FklcX+yyHkSAs4n69WD3MpY5vrBCG8J9mN7y7pUYfEoheMdYF7fqIhXPZHOX1jXDD7te6Ylh2kHlPNHEXxibr0teT1B6CveZwKLVuHwqkbOU7d6c87vBkVPFgjBnDe/SbXNKwDhckfGv3DnIIZBqPtWB1uwJ9PaQ/13XYXZ9seB4gU0GH23Q2trzeGDRrpImoAa6m3YG1j2Vo2OEjjAuTV3Q1SzOIAwoqSU9LJFvDXap61QciMlUMBysVWCXLm2TWWv50VyXw4wLuGUxmiuXqPBS+IZ+n0XjLKZZXZY/HRjkz2yz42xhC80J//IQNJU1i/FUUZnfsZEkACnZZ+8S2KtcWPUspYcx2eMm6WsL0kG9eiCyNTyo5kdT+gaIMs8Z7ZwgfbuTyybBNO+z4fi84Ib0g+4UHOQK19/T1x7HAAZ8QiEtQ0dwmTD2kVqJGW7asaM7N0DGcygNh9+MPndRZXSwVPSg9MBXXOITQh4mGfm494P4dMk0hjawREo3Jrp2rt6KkuOOSRempKkiAh9DfyhZqSBhp1ZfjeFfRb10ddKtqTYjREmyh1hmdhk+EyyCpEIF2/hPCl4q1qrLNFjHj+d/a1LTfiqXOn8CGaqgJoJWn+2r1Xr91rSf/zfqzstCvYxFmFkt+ZRyV5dsXGUt7owsLE2qUAR/bgAAA",vN=g.lazy(()=>G(()=>import("./mermaid-HWGCJPDP-BiqwOrzR.js").then(e=>e.A),__vite__mapDeps([0,1,2,3,4,5,6]))),xN=()=>{const{lang:e}=Ws(),{pathname:t}=gt(),[n,r]=g.useState(!1),[i,o]=g.useState(!1),[s,a]=g.useState(!1);if(g.useEffect(()=>r(!0),[]),g.useEffect(()=>{if(!n||i)return;const u=/lovable(project)?\.(app|com)$|^localhost$/.test(window.location.hostname);try{if(!u&&sessionStorage.getItem("gia-hint"))return}catch{return}let d;const f=()=>{if(document.querySelector('[role="dialog"]')){h=setTimeout(f,1e4);return}try{sessionStorage.setItem("gia-hint","1")}
154catch{}a(!0),d=setTimeout(()=>a(!1),5e3),w()};let h=setTimeout(f,1e4);const v=()=>{clearTimeout(h),h=setTimeout(f,1e4)},m=["scroll","pointerdown","keydown","touchstart","wheel"],w=()=>m.forEach(y=>window.removeEventListener(y,v));return m.forEach(y=>window.addEventListener(y,v,{passive:!0})),()=>{clearTimeout(h),d&&clearTimeout(d),w()}},[n,i]),!n||t.startsWith("/admin"))return null;const l=e==="en"?"The GS1 assistant":"Asistentul GS1",c=e==="en"?"Got a question about GS1?":"Ai o întrebare despre GS1?";return p.jsxs(p.Fragment,{children:[!i&&s&&p.jsxs("button",{type:"button",onClick:()=>{a(!1),o(!0)},className:"fixed bottom-6 right-[4.875rem] z-40 origin-right rounded-[1.25rem] rounded-br-md bg-background px-4 py-2.5 text-sm font-medium text-foreground shadow-[0_10px_28px_-10px_hsl(var(--primary)/0.45)] ring-1 ring-primary/15 transition-transform hover:-translate-y-0.5 animate-in fade-in slide-in-from-right-3 zoom-in-75 duration-500 md:bottom-8 md:right-[5.375rem]",children:[c,p.jsx("span",{"aria-hidden":"true",className:"absolute -right-1 bottom-2 h-3 w-3 rotate-45 rounded-[2px] bg-background ring-1 ring-primary/15 [clip-path:polygon(0_0,100%_0,100%_100%)]"})]}),!i&&p.jsxs("button",{type:"button",onClick:()=>o(!0),"aria-label":`GIA – ${l}`,className:`group fixed bottom-4 right-4 z-40 inline-flex items-center rounded-full bg-primary p-1 text-primary-foreground shadow-[0_12px_30px_-8px_hsl(var(--primary)/0.55)] transition-all duration-300 ease-out hover:-translate-y-0.5 hover:pr-4 focus-visible:pr-4 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:bottom-6 md:right-6 ${s?"animate-bounce [animation-duration:1.8s] [animation-iteration-count:2] motion-reduce:animate-none":"animate-in fade-in zoom-in-75 duration-200"}`,children:[p.jsx("img",{src:yN,alt:"",width:44,height:44,className:"h-11 w-11 shrink-0 rounded-full ring-2 ring-primary-foreground/30"}),p.jsx("span",{className:"grid grid-cols-[0fr] transition-[grid-template-columns] duration-300 ease-out group-hover:grid-cols-[1fr] group-focus-visible:grid-cols-[1fr]",children:p.jsx("span",{className:"overflow-hidden",children:p.jsxs("span",{className:"flex flex-col whitespace-nowrap pl-2.5 text-left leading-tight opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-hover:delay-100 group-focus-visible:opacity-100",children:[p.jsx("span",{className:"text-sm font-semibold",children:"GIA"}),p.jsx("span",{className:"text-[11px] text-primary-foreground/75",children:l})]})})})]}),i&&p.jsx(g.Suspense,{fallback:null,children:p.jsx(vN,{lang:e,onClose:()=>o(!1)})})]})},kp=g.createContext({});function Np(e){const t=g.useRef(null);return t.current===null&&(t.current=e()),t.current}const uc=g.createContext(null),jp=g.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class wN extends g.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function bN({children:e,isPresent:t}){const n=g.useId(),r=g.useRef(null),i=g.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=g.useContext(jp);return g.useInsertionEffect(()=>{const{width:s,height:a,top:l,left:c}=i.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;const u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
155          [data-motion-pop-id="${n}"] {
156            position: absolute !important;
157            width: ${s}px !important;
158            height: ${a}px !important;
159            top: ${l}px !important;
160            left: ${c}px !important;
161          }
162        `),()=>{document.head.removeChild(u)}},[t]),p.jsx(wN,{isPresent:t,childRef:r,sizeRef:i,children:g.cloneElement(e,{ref:r})})}const SN=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{const a=Np(EN),l=g.useId(),c=g.useCallback(d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},[a,r]),u=g.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:c,register:d=>(a.set(d,!1),()=>
vendor: 7,409 bytes, line 162
162a.delete(d))}),o?[Math.random(),c]:[n,c]);return g.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),g.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=p.jsx(bN,{isPresent:n,children:e})),p.jsx(uc.Provider,{value:u,children:e})};function EN(){return new Map}function sw(e=!0){const t=g.useContext(uc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=g.useId();g.useEffect(()=>{e&&i(o)},[e]);const s=g.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const Ea=e=>e.key||"";function xg(e){const t=[];return g.Children.forEach(e,n=>{g.isValidElement(n)&&t.push(n)}),t}const Dp=typeof window<"u",aw=Dp?g.useLayoutEffect:g.useEffect,TN=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1})=>{const[a,l]=sw(s),c=g.useMemo(()=>xg(e),[e]),u=s&&!a?[]:c.map(Ea),d=g.useRef(!0),f=g.useRef(c),h=Np(()=>new Map),[v,m]=g.useState(c),[w,y]=g.useState(c);aw(()=>{d.current=!1,f.current=c;for(let S=0;S<w.length;S++){const E=Ea(w[S]);u.includes(E)?h.delete(E):h.get(E)!==!0&&h.set(E,!1)}},[w,u.length,u.join("-")]);const x=[];if(c!==v){let S=[...c];for(let E=0;E<w.length;E++){const T=w[E],C=Ea(T);u.includes(C)||(S.splice(E,0,T),x.push(T))}o==="wait"&&x.length&&(S=x),y(xg(S)),m(c);return}const{forceRender:b}=g.useContext(kp);return p.jsx(p.Fragment,{children:w.map(S=>{const E=Ea(S),T=s&&!a?!1:c===w||u.includes(E),C=()=>{if(h.has(E))h.set(E,!0);else return;let P=!0;h.forEach(j=>{j||(P=!1)}),P&&(b==null||b(),y(f.current),s&&(l==null||l()),r&&r())};return p.jsx(SN,{isPresent:T,initial:!d.current||n?void 0:!1,custom:T?void 0:t,presenceAffectsLayout:i,mode:o,onExitComplete:T?void 0:C,children:S},E)})})},dt=e=>e;let Bd=dt;function Op(e){let t;return()=>(t===void 0&&(t=e()),t)}const oo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},xn=e=>e*1e3,wn=e=>e/1e3,CN={skipAnimations:!1,useManualTiming:!1};function PN(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(c){o.has(c)&&(l.schedule(c),e()),c(s)}const l={schedule:(c,u=!1,d=!1)=>{const h=d&&r?t:n;return u&&o.add(c),h.has(c)||h.add(c),c},cancel:c=>{n.delete(c),o.delete(c)},process:c=>{if(s=c,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(c))}};return l}const Ta=["read","resolveKeyframes","update","preRender","render","postRender"],AN=40;function lw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Ta.reduce((y,x)=>(y[x]=PN(o),y),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:f}=s,h=()=>{const y=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,AN),1),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},v=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ta.reduce((y,x)=>{const b=s[x];return y[x]=(S,E=!1,T=!1)=>(n||v(),b.schedule(S,E,T)),y},{}),cancel:y=>{for(let x=0;x<Ta.length;x++)s[Ta[x]].cancel(y)},state:i,steps:s}}const{schedule:ue,cancel:hr,state:je,steps:uu}=lw(typeof requestAnimationFrame<"u"?requestAnimationFrame:dt,!0),cw=g.createContext({strict:!1}),wg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},so={};for(const e in wg)so[e]={isEnabled:t=>wg[e].some(n=>!!t[n])};function RN(e){for(const t in e)so[t]={...so[t],...e[t]}}const kN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function kl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||kN.has(e)}let uw=e=>!kl(e);function NN(e){e&&(uw=t=>t.startsWith("on")?!kl(t):e(t))}try{NN(require("@emotion/is-prop-valid").default)}catch{}function jN(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(uw(i)||n===!0&&kl(i)||!t&&!kl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function DN(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const dc=g.createContext({});function Rs(e){return typeof e=="string"||Array.isArray(e)}function fc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Lp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Mp=["initial",...Lp];function pc(e){return fc(e.animate)||Mp.some(t=>Rs(e[t]))}function dw(e){return!!(pc(e)||e.variants)}function ON(e,t){if(pc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Rs(n)?n:void 0,animate:Rs(r)?r:void 0}}return e.inherit!==!1?t:{}}function LN(e){const{initial:t,animate:n}=ON(e,g.useContext(dc));return g.useMemo(()=>({initial:t,animate:n}),[bg(t),bg(n)])}function bg(e){return Array.isArray(e)?e.join(" "):e}const MN=Symbol.for("motionComponentSymbol");function Pi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function IN(e,t,n){return g.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Pi(n)&&(n.current=r))},[t])}const Ip=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),_N="framerAppearId",fw="data-"+Ip(_N),{schedule:_p,cancel:FI}=lw(queueMicrotask,!1),pw=g.createContext({});function zN(e,t,n,r,i){var o,s;const{visualElement:a}=g.useContext(dc),l=g.useContext(cw),c=g.useContext(uc),u=g.useContext(jp).reducedMotion,d=g.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));const f=d.current,h=g.useContext(pw);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&VN(d.current,n,i,h);const v=g.useRef(!1);g.useInsertionEffect(()=>{f&&v.current&&f.update(n,c)});const m=n[fw],w=g.useRef(!!m&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,m))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,m)));return aw(()=>{f&&(v.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),_p.render(f.render),w.current&&f.animationState&&f.animationState.animateChanges())}),g.useEffect(()=>{f&&(!w.current&&f.animationState&&f.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)===null||y===void 0||y.call(window,m)}),w.current=!1))}),f}function VN(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:hw(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&Pi(a),visualElement:e,animationType:typeof o=="str
162ing"?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function hw(e){if(e)return e.options.allowProjection!==!1?e.projection:hw(e.parent)}function GN({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var o,s;e&&RN(e);function a(c,u){let d;const f={...g.useContext(jp),...c,layoutId:FN(c)},{isStatic:h}=f,v=LN(c),m=r(c,h);if(!h&&Dp){BN();const w=UN(f);d=w.MeasureLayout,v.visualElement=zN(i,m,f,t,w.ProjectionNode)}return p.jsxs(dc.Provider,{value:v,children:[d&&v.visualElement?p.jsx(d,{visualElement:v.visualElement,...f}):null,n(i,c,IN(m,v.visualElement,u),m,h,v.visualElement)]})}a.displayName=`motion.${typeof i=="string"?i:`create(${(s=(o=i.displayName)!==null&&o!==void 0?o:i.name)!==null&&s!==void 0?s:""})`}`;const l=g.forwardRef(a);return l[MN]=i,l}function FN({layoutId:e}){const t=g.useContext(kp).id;return t&&e!==void 0?t+"-"+e:e}function BN(e,t){g.useContext(cw).strict}function UN(e){const{drag:t,layout:n}=so;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const $N=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function zp(e){return typeof e!="string"||e.includes("-")?!1:!!($N.indexOf(e)>-1||/[A-Z]/u.test(e))}function Sg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Vp(e,t,n,r){if(typeof t=="function"){const[i,o]=Sg(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=Sg(r);t=t(n!==void 0?n:e.custom,i,o)}return t}const Ud=e=>Array.isArray(e),WN=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),HN=e=>Ud(e)?e[e.length-1]||0:e,$e=e=>!!(e&&e.getVelocity);function Ka(e){const t=$e(e)?e.get():e;return WN(t)?t.toValue():t}function KN({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,o){const s={latestValues:XN(r,i,o,e),renderState:t()};return n&&(s.onMount=a=>n({props:r,current:a,...s}),s.onUpdate=a=>n(a)),s}const mw=e=>(t,n)=>{const r=g.useContext(dc),i=g.useContext(uc),o=()=>KN(e,t,r,i);return n?o():Np(o)};function XN(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Ka(o[f]);let{initial:s,animate:a}=e;const l=pc(e),c=dw(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const d=u?a:s;if(d&&typeof d!="boolean"&&!fc(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const v=Vp(e,f[h]);if(v){const{transitionEnd:m,transition:w,...y}=v;for(const x in y){let b=y[x];if(Array.isArray(b)){const S=u?b.length-1:0;b=b[S]}b!==null&&(i[x]=b)}for(const x in m)i[x]=m[x]}}}return i}const yo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ti=new Set(yo),gw=e=>t=>typeof t=="string"&&t.startsWith(e),yw=gw("--"),QN=gw("var(--"),Gp=e=>QN(e)?qN.test(e.split("/*")[0].trim()):!1,qN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vw=(e,t)=>t&&typeof e=="number"?t.transform(e):e,An=(e,t,n)=>n>t?t:n<e?e:n,vo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ks={...vo,transform:e=>An(0,1,e)},Ca={...vo,default:1},Hs=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gn=Hs("deg"),sn=Hs("%"),$=Hs("px"),YN=Hs("vh"),ZN=Hs("vw"),Eg={...sn,parse:e=>sn.parse(e)/100,transform:e=>sn.transform(e*100)},JN={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,backgroundPositionX:$,backgroundPositionY:$},ej={rotate:Gn,rotateX:Gn,rotateY:Gn,rotateZ:Gn,scale:Ca,scaleX:Ca,scaleY:Ca,scaleZ:Ca,skew:Gn,skewX:Gn,skewY:Gn,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:ks,originX:Eg,originY:Eg,originZ:$},Tg={...vo,transform:Math.round},Fp={...JN,...ej,zIndex:Tg,size:$,fillOpacity:ks,strokeOpacity:ks,numOctaves:Tg},tj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nj=yo.length;function rj(e,t,n){let r="",i=!0;for(let o=0;o<nj;o++){const s=yo[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const c=vw(a,Fp[s]);if(!l){i=!1;const u=tj[s]||s;r+=`${u}(${c}) `}n&&(t[s]=c)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Bp(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const l in t){const c=t[l];if(ti.has(l)){s=!0;continue}else if(yw(l)){i[l]=c;continue}else{const u=vw(c,Fp[l]);l.startsWith("origin")?(a=!0,o[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=rj(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}const ij={offset:"stroke-dashoffset",array:"stroke-dasharray"},oj={offset:"strokeDashoffset",array:"strokeDasharray"};function sj(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?ij:oj;e[o.offset]=$.transform(-r);const s=$.transform(t),a=$.transform(n);e[o.array]=`${s} ${a}`}function Cg(e,t,n){return typeof e=="string"?e:$.transform(t+n*e)}function aj(e,t,n){const r=Cg(t,e.x,e.width),i=Cg(n,e.y,e.height);return`${r} ${i}`}function Up(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c}
vendor: 17,674 bytes, line 162
162,u,d){if(Bp(e,c,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:v}=e;f.transform&&(v&&(h.transform=f.transform),delete f.transform),v&&(i!==void 0||o!==void 0||h.transform)&&(h.transformOrigin=aj(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&sj(f,s,a,l,!1)}const $p=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),xw=()=>({...$p(),attrs:{}}),Wp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ww(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const bw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Sw(e,t,n,r){ww(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(bw.has(i)?i:Ip(i),t.attrs[i])}const Nl={};function lj(e){Object.assign(Nl,e)}function Ew(e,{layout:t,layoutId:n}){return ti.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Nl[e]||e==="opacity")}function Hp(e,t,n){var r;const{style:i}=e,o={};for(const s in i)($e(i[s])||t.style&&$e(t.style[s])||Ew(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function Tw(e,t,n){const r=Hp(e,t,n);for(const i in e)if($e(e[i])||$e(t[i])){const o=yo.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function cj(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Pg=["x","y","width","height","cx","cy","r"],uj={useVisualState:mw({scrapeMotionValuesFromProps:Tw,createRenderState:xw,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let o=!!e.drag;if(!o){for(const a in i)if(ti.has(a)){o=!0;break}}if(!o)return;let s=!t;if(t)for(let a=0;a<Pg.length;a++){const l=Pg[a];e[l]!==t[l]&&(s=!0)}s&&ue.read(()=>{cj(n,r),ue.render(()=>{Up(r,i,Wp(n.tagName),e.transformTemplate),Sw(n,r)})})}})},dj={useVisualState:mw({scrapeMotionValuesFromProps:Hp,createRenderState:$p})};function Cw(e,t,n){for(const r in t)!$e(t[r])&&!Ew(r,n)&&(e[r]=t[r])}function fj({transformTemplate:e},t){return g.useMemo(()=>{const n=$p();return Bp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function pj(e,t){const n=e.style||{},r={};return Cw(r,n,e),Object.assign(r,fj(e,t)),r}function hj(e,t){const n={},r=pj(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function mj(e,t,n,r){const i=g.useMemo(()=>{const o=xw();return Up(o,t,Wp(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Cw(o,e.style,e),i.style={...o,...i.style}}return i}function gj(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(zp(n)?mj:hj)(r,o,s,n),c=jN(r,typeof n=="string",e),u=n!==g.Fragment?{...c,...l,ref:i}:{},{children:d}=r,f=g.useMemo(()=>$e(d)?d.get():d,[d]);return g.createElement(n,{...u,children:f})}}function yj(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const s={...zp(r)?uj:dj,preloadedFeatures:e,useRender:gj(i),createVisualElement:t,Component:r};return GN(s)}}function Pw(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function hc(e,t,n){const r=e.getProps();return Vp(r,t,n!==void 0?n:r.custom,e)}const vj=Op(()=>window.ScrollTimeline!==void 0);class xj{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>{if(vj()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class wj extends xj{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Kp(e,t){return e?e[t]||e.default||e:void 0}const $d=2e4;function Aw(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<$d;)t+=n,r=e.next(t);return t>=$d?1/0:t}function Xp(e){return typeof e=="function"}function Ag(e,t){e.timeline=t,e.onfinish=null}const Qp=e=>Array.isArray(e)&&typeof e[0]=="number",bj={linearEasing:void 0};function Sj(e,t){const n=Op(e);return()=>{var r;return(r=bj[t])!==null&&r!==void 0?r:n()}}const jl=Sj(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Rw=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=e(oo(0,i-1,o))+", ";return`linear(${r.substring(0,r.length-2)})`};function kw(e){return!!(typeof e=="function"&&jl()||!e||typeof e=="string"&&(e in Wd||jl())||Qp(e)||Array.isArray(e)&&e.every(kw))}const Vo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vo([0,.65,.55,1]),circOut:Vo([.55,0,1,.45]),backIn:Vo([.31,.01,.66,-.59]),backOut:Vo([.33,1.53,.69,.99])};function Nw(e,t){if(e)return typeof e=="function"&&jl()?Rw(e,t):Qp(e)?Vo(e):Array.isArray(e)?e.map(n=>Nw(n,t)||Wd.easeOut):Wd[e]}const Lt={x:!1,y:!1};function jw(){return Lt.x||Lt.y}function Ej(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const o=(r=n==null?void 0:n[e])!==null&&r!==void 0?r:i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function Dw(e,t){const n=Ej(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Rg(e){return t=>{t.pointerType==="touch"||jw()||e(t)}}function Tj(e,t,n={}){const[r,i,o]=Dw(e,n),s=Rg(a=>{const{target:l}=a,c=t(a);if(typeof c!="function"||!l)return;const u=Rg(d=>{c(d),l.removeEventListener("pointerleave",u)});l.addEventListener("pointerleave",u,i)});return r.forEach(a=>{a.addEventListener("pointerenter",s,i)}),o}const Ow=(e,t)=>t?e===t?!0:Ow(e,t.parentElement):!1,qp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Cj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Pj(e){return Cj.has(e.tagName)||e.tabIndex!==-1}const Go=new WeakSet;function kg(e){return t=>{t.key==="Enter"&&e(t)}}function du(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Aj=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=kg(()=>{if(Go.has(n))return;du(n,"down");const i=kg(()=>{du(n,"up")}),o=()=>du(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Ng(e){return qp(e)&&!jw()}function Rj(e,t,n={}){const[r,i,o]=Dw(e,n),s=a=>{const l=a.currentTarget;if(!Ng(a)||Go.has(l))return;Go.add(l);const c=t(a),u=(h,v)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Ng(h)||!Go.has(l))&&(Go.delete(l),typeof c=="function"&&c(h,{success:v}))},d=h=>{u(h,n.useGlobalTarget||Ow(l,h.target))},f=h=>{u(h,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(a=>{!Pj(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,i),a.addEventListener("focus",c=>Aj(c,i),i)}),o}function kj(e){return e==="x"||e==="y"?Lt[e]?null:(Lt[e]=!0,()=>{Lt[e]=!1}):Lt.x||Lt.y?null:(Lt.x=Lt.y=!0,()=>{Lt.x=Lt.y=!1})}const Lw=new Set(["width","height","top","left","right","bottom",...yo]);let Xa;function Nj(){Xa=void 0}const an={now:()=>(Xa===void 0&&an.set(je.isProcessing||CN.useManualTiming?je.timestamp:performance.now()),Xa),set:e=>{Xa=e,queueMicrotask(Nj)}};function Yp(e,t){e.indexOf(t)===-1&&e.push(t)}function Zp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Jp{constructor(){this.subscriptions=[]}add(t){return Yp(this.subscriptions,t),()=>Zp(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Mw(e,t){return t?e*(1e3/t):0}const jg=30,jj=e=>!isNaN(parseFloat(e));class Dj{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=an.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=an.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=jj(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Jp);const r=this.events[t].add(n);return t==="change"?()=>{r(),ue.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=an.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>jg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,jg);return Mw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ns(e,t){return new Dj(e,t)}function Oj(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ns(n))}function Lj(e,t){const n=hc(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=HN(o[s]);Oj(e,s,a)}}function Mj(e){return!!($e(e)&&e.add)}function Hd(e,t){const n=e.getValue("willChange");if(Mj(n))return n.add(t)}function Iw(e){return e.props[fw]}const _w=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ij=1e-7,_j=12;function zj(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=_w(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>Ij&&++a<_j);return s}function Ks(e,t,n,r){if(e===t&&n===r)return dt;const i=o=>zj(o,0,1,e,n);return o=>o===0||o===1?o:_w(i(o),t,r)}const zw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Vw=e=>t=>1-e(1-t),Gw=Ks(.33,1.53,.69,.99),eh=Vw(Gw),Fw=zw(eh),Bw=e=>(e*=2)<1?.5*eh(e):.5*(2-Math.pow(2,-10*(e-1))),th=e=>1-Math.sin(Math.acos(e)),Uw=Vw(th),$w=zw(th),Ww=e=>/^0[^.\s]+$/u.test(e);function Vj(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ww(e):!0}const Zo=e=>Math.round(e*1e5)/1e5,nh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Gj(e){return e==null}const Fj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rh=(e,t)=>n=>!!(typeof n=="string"&&Fj.test(n)&&n.startsWith(e)||t&&!Gj(n)&&Object.prototype.hasOwnProperty.call(n,t)),Hw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(nh);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Bj=e=>An(0,255,e),fu={...vo,transform:e=>Math.round(Bj(e))},Mr={test:rh("rgb","red"),parse:Hw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+fu.transform(e)+", "+fu.transform(t)+", "+fu.transform(n)+", "+Zo(ks.transform(r))+")"};function Uj(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Kd={test:rh("#"),parse:Uj,transform:Mr.transform},Ai={test:rh("hsl","hue"),parse:Hw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+sn.transform(Zo(t))+", "+sn.transform(Zo(n))+", "+Zo(ks.transform(r))+")"},Fe={test:e=>Mr.test(e)||Kd.test(e)||Ai.test(e),parse:e=>Mr.test(e)?Mr.parse(e):Ai.test(e)?Ai.parse(e):Kd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Mr.transform(e):Ai.transform(e)},$j=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Wj(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(nh))===null||t===void 0?void 0:t.length)||0)+(((n=e.match($j))===null||n===void 0?void 0:n.length)||0)>0}const Kw="number",Xw="color",Hj="var",Kj="var(",Dg="${}",Xj=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function js(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(Xj,l=>(Fe.test(l)?(r.color.push(o),i.push(Xw),n.push(Fe.parse(l))):l.startsWith(Kj)?(r.var.push(o),i.push(Hj),n.push(l)):(r.number.push(o),i.push(Kw),n.push(parseFloat(l))),++o,Dg)).split(Dg);return{values:n,split:a,indexes:r,types:i}}function Qw(e){return js(e).values}function qw(e){const{split:t,types:n}=js(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const a=n[s];a===Kw?o+=Zo(i[s]):a===Xw?o+=Fe.transform(i[s]):o+=i[s]}return o}}const Qj=e=>typeof e=="number"?0:e;function qj(e){const t=Qw(e);return qw(e)(t.map(Qj))}const mr={test:Wj,parse:Qw,createTransformer:qw,getAnimatableNone:qj},Yj=new Set(["brightness","contrast","saturate","opacity"]);function Zj(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(nh)||[];if(!r)return e;const i=n.replace(r,"");let o=Yj.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Jj=/\b([a-z-]*)\(.*?\)/gu,Xd={...mr,getAnimatableNone:e=>{const t=e.match(Jj);return t?t.map(Zj).join(" "):e}},eD={...Fp,color:Fe,backgroundColor:Fe,outlineColor:Fe,fill:Fe,stroke:Fe,borderColor:Fe,borderTopColor:Fe,borderRightColor:Fe,borderBottomColor:Fe,borderLeftColor:Fe,filter:Xd,WebkitFilter:Xd},ih=e=>eD[e];function Yw(e,t){let n=ih(e);return n!==Xd&&(n=mr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const tD=new Set(["auto","none","0"]);function nD(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!tD.has(o)&&js(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=Yw(n,i)}const Og=e=>e===vo||e===$,Lg=(e,t)=>parseFloat(e.split(", ")[t]),Mg=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Lg(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Lg(o[1],e):0}},rD=new Set(["x","y","z"]),iD=yo.filter(e=>!rD.has(e));function oD(e){const t=[];return iD.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ao={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Mg(4,13),y:Mg(5,14)};ao.translateX=ao.x;ao.translateY=ao.y;const Wr=new Set;let Qd=!1,qd=!1;function Zw(){if(qd){const e=Array.from(Wr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=oD(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}
vendor: 14,974 bytes, line 162
162qd=!1,Qd=!1,Wr.forEach(e=>e.complete()),Wr.clear()}function Jw(){Wr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(qd=!0)})}function sD(){Jw(),Zw()}class oh{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Wr.add(this),Qd||(Qd=!0,ue.read(Jw),ue.resolveKeyframes(Zw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){const s=i==null?void 0:i.get(),a=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),i&&s===void 0&&i.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Wr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Wr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const eb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),aD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lD(e){const t=aD.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function tb(e,t,n=1){const[r,i]=lD(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return eb(s)?parseFloat(s):s}return Gp(i)?tb(i,t,n+1):i}const nb=e=>t=>t.test(e),cD={test:e=>e==="auto",parse:e=>e},rb=[vo,$,sn,Gn,ZN,YN,cD],Ig=e=>rb.find(nb(e));class ib extends oh{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),Gp(c))){const u=tb(c,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!Lw.has(r)||t.length!==2)return;const[i,o]=t,s=Ig(i),a=Ig(o);if(s!==a)if(Og(s)&&Og(a))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)Vj(t[i])&&r.push(i);r.length&&nD(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ao[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const s=i.length-1,a=i[s];i[s]=ao[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{n.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const _g=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(mr.test(e)||e==="0")&&!e.startsWith("url("));function uD(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function dD(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=_g(i,t),a=_g(o,t);return!s||!a?!1:uD(e)||(n==="spring"||Xp(n))&&r}const fD=e=>e!==null;function mc(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(fD),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const pD=40;class ob{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=an.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>pD?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&sD(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=an.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:s,onComplete:a,onUpdate:l,isGenerator:c}=this.options;if(!c&&!dD(t,r,i,o))if(s)this.options.duration=0;else{l&&l(mc(t,this.options,n)),a&&a(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const he=(e,t,n)=>e+(t-e)*n;function pu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hD({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=pu(l,a,e+1/3),o=pu(l,a,e),s=pu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Dl(e,t){return n=>n>0?t:e}const hu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},mD=[Kd,Mr,Ai],gD=e=>mD.find(t=>t.test(e));function zg(e){const t=gD(e);if(!t)return!1;let n=t.parse(e);return t===Ai&&(n=hD(n)),n}const Vg=(e,t)=>{const n=zg(e),r=zg(t);if(!n||!r)return Dl(e,t);const i={...n};return o=>(i.red=hu(n.red,r.red,o),i.green=hu(n.green,r.green,o),i.blue=hu(n.blue,r.blue,o),i.alpha=he(n.alpha,r.alpha,o),Mr.transform(i))},yD=(e,t)=>n=>t(e(n)),Xs=(...e)=>e.reduce(yD),Yd=new Set(["none","hidden"]);function vD(e,t){return Yd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function xD(e,t){return n=>he(e,t,n)}function sh(e){return typeof e=="number"?xD:typeof e=="string"?Gp(e)?Dl:Fe.test(e)?Vg:SD:Array.isArray(e)?sb:typeof e=="object"?Fe.test(e)?Vg:wD:Dl}function sb(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>sh(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function wD(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=sh(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function bD(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],a=e.indexes[s][i[s]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[o]=l,i[s]++}return r}const SD=(e,t)=>{const n=mr.createTransformer(t),r=js(e),i=js(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Yd.has(e)&&!i.values.length||Yd.has(t)&&!r.values.length?vD(e,t):Xs(sb(bD(r,i),i.values),n):Dl(e,t)};function ab(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?he(e,t,n):sh(e)(e,t)}const ED=5;function lb(e,t,n){const r=Math.max(t-ED,0);return Mw(n-e(r),t-r)}const ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},mu=.001;function TD({duration:e=ve.duration,bounce:t=ve.bounce,velocity:n=ve.velocity,mass:r=ve.mass}){let i,o,s=1-t;s=An(ve.minDamping,ve.maxDamping,s),e=An(ve.minDuration,ve.maxDuration,wn(e)),s<1?(i=c=>{const u=c*s,d=u*e,f=u-n,h=Zd(c,s),v=Math.exp(-d);return mu-f/h*v},o=c=>{const d=c*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(c,2)*e,v=Math.exp(-d),m=Zd(Math.pow(c,2),s);return(-i(c)+mu>0?-1:1)*((f-h)*v)/m}):(i=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-mu+u*d},o=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const a=5/e,l=PD(i,o,a);if(e=xn(e),isNaN(l))return{stiffness:ve.stiffness,damping:ve.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}const CD=12;function PD(e,t,n){let r=n;for(let i=1;i<CD;i++)r=r-e(r)/t(r);return r}function Zd(e,t){return e*Math.sqrt(1-t*t)}const AD=["duration","bounce"],RD=["stiffness","damping","mass"];function Gg(e,t){return t.some(n=>e[n]!==void 0)}function kD(e){let t={velocity:ve.velocity,stiffness:ve.stiffness,damping:ve.damping,mass:ve.mass,isResolvedFromDuration:!1,...e};if(!Gg(e,RD)&&Gg(e,AD))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*An(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ve.mass,stiffness:i,damping:o}}else{const n=TD(e);t={...t,...n,mass:ve.mass},t.isResolvedFromDuration=!0}return t}function cb(e=ve.visualDuration,t=ve.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:f,isResolvedFromDuration:h}=kD({...n,velocity:-wn(n.velocity||0)}),v=f||0,m=c/(2*Math.sqrt(l*u)),w=s-o,y=wn(Math.sqrt(l/u)),x=Math.abs(w)<5;r||(r=x?ve.restSpeed.granular:ve.restSpeed.default),i||(i=x?ve.restDelta.granular:ve.restDelta.default);let b;if(m<1){const E=Zd(y,m);b=T=>{const C=Math.exp(-m*y*T);return s-C*((v+m*y*w)/E*Math.sin(E*T)+w*Math.cos(E*T))}}else if(m===1)b=E=>s-Math.exp(-y*E)*(w+(v+y*w)*E);else{const E=y*Math.sqrt(m*m-1);b=T=>{const C=Math.exp(-m*y*T),P=Math.min(E*T,300);return s-C*((v+m*y*w)*Math.sinh(P)+E*w*Math.cosh(P))/E}}const S={calculatedDuration:h&&d||null,next:E=>{const T=b(E);if(h)a.done=E>=d;else{let C=0;m<1&&(C=E===0?xn(v):lb(b,E,T));const P=Math.abs(C)<=r,j=Math.abs(s-T)<=i;a.done=P&&j}return a.value=a.done?s:T,a},toString:()=>{const E=Math.min(Aw(S),$d),T=Rw(C=>S.next(E*C).value,E,30);return E+"ms "+T}};return S}function Fg({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},h=P=>a!==void 0&&P<a||l!==void 0&&P>l,v=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let m=n*t;const w=d+m,y=s===void 0?w:s(w);y!==w&&(m=y-d);const x=P=>-m*Math.exp(-P/r),b=P=>y+x(P),S=P=>{const j=x(P),D=b(P);f.done=Math.abs(j)<=c,f.value=f.done?y:D};let E,T;const C=P=>{h(f.value)&&(E=P,T=cb({keyframes:[f.value,v(f.value)],velocity:lb(b,P,f.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:P=>{let j=!1;return!T&&E===void 0&&(j=!0,S(P),C(P)),E!==void 0&&P>=E?T.next(P-E):(!j&&S(P),f)}}}const ND=Ks(.42,0,1,1),jD=Ks(0,0,.58,1),ub=Ks(.42,0,.58,1),DD=e=>Array.isArray(e)&&typeof e[0]!="number",Bg={linear:dt,easeIn:ND,easeInOut:ub,easeOut:jD,circIn:th,circInOut:$w,circOut:Uw,backIn:eh,backInOut:Fw,backOut:Gw,anticipate:Bw},Ug=e=>{if(Qp(e)){Bd(e.length===4);const[t,n,r,i]=e;return Ks(t,n,r,i)}else if(typeof e=="string")return Bd(Bg[e]!==void 0),Bg[e];return e};function OD(e,t,n){const r=[],i=n||ab,o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||dt:t;a=Xs(l,a)}r.push(a)}return r}function LD(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Bd(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=OD(t,r,i),l=a.length,c=u=>{if(s&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const f=oo(e[d],e[d+1],u);return a[d](f)};return n?u=>c(An(e[0],e[o-1],u)):c}function MD(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=oo(0,t,r);e.push(he(n,1,i))}}function ID(e){const t=[0];return MD(t,e.length-1),t}function _D(e,t){return e.map(n=>n*t)}function zD(e,t){return e.map(()=>t||ub).splice(0,e.length-1)}function Ol({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=DD(r)?r.map(Ug):Ug(r),o={done:!1,value:t[0]},s=_D(n&&n.length===t.length?n:ID(t),e),a=LD(s,t,{ease:Array.isArray(i)?i:zD(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const VD=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ue.update(t,!0),stop:()=>hr(t),now:()=>je.isProcessing?je.timestamp:an.now()}},GD={decay:Fg,inertia:Fg,tween:Ol,keyframes:Ol,spring:cb},FD=e=>e/100;class ah extends ob{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:i,keyframes:o}=this.options,s=(i==null?void 0:i.KeyframeResolver)||oh,a=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new s(o,a,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,a=Xp(n)?n:GD[n]||Ol;let l,c;a!==Ol&&typeof t[0]!="number"&&(l=Xs(FD,ab(t[0],t[1])),t=[0,100]);const u=a({...this.options,keyframes:t});o==="mirror"&&(c=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Aw(u));const{calculatedDuration:d}=u,f=d+i,h=f*(r+1)-i;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:h,repeatType:v,repeatDelay:m,onUpdate:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const y=this.currentTime-f*(this.speed>=0?1:-1),x=this.speed>=0?y<0:y>u;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let b=this.currentTime,S=o;if(h){const P=Math.min(this.currentTime,u)/d;let j=Math.floor(P),D=P%1;!D&&P>=1&&(D=1),D===1&&j--,j=Math.min(j,h+1),!!(j%2)&&(v==="reverse"?(D=1-D,m&&(D-=m/d)):v==="mirror"&&(S=s)),b=An(0,1,D)*d}const E=x?{done:!1,value:l[0]}:S.next(b);a&&(E.value=a(E.value));let{done:T}=E;!x&&c!==null&&(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return C&&i!==void 0&&(E.value=mc(l,this.options,i)),w&&w(E.value),C&&this.finish(),E}get duration(){const{resolved:t}=this;return t?wn(t.calculatedDuration):0}
vendor: 54,403 bytes, line 162
162get time(){return wn(this.currentTime)}set time(t){t=xn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=wn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=VD,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const BD=new Set(["opacity","clipPath","filter","transform"]);function UD(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Nw(a,i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}const $D=Op(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ll=10,WD=2e4;function HD(e){return Xp(e.type)||e.type==="spring"||!kw(e.ease)}function KD(e,t){const n=new ah({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&o<WD;)r=n.sample(o),i.push(r.value),o+=Ll;return{times:void 0,keyframes:i,duration:o-Ll,ease:"linear"}}const db={anticipate:Bw,backInOut:Fw,circInOut:$w};function XD(e){return e in db}class $g extends ob{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:o}=this.options;this.resolver=new ib(o,(s,a)=>this.onKeyframesResolved(s,a),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:i,ease:o,type:s,motionValue:a,name:l,startTime:c}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof o=="string"&&jl()&&XD(o)&&(o=db[o]),HD(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,element:v,...m}=this.options,w=KD(t,m);t=w.keyframes,t.length===1&&(t[1]=t[0]),r=w.duration,i=w.times,o=w.ease,s="keyframes"}const u=UD(a.owner.current,l,t,{...this.options,duration:r,times:i,ease:o});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(Ag(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:d}=this.options;a.set(mc(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:i,type:s,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return wn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return wn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=xn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return dt;const{animation:r}=n;Ag(r,t)}return dt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:c,onUpdate:u,onComplete:d,element:f,...h}=this.options,v=new ah({...h,keyframes:r,duration:i,type:o,ease:s,times:a,isGenerator:!0}),m=xn(this.time);c.setWithVelocity(v.sample(m-Ll).value,v.sample(m).value,Ll)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:s,type:a}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=n.owner.getProps();return $D()&&r&&BD.has(r)&&!l&&!c&&!i&&o!=="mirror"&&s!==0&&a!=="inertia"}}const QD={type:"spring",stiffness:500,damping:25,restSpeed:10},qD=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YD={type:"keyframes",duration:.8},ZD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},JD=(e,{keyframes:t})=>t.length>2?YD:ti.has(e)?e.startsWith("scale")?qD(t[1]):QD:ZD;function eO({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const lh=(e,t,n,r={},i,o)=>s=>{const a=Kp(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-xn(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};eO(a)||(u={...u,...JD(e,u)}),u.duration&&(u.duration=xn(u.duration)),u.repeatDelay&&(u.repeatDelay=xn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(d=!0)),d&&!o&&t.get()!==void 0){const f=mc(u.keyframes,a);if(f!==void 0)return ue.update(()=>{u.onUpdate(f),u.onComplete()}),new wj([])}return!o&&$g.supports(u)?new $g(u):new ah(u)};function tO({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function fb(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const d in l){const f=e.getValue(d,(o=e.latestValues[d])!==null&&o!==void 0?o:null),h=l[d];if(h===void 0||u&&tO(u,d))continue;const v={delay:n,...Kp(s||{},d)};let m=!1;if(window.MotionHandoffAnimation){const y=Iw(e);if(y){const x=window.MotionHandoffAnimation(y,d,ue);x!==null&&(v.startTime=x,m=!0)}}Hd(e,d),f.start(lh(d,f,h,e.shouldReduceMotion&&Lw.has(d)?{type:!1}:v,e,m));const w=f.animation;w&&c.push(w)}return a&&Promise.all(c).then(()=>{ue.update(()=>{a&&Lj(e,a)})}),c}function Jd(e,t,n={}){var r;const i=hc(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(fb(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=o;return nO(e,t,u+c,d,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[c,u]=l==="beforeChildren"?[s,a]:[a,s];return c().then(()=>u())}else return Promise.all([s(),a(n.delay)])}function nO(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(rO).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Jd(c,t,{...o,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function rO(e,t){return e.sortNodePosition(t)}function iO(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Jd(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Jd(e,t,n);else{const i=typeof t=="function"?hc(e,t,n.custom):t;r=Promise.all(fb(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const oO=Mp.length;function pb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?pb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<oO;n++){const r=Mp[n],i=e.props[r];(Rs(i)||i===!1)&&(t[r]=i)}return t}const sO=[...Lp].reverse(),aO=Lp.length;function lO(e){return t=>Promise.all(t.map(({animation:n,options:r})=>iO(e,n,r)))}function cO(e){let t=lO(e),n=Wg(),r=!0;const i=l=>(c,u)=>{var d;const f=hc(e,u,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:v,...m}=f;c={...c,...m,...v}}return c};function o(l){t=l(e)}function s(l){const{props:c}=e,u=pb(e.parent)||{},d=[],f=new Set;let h={},v=1/0;for(let w=0;w<aO;w++){const y=sO[w],x=n[y],b=c[y]!==void 0?c[y]:u[y],S=Rs(b),E=y===l?x.isActive:null;E===!1&&(v=w);let T=b===u[y]&&b!==c[y]&&S;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...h},!x.isActive&&E===null||!b&&!x.prevProp||fc(b)||typeof b=="boolean")continue;const C=uO(x.prevProp,b);let P=C||y===l&&x.isActive&&!T&&S||w>v&&S,j=!1;const D=Array.isArray(b)?b:[b];let z=D.reduce(i(y),{});E===!1&&(z={});const{prevResolvedValues:I={}}=x,U={...I,...z},L=V=>{P=!0,f.has(V)&&(j=!0,f.delete(V)),x.needsAnimating[V]=!0;const A=e.getValue(V);A&&(A.liveStyle=!1)};for(const V in U){const A=z[V],k=I[V];if(h.hasOwnProperty(V))continue;let M=!1;Ud(A)&&Ud(k)?M=!Pw(A,k):M=A!==k,M?A!=null?L(V):f.add(V):A!==void 0&&f.has(V)?L(V):x.protectedKeys[V]=!0}x.prevProp=b,x.prevResolvedValues=z,x.isActive&&(h={...h,...z}),r&&e.blockInitialAnimation&&(P=!1),P&&(!(T&&C)||j)&&d.push(...D.map(V=>({animation:V,options:{type:y}})))}if(f.size){const w={};f.forEach(y=>{const x=e.getBaseTarget(y),b=e.getValue(y);b&&(b.liveStyle=!0),w[y]=x??null}),d.push({animation:w})}let m=!!d.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(d):Promise.resolve()}function a(l,c){var u;if(n[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(l,c)}),n[l].isActive=c;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Wg(),r=!0}}}function uO(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Pw(t,e):!1}function Ar(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Wg(){return{animate:Ar(!0),whileInView:Ar(),whileHover:Ar(),whileTap:Ar(),whileDrag:Ar(),whileFocus:Ar(),exit:Ar()}}class Sr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class dO extends Sr{constructor(t){super(t),t.animationState||(t.animationState=cO(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();fc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let fO=0;class pO extends Sr{constructor(){super(...arguments),this.id=fO++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const hO={animation:{Feature:dO},exit:{Feature:pO}};function Ds(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Qs(e){return{point:{x:e.pageX,y:e.pageY}}}const mO=e=>t=>qp(t)&&e(t,Qs(t));function Jo(e,t,n,r){return Ds(e,t,mO(n),r)}const Hg=(e,t)=>Math.abs(e-t);function gO(e,t){const n=Hg(e.x,t.x),r=Hg(e.y,t.y);return Math.sqrt(n**2+r**2)}class hb{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=yu(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=gO(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:v}=d,{timestamp:m}=je;this.history.push({...v,timestamp:m});const{onStart:w,onMove:y}=this.handlers;f||(w&&w(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=gu(f,this.transformPagePoint),ue.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:v,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=yu(d.type==="pointercancel"?this.lastMoveEventInfo:gu(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,w),v&&v(d,w)},!qp(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Qs(t),a=gu(s,this.transformPagePoint),{point:l}=a,{timestamp:c}=je;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=n;u&&u(t,yu(a,this.history)),this.removeListeners=Xs(Jo(this.contextWindow,"pointermove",this.handlePointerMove),Jo(this.contextWindow,"pointerup",this.handlePointerUp),Jo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),hr(this.updatePoint)}}function gu(e,t){return t?{point:t(e.point)}:e}function Kg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function yu({point:e},t){return{point:e,delta:Kg(e,mb(t)),offset:Kg(e,yO(t)),velocity:vO(t,.1)}}function yO(e){return e[0]}function mb(e){return e[e.length-1]}function vO(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=mb(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>xn(t)));)n--;if(!r)return{x:0,y:0};const o=wn(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}const gb=1e-4,xO=1-gb,wO=1+gb,yb=.01,bO=0-yb,SO=0+yb;function pt(e){return e.max-e.min}function EO(e,t,n){return Math.abs(e-t)<=n}function Xg(e,t,n,r=.5){e.origin=r,e.originPoint=he(t.min,t.max,e.origin),e.scale=pt(n)/pt(t),e.translate=he(n.min,n.max,e.origin)-e.originPoint,(e.scale>=xO&&e.scale<=wO||isNaN(e.scale))&&(e.scale=1),(e.translate>=bO&&e.translate<=SO||isNaN(e.translate))&&(e.translate=0)}function es(e,t,n,r){Xg(e.x,t.x,n.x,r?r.originX:void 0),Xg(e.y,t.y,n.y,r?r.originY:void 0)}function Qg(e,t,n){e.min=n.min+t.min,e.max=e.min+pt(t)}function TO(e,t,n){Qg(e.x,t.x,n.x),Qg(e.y,t.y,n.y)}function qg(e,t,n){e.min=t.min-n.min,e.max=e.min+pt(t)}function ts(e,t,n){qg(e.x,t.x,n.x),qg(e.y,t.y,n.y)}function CO(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?he(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?he(n,e,r.max):Math.min(e,n)),e}function Yg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function PO(e,{top:t,left:n,bottom:r,right:i}){return{x:Yg(e.x,n,i),y:Yg(e.y,t,r)}}function Zg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function AO(e,t){return{x:Zg(e.x,t.x),y:Zg(e.y,t.y)}}function RO(e,t){let n=.5;const r=pt(e),i=pt(t);return i>r?n=oo(t.min,t.max-r,e.min):r>i&&(n=oo(e.min,e.max-i,t.min)),An(0,1,n)}function kO(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ef=.35;function NO(e=ef){return e===!1?e=0:e===!0&&(e=ef),{x:Jg(e,"left","right"),y:Jg(e,"top","bottom")}}function Jg(e,t,n){return{min:ey(e,t),max:ey(e,n)}}function ey(e,t){return typeof e=="number"?e:e[t]||0}const ty=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ri=()=>({x:ty(),y:ty()}),ny=()=>({min:0,max:0}),we=()=>({x:ny(),y:ny()});function wt(e){return[e("x"),e("y")]}function vb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function jO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function DO(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function vu(e){return e===void 0||e===1}function tf({scale:e,scaleX:t,scaleY:n}){return!vu(e)||!vu(t)||!vu(n)}function Nr(e){return tf(e)||xb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xb(e){return ry(e.x)||ry(e.y)}function ry(e){return e&&e!=="0%"}function Ml(e,t,n){const r=e-n,i=t*r;return n+i}function iy(e,t,n,r,i){return i!==void 0&&(e=Ml(e,i,r)),Ml(e,n,r)+t}function nf(e,t=0,n=1,r,i){e.min=iy(e.min,t,n,r,i),e.max=iy(e.max,t,n,r,i)}function wb(e,{x:t,y:n}){nf(e.x,t.translate,t.scale,t.originPoint),nf(e.y,n.translate,n.scale,n.originPoint)}const oy=.999999999999,sy=1.0000000000001;function OO(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ni(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,wb(e,s)),r&&Nr(o.latestValues)&&Ni(e,o.latestValues))}t.x<sy&&t.x>oy&&(t.x=1),t.y<sy&&t.y>oy&&(t.y=1)}function ki(e,t){e.min=e.min+t,e.max=e.max+t}function ay(e,t,n,r,i=.5){const o=he(e.min,e.max,i);nf(e,t,n,o,r)}function Ni(e,t){ay(e.x,t.x,t.scaleX,t.scale,t.originX),ay(e.y,t.y,t.scaleY,t.scale,t.originY)}function bb(e,t){return vb(DO(e.getBoundingClientRect(),t))}function LO(e,t,n){const r=bb(e,n),{scroll:i}=t;return i&&(ki(r.x,i.offset.x),ki(r.y,i.offset.y)),r}const Sb=({current:e})=>e?e.ownerDocument.defaultView:null,MO=new WeakMap;class IO{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=we(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=u=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Qs(u).point)},o=(u,d)=>{const{drag:f,dragPropagation:h,onDragStart:v}=this.getProps();if(f&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=kj(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),wt(w=>{let y=this.getAxisMotionValue(w).get()||0;if(sn.test(y)){const{projection:x}=this.visualElement;if(x&&x.layout){const b=x.layout.layoutBox[w];b&&(y=pt(b)*(parseFloat(y)/100))}}this.originPoint[w]=y}),v&&ue.postRender(()=>v(u,d)),Hd(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(u,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:v,onDrag:m}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:w}=d;if(h&&this.currentDirection===null){this.currentDirection=_O(w),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,w),this.updateAxis("y",d.point,w),this.visualElement.render(),m&&m(u,d)},a=(u,d)=>this.stop(u,d),l=()=>wt(u=>{var d;return this.getAnimationState(u)==="paused"&&((d=this.getAxisMotionValue(u).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new hb(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Sb(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&ue.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Pa(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=CO(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&Pi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=PO(i.layoutBox,n):this.constraints=!1,this.elastic=NO(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&wt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=kO(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Pi(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=LO(r,i.root,this.visualElement.getTransformPagePoint());let s=AO(i.layout.layoutBox,o);if(n){const a=n(jO(s));this.hasMutatedConstraints=!!a,a&&(s=vb(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=wt(u=>{if(!Pa(u,n,this.currentDirection))return;let d=l&&l[u]||{};s&&(d={min:0,max:0});const f=i?200:1e6,h=i?40:1e7,v={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(u,v)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Hd(this.visualElement,t),r.start(lh(t,r,0,n,this.visualElement,!1))}stopAnimation(){wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){wt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){wt(n=>{const{drag:r}=this.getProps();if(!Pa(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-he(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Pi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};wt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=RO({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),wt(s=>{if(!Pa(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(he(l,c,i[s]))})}addListeners(){if(!this.visualElement.current)return;MO.set(this.visualElement,this);const t=this.visualElement.current,n=Jo(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Pi(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ue.read(r);const s=Ds(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(wt(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=ef,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function Pa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function _O(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class zO extends Sr{constructor(t){super(t),this.removeGroupControls=dt,this.removeListeners=dt,this.controls=new IO(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||dt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ly=e=>(t,n)=>{e&&ue.postRender(()=>e(t,n))};class VO extends Sr{constructor(){super(...arguments),this.removePointerDownListener=dt}onPointerDown(t){this.session=new hb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:ly(t),onStart:ly(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&ue.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=Jo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Qa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function cy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Oo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($.test(e))e=parseFloat(e);else return e;const n=cy(e,t.target.x),r=cy(e,t.target.y);return`${n}% ${r}%`}},GO={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=mr.parse(e);if(i.length>5)return r;const o=mr.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=he(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}};class FO extends g.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;lj(BO),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Qa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||ue.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_p.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Eb(e){const[t,n]=sw(),r=g.useContext(kp);return p.jsx(FO,{...e,layoutGroup:r,switchLayoutGroup:g.useContext(pw),isPresent:t,safeToRemove:n})}const BO={borderRadius:{...Oo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oo,borderTopRightRadius:Oo,borderBottomLeftRadius:Oo,borderBottomRightRadius:Oo,boxShadow:GO};function UO(e,t,n){const r=$e(e)?e:Ns(e);return r.start(lh("",r,t,n)),r.animation}function $O(e){return e instanceof SVGElement&&e.tagName!=="svg"}const WO=(e,t)=>e.depth-t.depth;class HO{constructor(){this.children=[],this.isDirty=!1}add(t){Yp(this.children,t),this.isDirty=!0}remove(t){Zp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(WO),this.isDirty=!1,this.children.forEach(t)}}function KO(e,t){const n=an.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(hr(r),e(o-t))};return ue.read(r,!0),()=>hr(r)}const Tb=["TopLeft","TopRight","BottomLeft","BottomRight"],XO=Tb.length,uy=e=>typeof e=="string"?parseFloat(e):e,dy=e=>typeof e=="number"||$.test(e);function QO(e,t,n,r,i,o){i?(e.opacity=he(0,n.opacity!==void 0?n.opacity:1,qO(r)),e.opacityExit=he(t.opacity!==void 0?t.opacity:1,0,YO(r))):o&&(e.opacity=he(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<XO;s++){const a=`border${Tb[s]}Radius`;let l=fy(t,a),c=fy(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||dy(l)===dy(c)?(e[a]=Math.max(he(uy(l),uy(c),r),0),(sn.test(c)||sn.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=he(t.rotate||0,n.rotate||0,r))}function fy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const qO=Cb(0,.5,Uw),YO=Cb(.5,.95,dt);function Cb(e,t,n){return r=>r<e?0:r>t?1:n(oo(e,t,r))}function py(e,t){e.min=t.min,e.max=t.max}function xt(e,t){py(e.x,t.x),py(e.y,t.y)}function hy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function my(e,t,n,r,i){return e-=t,e=Ml(e,1/n,r),i!==void 0&&(e=Ml(e,1/i,r)),e}function ZO(e,t=0,n=1,r=.5,i,o=e,s=e){if(sn.test(t)&&(t=parseFloat(t),t=he(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=he(o.min,o.max,r);e===o&&(a-=t),e.min=my(e.min,t,n,a,i),e.max=my(e.max,t,n,a,i)}function gy(e,t,[n,r,i],o,s){ZO(e,t[n],t[r],t[i],t.scale,o,s)}const JO=["x","scaleX","originX"],eL=["y","scaleY","originY"];function yy(e,t,n,r){gy(e.x,t,JO,n?n.x:void 0,r?r.x:void 0),gy(e.y,t,eL,n?n.y:void 0,r?r.y:void 0)}function vy(e){return e.translate===0&&e.scale===1}function Pb(e){return vy(e.x)&&vy(e.y)}function xy(e,t){return e.min===t.min&&e.max===t.max}function tL(e,t){return xy(e.x,t.x)&&xy(e.y,t.y)}function wy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ab(e,t){return wy(e.x,t.x)&&wy(e.y,t.y)}function by(e){return pt(e.x)/pt(e.y)}function Sy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nL{constructor(){this.members=[]}add(t){Yp(this.members,t),t.scheduleRender()}remove(t){if(Zp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rL(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:d,rotateY:f,skewX:h,skewY:v}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const jr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Fo=typeof window<"u"&&window.MotionDebug!==void 0,xu=["","X","Y","Z"],iL={visibility:"hidden"},Ey=1e3;let oL=0;function wu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Rb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Iw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ue,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Rb(r)}function kb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=oL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Fo&&(jr.totalNodes=jr.resolvedTargetDeltas=jr.recalculatedProjection=0),this.nodes.forEach(lL),this.nodes.forEach(pL),this.nodes.forEach(hL),this.nodes.forEach(cL),Fo&&window.MotionDebug.record(jr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new HO)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Jp),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=$O(s),this.instance=s;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(c||l)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=KO(f,250),Qa.hasAnimatedSinceResize&&(Qa.hasAnimatedSinceResize=!1,this.nodes.forEach(Cy))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||xL,{onLayoutAnimationStart:w,onLayoutAnimationComplete:y}=u.getProps(),x=!this.targetLayout||!Ab(this.targetLayout,v)||h,b=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||b||f&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,b);const S={...Kp(m,"layout"),onPlay:w,onComplete:y};(u.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else f||Cy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,hr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mL),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Rb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ty);return}this.isUpdating||this.nodes.forEach(dL),this.isUpdating=!1,this.nodes.forEach(fL),this.nodes.forEach(sL),this.nodes.forEach(aL),this.clearAllSnapshots();const a=an.now();je.delta=An(0,1e3/60,a-je.timestamp),je.timestamp=a,je.isProcessing=!0,uu.update.process(je),uu.preRender.process(je),uu.render.process(je),je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_p.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uL),this.sharedNodes.forEach(gL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ue.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ue.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=we(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Pb(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(a||Nr(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),wL(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;const{visualElement:a}=this.options;if(!a)return we();const l=a.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(bL))){const{scroll:u}=this.root;u&&(ki(l.x,u.offset.x),ki(l.y,u.offset.y))}return l}removeElementScroll(s){var a;const l=we();if(xt(l,s),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&xt(l,s),ki(l.x,d.offset.x),ki(l.y,d.offset.y))}return l}applyTransform(s,a=!1){const l=we();xt(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ni(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Nr(u.latestValues)&&Ni(l,u.latestValues)}return Nr(this.latestValues)&&Ni(l,this.latestValues),l}removeTransform(s){const a=we();xt(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Nr(c.latestValues))continue;tf(c.latestValues)&&c.updateSnapshot();const u=we(),d=c.measurePageBox();xt(u,d),yy(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Nr(this.latestValues)&&yy(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=je.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=we(),this.relativeTargetOrigin=we(),ts(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),xt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=we(),this.targetWithTransforms=we()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),TO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):xt(this.target,this.layout.layoutBox),wb(this.target,this.targetDelta)):xt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=we(),this.relativeTargetOrigin=we(),ts(this.relativeTargetOrigin,this.target,h.target),xt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Fo&&jr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||tf(this.parent.latestValues)||xb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===je.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;xt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;OO(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=we());const{target:v}=a;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(hy(this.prevProjectionDelta.x,this.projectionDelta.x),hy(this.prevProjectionDelta.y,this.projectionDelta.y)),es(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Sy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Sy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),Fo&&jr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ri(),this.projectionDelta=Ri(),this.projectionDeltaWithTransform=Ri()}setAnimationOrigin(s,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=Ri();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=we(),h=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=h!==v,w=this.getStack(),y=!w||w.members.length<=1,x=!!(m&&!y&&this.options.crossfade===!0&&!this.path.some(vL));this.animationProgress=0;let b;this.mixTargetDelta=S=>{const E=S/1e3;Py(d.x,s.x,E),Py(d.y,s.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ts(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),yL(this.relativeTarget,this.relativeTargetOrigin,f,E),b&&tL(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=we()),xt(b,this.relativeTarget)),m&&(this.animationValues=u,QO(u,c,this.latestValues,E,x,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(hr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ue.update(()=>{Qa.hasAnimatedSinceResize=!0,this.currentAnimation=UO(0,Ey,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ey),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&Nb(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||we();const d=pt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=pt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}xt(a,l),Ni(a,u),es(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new nL),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&wu("z",s,c,this.animationValues);for(let u=0;u<xu.length;u++)wu(`rotate${xu[u]}`,s,c,this.animationValues),wu(`skew${xu[u]}`,s,c,this.animationValues);s.render();for(const u in c)s.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);s.scheduleRender()}getProjectionStyles(s){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return iL;const c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Ka(s==null?void 0:s.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=Ka(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!Nr(this.latestValues)&&(m.transform=u?u({},""):"none",this.hasProjected=!1),m}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),c.transform=rL(this.projectionDeltaWithTransform,this.treeScale,f),u&&(c.transform=u(f,c.transform));const{x:h,y:v}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${v.origin*100}% 0`,d.animationValues?c.opacity=d===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:c.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const m in Nl){if(f[m]===void 0)continue;const{correct:w,applyTo:y}=Nl[m],x=c.transform==="none"?f[m]:w(f[m],d);if(y){const b=y.length;for(let S=0;S<b;S++)c[y[S]]=x}else c[m]=x}return this.options.layoutId&&(c.pointerEvents=d===this?Ka(s==null?void 0:s.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Ty),this.root.sharedNodes.clear()}}}function sL(e){e.updateLayout()}function aL(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?wt(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],h=pt(f);f.min=r[d].min,f.max=f.min+h}):Nb(o,n.layoutBox,r)&&wt(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],h=pt(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=Ri();es(a,r,n.layoutBox);const l=Ri();s?es(l,e.applyTransform(i,!0),n.measuredBox):es(l,r,n.layoutBox);const c=!Pb(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const v=we();ts(v,n.layoutBox,f.layoutBox);const m=we();ts(m,r,h.layoutBox),Ab(v,m)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function lL(e){Fo&&jr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uL(e){e.clearSnapshot()}function Ty(e){e.clearMeasurements()}function dL(e){e.isLayoutDirty=!1}function fL(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Cy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function pL(e){e.resolveTargetDelta()}function hL(e){e.calcProjection()}
vendor: 6,595 bytes, line 162
162function mL(e){e.resetSkewAndRotation()}function gL(e){e.removeLeadSnapshot()}function Py(e,t,n){e.translate=he(t.translate,0,n),e.scale=he(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ay(e,t,n,r){e.min=he(t.min,n.min,r),e.max=he(t.max,n.max,r)}function yL(e,t,n,r){Ay(e.x,t.x,n.x,r),Ay(e.y,t.y,n.y,r)}function vL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const xL={duration:.45,ease:[.4,0,.1,1]},Ry=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ky=Ry("applewebkit/")&&!Ry("chrome/")?Math.round:dt;function Ny(e){e.min=ky(e.min),e.max=ky(e.max)}function wL(e){Ny(e.x),Ny(e.y)}function Nb(e,t,n){return e==="position"||e==="preserve-aspect"&&!EO(by(t),by(n),.2)}function bL(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const SL=kb({attachResizeListener:(e,t)=>Ds(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),bu={current:void 0},jb=kb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!bu.current){const e=new SL({});e.mount(window),e.setOptions({layoutScroll:!0}),bu.current=e}return bu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),EL={pan:{Feature:VO},drag:{Feature:zO,ProjectionNode:jb,MeasureLayout:Eb}};function jy(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ue.postRender(()=>o(t,Qs(t)))}class TL extends Sr{mount(){const{current:t}=this.node;t&&(this.unmount=Tj(t,n=>(jy(this.node,n,"Start"),r=>jy(this.node,r,"End"))))}unmount(){}}class CL extends Sr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Xs(Ds(this.node.current,"focus",()=>this.onFocus()),Ds(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dy(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&ue.postRender(()=>o(t,Qs(t)))}class PL extends Sr{mount(){const{current:t}=this.node;t&&(this.unmount=Rj(t,n=>(Dy(this.node,n,"Start"),(r,{success:i})=>Dy(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rf=new WeakMap,Su=new WeakMap,AL=e=>{const t=rf.get(e.target);t&&t(e)},RL=e=>{e.forEach(AL)};function kL({root:e,...t}){const n=e||document;Su.has(n)||Su.set(n,{});const r=Su.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(RL,{root:e,...t})),r[i]}function NL(e,t,n){const r=kL(t);return rf.set(e,n),r.observe(e),()=>{rf.delete(e),r.unobserve(e)}}const jL={some:0,all:1};class DL extends Sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:jL[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),f=c?u:d;f&&f(l)};return NL(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(OL(t,n))&&this.startObserver()}unmount(){}}function OL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const LL={inView:{Feature:DL},tap:{Feature:PL},focus:{Feature:CL},hover:{Feature:TL}},ML={layout:{ProjectionNode:jb,MeasureLayout:Eb}},of={current:null},Db={current:!1};function IL(){if(Db.current=!0,!!Dp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>of.current=e.matches;e.addListener(t),t()}else of.current=!1}const _L=[...rb,Fe,mr],zL=e=>_L.find(nb(e)),Oy=new WeakMap;function VL(e,t,n){for(const r in t){const i=t[r],o=n[r];if($e(i))e.addValue(r,i);else if($e(o))e.addValue(r,Ns(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Ns(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ly=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class GL{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=oh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=an.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ue.render(this.render,!1,!0))};const{latestValues:l,renderState:c,onUpdate:u}=s;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=pc(n),this.isVariantNode=dw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const v=f[h];l[h]!==void 0&&$e(v)&&v.set(l[h],!1)}}mount(t){this.current=t,Oy.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 9,333 bytes, line 162
162h((n,r)=>this.bindToMotionValue(r,n)),Db.current||IL(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:of.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Oy.delete(this.current),this.projection&&this.projection.unmount(),hr(this.notifyUpdate),hr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=ti.has(t),i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ue.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in so){const n=so[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):we()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Ly.length;r++){const i=Ly[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=VL(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ns(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(eb(i)||Ww(i))?i=parseFloat(i):!zL(i)&&mr.test(n)&&(i=Yw(t,n)),this.setBaseTarget(t,$e(i)?i.get():i)),$e(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=Vp(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!$e(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Jp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Ob extends GL{constructor(){super(...arguments),this.KeyframeResolver=ib}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;$e(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function FL(e){return window.getComputedStyle(e)}class BL extends Ob{constructor(){super(...arguments),this.type="html",this.renderInstance=ww}readValueFromInstance(t,n){if(ti.has(n)){const r=ih(n);return r&&r.default||0}else{const r=FL(t),i=(yw(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return bb(t,n)}build(t,n,r){Bp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Hp(t,n,r)}}class UL extends Ob{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=we}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ti.has(n)){const r=ih(n);return r&&r.default||0}return n=bw.has(n)?n:Ip(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Tw(t,n,r)}build(t,n,r){Up(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){Sw(t,n,r,i)}mount(t){this.isSVGTag=Wp(t.tagName),super.mount(t)}}const $L=(e,t)=>zp(e)?new UL(t):new BL(t,{allowProjection:e!==g.Fragment}),WL=yj({...hO,...LL,...EL,...ML},$L),Oe=DN(WL),Lb="/assets/gs1-logo-k5gc8qfg.webp",HL={"/obtine-coduri-de-bare-gs1":"obtine coduri cod coduri de bare barcode barcodes gtin ean ean-13 licenta licence license anuala annual pret preturi tarife cost amazon marketplace emag ebay etsy allegro vanzare online prefix companie get buy","/coduri-de-bare-la-bucata":"clb coduri la bucata individual single cateva putine gtin ean start mic emag magazin online buy","/identificare-produse-gtin-ean":"gtin ean produs produse identificare product identification gtin-13 gtin-8 gtin-14 cod produs","/identificare-companii-si-locatii-gln":"gln global location number companie company locatii location sediu depozit magazin sscc licenta","/standarde-pentru-identificare":"identificare identification chei keys gtin gln sscc grai giai gsrn gdti gcn gsin standarde cum functioneaza","/coduri-de-bare":"coduri de bare barcode barcodes simboluri symbols simbologii 2d scanare ean upc gs1-128 datamatrix qr","/coduri-de-bare-ean":"ean ean-13 ean-8 upc upc-a retail pos casa de marcat checkout scanner","/codul-qr-gs1":"qr cod qr qr code 2d digital link consumatori smartphone","/codul-datamatrix":"datamatrix data matrix 2d medicamente medicines farma lot expirare serie serial","/standarde-epc-rfid":"rfid epc radio frequency radiofrecventa etichete inteligente tag uhf inventar","/standarde-gs1-pentru-captura-automata-date":"captura automata date automatic data capture aidc scanare scanning auto-id","/standarde-gs1-pentru-partajarea-datelor":"partajare date data sharing schimb edi gdsn ndp date master master data epcis","/standarde-gs1-pentru-trasabilitate":"trasabilitate traceability urmarire tracking lant aprovizionare supply chain origine gts","/gs1-digital-link":"digital link qr web url consumatori 2027 sunrise pilot","/verified-by-gs1":"verified verificare verifica verify validare gtin autentic registry","/gpc-browser":"gpc global product classification clasificare classification categorie category brick","/ndp-sincronizare-date-produse":"ndp national data pool gdsn sincronizare synchronisation date produs catalog retail","/codaloc-administrare-coduri-gs1":"codaloc platforma administrare management alocare generare coduri gtin gln sscc cont membri","/medaloc-identificare-farma-snvm":"medaloc farma pharma farmacii pharmacy distribuitori snvm locatii gln verificare medicamente","/canamed-dosare-pret-medicamente":"canamed dosare pret price pricing medicamente medicines ministerul sanatatii autorizatie","/serializare-medicamente":"serializare serialisation serialization farma pharma medicamente medicines snvm fmd datamatrix","/identificare-dispozitive-medicale-udi":"udi dispozitive medicale medical devices eudamed mdr ivdr 745 746 spitale","/eticheta-logistica-gs1-128":"etlog eticheta logistica logistic label gs1-128 sscc palet pallet bax livrare","/standarde-gs1-pentru-sgr":"sgr garantie returnare deposit return drs returo ambalaje pet sticla doza gtin sgr","/retusgr-digitalizarea-colectarii-manuale":"retusgr colectare manuala punct returnare aplicatie sgr saci scanare ambalaj","/ierarhie-ambalare-gtin-sgr":"ierarhie ambalare packaging hierarchy gtin sgr omogen neomogen bax multipack","/certificare-rvm-sgr":"rvm certificare certification aparate returnare automata reverse vending machine sgr","/standarde-gs1-pentru-retail"
162:"retail fmcg comert magazin supermarket retailer producator bunuri de larg consum","/standarde-gs1-pentru-sanatate":"sanatate healthcare spitale hospital medicamente dispozitive medicale udi farma","/standarde-gs1-pentru-transport-si-logistica":"transport logistica logistics sscc gs1-128 depozit warehouse livrare supply chain","/standarde-gs1-pentru-ecommerce":"ecommerce e-commerce comert online magazin online marketplace amazon emag ebay etsy allegro listare","/standarde-gs1-pentru-constructii":"constructii construction materiale cpr 2024/3110 digital product passport dpp pasaport","/standarde-gs1-pentru-agricultura":"agricultura agriculture siguranta alimentara food safety ferma farm alimente","/standarde-gs1-pentru-aparare":"aparare defence defense nato militar military armata","/lean-green":"lean green co2 emisii emissions carbon sustenabilitate sustainability logistica certificare","/schimb-electronic-de-date-edi":"edi eancom schimb electronic comunicatie electronica comenzi orders facturi invoices desadv aviz e-factura","/protectia-consumatorului-cbpscan":"cbpscan cod bune practici scanare pret raft casa de marcat protectia consumatorului anpc retail","/gs1-solution-providers":"solution providers furnizori solutii parteneri partners software hardware imprimante etichete","/coduri-gs1-oficiale":"oficiale official sursa coduri revandute resold ieftine false fake gtin legitim verificare","/calculator-cifra-control":"calculator cifra de control check digit verificare gtin gln sscc","/dezvoltarea-standardelor":"dezvoltare standarde development gsmp proces","/gs1-global":"gs1 global international organizatie mondiala 110 tari","/gs1-europe":"europa europe ue eu bruxelles reglementari regulations","/despre-gs1-romania":"despre about gs1 romania organizatie asociatie membri","/obiective-si-scop":"obiective scop misiune mission viziune valori","/structura-asociatiei-gs1-romania":"structura guvernanta governance conducere consiliu organizare","/stiri":"stiri noutati news comunicate anunturi","/evenimente":"evenimente events conferinte webinar agenda","/contact":"contact telefon email adresa suport support ajutor helpdesk","/gdpr":"gdpr date personale personal data confidentialitate privacy","/termeni-si-conditii-generale":"termeni conditii terms conditions contract"},KL={"/obtine-coduri-de-bare-gs1":"#pachete-standard"},XL=Object.keys(Ps).filter(e=>e!=="/").map(e=>({path:e,hash:KL[e],keywords:HL[e]??""})),Eu=e=>e.split(/ \| | — /)[0].trim(),Aa=e=>e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),Mb={gtin:["/obtine-coduri-de-bare-gs1","/identificare-produse-gtin-ean","/codaloc-administrare-coduri-gs1"],ean:["/obtine-coduri-de-bare-gs1","/coduri-de-bare-ean","/identificare-produse-gtin-ean"],sscc:["/eticheta-logistica-gs1-128","/identificare-companii-si-locatii-gln"],gln:["/identificare-companii-si-locatii-gln","/obtine-coduri-de-bare-gs1"],qr:["/codul-qr-gs1","/gs1-digital-link"],amazon:["/obtine-coduri-de-bare-gs1","/standarde-gs1-pentru-ecommerce"],marketplace:["/obtine-coduri-de-bare-gs1","/standarde-gs1-pentru-ecommerce"],sgr:["/standarde-gs1-pentru-sgr","/retusgr-digitalizarea-colectarii-manuale","/ierarhie-ambalare-gtin-sgr"]},QL=["/obtine-coduri-de-bare-gs1","/coduri-de-bare-ean","/coduri-de-bare"];for(const e of["cod","coduri","cod de bare","coduri de bare","cod bare","coduri bare","barcode","barcodes"])Mb[e]=QL;const qL=()=>{const e=Xt(),{lang:t}=Ws(),[n,r]=g.useState(""),[i,o]=g.useState(!1),[s,a]=g.useState(0),l=g.useRef(null),c=g.useRef(null),u=Bs(),d=g.useMemo(()=>{const v=Aa(n.trim());if(!v)return[];const m=v.split(/\s+/).filter(Boolean);return XL.map(w=>{var I;const y=Ps[w.path],x=Eu(t==="en"?y.titleEn:y.title),b=t==="en"?y.descriptionEn:y.description,S=Aa(x),E=Aa(`${w.keywords} ${Eu(y.title)} ${Eu(y.titleEn)}`),T=Aa(b),C=`${S} ${E} ${T}`,P={...w,label:x,description:b},j=((I=Mb[v])==null?void 0:I.indexOf(w.path))??-1;if(j>=0)return{item:P,score:-100+j};const D=U=>U.length<4?new RegExp(`(^|[^a-z0-9])${U.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`).test(C):C.includes(U);if(!m.every(D))return{item:P,score:-1};let z=100;return S===v?z=0:S.startsWith(v)?z=5:S.includes(v)?z=10:m.every(U=>S.includes(U))?z=20:m.every(U=>E.includes(U))?z=40:m.every(U=>T.includes(U))&&(z=60),{item:P,score:z}}).filter(w=>w.score!==-1).sort((w,y)=>w.score-y.score).slice(0,10).map(w=>w.item)},[n,t]);g.useEffect(()=>{a(0)},[d]),g.useEffect(()=>{const v=m=>{var w;(w=l.current)!=null&&w.contains(m.target)||o(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[]);const f=v=>{o(!1),r(""),u(Cs(v.path,t)+(v.hash??""))},h=v=>{var m;v.key==="ArrowDown"?(v.preventDefault(),a(w=>Math.min(w+1,d.length-1))):v.key==="ArrowUp"?(v.preventDefault(),a(w=>Math.max(w-1,0))):v.key==="Enter"?(v.preventDefault(),d[s]&&f(d[s])):v.key==="Escape"&&(o(!1),(m=c.current)==null||m.blur())};return p.jsxs("div",{ref:l,className:"relative",children:[p.jsxs("div",{className:"flex items-center gap-2 bg-muted/50 border border-border rounded-md px-3 h-10 min-w-[260px] focus-within:bg-background focus-within:border-accent/40 transition-colors",children:[p.jsx(fR,{size:15,className:"text-muted-foreground flex-shrink-0"}),p.jsx("input",{ref:c,type:"text",value:n,onChange:v=>{r(v.target.value),o(!0)},onFocus:()=>o(!0),onKeyDown:h,placeholder:e("Caută pagini, servicii, coduri..."),className:"flex-1 bg-transparent outline-none text-sm text-foreground placeholder:text-muted-foreground","aria-label":e("Caută în GS1 România")}),n&&p.jsx("button",{onClick:()=>{var v;r(""),(v=c.current)==null||v.focus()},className:"text-muted-foreground hover:text-foreground","aria-label":e("Șterge"),children:p.jsx(fp,{size:14})})]}),i&&n.trim()&&p.jsx("div",{className:"absolute right-0 top-full mt-2 w-[420px] max-w-[90vw] bg-background border border-border rounded-lg shadow-lg overflow-hidden z-50",children:d.length===0?p.jsxs("div",{className:"px-4 py-6 text-sm text-muted-foreground text-center",children:[e("Niciun rezultat pentru „"),n,e("”.")]}):p.jsx("ul",{className:"py-1 max-h-[60vh] overflow-y-auto",children:d.map((v,m)=>p.jsx("li",{children:p.jsxs("button",{onMouseEnter:()=>a(m),onClick:()=>f(v),className:`w-full flex items-center justify-between gap-3 px-4 py-2.5 text-left transition-colors ${m===s?"bg-muted":"hover:bg-muted/60"}`,children:[p.jsxs("div",{className:"min-w-0",children:[p.jsx("div",{className:"text-sm text-foreground truncate",children:v.label}),p.jsx("div",{className:"text-xs text-muted-foreground truncate",children:v.description})]}),p.jsx(De,{size:14,className:"text-accent flex-shrink-0"})]})},v.path))})})]})},YL=({className:e=""})=>{const{pathname:t,hash:n}=gt(),r=Cp(t),i=Vd(t)+n,o=Cs(Vd(t),"en")+n,s="px-2 py-1 text-xs font-semibold rounded transition-colors";return p.jsxs("div",{className:`flex items-center gap-0.5 border border-border rounded-md p-0.5 ${e}`,"data-lang-switch":!0,"aria-label":"Language",children:[p.jsx(ee,{to:i,"aria-current":r==="ro"?"true":void 0,className:`${s}
162 ${r==="ro"?"bg-accent text-accent-foreground":"text-foreground/60 hover:text-foreground"}`,children:"RO"}),p.jsx(ee,{to:o,"aria-current":r==="en"?"true":void 0,className:`${s} ${r==="en"?"bg-accent text-accent-foreground":"text-foreground/60 hover:text-foreground"}`,children:"EN"})]})},di={gs1:{title:"GS1",links:[{label:"GS1 Global",href:"/gs1-global",external:!1},{label:"GS1 in Europe",href:"/gs1-europe",external:!1}]},romania:{title:"DESPRE NOI",columns:[[{label:"GS1 Romania",href:"/despre-gs1-romania"},{label:"Misiune",href:"/obiective-si-scop"}],[{label:"Guvernanță",href:"/structura-asociatiei-gs1-romania"}]]}},fi={info:{title:"Informații utile",links:[{label:"Dezvoltarea Standardelor GS1",href:"/dezvoltarea-standardelor",external:!1},{label:"Trasabilitate",href:"/standarde-gs1-pentru-trasabilitate",external:!1}]},standarde:{title:"Standarde",links:[{label:"Identificare",href:"/standarde-pentru-identificare",external:!1},{label:"Captura Automată a Datelor",href:"/standarde-gs1-pentru-captura-automata-date",external:!1},{label:"Partajarea Datelor",href:"/standarde-gs1-pentru-partajarea-datelor",external:!1}]}},Lo={resurse:{title:"Resurse",links:[{label:"Verified by GS1",href:"/verified-by-gs1"},{label:"GPC Browser",href:"/gpc-browser"},{label:"Calculator cifră de control",href:"/calculator-cifra-control"}]},categorii:[{title:"SERVICII PENTRU IDENTIFICARE",links:[{label:"Obține coduri GS1",href:"/obtine-coduri-de-bare-gs1"},{label:"Identificare companie (GLN)",href:"/identificare-companii-si-locatii-gln"},{label:"Identificare produse (GTIN)",href:"/identificare-produse-gtin-ean"},{label:"Verifică produsele",href:"/verified-by-gs1"}]},{title:"servicii extinse de standardizare",links:[{label:"Standardizarea si sincronizarea datelor de produs - National Data Pool (NDP)",href:"/ndp-sincronizare-date-produse"},{label:"GS1 Digital Link",href:"/gs1-digital-link"},{label:"Etichete logistice GS1 - ETLOG SSCC",href:"/eticheta-logistica-gs1-128"}]},{title:"SERVICII PENTRU SGR",links:[{label:"Cadru de aplicare",href:"/standarde-gs1-pentru-sgr"},{label:"RetuSGR",href:"/retusgr-digitalizarea-colectarii-manuale"},{label:"Certificare RVM SGR",href:"/certificare-rvm-sgr"}]},{title:"Servicii Farma",links:[{label:"Identificare Farma SNVM - MEDALOC",href:"/medaloc-identificare-farma-snvm"},{label:"Dosare preț - CANAMED",href:"/canamed-dosare-pret-medicamente"},{label:"Identificare dispozitive medicale - UDI",href:"/identificare-dispozitive-medicale-udi"}]},{title:"Marcarea produselor",links:[{label:"Coduri EAN",href:"/coduri-de-bare-ean"},{label:"Codul QR GS1",href:"/codul-qr-gs1"},{label:"Codul GS1 Data Matrix",href:"/codul-datamatrix"}]}]},pi={programe:{title:"Programe",links:[{label:"GS1 Solution Providers",href:"/gs1-solution-providers"},{label:"CBPScan",href:"/protectia-consumatorului-cbpscan"},{label:"Comunicație electronică",href:"/schimb-electronic-de-date-edi"},{label:"Lean & Green",href:"/lean-green"}]},industrii:{title:"Industrii",links:[{label:"FMCG & Retail",href:"/standarde-gs1-pentru-retail"},{label:"Farma și Serializare",href:"/serializare-medicamente"},{label:"Sănătate ",href:"/standarde-gs1-pentru-sanatate"},{label:"Construcții",href:"/standarde-gs1-pentru-constructii"},{label:"Agricultură & Siguranță Alimentară",href:"/standarde-gs1-pentru-agricultura"},{label:"Transport & Logistică",href:"/standarde-gs1-pentru-transport-si-logistica"},{label:"Industria de Apărare",href:"/standarde-gs1-pentru-aparare"},{label:"E-commerce",href:"/standarde-gs1-pentru-ecommerce"}]}},My=[{label:"Produse & Servicii",href:"#servicii",submenu:"servicii"},{label:"Industrii & Programe",href:"#industrii",submenu:"industrii"},{label:"Standarde",href:"#standarde",submenu:"standarde"},{label:"Despre Noi",href:"#despre",submenu:"despre"}],ZL=()=>{const e=Xt(),[t,n]=g.useState(!1),[r,i]=g.useState(null),[o,s]=g.useState(null),a=g.useRef(null),l=g.useRef(null),[c,u]=g.useState(!1);g.useEffect(()=>{const v=()=>{const m=window.scrollY;u(m>20)};return v(),window.addEventListener("scroll",v,{passive:!0}),window.addEventListener("resize",v),()=>{window.removeEventListener("scroll",v),window.removeEventListener("resize",v)}},[]);const d=v=>{a.current&&clearTimeout(a.current),i(v)},f=()=>{a.current=setTimeout(()=>i(null),200)},h=()=>i(null);return p.jsxs(Oe.nav,{ref:l,initial:{y:-10,opacity:0}
162,animate:{y:0,opacity:1},transition:{duration:.5},className:`fixed top-0 left-0 right-0 z-50 transition-colors duration-300 ${c?"bg-background/80 backdrop-blur-lg border-b border-border":"bg-background border-b border-border"}`,children:[p.jsx("div",{className:"border-b border-border/50 bg-muted/30",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-8 flex items-center justify-end gap-4",children:[p.jsx("span",{className:"hidden sm:inline text-[11px] tracking-wide text-muted-foreground",children:"The Global Language of Business"}),p.jsx(YL,{}),p.jsx(ee,{to:"/contact",className:"text-[11px] font-medium hover:underline text-accent whitespace-nowrap",children:e("Contact us")})]})}),p.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-20 flex items-center justify-between",children:[p.jsx(ee,{to:"/",className:"flex items-center",children:p.jsx("img",{src:Lb,alt:"GS1 Romania",className:"h-12"})}),p.jsxs("div",{className:"hidden md:flex items-center gap-1",children:[My.map(v=>v.submenu?p.jsxs("div",{className:"relative",onMouseEnter:()=>d(v.submenu),onMouseLeave:f,children:[p.jsxs("a",{href:v.href,className:`nav-text px-4 py-2 text-foreground/70 hover:text-foreground transition-colors text-sm tracking-wide inline-flex items-center gap-1 rounded-md ${r===v.submenu?"text-foreground bg-muted/50":""}`,children:[e(v.label),p.jsx(rg,{size:14,className:`nav-icon transition-transform ${r===v.submenu?"rotate-180":""}`})]}),p.jsxs(TN,{children:[r==="despre"&&v.submenu==="despre"&&p.jsx(Oe.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:"fixed top-[112px] left-6 right-6 mx-auto max-w-7xl bg-background border border-border rounded-lg shadow-lg overflow-hidden",onMouseEnter:()=>d("despre"),onMouseLeave:f,children:p.jsxs("div",{className:"flex",children:[p.jsxs("div",{className:"w-[200px] bg-muted/30 p-6 border-r border-border",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(di.gs1.title)}),p.jsx("div",{className:"space-y-2",children:di.gs1.links.map(m=>m.external?p.jsxs("a",{href:m.href,className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",children:[e(m.label),p.jsx(De,{size:13})]},m.label):p.jsxs(ee,{to:m.href,className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",onClick:h,children:[e(m.label),p.jsx(De,{size:13})]},m.label))})]}),p.jsxs("div",{className:"flex-1 p-6",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(di.romania.title)}),p.jsx("div",{className:"grid grid-cols-3 gap-x-6 gap-y-1",children:di.romania.columns.flat().map(m=>m.href.startsWith("/")?p.jsx(ee,{to:m.href,className:"text-sm text-foreground/70 hover:text-primary transition-colors py-1.5",onClick:h,children:e(m.label)},m.label):p.jsx("a",{href:m.href,className:"text-sm text-foreground/70 hover:text-primary transition-colors py-1.5",children:e(m.label)},m.label))})]})]})}),r==="standarde"&&v.submenu==="standarde"&&p.jsx(Oe.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:"fixed top-[112px] left-6 right-6 mx-auto max-w-7xl bg-background border border-border rounded-lg shadow-lg overflow-hidden",onMouseEnter:()=>d("standarde"),onMouseLeave:f,children:p.jsxs("div",{className:"flex",children:[p.jsxs("div",{className:"w-[220px] bg-muted/30 p-6 border-r border-border",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(fi.info.title)}),p.jsx("div",{className:"space-y-2",children:fi.info.links.map(m=>m.external?p.jsxs("a",{href:m.href,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",children:[e(m.label),p.jsx(De,{size:13})]},m.label):p.jsxs(ee,{to:m.href,className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",onClick:h,children:[e(m.label),p.jsx(De,{size:13})]},m.label))})]}),p.jsxs("div",{className:"flex-1 p-6",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(fi.standarde.title)}),p.jsx("div",{className:"grid grid-cols-3 gap-x-6 gap-y-1",children:fi.standarde.links.map(m=>m.external?p.jsx("a",{href:m.href,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-foreground
162/70 hover:text-primary transition-colors py-1.5",children:e(m.label)},m.label):p.jsx(ee,{to:m.href,className:"text-sm text-foreground/70 hover:text-primary transition-colors py-1.5",onClick:h,children:e(m.label)},m.label))})]})]})}),r==="servicii"&&v.submenu==="servicii"&&p.jsx(Oe.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:"fixed top-[112px] left-6 right-6 mx-auto max-w-7xl bg-background border border-border rounded-lg shadow-lg overflow-hidden",onMouseEnter:()=>d("servicii"),onMouseLeave:f,children:p.jsxs("div",{className:"flex",children:[p.jsxs("div",{className:"w-[220px] bg-muted/30 p-6 border-r border-border",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(Lo.resurse.title)}),p.jsx("div",{className:"space-y-2",children:Lo.resurse.links.map(m=>m.external?p.jsxs("a",{href:m.href,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",children:[e(m.label),p.jsx(De,{size:13})]},m.label):p.jsxs(ee,{to:m.href,className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",onClick:h,children:[e(m.label),p.jsx(De,{size:13})]},m.label))})]}),p.jsx("div",{className:"flex-1 p-6",children:p.jsx("div",{className:"grid grid-cols-3 gap-x-8 gap-y-6",children:Lo.categorii.map(m=>p.jsxs("div",{children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(m.title)}),p.jsx("div",{className:"space-y-1",children:m.links.map(w=>p.jsxs(ee,{to:w.href,className:"flex items-center gap-2 text-sm text-foreground/70 hover:text-primary transition-colors py-1",onClick:h,children:[p.jsx("span",{children:e(w.label)}),w.label==="GS1 Digital Link"&&p.jsx("span",{className:"text-[9px] font-bold uppercase tracking-wider bg-accent text-accent-foreground px-1.5 py-0.5 rounded",children:e("NOU")}),w.label==="Obține coduri GS1"&&p.jsx("span",{className:"text-[9px] font-bold uppercase tracking-wider bg-accent text-accent-foreground px-1.5 py-0.5 rounded",children:e("ÎNCEPE")})]},w.label))})]},m.title))})})]})}),r==="industrii"&&v.submenu==="industrii"&&p.jsx(Oe.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:"fixed top-[112px] left-6 right-6 mx-auto max-w-7xl bg-background border border-border rounded-lg shadow-lg overflow-hidden",onMouseEnter:()=>d("industrii"),onMouseLeave:f,children:p.jsxs("div",{className:"flex",children:[p.jsxs("div",{className:"w-[240px] bg-muted/30 p-6 border-r border-border",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(pi.programe.title)}),p.jsx("div",{className:"space-y-2",children:pi.programe.links.map(m=>p.jsxs(ee,{to:m.href,className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 transition-colors py-1",onClick:h,children:[e(m.label),p.jsx(De,{size:13})]},m.label))})]}),p.jsxs("div",{className:"flex-1 p-6",children:[p.jsx("h4",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-3 pb-2 border-b border-border",children:e(pi.industrii.title)}),p.jsx("div",{className:"grid grid-cols-3 gap-x-6 gap-y-1",children:pi.industrii.links.map(m=>p.jsx(ee,{to:m.href,className:"text-sm text-foreground/70 hover:text-primary transition-colors py-1.5",onClick:h,children:e(m.label)},m.label))})]})]})})]})]},v.label):p.jsx("a",{href:v.href,className:"nav-text px-4 py-2 text-foreground/70 hover:text-foreground transition-colors text-sm tracking-wide rounded-md",children:e(v.label)},v.label)),p.jsx("div",{className:"ml-4",children:p.jsx(qL,{})}),p.jsx(ee,{to:"/obtine-coduri-de-bare-gs1#pachete-standard",className:"ml-2 bg-accent text-accent-foreground px-5 py-2.5 rounded-md text-sm font-medium hover:opacity-90 transition-opacity",children:e("Obține coduri")})]}),p.jsx("div",{className:"md:hidden flex items-center gap-2",children:p.jsx("button",{className:"text-foreground",onClick:()=>n(!t),"aria-label":"Meniu",children:t?p.jsx(fp,{size:22}):p.jsx(uR,{size:22})})})]}),t&&p.jsx(Oe.div,{initial:{opacity:0}
162,animate:{opacity:1},className:"md:hidden bg-background border-t border-border px-6 pt-4 pb-28 space-y-1 max-h-[calc(100vh-112px)] overflow-y-auto overscroll-contain",children:My.map(v=>v.submenu?p.jsxs("div",{children:[p.jsxs("button",{onClick:()=>s(o===v.submenu?null:v.submenu),className:"w-full flex items-center justify-between text-foreground/70 hover:text-foreground text-sm py-2",children:[e(v.label),p.jsx(rg,{size:14,className:`transition-transform ${o===v.submenu?"rotate-180":""}`})]}),o==="despre"&&v.submenu==="despre"&&p.jsxs("div",{className:"pl-4 space-y-1 pb-2",children:[di.gs1.links.map(m=>p.jsxs(ee,{to:m.href,className:"block text-sm text-accent py-1.5",onClick:()=>n(!1),children:[e(m.label)," →"]},m.label)),p.jsx("div",{className:"border-t border-border my-2 pt-2",children:di.romania.columns.flat().map(m=>p.jsx(ee,{to:m.href,className:"block text-sm text-foreground/60 hover:text-foreground py-1.5",onClick:()=>n(!1),children:e(m.label)},m.label))})]}),o==="standarde"&&v.submenu==="standarde"&&p.jsxs("div",{className:"pl-4 space-y-1 pb-2",children:[fi.info.links.map(m=>m.external?p.jsxs("a",{href:m.href,target:"_blank",rel:"noopener noreferrer",className:"block text-sm text-accent py-1.5",onClick:()=>n(!1),children:[e(m.label)," →"]},m.label):p.jsxs(ee,{to:m.href,className:"block text-sm text-accent py-1.5",onClick:()=>n(!1),children:[e(m.label)," →"]},m.label)),p.jsx("div",{className:"border-t border-border my-2 pt-2",children:fi.standarde.links.map(m=>m.external?p.jsx("a",{href:m.href,target:"_blank",rel:"noopener noreferrer",className:"block text-sm text-foreground/60 hover:text-foreground py-1.5",onClick:()=>n(!1),children:e(m.label)},m.label):p.jsx(ee,{to:m.href,className:"block text-sm text-foreground/60 hover:text-foreground py-1.5",onClick:()=>n(!1),children:e(m.label)},m.label))})]}),o==="servicii"&&v.submenu==="servicii"&&p.jsxs("div",{className:"pl-4 space-y-1 pb-2",children:[Lo.resurse.links.map(m=>p.jsxs(ee,{to:m.href,className:"block text-sm text-accent py-1.5",onClick:()=>n(!1),children:[e(m.label)," →"]},m.label)),Lo.categorii.map(m=>p.jsxs("div",{className:"border-t border-border my-2 pt-2",children:[p.jsx("div",{className:"text-xs font-semibold text-foreground uppercase tracking-wider mb-1",children:e(m.title)}),m.links.map(w=>p.jsx(ee,{to:w.href,className:"block text-sm text-foreground/60 hover:text-foreground py-1.5",onClick:()=>n(!1),children:e(w.label)},w.label))]},m.title))]}),o==="industrii"&&v.submenu==="industrii"&&p.jsxs("div",{className:"pl-4 space-y-1 pb-2",children:[pi.programe.links.map(m=>p.jsxs(ee,{to:m.href,className:"block text-sm text-accent py-1.5",onClick:()=>n(!1),children:[e(m.label)," →"]},m.label)),p.jsx("div",{className:"border-t border-border my-2 pt-2",children:pi.industrii.links.map(m=>p.jsx(ee,{to:m.href,className:"block text-sm text-foreground/60 hover:text-foreground py-1.5",onClick:()=>n(!1),children:e(m.label)},m.label))})]})]},v.label):p.jsx("a",{href:v.href,className:"block text-foreground/70 hover:text-foreground text-sm py-2",onClick:()=>n(!1),children:e(v.label)},v.label))})]})},JL=()=>{const e=Xt();return p.jsxs("section",{className:"relative w-full h-[55vh] min-h-[340px] sm:min-h-[380px] max-h-[520px] overflow-hidden mt-[112px] md:mt-[100px]",children:[p.jsx("video",{src:"/hero-bg.mp4",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 w-full h-full object-cover opacity-60",style:{objectPosition:"75% 25%",transform:"scale(1.3)"}}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[hsl(var(--navy-deep)/0.95)] via-[hsl(var(--navy)/0.75)] to-[hsl(var(--navy)/0.4)]"}),p.jsx("div",{className:"absolute inset-0 bg-[hsl(var(--navy-deep)/0.25)]"}),p.jsx("div",{className:"relative z-10 h-full flex items-center",children:p.jsx("div",{className:"max-w-6xl mx-auto px-6 w-full",children:p.jsxs("div",{className:"max-w-2xl mx-auto text-center flex flex-col items-center md:-translate-x-8",children:[p.jsx(Oe.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-2xl sm:text-4xl lg:text-5xl font-bold text-white leading-tight mb-3 sm:mb-4",children:e("Descoperă noua generație de coduri QR powered by GS1 ")}),p.jsx(Oe.p,{initial:{opacity:0,y:20}
162,animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"text-white/85 text-base sm:text-xl leading-relaxed mb-5 sm:mb-6",style:{fontFamily:"Inter, sans-serif"},children:e(`Ești pregătit ca produsul tău să devină o experiență
163pentru consumator? `)}),p.jsx(Oe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},children:p.jsx(As,{asChild:!0,size:"lg",className:"group bg-white text-primary hover:bg-primary hover:text-white transition-colors",children:p.jsxs(ee,{to:"/gs1-digital-link",className:"inline-flex items-center gap-2",children:[e("Află mai multe despre Digital Link"),p.jsx(De,{size:18,className:"group-hover:translate-x-0.5 transition-transform"})]})})})]})})})]})},eM="data:image/webp;base64,UklGRlAHAABXRUJQVlA4IEQHAADwJACdASpwAHAAPj0cjEQiIaETTAVUIAPEtQBKgaYJ2/8dvYdpH85/A+/3GA6p/0H9s/In3O+qTzAP0k/1noAeoDzD/tf6RXqN/vv9m/FX5AP5F/b+sb9AD9ufTH/c74Nf2i/aD2mtVXTr5aNIj91/yXDDtS7u1j/vTNWW6n5DqgB+gPQVzx/UXsE/y/eZmMba6QdaUNgiVSsK5GqvUuulkoO6Lp41t/mSIy7XkMR9Rf7n1R6Pj70l1FUe0rdXfQdrejtkaH/DIH7nl3rpVqUMi7g2wOic5bzHyPrU4tWFa0wxboEDDf8/U5pP/CZ6UBBtXQ2hbe1SoV6RbgTPbLOKRqP+8mIfriON/urxg8+NleM8XpqK/jZxsAdxg/iwDNLa6UCdU/2njsGT2l/8d/wAAP7++HGZaitNrTxnY48LxGwoMGQe0XsVAs0wgzkq9FE2LVROKiixKU2L9NzUHZFQB31jSf3ZRF/gG0+1SponY/RPpnVx3KG/yT77CDMl3uFlx2hdHLrT2Y30ru9mq0vPsUdMPYwoEfh7Ta+b1FpiZm31/nn9WewKHZboB0CR/spcx5eQo0O1AnyND8n92OMZKhFuhIBHTGZqUWAnYT+6qzdR6qAV+/fXfFv7c/+xW1/xKYm4QjKkEVkvNbTxRBZUlvrs+M75WULrGfwsV+XF2yQB1tK6UoF62w1FlNU8xHwu7hWwpVhJ8fo3JilDD827cPZGgYLhLA99cuMT/EfeVN4yzirbqa37ULyn2AT5vldcNz/hyDVih7H2hI99uvUtu7/E5kVFNAKJWTRXltj+TWsSdZ20FWn/C+R3ODyIvuF8zi+ORoTKvMlBfE7lZfAlKPNIJQVK6sPIDerqxwD7/bPm1Llozw+Ul/pLxGIe23Qko9YlCUkU51cnEp3sbDROT7YDy9I+aO4IyzQMIR65dGdWK1kW/RJed1za876X1PjvurMqpLXTVGVlvx3e3xeA0x4iZTP2mBpD737QoUqfOeMWpUO7ImVmu0SLWFWNW1FBm2MQwY09Tl5TLHADzZUaQKPwpcZmzTGnQc+K4825ATMwRmJ88l1V4wtmXdp0IYtCUSu/IaN1xlefMthzTRwa0a4GulllzemcKCHSOQqZ1stcCVVv5yVKS8r+EJe/Jr6A5hBZf0BvAg/VPxLyBuLWHEjC8pFux6oOe/dMycM9wj0xN0/RlV5loihpwsGwBvqZVc8jXueUzcVtGqdaUvULxoG4Q7nmkJZbOXpuRtvzwPbextWZ4OuXZalwXYfEHmN78SYRsQM+5da7jSYQp+08B/aAYqAkoDmDAW6ziXCDbYEdYwJWCt49rRJnKOgbGSqS7zVuKnNVw72Rr08fv8UipY7akJLhdzHzNRmHeYO0DNqnfYeoTfmVazt+PzXynHborKsnzGMZEU/L2ZphQkMC6KtzSEno7SwbXiDFP7e+wZ225cDyPcjFC1FIvOF+SdsIRhUr1tpv1cY/Pr7nkKFrs4Mu/L/fe8TPwlEEx/eqXuqixw2ANgUDM2PvL/1LXm4yPl7SwGTv1X2/0Z8hLwSZTe4YibmnclrEb8Adj7DMp7qx4N2o6hXQju97rLrC+0/2/5v/I85/mI/IiwwA1+Px81V5roDcKNeqn8Zgi2PfWYQIO+AU3k9+/5p/LLE6nWNU9LHFTCMMjOwNLsLX2KjXq9zL1C1IyvnoRxGLSIlDAlVz3lGE3e8KPhg7BEmd+GR76xaT2V05FggzMHWu1YuAK40eqh0Jlhow8wIfKW/itskp+OGaZywazFdWr46uV//2pvfPsHMFm3RLfDA2NA7FiFbbQrhNPhF6jjpRAyXOE+pm8Zn0m0163n1+RIOYtSWcQsQwS34t3HgjunonHxSDcFE/dkrqw1dYRDUFsQuebiaZFM5usrPT0YR2T0TQ0C/y8muZXrBMVxwnPrP8fdvHxtc0b2pEuxyX9q4P63Wxu3fR1SJ9rpf8L1pDXas1deA+8CQCRBbecAK1VVpHf4HTpUuKx3B7Pk/4VEau1N0IK67OkxOrv+AO37ZsrFd0mF4BkbwNYCqzgrLCgCclWCdZnfguzS1n3VHcQvOrdLIfBWboDffzXeDO0ZOoMAu9GfJn3wyAMspLkgtlRJuzursD05dpO7by3CqGZ2hOT9sRKQpjBTzRt55K/QCbIBWzxVG9lJ5kUx4KP6nkbXr36end+8WdtuoYX05EsJKxdj2Gp9hH3A5yP0g11nKcnGDi4usZtcN2aYrB3IDRIuH+BOa5oytBxYJzC9JNdXvExITJrfVlVarkWG2YPBvAk8TZr8Yp7708oa8BEDDqnKCQUqkgOl3FXoeaph4Oo+zFV+/hBoSAtV+CO+Ie6Xe+68NkHjvNu34frCcgwKjf0KoNOvzNWc8D0pHn72hXmtRJFFAQ5szbz3NfKe//xiqjqAVwf/gy/SO1aT+BYAmFgi8FQfKeMe3AUPFmMbwxaW5aeisuX5hAAAA=",tM="data:image/webp;base64,UklGRjYMAABXRUJQVlA4WAoAAAAQAAAAbwAAbwAAQUxQSFQDAAABoERr2yFJev/oiFy1bdu2bdt299a2NbNv27Z2ts2ynejMf5GK+P/v20fEBEBPw7Qs0wCDRpnO0zfsv/743fcfP7+/e3zjwMYZXcoaVOVvt+TCH5+00ff30rIOBcgpNeVMYkA6GEg+P70MIflHXM6RCuZdH1uQhiqbYqSycdurayfq7c+RSucdbSS0qrbfLZX3HK2lT8FNWVLLnB1F9BBDvkttf482NChx2C819p8uo1yP31Lz2P5CKXOlW2rv3WgpVPS8JPFaCWUqPZNEvq2hSKNfkszYFkq0jJOEJrdToGWSJDW1vWMN4ySxyS0cqvRLkhtX05EizyTB70o6YJ6VJF932bdCEr1Z2NXdTZVvkE0lfkmy48raIg5Lws8adgz2UxYYZ0PBb5L0v0Wj2yiJ3xNV1UzqcutGIfZJ8k+KyOq66fM2jWyfZPBURJVzOHDXjmSjZHFPBPn/8pBYONxwyeTkcBe5uBumZA4X7gqhJkk254Y6xce1EPkT+EgvEtQmwIfsFrRIMro26BwnNwEYvzhJNIFSPk78VYCOktU+wFReFgDreNkB7OPlJHCVlwfAQ15eCeMtL99M8ysvMS7rJy9xDJlfeYlxGW95+WbiIS+vBK7x8gDYz8tJYD0vO4FpvCwEOvHSByjt48RfBTD+cJJoAbjAyS0AWMLJuqB2AUZ6BOVP4iO9SBDO8nFdhJjCxzyELJXLhadSKFzh4h7CjuJiSrgCsTwkFQmHLTz8hwir5nLgqRsJDnFwBhHXc9PnaxmZOETfaREZamRTl1sf0W6l7n9EXegnbbHFo8NwP2WBibDROE7ZhXx2oNRfuhLKw94+Hqp8Q2CzWEvVdmEXrMs03XbB/mKvKPpQCk5W/UtPfG042zSRmpTWcLpdKi0ZXeB8u0RKUrpAxWYxdMS3hprVXlPxoTZULX6FhluloK613qufb5sLKou+MbolDBZQvPRJv06B8+WhvjHqtz4xE/JByyI7cvTI3VsM2tY65lHPe6oedBaNjuWp5T7VVED3Gjvi1UncWxskFhx/M08F951JhUFnuVmXUgOOpF2dWwHUFuqy6lr8Pzv+JdxY062wAM1mxZ5ztx279+LLn7i4P19e3ju+fV6vSiboF6blclmmgJZWUDggvAgAABArAJ0BKnAAcAA+PRiJQ6Ihi21XbBAB4liANUzkPm/46fir8ndP/o34hyW/w/9g/pv8W/GXtAeYB+nH9A/gH5Adwj8APYB+uvUP/ID3AP6n/MOsN9AD9xvS3/6v91+DP90/YJ/UX1ANcv/tfbL/gvqV7f7197XculmF+r8ye+PgBfjX9E3akAH1X77XVrVSqAH8W/rv/b/unsMZ0nzj/VewV/Mf6l/0+xT6NX7AKkGTPcD05yJWPGk339iAddRaG7FFNr94BgP2aQw1+shAHvkdZSESD1HVvFmSNVVICW1v0u9Y8+vrIjF4it1nmxaNvbq4h9tUfEug08PMxXdBtPfuBI3B4Tb0T0+4Ji+vliY2JPUKzVoiZGJD5n1dyjZvSEdnhgZfNuKp/ES3i4apjmWkWODslkp1yRdrEGxKso5Rc8LC02BLcz2WAtrrEhW+hu+lD+f093KdI39Vjnvu+iAAAP7+7rS+9zAnJsvKRamQo+CI//1k3n1zglrnpgA3kVIevdjhW/Is4CE1DWDb+s//RD/fG9HFy/Ifzz9tGhuDyF4DDVXD1x33nyXynEsStbz//FH1CRk2qpCa4fmpjfo/oVXMEB7y5cOaHstMIbN2kVP+LNrf/WUsT2WDLYcT3u4Ob63lr2r/+gCQ+btnNG4B7tb4Ye2h6O1AXsi4ByZNaN8rEmsPoMFrEQv5k8ohu/NA15KIG9FCoHnuezAz0AR4d5U/WgLXBodo7E8f/T3NS1AJ21lJrtQSmlYptPZPReTNUYW8Cg4XuzbB5RB3Oj3ezxdpl0VxVPHUcvwDJucOcAMFPW10SR3uYwNpWDV/jsuTm5qsHlanSaxuAwJ4Bn3F+E8ekopXmA7wwYTPO0EV1p4V/GniIja8bdVPFCfmJBhvHlF0fNTdhQ8Ny10w1MTbVbYLmANo8V66SMm450kcwqTY1rQEIX3+E6TDM+EGp31n/6543iWA7u+RApc6Y54uNSbccP7Vxh5a4A+Uly2UPe09YF6ivUxheUWdlyGkSH8QK0Gm4C6Dbf/4MTDqC/u5n1UtezqwDA+SiUVu3r8bDqWM7uHk190uXXl/xCpbn+rm4jWVpzjlc0aObNN/zoL5rwCiNWsnVYZ8N3XFpw69ZG+VamkG9KMe2AhXFJBDcBb/virOXZ6SUUMSp9QuNZ8HuN/OHt9bhWf4cu4mlR73EzezeQ3M/2sPnXFg5Ca1XBKG2o8MhXoEU+wAEsFFvyWJJ/l6fxKsn4o6DDuVPp+Q3dOCtVAhLwwQhk6zUOovA9zb8E4dRTAWA8q5F8f31pQo52JE2TTxSJ/m+4PRB9zknyp0/XyiPDpRKelLQZtYon/fPKVWuSd7BB16SWIoppBMV33N8foZdHZjrgiw88f+0x/yAdznAa//+qXw/YJfSRC0D6a5xX9A0ZKZlol0L5S4Mvu9u3WDtFJBsboYsBnd8vCUNEqcEpfTjCr6/CsOoPLIfBG+vSVJbOLdBXQSQHQ+upNanY5AxxAK
163/aDD9/4Tu/PtwAd4PZGyGkJp8g9NcDqmaXTbaiMRRre7+oeR/AKnyd01rwNpNUM9YogRmWwQUpgSLEompt1JlMz0wYdcL7Lkmi1MHmGxXoOe3OdnG9PSr/zlLif/lV3HM08pJix86HRaYWHa68sa6zXsiC4fCEMyFeiRjGlARxkH/M9sd3cig2y0l5WyMAXAdyBVeTWP+DEd8BTGj0PGnzaFvyFR4XY7svBEny2en7j6wqNEq8SeOqJERPkFEms3O9PS72XqndkDUP0YYsGv1ZSWTDyF8NKOiYe+cMO9GH6A+ZdT8/cm/vQGVOxDMxkL6wdHKPOPKHWF4ChWxqjPLty+7C1ttt9Q8HWBIDtSityK+E4W9mU8E2FL5S1Y4CBMybwUqg36j6+u5/wVNrENXy81MlbRa9YC87dW1K6nQB+3eq9p8e0iUuRBHu9FtzcrKSJRaEkGY/LDidncryZOfF/FUtZEXPoPCoLwFAJEC3/2Vdf9af8NhnRqrs3gcS+geuh24OpPSzBAxUKtWZAyW8l3U8eUl/1Ij3aDmYWf/7NGhPk2vJ4dnH4vn5jN5Zb9+NTH3flLuj3MSrdgs5Ke+mIoC+e5nub5X76Yk82GcyrnwN4ZjuRvbY3bZjx26yLCEmQ3m9NQzVfhLxEVdXXz8o1H1DQI1ZWoy0hi2HbhHipl2OFwPgYm/+f//iZ4cFZKFSsIj7ss93gpStHb8sO2mEyf7zzmNBwLp1T9Ay3SvaR+kcVGHnfKg0BEYcRynjo5sCg78Ls7uG7br7172GxWWSjJjyyr8Frb2wHBF5lP+kO1N+EcOv69FRjiufloHvIRk/DwkEVhCzsA5sSVnW0hIqN7/oxyUXMXDmQjgxUzDTlsSIVlOVcTRNRZLYt9Zkro/uT58Ab2gPlIoMqCAm+y8xu+4lEEZax3jgVRXVTiD2FLQO//5vGhZZVEOfzSCc7Q+wJkYZeEkFnnRxbvLrQ69L0kUfE7K3zMPNitUaqDI+VjANWrF+0KsiKunesi2xfViDqhtfqO5hE6ej4wUaMKgLB/CWsPM1sm1FnpfTY97/8FKXP9Gio8ZcjOVEJ+DxzZtYEq8m/YAJJwO7S8yLo3kaYD8elIsOS2Sh/arWl3UeERfsEv8PPACys3VJGrh7d3d74OB1Uk0pRyrEI1ERg2yldbTJ76PXSWlDDy+O9KX/wdF/B5UXTjnCIrHzWdj8MBVbP22HawUTLC/xCAXJoJbej16qWQkTgXYXgoO3ziaASZ2qjxYajbnvxF29e7j6J6UkYgedoyNtWpqrokcLB0AJrqq12OSwgtJiAVaNX9G+RRABVPENRrY7oH6dlUXGpV7+DRarSQK03HY7/YsMM7L1ifZz9xaKJnHXXcaWryyaXHL2cgcblQJWo6v/41b/7oUD/5jWBnmfQnhAyL1USAPqqwZ/34EX16UNFxwBJvDiy+S1AZo6DBdkN/p6pmPk0AAAA=",nM="data:image/webp;base64,UklGRggLAABXRUJQVlA4WAoAAAAQAAAAbwAAbwAAQUxQSFkDAAABoIRt2yG5ev9KVYd9ZYzYNo5tm6twdbzjcnBsLMPVMD62sYudzqD6mpqJ0073t2hV/f/37SNiAmCmZTuObUFAq/6mtU0bv/pn//FTkRMH/v1mU8v6WxotrsZc++q20xnyMdO7443rw+zUreoYyFGAucFta+sZGf34zhhpGP/q6TAPk1t6SVv3nWnGqTkbYqR1fOtCZdTUDQnSPrV1ljnhpotk5OV3K8xQDx8nYyNPWgbUbL5CBmfbGrS7PUKG992ntLLfTJLxqSZHo4ouYnF3jTaT/icm907XZGGE2OxfrsUKlxj1rtdgxSCxevb6wBa6xOzg8oAmnSJ2+2cEUvE/MbyvJgC7i1j+yvHvTWK6Vfl1e5Kr9AM+1USIbbfRF7WZGO+0/Hj4CmfZZ30IHyfWe6vKaybmPypr6kXuYnPLUBuI/TZV2pwEf+llpW0gAdtLmhyTIDm7lBYS8eMSRvfK4FUUe5yEXFVspxQ/FqmLSZGcWGgViflcoQ45viowekCO8xV51+bkoNvzXiVBm/K2SfI9AOu0JJ4N1GckyU4FbiJR7wXWyvIS0CTLh8BGWdqBr2T5DfhHlr2WtV+WE7Z9XBY35ERkiQpkn5DFDVkHZDlp419Z9ln4WpbfgU2ydAItsnwMrJflFeAWWe4HGjOSZKcDVq8kQw6AHZL8CABvSNKSd31OkLvzwoNyXKjKQ7cc36kCa+V4EQXr41KkphTCV1L8iqLPSLGuWNiV4UxVMbwjw+cocVpcgtT8UrBVgm0oeWGKv8xVpamt/G1TpWHmZe4SC1Hue9x9ibLHRniL1paHJ7Oc5VbDR6uNs13D/EBDH1/eRPh7X4qrzOPwWTVx9aHyC85unn4aDv9r9nJ0uAFBTu/jZ2Aegl3ucXPuOgR9/VleLtyK4K/3ODl7K3Rc3s+Hdx30nLGPi8NzoWvNVzz81AB9nda0eZkPh0Nn9YBrmve4guaNnVmTcrsmQX/r2V5zoquHwciqj2JmJL6ohbFz29L6ZbYthMlqWVtSr9S2qxRMn/2xp8/QF/MVOKxY9WNSh9Sv66rA58TnvjofzIXvXpyswKuquL3pey/rR3box5a7qxR4tqfe+9KH7b/tPeFGo+7Jfb93fvzK/dMd8G/ZoVAoZFswEgBWUDggiAcAAFAlAJ0BKnAAcAA+PRqKQ6IhisS3ThAB4lAGsW8N6Xks1P+s72mYz01+EMQHqA8wD9W+kB5gP2S6hXoAfrJ1gHoAfuN6bfsj/uX+3vwAfs5//849/oH41+E39t+rft6fMKRL7W/euHnag/wm+LgA/KP5l/uN7N5l3EDUAP5H/Uf+57K/9j40PzL/P+wP/JP6h/xux16HH6pJaj77/f0NzmJFCW5dI6VhBnwSwmJJXRldtL/OV4SHXfh3juHW6yCxZ9o8ubeLSS18+O4px8tAhbxnqxf+5Vn80XUrcvRxTkut7b064PwpzXM4s6mrNL60A19cCkc0K23xPYprgZHJe9QgCnjEWF5/+nvciAyfQaGloIwYCK4Hl1+fXpPK/j8IECrnrfMku1J1ChdvVf396BclpAAA/v7QMnXZ2698B15uah/pB7/0gZIbon2nk/ZLOA33bKbhLkK6LUlAvWyq7T+/gePG5e2A+QryIkLdlArbyJvVQMLlV3AN8o3wm1w2tuPIT3dvEfP47sVoCPnRaZqlS9Mz3mDCu0YuYOp1jeX/CBPf9IKcylo9/ZJeDFWFUcR/Pf/nGCjNWbT6zJz/hhNzVpYbopnLrKEaZGTlCyFIR9hy8pwG4Ic8oH1yZ1vfc4wjrrMSHAjIPYZvgvU2dhgqvrv8c+yt9IC2qK180S4JY1kur6xFUcGIR+Eak3ltf66eWX5jqWdQVaiKeEKXbK7kbQ2pGL/NgU93+qPJM/ngmC+d0+ejv80ODlPIxLSWv2+MRhE5DB8kF4xP/WK2Id5/mMRUtLS5QOzZ1EdcPPwLs28UTu+pRQsD4NIpQPt91XYc66j5PKIT80z4IdoT4XHrjNQNhTtSrVDwdREgr+1TR5+8CJaE/8iPQn91/G4U4W2XkOPo52lIHUoMJNpppV9a+10XAxiDJS1/+MAmbHstVMZ3+59DOTShYDVrQi6fayBF3Ui7z/zeqh1RT/9udBqHm9VtMw3p1SuVzeFFbE9Nt7ph65tCBM7ipzXR+rgPzSghDJ8vlw7muhIPb8Uv0GmexS85A2UMncveEBIMveAvhs7cilyx//Hvh9DXmmwwWowSweSEK4I8rwptBGgd/linLfimPf6QOnkyCWhb3HEqNOm9ciclG7nXriwyZ8a9poW83mLXh4wzV/BX/wNuVB7F8L2kVZs+Ha7GzoUj6TMjR7/zHPtO1Xknat94buHQg2+Lk+w73fCaS1eBN/UwI7Jqw4NH5gx0bUjJsE8ScAiXpVEJy8XZrtJAtui0PNm3V/0pvmTUS4lbAyQsIWxSVva0XTG0w2OIoFV9pjbEI1Uk0/uFzN2R5uoXSZYaU43ZbLfSVm37qHi0MX8GrGs4nrTLCsnhi6sdImAOwL+Hc8+HSXdl3bEM8ndTkM0PGAftoXwOWxgbVrNpPmb/+C0Zn/oPnftf3nrPar/WAqQXJJ9RNE7nratKM
163dLk0jtxS34P7r8zbr6ro/rZk2fykbiWm3yhfhs8DeLED+g1tnTUBbRs1VP/iozH4pY4txxBGI2uZAHit29XqlUb3cK6D2Ow6AD+nGNczPD7lok7rFtK/JGpgV7PuE4VsCTEu30lebxEfIRTngQ+vZlfRuW948oF+a2422FzssCV+td5+fJsAC8lD+X/aqHnOzk/XAKpa8CqBDCQ/TnZGcCf197aqTMjFvUTwXU3jHHSUPd1niJn+3YCHWZUTiTbCuWjuiz4FC4mys0yhyqpcwT9H/WIr/6pnwAE8pPFzX1QofOJcXFa4cWkEzVutqdzcdkS5jta4njGin9uX+cpjoL/U7uN/9p3oGXs6K1BXyBgS+f2J0sZ/JqqgViN7bntCCRb07H8s7l+xYtFK1ZgcSS7HMTCz2JGz7cCaOypNqdUdwLZKs5V8nj5ghyQ5yf4gORB8n0P+n3TIHfc47jD38UtbnIvVQUMXb0EiVRJN0fEP9I9lTY8STgdeEhux+jnJhDURDlLhjVUartEIFF8YkU4AoCIzMu3rGKSDr7pcUUTm2H19HMin2wOeK2v8w63z3e/91oPZna8Ua3JBiGhGB6VYzlZkcIoneZmIXb7/GofIu9UHWlqzYFWvc5Gzd+oRtnsBhClBi4phjeVBo6GHYA78/iBRjpsQUjLmlDaEqHzM/N4G6LfA4FCHw3/3aF8pc4AQN9mbCI3+zo1HDT+1Gr/yfTUfuK8h0JilXdu8COk0owNINVaheipcytFErkkKShYkj2Av/Lt96W1ztKOT+V9Bgux8eU7gcV4BQAwbnWZ4Wz+yRVyIOHZPx5yCqI5SmLBP27CMOsbCbpJtSUY3PLsWtXfmV9PUxzSONC9wKENKx1+Vb/9YrzXH6bcZp+NnT9XH/QIZH4OZpNxwAzWUcrlcEJ2nsaSN1zS9WTVBRlH8rBR7JnSf9CkfEslNf5a89Dvg10ybk5odrB6UyySWFjD2+avVZ0IbMrrsw8HEMIyvvaB6e6rVyE4B+VaCguLwXFPs0U5g9IuVv//+/J/7UaC/8izbjrHohWGVQzuuS75EYs70Zp1msfa0UG6JmuInaWaVXf/Qp1SdfW/xoIAAAAA",rM=[{image:eM,title:"Identificare",description:"Identifică unic produse, locații, unități logistice și active, oriunde în lume."},{image:tM,title:"Captare automată",description:"Captează automat identificatori și date prin coduri de bare, coduri 2D și RFID/EPC."},{image:nM,title:"Partajare",description:"Schimbă date standardizate și de încredere între partenerii comerciali."}],iM=()=>{const e=Xt();return p.jsx("section",{className:"py-14 sm:py-20 lg:py-28 bg-background",children:p.jsx("div",{className:"max-w-6xl mx-auto px-6",children:p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[p.jsxs(Oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex flex-col justify-center items-start text-left lg:pt-8",children:[p.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-foreground leading-tight mb-4",children:e("De la produsul fizic la identitatea lui digitală.")}),p.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-8",children:e("Identifică produsele și pune informația despre ele în mișcare, de-a lungul întregului supply chain.")}),p.jsx(As,{asChild:!0,className:"group bg-primary text-primary-foreground hover:bg-primary/90",children:p.jsxs(ee,{to:"/obtine-coduri-de-bare-gs1#pachete-standard",className:"inline-flex items-center gap-2",children:[e("Obține coduri GS1"),p.jsx(De,{size:16,className:"group-hover:translate-x-0.5 transition-transform"})]})})]}),p.jsx("div",{className:"divide-y divide-border border-t border-border",children:rM.map((t,n)=>p.jsxs(Oe.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:n*.1},className:"flex items-start gap-4 sm:gap-5 py-6 min-w-0",children:[p.jsx("div",{className:"w-14 h-14 flex-shrink-0 flex items-center justify-center",children:p.jsx("img",{src:t.image,width:112,height:112,loading:"lazy",decoding:"async",alt:t.title,className:"w-full h-full object-contain"})}),p.jsxs("div",{className:"min-w-0",children:[p.jsx("h3",{className:"text-foreground font-semibold text-lg leading-snug mb-1",children:e(t.title)}),p.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e(t.description)})]})]},n))})]})})})},Iy="/assets/gtin-DtpGaNGJ.webp",oM="/assets/gtin-400w-CLtUVEiH.webp",sM="/assets/gtin-800w-87CqEWbV.webp",aM="/assets/01-dispoz-medicale-CirJHH_p.webp",_y="/assets/ecommerce-Cr1uooWG.webp",lM="/assets/ecommerce-400w-D3vOF1kj.webp",cM="/assets/ecommerce-800w-DEqIc5ER.webp",zy="/assets/sincronizare-date-BiWp30Im.webp",uM="/assets/sincronizare-date-400w-C6lWyyed.webp",dM="/assets/sincronizare-date-800w-B_Gau-RQ.webp",Vy="/assets/sgr-CJs4rp0e.webp",fM="/assets/sgr-400w-DZ7pTeg5.webp",pM="/assets/sgr-800w-BTyX6ozs.webp",hM="/assets/07-etlog-DQEjInJX.webp",mM=[{image:Iy,srcSet:`${oM} 400w, ${sM} 800w, ${Iy} 1600w`,width:1600,height:901,title:"Coduri de bare GTIN",description:"Identificare unică pentru produse prin coduri EAN/GTIN recunoscute la nivel global.",href:"/obtine-coduri-de-bare-gs1#pachete-standard"},{image:aM,width:345,height:194,title:"Dispozitive medicale",description:"Identificare UDI conformă cu cerințele europene pentru trasabilitate și siguranță.",href:"/identificare-dispozitive-medicale-udi"}
163,{image:_y,srcSet:`${lM} 400w, ${cM} 800w, ${_y} 1600w`,width:1600,height:901,title:"e-Commerce",description:"Produse pregătite pentru marketplace-uri și vânzare online.",href:"/standarde-gs1-pentru-ecommerce"},{image:zy,srcSet:`${uM} 400w, ${dM} 800w, ${zy} 1600w`,width:1600,height:901,title:"Sincronizare date",description:"Schimb automat de informații standardizate între partenerii comerciali.",href:"/ndp-sincronizare-date-produse"},{image:Vy,srcSet:`${fM} 400w, ${pM} 800w, ${Vy} 1506w`,width:1506,height:924,title:"Soluții pentru SGR",description:"Digitalizarea colectării manuale în Punctele de Returnare din sistemul SGR.",href:"/retusgr-digitalizarea-colectarii-manuale"},{image:hM,width:345,height:194,title:"Etichete logistice",description:"Etichete GS1-128 pentru identificarea și urmărirea unităților logistice.",href:"/eticheta-logistica-gs1-128"}],gM=()=>{const e=Xt();return p.jsx("section",{id:"servicii",className:"py-16 sm:py-28 bg-muted/40",children:p.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[p.jsxs(Oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-10 sm:mb-16",children:[p.jsx("p",{className:"text-sm font-medium tracking-widest uppercase mb-4",style:{color:"hsl(20, 78%, 57%)"},children:e("Servicii")}),p.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-4xl font-bold text-foreground leading-tight lg:whitespace-nowrap",children:e("Soluții GS1 pentru identificare, trasabilitate și schimb de date")})]}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:mM.map((t,n)=>p.jsx(Oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.08},children:p.jsxs(ee,{to:t.href,onClick:()=>window.scrollTo(0,0),className:"relative block h-full bg-card rounded-lg border border-border overflow-hidden transition-all duration-300 group hover:border-primary hover:-translate-y-1 hover:shadow-xl",children:[p.jsxs("div",{className:"relative h-44 overflow-hidden",children:[p.jsx("img",{src:t.image,srcSet:t.srcSet,sizes:"(min-width: 1024px) 33vw, (min-width: 768px) 50vw, 100vw",width:t.width,height:t.height,loading:n<3?"eager":"lazy",decoding:"async",alt:e(t.title),className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"}),p.jsx("div",{className:"absolute bottom-0 left-0 w-full h-1 origin-left scale-x-0 group-hover:scale-x-100 transition-transform duration-500",style:{backgroundColor:"hsl(20, 78%, 57%)"}})]}),p.jsxs("div",{className:"p-6 transition-colors duration-300 group-hover:bg-primary",children:[p.jsxs("div",{className:"flex items-start justify-between gap-3 mb-2",children:[p.jsx("h3",{className:"font-semibold text-foreground text-lg transition-colors duration-300 group-hover:text-primary-foreground",style:{fontFamily:"Inter, sans-serif"},children:e(t.title)}),p.jsx(De,{size:18,className:"shrink-0 mt-1 text-[hsl(20,78%,57%)] transition-all duration-300 group-hover:text-primary-foreground group-hover:translate-x-1"})]}),p.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed transition-colors duration-300 group-hover:text-primary-foreground/85",children:e(t.description)})]})]})},t.title))})]})})},yM="/assets/gs1-global-banner-BgqbhHgx.webp",vM=()=>{const e=Xt();return p.jsxs("section",{className:"relative overflow-hidden",style:{background:"hsl(228, 65%, 18%)"},children:[p.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${yM})`}}),p.jsx("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"linear-gradient(90deg, hsl(228,65%,18%) 0%, hsl(228,65%,18%) 35%, hsla(228,65%,18%,0.85) 55%, hsla(228,65%,18%,0.2) 100%)"}}),p.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-6 py-14 sm:py-20 lg:py-24",children:p.jsxs(Oe.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"max-w-xl",children:[p.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-white leading-snug mb-2",children:e(`GS1 România, parte din rețeaua globală GS1
164`)}),p.jsx("p",{className:"text-base sm:text-lg text-white/90 leading-snug mb-2",children:e("O identitate de încredere pentru produsele tale, oriunde faci business.")}),p.jsx("p",{className:"text-sm text-white/60 leading-relaxed mb-8",children:e("GS1 România este sursa oficială pentru identificatorii GS1 cu prefix 594.")}),p.jsxs("a",{href:"https://www.gs1.org/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-3.5 rounded font-medium text-white hover:opacity-90 transition-opacity",style:{background:"hsl(20, 78%, 57%)"},children:[e("Descoperă GS1 Global "),p.jsx(De,{size:16})]})]})})]})},xM="/assets/solution-providers-hero-Cesey1LL.webp",wM=()=>{const{t:e,path:t}=Ws();return p.jsxs("section",{className:"relative overflow-hidden",style:{background:"hsl(228, 65%, 18%)"}
164,children:[p.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${xM})`}}),p.jsx("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"linear-gradient(90deg, hsl(228,65%,18%) 0%, hsl(228,65%,18%) 35%, hsla(228,65%,18%,0.85) 55%, hsla(228,65%,18%,0.2) 100%)"}}),p.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-6 py-14 sm:py-20",children:p.jsxs(Oe.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"max-w-xl",children:[p.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-white leading-snug mb-3",children:e("Vrei să devii GS1 Solution Provider?")}),p.jsx("p",{className:"text-base text-white/80 leading-relaxed mb-8",children:e("Alătură-te rețelei de parteneri tehnologici GS1 România și conectează-ți soluțiile cu companiile care implementează standardele GS1.")}),p.jsxs("div",{className:"flex flex-wrap sm:flex-nowrap gap-3 sm:w-max [&>a]:whitespace-nowrap",children:[p.jsxs(ee,{to:t("/gs1-solution-providers"),className:"inline-flex items-center gap-2 px-7 py-3.5 rounded font-medium text-white hover:opacity-90 transition-opacity",style:{background:"hsl(20, 78%, 57%)"},children:[e("Descoperă programul"),p.jsx(De,{size:16})]}),p.jsxs(ee,{to:`${t("/gs1-solution-providers")}#parteneri`,className:"inline-flex items-center gap-2 px-7 py-3.5 rounded font-medium text-white border border-white/40 hover:bg-white/10 transition-colors",children:[e("Descoperă Solution Providers"),p.jsx(De,{size:16})]})]})]})})]})};function bM(e){return e.includes("&")?e.split("&").map((t,n)=>p.jsxs("span",{children:[n>0&&p.jsx("span",{className:"font-serif font-normal",children:"&"}),t]},n)):e}const SM=({item:e})=>{const t=Xt(),n="block bg-white rounded-lg p-6 border border-border hover:-translate-y-1 hover:shadow-lg transition-all duration-300 group",r=p.jsxs(p.Fragment,{children:[e.image&&p.jsx("img",{src:e.image,alt:t(e.title),loading:"lazy",className:e.imageContain?"w-full h-auto object-contain rounded-md mb-5 bg-muted":"w-full h-44 object-cover rounded-md mb-5"}),p.jsxs("div",{className:"flex items-center gap-2 text-xs font-medium uppercase tracking-wider mb-3",style:{color:"hsl(20, 78%, 57%)"},children:[p.jsx(rR,{size:14}),e.date,e.category&&p.jsxs(p.Fragment,{children:[p.jsx("span",{className:"opacity-40",children:"·"}),p.jsx("span",{children:t(e.category)})]})]}),p.jsx("h3",{className:"text-base font-semibold text-foreground leading-snug mb-3 group-hover:text-primary transition-colors",children:bM(t(e.title))}),e.excerpt&&p.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-3",children:t(e.excerpt)}),e.href&&p.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-medium transition-all group-hover:gap-2",style:{color:"hsl(20, 78%, 57%)"},children:[t("Citește mai mult"),p.jsx(De,{size:16})]})]});return e.href?e.href.startsWith("http")?p.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:n,children:r}):p.jsx(ee,{to:e.href,className:n,children:r}):p.jsx("div",{className:n,children:r})},EM=()=>{const e=Xt(),t=r=>{const[i,o,s]=r.split("/").map(Number);return new Date(s,(o||1)-1,i||1).getTime()},n=[...nw].sort((r,i)=>t(i.date)-t(r.date)).slice(0,2);return n.length===0?null:p.jsx("section",{className:"py-24 bg-background",children:p.jsx("div",{className:"max-w-6xl mx-auto px-6",children:p.jsxs(Oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[p.jsxs("div",{className:"flex items-center justify-between mb-8",children:[p.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-foreground",children:e("Știri")}),p.jsxs(ee,{to:"/stiri",className:"inline-flex items-center gap-1 text-sm font-medium text-primary hover:text-primary/80 hover:gap-2 transition-all",children:[e("Vezi toate"),p.jsx(De,{size:14})]})]}),p.jsx("div",{className:n.length===2?"grid grid-cols-1 md:grid-cols-2 gap-12":"max-w-2xl mx-auto",children:n.map(r=>p.jsx(SM,{item:r},r.title))})]})})})},TM=[{label:"Coduri GTIN",to:"/obtine-coduri-de-bare-gs1#pachete-standard"},{label:"Coduri GLN",to:"/identificare-companii-si-locatii-gln"},{label:"Dispozitive medicale",to:"/identificare-dispozitive-medicale-udi"},{label:"Etichete logistice",to:"/eticheta-logistica-gs1-128"}],CM=({showCta:e=!0,ctaTitle:t="Pregătit să începi?",ctaDescription:n="Devino membru GS1 România și accesează ecosistemul global de identificare și standardizare.",ctaPrimaryLabel:r="Obține licența GS1",ctaPrimaryTo:i="/obtine-coduri-de-bare-gs1#pachete-standard",ctaSecondaryLabel:o="Contactează Echipa GS1 →"}={})=>{const s=Xt();return p.jsxs("footer",{id:"contact",children:[e&&p.jsx("section",{className:"py-24 bg-muted/40",children:p.jsx("div",{className:"max-w-6xl mx-auto px-6",children:p.jsxs(Oe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-xl p-12 sm:p-16 text-center",style:{background:"hsl(228, 65%, 18%)"},children:[p.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-primary-foreground mb-4",children:s(t)}
164),p.jsx("p",{className:"text-primary-foreground/60 max-w-md mx-auto mb-8",children:s(n)}),p.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[p.jsxs(ee,{to:i,className:"inline-flex items-center gap-2 text-accent-foreground px-8 py-3.5 rounded-md font-medium hover:opacity-90 transition-opacity",style:{background:"hsl(20, 78%, 57%)"},children:[s(r),p.jsx(De,{size:16})]}),p.jsx(ee,{to:"/contact",className:"inline-flex items-center gap-2 text-primary-foreground px-8 py-3.5 rounded-md font-medium border border-primary-foreground/30 hover:bg-primary-foreground/10 transition-colors",children:s(o)})]})]})})}),p.jsx("div",{className:"bg-navy py-16",style:{background:"hsl(228, 65%, 14%)"},children:p.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[p.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-10 mb-12",children:[p.jsxs("div",{children:[p.jsx("div",{className:"inline-flex mb-4 p-2 rounded-md bg-primary-foreground",children:p.jsx("img",{src:Lb,alt:"GS1 Romania",className:"h-8 w-auto"})}),p.jsx("p",{className:"text-primary-foreground/40 text-sm leading-relaxed",children:s("Limbajul global al afacerilor.")})]}),p.jsxs("div",{children:[p.jsx("h4",{className:"text-primary-foreground font-medium text-sm mb-4",children:s("Servicii")}),p.jsx("ul",{className:"space-y-2.5",children:TM.map(a=>p.jsx("li",{children:p.jsx(ee,{to:a.to,onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-primary-foreground/40 hover:text-primary-foreground text-sm transition-colors",children:s(a.label)})},s(a.label)))})]}),p.jsxs("div",{children:[p.jsx("h4",{className:"text-primary-foreground font-medium text-sm mb-4",children:s("Resurse")}),p.jsx("ul",{className:"space-y-2.5",children:[{label:"Știri",to:"/stiri"},{label:"Evenimente",to:"/evenimente"},{label:"Standarde GS1",to:"/dezvoltarea-standardelor"},{label:"Verifică produsele",to:"/verified-by-gs1"}].map(a=>p.jsx("li",{children:p.jsx(ee,{to:a.to,onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-primary-foreground/40 hover:text-primary-foreground text-sm transition-colors",children:s(a.label)})},s(a.label)))})]}),p.jsxs("div",{children:[p.jsx("h4",{className:"text-primary-foreground font-medium text-sm mb-4",children:s("Contact")}),p.jsxs("div",{className:"space-y-2.5 text-primary-foreground/40 text-sm",children:[p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(lR,{size:13})," [email protected]"]}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(dR,{size:13})," +40 21 317 80 31"]}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(cR,{size:13})," ",s("București, România")]})]}),p.jsxs("div",{className:"flex items-center gap-3 mt-5",children:[p.jsx("a",{href:"https://www.linkedin.com/company/gs1-romania/",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"w-8 h-8 rounded-full bg-primary-foreground/10 hover:bg-primary-foreground/20 flex items-center justify-center text-primary-foreground/60 hover:text-primary-foreground transition-colors",children:p.jsx(aR,{size:14})}),p.jsx("a",{href:"https://www.facebook.com/GS1Romania",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"w-8 h-8 rounded-full bg-primary-foreground/10 hover:bg-primary-foreground/20 flex items-center justify-center text-primary-foreground/60 hover:text-primary-foreground transition-colors",children:p.jsx(iR,{size:14})}),p.jsx("a",{href:"https://www.instagram.com/gs1.romania/",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"w-8 h-8 rounded-full bg-primary-foreground/10 hover:bg-primary-foreground/20 flex items-center justify-center text-primary-foreground/60 hover:text-primary-foreground transition-colors",children:p.jsx(oR,{size:14})}),p.jsx("a",{href:"https://gs1ro-helpdesk.atlassian.net/servicedesk/customer/portal/2",target:"_blank",rel:"noopener noreferrer","aria-label":"Suport pentru membri",title:"Suport pentru membri",className:"w-8 h-8 rounded-full bg-primary-foreground/10 hover:bg-primary-foreground/20 flex items-center justify-center text-primary-foreground
164/60 hover:text-primary-foreground transition-colors",children:p.jsx(sR,{size:14})})]})]})]}),p.jsxs("div",{className:"border-t border-primary-foreground/10 pt-8 flex flex-col sm:flex-row items-center justify-between gap-4",children:[p.jsx("p",{className:"text-primary-foreground/30 text-xs",children:s("© 2026 GS1 Romania. Toate drepturile rezervate.")}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx(ee,{to:"/gdpr",className:"text-primary-foreground/30 hover:text-primary-foreground/60 text-xs transition-colors",children:"GDPR"}),p.jsx(ee,{to:"/termeni-si-conditii-generale",className:"text-primary-foreground/30 hover:text-primary-foreground/60 text-xs transition-colors",children:s("Termeni și condiții")}),p.jsx("a",{href:"https://www.gs1.org/",target:"_blank",rel:"noopener noreferrer",className:"text-primary-foreground/30 hover:text-primary-foreground/60 text-xs transition-colors",children:s(" GS1 Global →")})]})]})]})})]})},PM=()=>p.jsxs("div",{className:"min-h-screen",children:[p.jsx(ZL,{}),p.jsx(JL,{}),p.jsx(iM,{}),p.jsx(vM,{}),p.jsx(gM,{}),p.jsx(wM,{}),p.jsx(EM,{}),p.jsx(CM,{})]}),Ib=()=>{const e=gt();return g.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),p.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:p.jsxs("div",{className:"text-center",children:[p.jsx("h1",{className:"mb-5 text-4xl font-bold",children:"404"}),p.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),p.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},AM=g.lazy(()=>G(()=>import("./GS1Global-UxUi0Tw0.js"),__vite__mapDeps([7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]))),RM=g.lazy(()=>G(()=>import("./GS1Europe-B4c6MQEb.js"),__vite__mapDeps([27,8,9,24,25,28,29,23,18,30,19,31]))),kM=g.lazy(()=>G(()=>import("./GS1Romania-Ct3TDs2F.js"),__vite__mapDeps([32,8,33,23,34,35,28,24,36,37,26,17,38,39,29,20,40]))),NM=g.lazy(()=>G(()=>import("./ObiectiveSiScop-C8NHBkdc.js"),__vite__mapDeps([41,33,24,26,42]))),jM=g.lazy(()=>G(()=>import("./Structura-B9p8woBo.js"),__vite__mapDeps([43,33,28,44,25]))),DM=g.lazy(()=>G(()=>import("./LicentaPotrivita-X3ox8AZ0.js"),__vite__mapDeps([45,46,5,2,4,3,21,47,48,17,24,19,20,49,42]))),OM=g.lazy(()=>G(()=>import("./DezvoltareaStandardelor-ZeptBqsq.js"),__vite__mapDeps([50,10,51,12,52,53,30,24,34,54,55,14,16,56,36,28,29,33,57,58]))),LM=g.lazy(()=>G(()=>import("./Trasabilitate-BoHyd6zJ.js"),__vite__mapDeps([59,19,33,60,48,14,61,10,62,35,30,31,63,55,24]))),MM=g.lazy(()=>G(()=>import("./Identificare-BaRbiit1.js"),__vite__mapDeps([64,65,10,11,12,33,9,24,39,14,6,66,28,40,52,67]))),IM=g.lazy(()=>G(()=>import("./CapturaDate-BNLa-3ZK.js"),__vite__mapDeps([68,65,10,11,12,33,53,69,60,67,51,70]))),_M=g.lazy(()=>G(()=>import("./CoduriBare-CXpSs8Yn.js"),__vite__mapDeps([71,72,34,10,51,12,73,11,22,17,62,74]))),zM=g.lazy(()=>G(()=>import("./CoduriEAN-B5kg2lGp.js"),__vite__mapDeps([75,31,76,53,22]))),VM=g.lazy(()=>G(()=>import("./CodulQrGs1-DISZZ04s.js"),__vite__mapDeps([77,78,34,9,52,22,74]))),GM=g.lazy(()=>G(()=>import("./CodulDataMatrix-NlXK49uu.js"),__vite__mapDeps([79,73,3,19,11,16,63,15,14]))),FM=g.lazy(()=>G(()=>import("./EpcRfid-zaQfyfvq.js"),__vite__mapDeps([80,72,9,70,53,52,60,67,81,14,31,66,16,55,26,82]))),BM=g.lazy(()=>G(()=>import("./PartajareaDate-oGjgu3dV.js"),__vite__mapDeps([83,65,9,10,11,12,35,30,76,81,21,33,84,67,60,24]))),UM=g.lazy(()=>G(()=>import("./GpcBrowser-BY8XVJP3.js"),__vite__mapDeps([85,9,76,52,53,86]))),$M=g.lazy(()=>G(()=>import("./VerifiedByGS1-BF0lR4fq.js"),__vite__mapDeps([87,9,19,33,17,25]))),WM=g.lazy(()=>G(()=>import("./GS1DigitalLink-CqCQKNRQ.js"),__vite__mapDeps([88,47,2,78,33,1,9,55,31,14,36]))),HM=g.lazy(()=>G(()=>import("./Codaloc-DLgugIQg.js"),__vite__mapDeps([89,9,3,19,37,86,58,90]))),KM=g.lazy(()=>G(()=>import("./Medaloc-D3xGqva8.js"),__vite__mapDeps([91,9,33,15,11,19,76,57,52,48,92,28,39,63,14,93,44]))),XM=g.lazy(()=>G(()=>import("./FarmaSerializare-B3EgSX8i.js"),__vite__mapDeps([94,47,2,95,25,54,55,14,93,28,15,96,22,62,11,19,52,73,35,33]))),QM=g.lazy(()=>G(()=>import("./Canamed-DJCZXqT4.js"),__vite__mapDeps([97,98,23,9,40,33,99,58]))),qM=g.lazy(()=>G(()=>import("./Etlog-CC2fzO_J.js"),__vite__mapDeps([100,98,23,9,33,53,19,52,26,90]))),YM=g.lazy(()=>G(()=>import("./Clb-DF9lo4mb.js"),__vite__mapDeps([101,47,2,9,26,48,3,39,31,17,24,19,102,73,13]))),ZM=g.lazy(()=>G(()=>
164import("./IdentificareProduse-CbffN7xK.js"),__vite__mapDeps([103,47,2,46,5,4,3,21]))),JM=g.lazy(()=>G(()=>import("./IdentificareCompanie-MQs_6Rlz.js"),__vite__mapDeps([104,47,2,21,25,14]))),eI=g.lazy(()=>G(()=>import("./Gs1RoNdp-D9HRa-lN.js"),__vite__mapDeps([105,98,23,9,33,57,19,38,106,30,31]))),tI=g.lazy(()=>G(()=>import("./CodulUdi-BvQ8ituq.js"),__vite__mapDeps([107,108,3,24,35,19,109,51,76,30,22,37,62,12]))),nI=g.lazy(()=>G(()=>import("./RetuSgr-C7Dm0evQ.js"),__vite__mapDeps([110,74,102,25,18,28,30,11,111,112,33,19,90,82,48,81]))),rI=g.lazy(()=>G(()=>import("./Sgr-B1cot9Yn.js"),__vite__mapDeps([113,40,28,33,19,10,20,52,25,51,22,17,18]))),iI=g.lazy(()=>G(()=>import("./IerarhieAmbalareGtinSgr-CjKrOtYe.js"),__vite__mapDeps([114,72,17,52]))),oI=g.lazy(()=>G(()=>import("./Contact-opFj7IqE.js"),__vite__mapDeps([115,9,92]))),sI=g.lazy(()=>G(()=>import("./Retail-Ca46MDiE.js"),__vite__mapDeps([116,117,47,2,3,52,30,67,19,76,109,14,20,55,31,74,18,21]))),aI=g.lazy(()=>G(()=>import("./Sanatate-RRDnDGiv.js"),__vite__mapDeps([118,95,108,76,55,93,15,28,11,119,52,22,35,16,96,62,25,63]))),lI=g.lazy(()=>G(()=>import("./TransporturiLogistica-uzS9h8Y2.js"),__vite__mapDeps([120,47,2,73,26,96,22,35,55,54,14,121,38]))),cI=g.lazy(()=>G(()=>import("./SolutionProviders-D5ti80Ao.js"),__vite__mapDeps([122,123,124,125,126,25,3,52]))),uI=g.lazy(()=>G(()=>import("./ComunicatieElectronica-CJkCU4dB.js"),__vite__mapDeps([127,40,111,30,33,128,14,106]
164))),dI=g.lazy(()=>G(()=>import("./CBPScan-BOXPHh0s.js"),__vite__mapDeps([129,48,126,19,37,119,25,57,21]))),fI=g.lazy(()=>G(()=>import("./CertificareRVM-DqRUjD5J.js"),__vite__mapDeps([130,3,37,40,126,19,52,29,119,61,73,17,48,69,22,56]))),pI=g.lazy(()=>G(()=>import("./Aparare-D6i9cF0r.js"),__vite__mapDeps([131,47,2,19,76,35,22,73,14,1,57,17,52,66,55,25,56,60,53,29,121]))),hI=g.lazy(()=>G(()=>import("./LeanGreen-GxNHY9gB.js"),__vite__mapDeps([132,98,23,33,37,19,28,112,128,42,58,40]))),mI=g.lazy(()=>G(()=>import("./SursaCoduriBare-DC3_5OFx.js"),__vite__mapDeps([133,72,3,19,24,10,54,31,42,21,29,39,49,20]))),gI=g.lazy(()=>G(()=>import("./CalculatorCifraControl-C1LHQgKb.js"),__vite__mapDeps([134,99,84,3]))),yI=g.lazy(()=>G(()=>import("./Ecommerce-A_PH0mNr.js"),__vite__mapDeps([135,117,47,2,33,29,53,19,42,21,73,30,20]))),vI=g.lazy(()=>G(()=>import("./Constructii-CF3KEWDN.js"),__vite__mapDeps([136,117,47,2,25,28,33,12,40,62,66,10,19,20,34,57,24,61,18]))),xI=g.lazy(()=>G(()=>import("./Stiri-C7ZJZTo3.js"),[])),wI=g.lazy(()=>G(()=>import("./StireItGenetics-DQUhAyEq.js"),__vite__mapDeps([137,123,125,72]))),bI=g.lazy(()=>G(()=>import("./PartnerProfile-CRtGz-Oe.js"),__vite__mapDeps([138,125,124,72,3])).then(e=>({default:e.PartnerPricon}))),SI=g.lazy(()=>G(()=>import("./PartnerProfile-CRtGz-Oe.js"),__vite__mapDeps([138,125,124,72,3])).then(e=>({default:e.PartnerImark}))),EI=g.lazy(()=>G(()=>import("./Evenimente-C1cVq03I.js"),[])),TI=g.lazy(()=>G(()=>import("./GDPR-BMYuyeui.js"),__vite__mapDeps([139,72,9,126]))),CI=g.lazy(()=>G(()=>import("./TermeniSiConditii-ODbj2IuX.js"),__vite__mapDeps([140,72,9,126]))),PI=g.lazy(()=>G(()=>import("./Agricultura-D2W64k8g.js"),__vite__mapDeps([141,92,72]))),AI=g.lazy(()=>G(()=>import("./AdminAsistent-SNakGcME.js"),__vite__mapDeps([142,4]))),Gy=[{path:"/",element:p.jsx(PM,{})},{path:"/gs1-global",element:p.jsx(AM,{})},{path:"/gs1-europe",element:p.jsx(RM,{})},{path:"/despre-gs1-romania",element:p.jsx(kM,{})},{path:"/obiective-si-scop",element:p.jsx(NM,{})},{path:"/structura-asociatiei-gs1-romania",element:p.jsx(jM,{})},{path:"/obtine-coduri-de-bare-gs1",element:p.jsx(DM,{})},{path:"/standarde-pentru-identificare",element:p.jsx(MM,{})},{path:"/dezvoltarea-standardelor",element:p.jsx(OM,{})},{path:"/standarde-gs1-pentru-trasabilitate",element:p.jsx(LM,{})},{path:"/standarde-gs1-pentru-captura-automata-date",element:p.jsx(IM,{})},{path:"/coduri-de-bare",element:p.jsx(_M,{})},{path:"/coduri-de-bare-ean",element:p.jsx(zM,{})},{path:"/codul-qr-gs1",element:p.jsx(VM,{})},{path:"/codul-datamatrix",element:p.jsx(GM,{})},{path:"/standarde-epc-rfid",element:p.jsx(FM,{})},{path:"/standarde-gs1-pentru-partajarea-datelor",element:p.jsx(BM,{})},{path:"/gpc-browser",element:p.jsx(UM,{})},{path:"/verified-by-gs1",element:p.jsx($M,{})},{path:"/gs1-digital-link",element:p.jsx(WM,{})},{path:"/codaloc-administrare-coduri-gs1",element:p.jsx(HM,{})},{path:"/medaloc-identificare-farma-snvm",element:p.jsx(KM,{})},{path:"/serializare-medicamente",element:p.jsx(XM,{})},{path:"/canamed-dosare-pret-medicamente",element:p.jsx(QM,{})},{path:"/eticheta-logistica-gs1-128",element:p.jsx(qM,{})},{path:"/coduri-de-bare-la-bucata",element:p.jsx(YM,{})},{path:"/identificare-produse-gtin-ean",element:p.jsx(ZM,{})},{path:"/identificare-companii-si-locatii-gln",element:p.jsx(JM,{})},{path:"/ndp-sincronizare-date-produse",element:p.jsx(eI,{})},{path:"/identificare-dispozitive-medicale-udi",element:p.jsx(tI,{})},{path:"/retusgr-digitalizarea-colectarii-manuale",element:p.jsx(nI,{})},{path:"/standarde-gs1-pentru-sgr",element:p.jsx(rI,{})},{path:"/ierarhie-ambalare-gtin-sgr",element:p.jsx(iI,{})},{path:"/contact",element:p.jsx(oI,{})},{path:"/standarde-gs1-pentru-retail",element:p.jsx(sI,{})},{path:"/standarde-gs1-pentru-sanatate",element:p.jsx(aI,{})},{path:"/standarde-gs1-pentru-transport-si-logistica",element:p.jsx(lI,{})},{path:"/gs1-solution-providers",element:p.jsx(cI,{})},{path:"/schimb-electronic-de-date-edi",element:p.jsx(uI,{})},{path:"/protectia-consumatorului-cbpscan",element:p.jsx(dI,{})},{path:"/certificare-rvm-sgr",element:p.jsx(fI,{})},{path:"/standarde-gs1-pentru-aparare",element:p.jsx(pI,{})},{path:"/lean-green",element:p.jsx(hI,{})},{path:"/coduri-gs1-oficiale",element:p.jsx(mI,{})},{path:"/calculator-cifra-control",element:p.jsx(gI,{})},{path:"/standarde-gs1-pentru-ecommerce",element:p.jsx(yI,{})},{path:"/standarde-gs1-pentru-constructii",element:p.jsx(vI,{})},{path:"/stiri",element:p.jsx(xI,{})},{path:"/stiri/it-genetics-partener-platinum-gs1-solution-providers",element:p.jsx(wI,{})},{path:"/gs1-solution-providers/pricon-graphics",element:p.jsx(bI,{})},{path:"/gs1-solution-providers/imark-sistem",element:p.jsx(SI,{})},{path:"/evenimente",element:p.jsx(EI,{})},{path:"/standarde-gs1-pentru-agricultura",element:p.jsx(PI,{})},{path:"/gdpr",element:p.jsx(TI,{})},{path:"/termeni-si-conditii-generale",element:p.jsx(CI,{})},{path:"*",element:p.jsx(Ib,{})}],RI=new wC,kI=({children:e})=>p.jsx(SC,{client:RI,children:p.jsxs(O2,{children:[p.jsx(XR,{}),p.jsx(eA,{}),e]})}),NI=()=>p.jsxs(G2,{children:[p.jsx(nN,{}),p.jsx(M2,{}),p.jsx(g.Suspense,{fallback:p.jsx("div",{className:"min-h-screen bg-background"}),children:p.jsxs(dP,{children:[Gy.map(({path:e,element:t})=>p.jsx(ot,{path:e,element:t},e)),Gy.map(({path:e,element:t})=>p.jsx(ot,{path:e==="*"?e:Cs(e,"en"),element:t},`en-${e}`)),Object.entries(Ep).map(([e,t])=>p.jsx(ot,{path:`/en${e}`,element:p.jsx(In,{to:`/en${t}`,replace:!0})},`en-legacy-${e}`)),Object.entries(I2).map(([e,t])=>p.jsx(ot,{path:`/en${e}`,element:p.jsx(In,{to:`/en${t}`,replace:!0})}
164,`en-old-slug-${e}`)),[["/obtine-coduri","/obtine-coduri-de-bare-gs1"],["/licenta-potrivita","/obtine-coduri-de-bare-gs1"],["/standarde-pentru-coduri-de-bare","/obtine-coduri-de-bare-gs1"],["/sursa-coduri-bare","/coduri-gs1-oficiale"],["/programe-transporturi-logistica","/standarde-gs1-pentru-transport-si-logistica"],["/identificare","/standarde-pentru-identificare"],["/cheile-identificare","/standarde-pentru-identificare"],["/evaluare-trasabilitate","/standarde-gs1-pentru-trasabilitate"],["/termeni-si-conditii","/termeni-si-conditii-generale"]].flatMap(([e,t])=>[p.jsx(ot,{path:e,element:p.jsx(In,{to:t,replace:!0})},`ro-retired-${e}`),p.jsx(ot,{path:`/en${e}`,element:p.jsx(In,{to:Ha(t),replace:!0})},`en-retired-${e}`)]),p.jsx(ot,{path:"/admin/asistent",element:p.jsx(AI,{})}),p.jsx(ot,{path:"/my-account",element:p.jsx(In,{to:"/",replace:!0})}),p.jsx(ot,{path:"/en/my-account",element:p.jsx(In,{to:"/en",replace:!0})}),[["/clb","/coduri-de-bare-la-bucata"],["/cbpscan","/protectia-consumatorului-cbpscan"],["/comunicatie-electronica","/schimb-electronic-de-date-edi"],["/etlog","/eticheta-logistica-gs1-128"],["/farma-serializare","/serializare-medicamente"],["/gs1-romania","/despre-gs1-romania"],["/structura","/structura-asociatiei-gs1-romania"],["/agricultura","/standarde-gs1-pentru-agricultura"],["/aparare","/standarde-gs1-pentru-aparare"],["/constructii","/standarde-gs1-pentru-constructii"],["/e-commerce","/standarde-gs1-pentru-ecommerce"],["/retail","/standarde-gs1-pentru-retail"],["/sanatate","/standarde-gs1-pentru-sanatate"],["/transporturi-logistica","/standarde-gs1-pentru-transport-si-logistica"],["/captura-automata-date","/standarde-gs1-pentru-captura-automata-date"],["/partajarea-datelor","/standarde-gs1-pentru-partajarea-datelor"],["/trasabilitate","/standarde-gs1-pentru-trasabilitate"],["/identificare-companie","/identificare-companii-si-locatii-gln"],["/identificare-produse","/identificare-produse-gtin-ean"],["/codul-udi","/identificare-dispozitive-medicale-udi"],["/medaloc","/medaloc-identificare-farma-snvm"],["/codaloc","/codaloc-administrare-coduri-gs1"],["/gs1ro-ndp","/ndp-sincronizare-date-produse"],["/canamed","/canamed-dosare-pret-medicamente"],["/retusgr","/retusgr-digitalizarea-colectarii-manuale"],["/sgr","/standarde-gs1-pentru-sgr"]].flatMap(([e,t])=>[p.jsx(ot,{path:e,element:p.jsx(In,{to:t,replace:!0})},`ro-renamed-${e}`),...Ha(t)===`/en${e}`?[]:[p.jsx(ot,{path:`/en${e}`,element:p.jsx(In,{to:Ha(t),replace:!0})},`en-renamed-${e}`)]]),p.jsx(ot,{path:"*",element:p.jsx(Ib,{})})]})}),p.jsx(hN,{}),p.jsx(gN,{}),p.jsx(xN,{})]}),jI=()=>p.jsx(kI,{children:p.jsx(xP,{children:p.jsx(NI,{})})}),Tu=document.getElementById("root"),Fy=p.jsx(vx,{children:p.jsx(jI,{})});Tu.hasChildNodes()?V2(window.location.pathname).then(()=>ux(Tu,Fy)):dx(Tu).render(Fy);export{xn as $,De as A,OI as B,rR as C,a2 as D,Aw as E,CM as F,$d as G,QT as H,wn as I,Np as J,jp as K,ee as L,cR as M,ZL as N,Ns as O,dR as P,DD as Q,sv as R,fR as S,he as T,Zp as U,$e as V,ID as W,fp as X,Xp as Y,MD as Z,oo as _,br as a,GL as a0,we as a1,$O as a2,UL as a3,BL as a4,Oy as a5,UO as a6,fb as a7,cb as a8,wj as a9,Ms as aa,l1 as ab,c1 as ac,As as ad,G as ae,Fs as af,ur as ag,ap as ah,MI as ai,Fx as aj,El as ak,Mx as al,M1 as am,p2 as an,h2 as ao,m2 as ap,_x as aq,OA as ar,yN as as,Ha as at,LI as b,yt as c,Bs as d,lR as e,X2 as f,gt as g,xM as h,zy as i,p as j,Ej as k,dr as l,Oe as m,nw as n,nc as o,NA as p,it as q,g as r,Pe as s,lp as t,Xt as u,Wt as v,bM as w,hA as x,N as y,rg 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.