import{a as e,i as t,s as n}from"./dist-D4CVSex9.js";function r(e){return e[e.length-1]}function i(e,t){return typeof e==`function`?e(t):e}var a=Object.prototype.hasOwnProperty;function o(e){for(let t in e)if(a.call(e,t))return!0;return!1}var s=()=>Object.create(null),c=(e,t)=>l(e,t,!0);function l(e,t,n,i=0){if(e===t)return e;if(i++>500)return t;let o=Array.isArray(e)&&Array.isArray(t);if(!o&&!(u(e)&&u(t)))return t;let c=Object.keys(e),d=c.length,f=Object.keys(t),p=f.length;if(o?d!==e.length||p!==t.length||d&&r(c)!==`${d-1}`||p&&r(f)!==`${p-1}`:d!==Object.getOwnPropertyNames(e).length||p!==Object.getOwnPropertyNames(t).length||Object.getOwnPropertySymbols(t).length)return t;let m=0,h,g,_;if(o){for(;mm&&(h=t[_],h=g===h?g:typeof g==`object`?l(g,h,n,i):h),v[_]=r`{}]/g;function m(e){return e.replace(p,e=>`%`+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,`0`))}function h(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,e=>{try{return decodeURI(e)}catch{return e}})}return m(t)}var g=[`http:`,`https:`,`mailto:`,`tel:`];function _(e){if(e[0]!==`/`&&e.includes(`:`))return/^[\x00-\x20]*([a-z][a-z\d+.\t\n\r-]*:)/i.exec(e)?.[1]?.replace(/[\t\n\r]/g,``).toLowerCase()}var v=/^[\x00-\x20]*[\\/][\t\n\r]*[\\/]/;function y(e,t){if(!e)return!1;if(v.test(e))return!0;let n=_(e);return n?!t.has(n):!1}function b(e){if(!e)return e;let t=e;if(/[%\\\x00-\x1f\x7f]/.test(e)){let n=/%25|%5C/gi,r=0,i;for(t=``;(i=n.exec(e))!==null;)t+=h(e.slice(r,i.index))+i[0],r=n.lastIndex;t+=h(r?e.slice(r):e)}return t}function x(e){return/[\s\u0080-\uFFFF]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function S(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{var n=t();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useState,o=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=n.useSyncExternalStore===void 0?f:n.useSyncExternalStore})),D=e(((e,t)=>{t.exports=E()})),O=e((e=>{var n=t(),r=D();function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=r.useSyncExternalStore,s=n.useRef,c=n.useEffect,l=n.useMemo,u=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),k=e(((e,t)=>{t.exports=O()}))();function A(e,t){return e===t}function j(e,t=e=>e,n){let r=n?.compare??A,i=(0,C.useCallback)(t=>{let{unsubscribe:n}=e.subscribe(t);return n},[e]),a=(0,C.useCallback)(()=>e.get(),[e]);return(0,k.useSyncExternalStoreWithSelector)(i,a,a,t,r)}export{c as _,S as a,d as c,_ as d,o as f,r as g,f as h,g as i,x as l,y as m,T as n,s as o,a as p,w as r,b as s,j as t,i as u,v,l as y};