@okam/stack-ui 1.1.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ArrowDown-1712d1b6.js → ArrowDown-72664942.js} +1 -1
- package/{ArrowDown-d43b4162.mjs → ArrowDown-74f07e91.mjs} +1 -1
- package/{ArrowLeft-d3f05521.js → ArrowLeft-92615072.js} +1 -1
- package/{ArrowLeft-f409a840.mjs → ArrowLeft-d1748335.mjs} +1 -1
- package/{BrandArrowRight-49e7e990.mjs → BrandArrowRight-77ae239d.mjs} +1 -1
- package/{BrandArrowRight-76384dc5.js → BrandArrowRight-ec28c116.js} +1 -1
- package/{Check-177d024b.js → Check-60a59a92.js} +1 -1
- package/{Check-b462d3c7.mjs → Check-66395070.mjs} +1 -1
- package/{ChevronLeft-feef9450.js → ChevronLeft-61ba7939.js} +1 -1
- package/{ChevronLeft-b7dca00a.mjs → ChevronLeft-c6674484.mjs} +1 -1
- package/{ChevronRight-3a5571da.js → ChevronRight-7e499c8b.js} +1 -1
- package/{ChevronRight-a4782201.mjs → ChevronRight-e62f98e9.mjs} +1 -1
- package/{CloseBtn-30ee2e13.mjs → CloseBtn-3b2958fb.mjs} +1 -1
- package/{CloseBtn-3a0ca7e1.js → CloseBtn-d0988d11.js} +1 -1
- package/{Facebook-6591414e.js → Facebook-a39abc64.js} +1 -1
- package/{Facebook-4f8b3a0f.mjs → Facebook-beac258a.mjs} +1 -1
- package/{FacebookColored-347fa465.mjs → FacebookColored-39ec819a.mjs} +1 -1
- package/{FacebookColored-69bc09dc.js → FacebookColored-bb0e1f1f.js} +1 -1
- package/{Globe-46988aa4.js → Globe-1d0d74ab.js} +1 -1
- package/{Globe-6bd5fb0a.mjs → Globe-a79f75aa.mjs} +1 -1
- package/{Instagram-2c7a4948.js → Instagram-21a93977.js} +1 -1
- package/{Instagram-e7ae9f7d.mjs → Instagram-8dccfe3c.mjs} +1 -1
- package/{InstagramColored-bd066f21.mjs → InstagramColored-8aea31b9.mjs} +1 -1
- package/{InstagramColored-16d3ed77.js → InstagramColored-fda95edf.js} +1 -1
- package/{Link-c8a14eea.js → Link-3adca6b1.js} +1 -1
- package/{Link-433cedc8.mjs → Link-f616a0b4.mjs} +1 -1
- package/{Mail-b28672fa.mjs → Mail-487fc23f.mjs} +1 -1
- package/{Mail-e9297805.js → Mail-e45d62a8.js} +1 -1
- package/{Plus-8726d28e.js → Plus-3b79af86.js} +1 -1
- package/{Plus-b65f9426.mjs → Plus-7c40f0e8.mjs} +1 -1
- package/{Share-2518b2a3.mjs → Share-1d01ad58.mjs} +1 -1
- package/{Share-6ca93f65.js → Share-bea49bcd.js} +1 -1
- package/{Twitter-731298fb.mjs → Twitter-09dec14f.mjs} +1 -1
- package/{Twitter-6498fa22.js → Twitter-1a983dd9.js} +1 -1
- package/{TwitterColored-51ba5c2e.js → TwitterColored-2f8931d5.js} +1 -1
- package/{TwitterColored-d981c380.mjs → TwitterColored-d19384cb.mjs} +1 -1
- package/{Upload-a85a4b6a.mjs → Upload-2c91b34e.mjs} +1 -1
- package/{Upload-302cba06.js → Upload-ce95715b.js} +1 -1
- package/{YouTube-4385e2aa.mjs → YouTube-5c13b08d.mjs} +1 -1
- package/{YouTube-4cbcbfc5.js → YouTube-dc8e7751.js} +1 -1
- package/{YouTubeColored-877e6612.js → YouTubeColored-05f79f00.js} +1 -1
- package/{YouTubeColored-9154987c.mjs → YouTubeColored-aaab7ee6.mjs} +1 -1
- package/components/Date/index.d.ts +3 -0
- package/components/Date/interface.d.ts +6 -0
- package/components/Icon/interface.d.ts +2 -1
- package/index-72e6f681.mjs +9648 -0
- package/index-7488b9e8.js +29 -0
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +19 -18
- package/package.json +7 -1
- package/providers/Theme/hooks.d.ts +1 -1
- package/providers/Theme/interface.d.ts +1 -1
- package/index-95c4948b.js +0 -3
- package/index-dbc3a715.mjs +0 -5828
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";const X=require("react/jsx-runtime"),E=require("react"),Rd=require("react-dom");function e_(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const i in n)if(i!=="default"){const s=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(r,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}return r.default=n,Object.freeze(r)}const oo=e_(E),t_=(n,r,i=null)=>{const s=r.split(/[\.\[\]]/g);let u=n;for(const l of s){if(u===null||u===void 0)return i;l.trim()!==""&&(u=u[l])}return u===void 0?i:u},n_=n=>n;function r_(){const n=E.createContext(void 0);function r(){const i=E.useContext(n);return i===void 0?null:i}return[r,n.Provider]}const i_={typography:()=>""},[Ld,o_]=r_();function Id({children:n,brandTheme:r=i_}){const i=E.useMemo(()=>({brandTheme:r}),[r]);return X.jsx(o_,{value:i,children:n})}const s_=n=>({children:i})=>X.jsx(Id,{brandTheme:n,children:i}),mt=(n,r={},i=null)=>{const s=Ld();if(s!=null&&n!=null){const{brandTheme:u}=s,l=t_(u,n);if(typeof l=="function"){const d=l?.(r);if(typeof d=="string")return d}}if(i)return i},Md=({as:n="span",themeName:r="typography",tokens:i,customTheme:s,children:u,...l})=>{const d=mt(r,i,s);return X.jsx(n,{...l,className:d,children:u})};E.forwardRef((n,r)=>{const{as:i="span",tokens:s,themeName:u="typography",customTheme:l,children:d,...g}=n,v=mt(u,s,l);return X.jsx(i,{...g,ref:r,className:v,children:d})});function a_(n,r,i){let[s,u]=E.useState(n||r),l=E.useRef(n!==void 0),d=n!==void 0;E.useEffect(()=>{let y=l.current;y!==d&&console.warn(`WARN: A component changed from ${y?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}.`),l.current=d},[d]);let g=d?n:s,v=E.useCallback((y,...P)=>{let L=(C,...D)=>{i&&(Object.is(g,C)||i(C,...D)),d||(g=C)};typeof y=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),u((D,...S)=>{let W=y(d?g:D,...S);return L(W,...P),d?D:W})):(d||u(y),L(y,...P))},[d,g,i]);return[g,v]}function Ku(n,r=-1/0,i=1/0){return Math.min(Math.max(n,r),i)}const cf={prefix:String(Math.round(Math.random()*1e10)),current:0,isSSR:!1},df=E.createContext(cf);let u_=!!(typeof window<"u"&&window.document&&window.document.createElement),Ou=new WeakMap;function f_(n=!1){let r=E.useContext(df),i=E.useRef(null);if(i.current===null&&!n){var s,u;let l=(s=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(u=s.ReactCurrentOwner)===null||u===void 0?void 0:u.current;if(l){let d=Ou.get(l);d==null?Ou.set(l,{id:r.current,state:l.memoizedState}):l.memoizedState!==d.state&&(r.current=d.id,Ou.delete(l))}i.current=++r.current}return i.current}function l_(n){let r=E.useContext(df);r===cf&&!u_&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=f_(!!n);return n||`react-aria${r.prefix}-${i}`}function c_(n){let r=E.useId(),[i]=E.useState(ga()),s=i?"react-aria":`react-aria${cf.prefix}`;return n||`${s}-${r}`}const d_=typeof E.useId=="function"?c_:l_;function h_(){return!1}function p_(){return!0}function g_(n){return()=>{}}function ga(){return typeof E.useSyncExternalStore=="function"?E.useSyncExternalStore(g_,h_,p_):E.useContext(df).isSSR}function Nd(n){var r,i,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n))for(r=0;r<n.length;r++)n[r]&&(i=Nd(n[r]))&&(s&&(s+=" "),s+=i);else for(r in n)n[r]&&(s&&(s+=" "),s+=r);return s}function m_(){for(var n,r,i=0,s="";i<arguments.length;)(n=arguments[i++])&&(r=Nd(n))&&(s&&(s+=" "),s+=r);return s}const vt=typeof window<"u"?E.useLayoutEffect:()=>{};function v_(n){let[r,i]=E.useState(n),s=E.useRef(r),u=E.useRef(null),l=E.useCallback(()=>{let g=u.current.next();for(;!g.done&&s.current===g.value;)g=u.current.next();if(g.done){u.current=null;return}i(g.value),s.current=g.value},[i,s,u]);vt(()=>{u.current&&l()});let d=E.useCallback(g=>{u.current=g(s.current),l()},[l,u,s]);return[r,d]}let Js=new Map;function hf(n){let[r,i]=E.useState(n),s=E.useRef(null),u=d_(r),l=E.useCallback(d=>{s.current=d},[]);return Js.set(u,l),vt(()=>{let d=u;return()=>{Js.delete(d)}},[u]),E.useEffect(()=>{let d=s.current;d&&(s.current=null,i(d))}),u}function b_(n,r){if(n===r)return n;let i=Js.get(n);if(i)return i(r),r;let s=Js.get(r);return s?(s(n),n):r}function __(n=[]){let r=hf(),[i,s]=v_(r),u=E.useCallback(()=>{s(function*(){yield r,yield document.getElementById(r)?r:void 0})},[r,s]);return vt(u,[r,u,...n]),i}function y_(...n){return(...r)=>{for(let i of n)typeof i=="function"&&i(...r)}}function qn(...n){let r={...n[0]};for(let i=1;i<n.length;i++){let s=n[i];for(let u in s){let l=r[u],d=s[u];typeof l=="function"&&typeof d=="function"&&u[0]==="o"&&u[1]==="n"&&u.charCodeAt(2)>=65&&u.charCodeAt(2)<=90?r[u]=y_(l,d):(u==="className"||u==="UNSAFE_className")&&typeof l=="string"&&typeof d=="string"?r[u]=m_(l,d):u==="id"&&l&&d?r.id=b_(l,d):r[u]=d!==void 0?d:l}}return r}const x_=new Set(["id"]),w_=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),T_=/^(data-.*)$/;function pf(n,r={}){let{labelable:i,propNames:s}=r,u={};for(const l in n)Object.prototype.hasOwnProperty.call(n,l)&&(x_.has(l)||i&&w_.has(l)||s?.has(l)||T_.test(l))&&(u[l]=n[l]);return u}function no(n){if($_())n.focus({preventScroll:!0});else{let r=E_(n);n.focus(),P_(r)}}let zs=null;function $_(){if(zs==null){zs=!1;try{var n=document.createElement("div");n.focus({get preventScroll(){return zs=!0,!0}})}catch{}}return zs}function E_(n){for(var r=n.parentNode,i=[],s=document.scrollingElement||document.documentElement;r instanceof HTMLElement&&r!==s;)(r.offsetHeight<r.scrollHeight||r.offsetWidth<r.scrollWidth)&&i.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),r=r.parentNode;return s instanceof HTMLElement&&i.push({element:s,scrollTop:s.scrollTop,scrollLeft:s.scrollLeft}),i}function P_(n){for(let{element:r,scrollTop:i,scrollLeft:s}of n)r.scrollTop=i,r.scrollLeft=s}let to=new Map,Gu=new Set;function kc(){if(typeof window>"u")return;let n=i=>{let s=to.get(i.target);s||(s=new Set,to.set(i.target,s),i.target.addEventListener("transitioncancel",r)),s.add(i.propertyName)},r=i=>{let s=to.get(i.target);if(s&&(s.delete(i.propertyName),s.size===0&&(i.target.removeEventListener("transitioncancel",r),to.delete(i.target)),to.size===0)){for(let u of Gu)u();Gu.clear()}};document.body.addEventListener("transitionrun",n),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?kc():document.addEventListener("DOMContentLoaded",kc));function Dd(n){requestAnimationFrame(()=>{to.size===0?n():Gu.add(n)})}function A_(){let n=E.useRef(new Map),r=E.useCallback((u,l,d,g)=>{let v=g?.once?(...y)=>{n.current.delete(d),d(...y)}:d;n.current.set(d,{type:l,eventTarget:u,fn:v,options:g}),u.addEventListener(l,d,g)},[]),i=E.useCallback((u,l,d,g)=>{var v;let y=((v=n.current.get(d))===null||v===void 0?void 0:v.fn)||d;u.removeEventListener(l,y,g),n.current.delete(d)},[]),s=E.useCallback(()=>{n.current.forEach((u,l)=>{i(u.eventTarget,u.type,l,u.options)})},[i]);return E.useEffect(()=>s,[s]),{addGlobalListener:r,removeGlobalListener:i,removeAllGlobalListeners:s}}function S_(n,r){let{id:i,"aria-label":s,"aria-labelledby":u}=n;return i=hf(i),u&&s?u=[...new Set([i,...u.trim().split(/\s+/)])].join(" "):u&&(u=u.trim().split(/\s+/).join(" ")),!s&&!u&&r&&(s=r),{id:i,"aria-label":s,"aria-labelledby":u}}function C_(){return typeof window.ResizeObserver<"u"}function O_(n){const{ref:r,onResize:i}=n;E.useEffect(()=>{let s=r?.current;if(s)if(C_()){const u=new window.ResizeObserver(l=>{l.length&&i()});return u.observe(s),()=>{s&&u.unobserve(s)}}else return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}},[i,r])}function Fd(n,r){vt(()=>{if(n&&n.ref&&r)return n.ref.current=r.current,()=>{n.ref.current=null}},[n,r])}function R_(n){var r;return typeof window>"u"||window.navigator==null?!1:((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands.some(i=>n.test(i.brand)))||n.test(window.navigator.userAgent)}function gf(n){var r;return typeof window<"u"&&window.navigator!=null?n.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function kd(){return gf(/^Mac/i)}function L_(){return gf(/^iPhone/i)}function I_(){return gf(/^iPad/i)||kd()&&navigator.maxTouchPoints>1}function Ud(){return L_()||I_()}function M_(){return R_(/Android/i)}function Hr(n){const r=E.useRef(null);return vt(()=>{r.current=n},[n]),E.useCallback((...i)=>{const s=r.current;return s(...i)},[])}function qu(n){return n.mozInputSource===0&&n.isTrusted?!0:M_()&&n.pointerType?n.type==="click"&&n.buttons===1:n.detail===0&&!n.pointerType}function N_(n){return n.width===0&&n.height===0||n.width===1&&n.height===1&&n.pressure===0&&n.detail===0&&n.pointerType==="mouse"}function D_(n,r){let i=E.useRef(null);return n&&i.current&&r(n,i.current)&&(n=i.current),i.current=n,n}let ro="default",Vu="",Qs=new WeakMap;function Uc(n){Ud()?(ro==="default"&&(Vu=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),ro="disabled"):(n instanceof HTMLElement||n instanceof SVGElement)&&(Qs.set(n,n.style.userSelect),n.style.userSelect="none")}function Ks(n){if(Ud()){if(ro!=="disabled")return;ro="restoring",setTimeout(()=>{Dd(()=>{ro==="restoring"&&(document.documentElement.style.webkitUserSelect==="none"&&(document.documentElement.style.webkitUserSelect=Vu||""),Vu="",ro="default")})},300)}else if((n instanceof HTMLElement||n instanceof SVGElement)&&n&&Qs.has(n)){let r=Qs.get(n);n.style.userSelect==="none"&&(n.style.userSelect=r),n.getAttribute("style")===""&&n.removeAttribute("style"),Qs.delete(n)}}const Bd=E.createContext(null);Bd.displayName="PressResponderContext";function F_(n){let r=E.useContext(Bd);if(r){let{register:i,...s}=r;n=qn(s,n),i()}return Fd(r,n.ref),n}function Hd(n){let{onPress:r,onPressChange:i,onPressStart:s,onPressEnd:u,onPressUp:l,isDisabled:d,isPressed:g,preventFocusOnPress:v,shouldCancelOnPointerExit:y,allowTextSelectionOnPress:P,ref:L,...C}=F_(n),[D,S]=E.useState(!1),W=E.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:B,removeAllGlobalListeners:K}=A_(),Y=Hr((T,re)=>{let we=W.current;d||we.didFirePressStart||(s&&s({type:"pressstart",pointerType:re,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}),i&&i(!0),we.didFirePressStart=!0,S(!0))}),ee=Hr((T,re,we=!0)=>{let Z=W.current;Z.didFirePressStart&&(Z.ignoreClickAfterPress=!0,Z.didFirePressStart=!1,u&&u({type:"pressend",pointerType:re,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}),i&&i(!1),S(!1),r&&we&&!d&&r({type:"press",pointerType:re,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey}))}),te=Hr((T,re)=>{d||l&&l({type:"pressup",pointerType:re,target:T.currentTarget,shiftKey:T.shiftKey,metaKey:T.metaKey,ctrlKey:T.ctrlKey,altKey:T.altKey})}),ie=Hr(T=>{let re=W.current;re.isPressed&&(re.isOverTarget&&ee(vr(re.target,T),re.pointerType,!1),re.isPressed=!1,re.isOverTarget=!1,re.activePointerId=null,re.pointerType=null,K(),P||Ks(re.target))}),me=Hr(T=>{y&&ie(T)}),xe=E.useMemo(()=>{let T=W.current,re={onKeyDown(Z){Ru(Z.nativeEvent,Z.currentTarget)&&Z.currentTarget.contains(Z.target)?(Hc(Z.target,Z.key)&&Z.preventDefault(),Z.stopPropagation(),!T.isPressed&&!Z.repeat&&(T.target=Z.currentTarget,T.isPressed=!0,Y(Z,"keyboard"),B(document,"keyup",we,!1))):Z.key==="Enter"&&ju(Z.currentTarget)&&Z.stopPropagation()},onKeyUp(Z){Ru(Z.nativeEvent,Z.currentTarget)&&!Z.repeat&&Z.currentTarget.contains(Z.target)&&te(vr(T.target,Z),"keyboard")},onClick(Z){Z&&!Z.currentTarget.contains(Z.target)||Z&&Z.button===0&&(Z.stopPropagation(),d&&Z.preventDefault(),!T.ignoreClickAfterPress&&!T.ignoreEmulatedMouseEvents&&(T.pointerType==="virtual"||qu(Z.nativeEvent))&&(!d&&!v&&no(Z.currentTarget),Y(Z,"virtual"),te(Z,"virtual"),ee(Z,"virtual")),T.ignoreEmulatedMouseEvents=!1,T.ignoreClickAfterPress=!1)}},we=Z=>{if(T.isPressed&&Ru(Z,T.target)){Hc(Z.target,Z.key)&&Z.preventDefault(),Z.stopPropagation(),T.isPressed=!1;let Me=Z.target;ee(vr(T.target,Z),"keyboard",T.target.contains(Me)),K(),T.target instanceof HTMLElement&&T.target.contains(Me)&&(ju(T.target)||T.target.getAttribute("role")==="link")&&T.target.click()}};if(typeof PointerEvent<"u"){re.onPointerDown=F=>{if(!(F.button!==0||!F.currentTarget.contains(F.target))){if(N_(F.nativeEvent)){T.pointerType="virtual";return}Lu(F.currentTarget)&&F.preventDefault(),T.pointerType=F.pointerType,F.stopPropagation(),T.isPressed||(T.isPressed=!0,T.isOverTarget=!0,T.activePointerId=F.pointerId,T.target=F.currentTarget,!d&&!v&&no(F.currentTarget),P||Uc(T.target),Y(F,T.pointerType),B(document,"pointermove",Z,!1),B(document,"pointerup",Me,!1),B(document,"pointercancel",H,!1))}},re.onMouseDown=F=>{F.currentTarget.contains(F.target)&&F.button===0&&(Lu(F.currentTarget)&&F.preventDefault(),F.stopPropagation())},re.onPointerUp=F=>{!F.currentTarget.contains(F.target)||T.pointerType==="virtual"||F.button===0&&Zi(F,F.currentTarget)&&te(F,T.pointerType||F.pointerType)};let Z=F=>{F.pointerId===T.activePointerId&&(Zi(F,T.target)?T.isOverTarget||(T.isOverTarget=!0,Y(vr(T.target,F),T.pointerType)):T.isOverTarget&&(T.isOverTarget=!1,ee(vr(T.target,F),T.pointerType,!1),me(F)))},Me=F=>{F.pointerId===T.activePointerId&&T.isPressed&&F.button===0&&(Zi(F,T.target)?ee(vr(T.target,F),T.pointerType):T.isOverTarget&&ee(vr(T.target,F),T.pointerType,!1),T.isPressed=!1,T.isOverTarget=!1,T.activePointerId=null,T.pointerType=null,K(),P||Ks(T.target))},H=F=>{ie(F)};re.onDragStart=F=>{F.currentTarget.contains(F.target)&&ie(F)}}else{re.onMouseDown=H=>{H.button!==0||!H.currentTarget.contains(H.target)||(Lu(H.currentTarget)&&H.preventDefault(),H.stopPropagation(),!T.ignoreEmulatedMouseEvents&&(T.isPressed=!0,T.isOverTarget=!0,T.target=H.currentTarget,T.pointerType=qu(H.nativeEvent)?"virtual":"mouse",!d&&!v&&no(H.currentTarget),Y(H,T.pointerType),B(document,"mouseup",Z,!1)))},re.onMouseEnter=H=>{H.currentTarget.contains(H.target)&&(H.stopPropagation(),T.isPressed&&!T.ignoreEmulatedMouseEvents&&(T.isOverTarget=!0,Y(H,T.pointerType)))},re.onMouseLeave=H=>{H.currentTarget.contains(H.target)&&(H.stopPropagation(),T.isPressed&&!T.ignoreEmulatedMouseEvents&&(T.isOverTarget=!1,ee(H,T.pointerType,!1),me(H)))},re.onMouseUp=H=>{H.currentTarget.contains(H.target)&&!T.ignoreEmulatedMouseEvents&&H.button===0&&te(H,T.pointerType)};let Z=H=>{if(H.button===0){if(T.isPressed=!1,K(),T.ignoreEmulatedMouseEvents){T.ignoreEmulatedMouseEvents=!1;return}Zi(H,T.target)?ee(vr(T.target,H),T.pointerType):T.isOverTarget&&ee(vr(T.target,H),T.pointerType,!1),T.isOverTarget=!1}};re.onTouchStart=H=>{if(!H.currentTarget.contains(H.target))return;H.stopPropagation();let F=k_(H.nativeEvent);F&&(T.activePointerId=F.identifier,T.ignoreEmulatedMouseEvents=!0,T.isOverTarget=!0,T.isPressed=!0,T.target=H.currentTarget,T.pointerType="touch",!d&&!v&&no(H.currentTarget),P||Uc(T.target),Y(H,T.pointerType),B(window,"scroll",Me,!0))},re.onTouchMove=H=>{if(!H.currentTarget.contains(H.target)||(H.stopPropagation(),!T.isPressed))return;let F=Bc(H.nativeEvent,T.activePointerId);F&&Zi(F,H.currentTarget)?T.isOverTarget||(T.isOverTarget=!0,Y(H,T.pointerType)):T.isOverTarget&&(T.isOverTarget=!1,ee(H,T.pointerType,!1),me(H))},re.onTouchEnd=H=>{if(!H.currentTarget.contains(H.target)||(H.stopPropagation(),!T.isPressed))return;let F=Bc(H.nativeEvent,T.activePointerId);F&&Zi(F,H.currentTarget)?(te(H,T.pointerType),ee(H,T.pointerType)):T.isOverTarget&&ee(H,T.pointerType,!1),T.isPressed=!1,T.activePointerId=null,T.isOverTarget=!1,T.ignoreEmulatedMouseEvents=!0,P||Ks(T.target),K()},re.onTouchCancel=H=>{H.currentTarget.contains(H.target)&&(H.stopPropagation(),T.isPressed&&ie(H))};let Me=H=>{T.isPressed&&H.target.contains(T.target)&&ie({currentTarget:T.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};re.onDragStart=H=>{H.currentTarget.contains(H.target)&&ie(H)}}return re},[B,d,v,K,P,ie,me,ee,Y,te]);return E.useEffect(()=>()=>{P||Ks(W.current.target)},[P]),{isPressed:g||D,pressProps:qn(C,xe)}}function ju(n){return n.tagName==="A"&&n.hasAttribute("href")}function Ru(n,r){const{key:i,code:s}=n,u=r,l=u.getAttribute("role");return(i==="Enter"||i===" "||i==="Spacebar"||s==="Space")&&!(u instanceof HTMLInputElement&&!Wd(u,i)||u instanceof HTMLTextAreaElement||u.isContentEditable)&&(!ju(u)||l==="button"&&i!=="Enter")&&!(l==="link"&&i!=="Enter")}function k_(n){const{targetTouches:r}=n;return r.length>0?r[0]:null}function Bc(n,r){const i=n.changedTouches;for(let s=0;s<i.length;s++){const u=i[s];if(u.identifier===r)return u}return null}function vr(n,r){return{currentTarget:n,shiftKey:r.shiftKey,ctrlKey:r.ctrlKey,metaKey:r.metaKey,altKey:r.altKey}}function U_(n){let r=n.width/2||n.radiusX||0,i=n.height/2||n.radiusY||0;return{top:n.clientY-i,right:n.clientX+r,bottom:n.clientY+i,left:n.clientX-r}}function B_(n,r){return!(n.left>r.right||r.left>n.right||n.top>r.bottom||r.top>n.bottom)}function Zi(n,r){let i=r.getBoundingClientRect(),s=U_(n);return B_(i,s)}function Lu(n){return!(n instanceof HTMLElement)||!n.draggable}function Hc(n,r){return n instanceof HTMLInputElement?!Wd(n,r):n instanceof HTMLButtonElement?n.type!=="submit":!0}const H_=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Wd(n,r){return n.type==="checkbox"||n.type==="radio"?r===" ":H_.has(n.type)}class W_{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(r,i){this.nativeEvent=i,this.target=i.target,this.currentTarget=i.currentTarget,this.relatedTarget=i.relatedTarget,this.bubbles=i.bubbles,this.cancelable=i.cancelable,this.defaultPrevented=i.defaultPrevented,this.eventPhase=i.eventPhase,this.isTrusted=i.isTrusted,this.timeStamp=i.timeStamp,this.type=r}}function zd(n){let r=E.useRef({isFocused:!1,observer:null});vt(()=>{const s=r.current;return()=>{s.observer&&(s.observer.disconnect(),s.observer=null)}},[]);let i=Hr(s=>{n?.(s)});return E.useCallback(s=>{if(s.target instanceof HTMLButtonElement||s.target instanceof HTMLInputElement||s.target instanceof HTMLTextAreaElement||s.target instanceof HTMLSelectElement){r.current.isFocused=!0;let u=s.target,l=d=>{r.current.isFocused=!1,u.disabled&&i(new W_("blur",d)),r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};u.addEventListener("focusout",l,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&u.disabled){r.current.observer.disconnect();let d=u===document.activeElement?null:document.activeElement;u.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),u.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),r.current.observer.observe(u,{attributes:!0,attributeFilter:["disabled"]})}},[i])}function z_(n){let{isDisabled:r,onFocus:i,onBlur:s,onFocusChange:u}=n;const l=E.useCallback(v=>{if(v.target===v.currentTarget)return s&&s(v),u&&u(!1),!0},[s,u]),d=zd(l),g=E.useCallback(v=>{v.target===v.currentTarget&&document.activeElement===v.target&&(i&&i(v),u&&u(!0),d(v))},[u,i,d]);return{focusProps:{onFocus:!r&&(i||u||s)?g:void 0,onBlur:!r&&(s||u)?l:void 0}}}let es=null,K_=new Set,Wc=!1,xi=!1,Yu=!1;function mf(n,r){for(let i of K_)i(n,r)}function G_(n){return!(n.metaKey||!kd()&&n.altKey||n.ctrlKey||n.key==="Control"||n.key==="Shift"||n.key==="Meta")}function zc(n){xi=!0,G_(n)&&(es="keyboard",mf("keyboard",n))}function Xi(n){es="pointer",(n.type==="mousedown"||n.type==="pointerdown")&&(xi=!0,mf("pointer",n))}function q_(n){qu(n)&&(xi=!0,es="virtual")}function V_(n){n.target===window||n.target===document||(!xi&&!Yu&&(es="virtual",mf("virtual",n)),xi=!1,Yu=!1)}function j_(){xi=!1,Yu=!0}function Kc(){if(typeof window>"u"||Wc)return;let n=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){xi=!0,n.apply(this,arguments)},document.addEventListener("keydown",zc,!0),document.addEventListener("keyup",zc,!0),document.addEventListener("click",q_,!0),window.addEventListener("focus",V_,!0),window.addEventListener("blur",j_,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Xi,!0),document.addEventListener("pointermove",Xi,!0),document.addEventListener("pointerup",Xi,!0)):(document.addEventListener("mousedown",Xi,!0),document.addEventListener("mousemove",Xi,!0),document.addEventListener("mouseup",Xi,!0)),Wc=!0}typeof document<"u"&&(document.readyState!=="loading"?Kc():document.addEventListener("DOMContentLoaded",Kc));function Y_(){return es}function Kd(n){let{isDisabled:r,onBlurWithin:i,onFocusWithin:s,onFocusWithinChange:u}=n,l=E.useRef({isFocusWithin:!1}),d=E.useCallback(y=>{l.current.isFocusWithin&&!y.currentTarget.contains(y.relatedTarget)&&(l.current.isFocusWithin=!1,i&&i(y),u&&u(!1))},[i,u,l]),g=zd(d),v=E.useCallback(y=>{!l.current.isFocusWithin&&document.activeElement===y.target&&(s&&s(y),u&&u(!0),l.current.isFocusWithin=!0,g(y))},[s,u,g]);return r?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:v,onBlur:d}}}function Q_(n){let{ref:r,onInteractOutside:i,isDisabled:s,onInteractOutsideStart:u}=n,l=E.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),d=Hr(v=>{i&&Gs(v,r)&&(u&&u(v),l.current.isPointerDown=!0)}),g=Hr(v=>{i&&i(v)});E.useEffect(()=>{let v=l.current;if(!s)if(typeof PointerEvent<"u"){let y=P=>{v.isPointerDown&&Gs(P,r)&&g(P),v.isPointerDown=!1};return document.addEventListener("pointerdown",d,!0),document.addEventListener("pointerup",y,!0),()=>{document.removeEventListener("pointerdown",d,!0),document.removeEventListener("pointerup",y,!0)}}else{let y=L=>{v.ignoreEmulatedMouseEvents?v.ignoreEmulatedMouseEvents=!1:v.isPointerDown&&Gs(L,r)&&g(L),v.isPointerDown=!1},P=L=>{v.ignoreEmulatedMouseEvents=!0,v.isPointerDown&&Gs(L,r)&&g(L),v.isPointerDown=!1};return document.addEventListener("mousedown",d,!0),document.addEventListener("mouseup",y,!0),document.addEventListener("touchstart",d,!0),document.addEventListener("touchend",P,!0),()=>{document.removeEventListener("mousedown",d,!0),document.removeEventListener("mouseup",y,!0),document.removeEventListener("touchstart",d,!0),document.removeEventListener("touchend",P,!0)}}},[r,s,d,g])}function Gs(n,r){if(n.button>0)return!1;if(n.target){const i=n.target.ownerDocument;if(!i||!i.documentElement.contains(n.target)||n.target.closest("[data-react-aria-top-layer]"))return!1}return r.current&&!r.current.contains(n.target)}function Gc(n){if(!n)return;let r=!0;return i=>{let s={...i,preventDefault(){i.preventDefault()},isDefaultPrevented(){return i.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){r=!1}};n(s),r&&i.stopPropagation()}}function Z_(n){return{keyboardProps:n.isDisabled?{}:{onKeyDown:Gc(n.onKeyDown),onKeyUp:Gc(n.onKeyUp)}}}function ea(n){if(Y_()==="virtual"){let r=document.activeElement;Dd(()=>{document.activeElement===r&&document.contains(n)&&no(n)})}else no(n)}function X_(n){if(!(n instanceof HTMLElement)&&!(n instanceof SVGElement))return!1;let{display:r,visibility:i}=n.style,s=r!=="none"&&i!=="hidden"&&i!=="collapse";if(s){const{getComputedStyle:u}=n.ownerDocument.defaultView;let{display:l,visibility:d}=u(n);s=l!=="none"&&d!=="hidden"&&d!=="collapse"}return s}function J_(n,r){return!n.hasAttribute("hidden")&&(n.nodeName==="DETAILS"&&r&&r.nodeName!=="SUMMARY"?n.hasAttribute("open"):!0)}function Gd(n,r){return n.nodeName!=="#comment"&&X_(n)&&J_(n,r)&&(!n.parentElement||Gd(n.parentElement,n))}const qc=E.createContext(null);let Ge=null;function qd(n){let{children:r,contain:i,restoreFocus:s,autoFocus:u}=n,l=E.useRef(),d=E.useRef(),g=E.useRef([]),{parentNode:v}=E.useContext(qc)||{},y=E.useMemo(()=>new Qu({scopeRef:g}),[g]);vt(()=>{let C=v||nt.root;if(nt.getTreeNode(C.scopeRef)&&Ge&&!na(Ge,C.scopeRef)){let D=nt.getTreeNode(Ge);D&&(C=D)}C.addChild(y),nt.addNode(y)},[y,v]),vt(()=>{let C=nt.getTreeNode(g);C.contain=i},[i]),vt(()=>{let C=l.current.nextSibling,D=[];for(;C&&C!==d.current;)D.push(C),C=C.nextSibling;g.current=D},[r]),sy(g,s,i),ry(g,i),uy(g,s,i),oy(g,u),E.useEffect(()=>{if(g){let C=document.activeElement,D=null;if(At(C,g.current)){for(let S of nt.traverse())At(C,S.scopeRef.current)&&(D=S);D===nt.getTreeNode(g)&&(Ge=D.scopeRef)}return()=>{let S=nt.getTreeNode(g).parent.scopeRef;(g===Ge||na(g,Ge))&&(!S||nt.getTreeNode(S))&&(Ge=S),nt.removeTreeNode(g)}}},[g]);let P=E.useMemo(()=>ey(g),[]),L=E.useMemo(()=>({focusManager:P,parentNode:y}),[y,P]);return E.createElement(qc.Provider,{value:L},E.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),r,E.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:d}))}function ey(n){return{focusNext(r={}){let i=n.current,{from:s,tabbable:u,wrap:l,accept:d}=r,g=s||document.activeElement,v=i[0].previousElementSibling,y=Wr(yi(i),{tabbable:u,accept:d},i);y.currentNode=At(g,i)?g:v;let P=y.nextNode();return!P&&l&&(y.currentNode=v,P=y.nextNode()),P&&yr(P,!0),P},focusPrevious(r={}){let i=n.current,{from:s,tabbable:u,wrap:l,accept:d}=r,g=s||document.activeElement,v=i[i.length-1].nextElementSibling,y=Wr(yi(i),{tabbable:u,accept:d},i);y.currentNode=At(g,i)?g:v;let P=y.previousNode();return!P&&l&&(y.currentNode=v,P=y.previousNode()),P&&yr(P,!0),P},focusFirst(r={}){let i=n.current,{tabbable:s,accept:u}=r,l=Wr(yi(i),{tabbable:s,accept:u},i);l.currentNode=i[0].previousElementSibling;let d=l.nextNode();return d&&yr(d,!0),d},focusLast(r={}){let i=n.current,{tabbable:s,accept:u}=r,l=Wr(yi(i),{tabbable:s,accept:u},i);l.currentNode=i[i.length-1].nextElementSibling;let d=l.previousNode();return d&&yr(d,!0),d}}}const vf=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],ty=vf.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";vf.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const ny=vf.join(':not([hidden]):not([tabindex="-1"]),');function yi(n){return n[0].parentElement}function Bo(n){let r=nt.getTreeNode(Ge);for(;r&&r.scopeRef!==n;){if(r.contain)return!1;r=r.parent}return!0}function ry(n,r){let i=E.useRef(),s=E.useRef(null);vt(()=>{let u=n.current;if(!r){s.current&&(cancelAnimationFrame(s.current),s.current=null);return}let l=v=>{if(v.key!=="Tab"||v.altKey||v.ctrlKey||v.metaKey||!Bo(n))return;let y=document.activeElement,P=n.current;if(!At(y,P))return;let L=Wr(yi(P),{tabbable:!0},P);L.currentNode=y;let C=v.shiftKey?L.previousNode():L.nextNode();C||(L.currentNode=v.shiftKey?P[P.length-1].nextElementSibling:P[0].previousElementSibling,C=v.shiftKey?L.previousNode():L.nextNode()),v.preventDefault(),C&&yr(C,!0)},d=v=>{(!Ge||na(Ge,n))&&At(v.target,n.current)?(Ge=n,i.current=v.target):Bo(n)&&!ta(v.target,n)?i.current?i.current.focus():Ge&&ra(Ge.current):Bo(n)&&(i.current=v.target)},g=v=>{s.current&&cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{Bo(n)&&!ta(document.activeElement,n)&&(Ge=n,document.body.contains(v.target)?(i.current=v.target,i.current.focus()):Ge&&ra(Ge.current))})};return document.addEventListener("keydown",l,!1),document.addEventListener("focusin",d,!1),u.forEach(v=>v.addEventListener("focusin",d,!1)),u.forEach(v=>v.addEventListener("focusout",g,!1)),()=>{document.removeEventListener("keydown",l,!1),document.removeEventListener("focusin",d,!1),u.forEach(v=>v.removeEventListener("focusin",d,!1)),u.forEach(v=>v.removeEventListener("focusout",g,!1))}},[n,r]),vt(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[s])}function Vd(n){return ta(n)}function At(n,r){return r.some(i=>i.contains(n))}function ta(n,r=null){if(n instanceof Element&&n.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:i}of nt.traverse(nt.getTreeNode(r)))if(At(n,i.current))return!0;return!1}function iy(n){return ta(n,Ge)}function na(n,r){var i;let s=(i=nt.getTreeNode(r))===null||i===void 0?void 0:i.parent;for(;s;){if(s.scopeRef===n)return!0;s=s.parent}return!1}function yr(n,r=!1){if(n!=null&&!r)try{ea(n)}catch{}else if(n!=null)try{n.focus()}catch{}}function ra(n,r=!0){let i=n[0].previousElementSibling,s=Wr(yi(n),{tabbable:r},n);s.currentNode=i;let u=s.nextNode();r&&!u&&(s=Wr(yi(n),{tabbable:!1},n),s.currentNode=i,u=s.nextNode()),yr(u)}function oy(n,r){const i=E.useRef(r);E.useEffect(()=>{i.current&&(Ge=n,At(document.activeElement,Ge.current)||ra(n.current)),i.current=!1},[n])}function sy(n,r,i){vt(()=>{if(r||i)return;let s=n.current,u=l=>{let d=l.target;At(d,n.current)?Ge=n:Vd(d)||(Ge=null)};return document.addEventListener("focusin",u,!1),s.forEach(l=>l.addEventListener("focusin",u,!1)),()=>{document.removeEventListener("focusin",u,!1),s.forEach(l=>l.removeEventListener("focusin",u,!1))}},[n,r,i])}function ay(n){let r=nt.getTreeNode(Ge);for(;r&&r.scopeRef!==n;){if(r.nodeToRestore)return!1;r=r.parent}return r?.scopeRef===n}function uy(n,r,i){const s=E.useRef(typeof document<"u"?document.activeElement:null);vt(()=>{let u=n.current;if(!r||i)return;let l=()=>{(!Ge||na(Ge,n))&&At(document.activeElement,n.current)&&(Ge=n)};return document.addEventListener("focusin",l,!1),u.forEach(d=>d.addEventListener("focusin",l,!1)),()=>{document.removeEventListener("focusin",l,!1),u.forEach(d=>d.removeEventListener("focusin",l,!1))}},[n,i]),vt(()=>{if(!r)return;nt.getTreeNode(n).nodeToRestore=s.current;let u=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!Bo(n))return;let d=document.activeElement;if(!At(d,n.current))return;let g=nt.getTreeNode(n).nodeToRestore,v=Wr(document.body,{tabbable:!0});v.currentNode=d;let y=l.shiftKey?v.previousNode():v.nextNode();if((!document.body.contains(g)||g===document.body)&&(g=null,nt.getTreeNode(n).nodeToRestore=null),(!y||!At(y,n.current))&&g){v.currentNode=g;do y=l.shiftKey?v.previousNode():v.nextNode();while(At(y,n.current));l.preventDefault(),l.stopPropagation(),y?yr(y,!0):Vd(g)?yr(g,!0):d.blur()}};return i||document.addEventListener("keydown",u,!0),()=>{i||document.removeEventListener("keydown",u,!0);let l=nt.getTreeNode(n).nodeToRestore;if(r&&l&&(At(document.activeElement,n.current)||document.activeElement===document.body&&ay(n))){let d=nt.clone();requestAnimationFrame(()=>{if(document.activeElement===document.body){let g=d.getTreeNode(n);for(;g;){if(g.nodeToRestore&&document.body.contains(g.nodeToRestore)){yr(g.nodeToRestore);return}g=g.parent}for(g=d.getTreeNode(n);g;){if(g.scopeRef&&nt.getTreeNode(g.scopeRef)){ra(g.scopeRef.current,!0);return}g=g.parent}}})}}},[n,r,i])}function Wr(n,r,i){let s=r?.tabbable?ny:ty,u=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var d;return!(r==null||(d=r.from)===null||d===void 0)&&d.contains(l)?NodeFilter.FILTER_REJECT:l.matches(s)&&Gd(l)&&(!i||At(l,i))&&(!r?.accept||r.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return r?.from&&(u.currentNode=r.from),u}class bf{get size(){return this.fastMap.size}getTreeNode(r){return this.fastMap.get(r)}addTreeNode(r,i,s){let u=this.fastMap.get(i??null),l=new Qu({scopeRef:r});u.addChild(l),l.parent=u,this.fastMap.set(r,l),s&&(l.nodeToRestore=s)}addNode(r){this.fastMap.set(r.scopeRef,r)}removeTreeNode(r){if(r===null)return;let i=this.fastMap.get(r),s=i.parent;for(let l of this.traverse())l!==i&&i.nodeToRestore&&l.nodeToRestore&&i.scopeRef.current&&At(l.nodeToRestore,i.scopeRef.current)&&(l.nodeToRestore=i.nodeToRestore);let u=i.children;s.removeChild(i),u.size>0&&u.forEach(l=>s.addChild(l)),this.fastMap.delete(i.scopeRef)}*traverse(r=this.root){if(r.scopeRef!=null&&(yield r),r.children.size>0)for(let i of r.children)yield*this.traverse(i)}clone(){let r=new bf;for(let i of this.traverse())r.addTreeNode(i.scopeRef,i.parent.scopeRef,i.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new Qu({scopeRef:null}),this.fastMap.set(null,this.root)}}class Qu{addChild(r){this.children.add(r),r.parent=this}removeChild(r){this.children.delete(r),r.parent=void 0}constructor(r){this.children=new Set,this.contain=!1,this.scopeRef=r.scopeRef}}let nt=new bf,fy=E.createContext(null);function ly(n){let r=E.useContext(fy)||{};Fd(r,n);let{ref:i,...s}=r;return s}function jd(n,r){let{focusProps:i}=z_(n),{keyboardProps:s}=Z_(n),u=qn(i,s),l=ly(r),d=n.isDisabled?{}:l,g=E.useRef(n.autoFocus);return E.useEffect(()=>{g.current&&r.current&&ea(r.current),g.current=!1},[r]),{focusableProps:qn({...u,tabIndex:n.excludeFromTabOrder&&!n.isDisabled?-1:void 0},d)}}function cy(n,r){let{elementType:i="a",onPress:s,onPressStart:u,onPressEnd:l,onClick:d,isDisabled:g,...v}=n,y={};i!=="a"&&(y={role:"link",tabIndex:g?void 0:0});let{focusableProps:P}=jd(n,r),{pressProps:L,isPressed:C}=Hd({onPress:s,onPressStart:u,onPressEnd:l,isDisabled:g,ref:r}),D=pf(v,{labelable:!0}),S=qn(P,L);return{isPressed:C,linkProps:qn(D,{...S,...y,"aria-disabled":g||void 0,"aria-current":n["aria-current"],onClick:W=>{var B;(B=L.onClick)===null||B===void 0||B.call(L,W),d&&(d(W),console.warn("onClick is deprecated, please use onPress"))}})}}class dy{getStringForLocale(r,i){let s=this.strings[i];s||(s=hy(i,this.strings,this.defaultLocale),this.strings[i]=s);let u=s[r];if(!u)throw new Error(`Could not find intl message ${r} in ${i} locale`);return u}constructor(r,i="en-US"){this.strings={...r},this.defaultLocale=i}}function hy(n,r,i="en-US"){if(r[n])return r[n];let s=py(n);if(r[s])return r[s];for(let u in r)if(u.startsWith(s+"-"))return r[u];return r[i]}function py(n){return Intl.Locale?new Intl.Locale(n).language:n.split("-")[0]}const Vc=new Map,jc=new Map;class gy{format(r,i){let s=this.strings.getStringForLocale(r,this.locale);return typeof s=="function"?s(i,this):s}plural(r,i,s="cardinal"){let u=i["="+r];if(u)return typeof u=="function"?u():u;let l=this.locale+":"+s,d=Vc.get(l);d||(d=new Intl.PluralRules(this.locale,{type:s}),Vc.set(l,d));let g=d.select(r);return u=i[g]||i.other,typeof u=="function"?u():u}number(r){let i=jc.get(this.locale);return i||(i=new Intl.NumberFormat(this.locale),jc.set(this.locale,i)),i.format(r)}select(r,i){let s=r[i]||r.other;return typeof s=="function"?s():s}constructor(r,i){this.locale=r,this.strings=i}}let Iu=new Map;class my{format(r){return this.formatter.format(r)}formatToParts(r){return this.formatter.formatToParts(r)}formatRange(r,i){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(r,i);if(i<r)throw new RangeError("End date must be >= start date");return`${this.formatter.format(r)} – ${this.formatter.format(i)}`}formatRangeToParts(r,i){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(r,i);if(i<r)throw new RangeError("End date must be >= start date");let s=this.formatter.formatToParts(r),u=this.formatter.formatToParts(i);return[...s.map(l=>({...l,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...u.map(l=>({...l,source:"endRange"}))]}resolvedOptions(){let r=this.formatter.resolvedOptions();return _y()&&(this.resolvedHourCycle||(this.resolvedHourCycle=yy(r.locale,this.options)),r.hourCycle=this.resolvedHourCycle,r.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),r.calendar==="ethiopic-amete-alem"&&(r.calendar="ethioaa"),r}constructor(r,i={}){this.formatter=Yd(r,i),this.options=i}}const vy={true:{ja:"h11"},false:{}};function Yd(n,r={}){if(typeof r.hour12=="boolean"&&by()){r={...r};let u=vy[String(r.hour12)][n.split("-")[0]],l=r.hour12?"h12":"h23";r.hourCycle=u??l,delete r.hour12}let i=n+(r?Object.entries(r).sort((u,l)=>u[0]<l[0]?-1:1).join():"");if(Iu.has(i))return Iu.get(i);let s=new Intl.DateTimeFormat(n,r);return Iu.set(i,s),s}let Mu=null;function by(){return Mu==null&&(Mu=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Mu}let Nu=null;function _y(){return Nu==null&&(Nu=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),Nu}function yy(n,r){if(!r.timeStyle&&!r.hour)return;n=n.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),n+=(n.includes("-u-")?"":"-u")+"-nu-latn";let i=Yd(n,{...r,timeZone:void 0}),s=parseInt(i.formatToParts(new Date(2020,2,3,0)).find(l=>l.type==="hour").value,10),u=parseInt(i.formatToParts(new Date(2020,2,3,23)).find(l=>l.type==="hour").value,10);if(s===0&&u===23)return"h23";if(s===24&&u===23)return"h24";if(s===0&&u===11)return"h11";if(s===12&&u===11)return"h12";throw new Error("Unexpected hour cycle result")}const xy=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),wy=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Ty(n){if(Intl.Locale){let i=new Intl.Locale(n).maximize().script;return xy.has(i)}let r=n.split("-")[0];return wy.has(r)}function Qd(){let n=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([n])}catch{n="en-US"}return{locale:n,direction:Ty(n)?"rtl":"ltr"}}let Zu=Qd(),Ho=new Set;function Yc(){Zu=Qd();for(let n of Ho)n(Zu)}function $y(){let n=ga(),[r,i]=E.useState(Zu);return E.useEffect(()=>(Ho.size===0&&window.addEventListener("languagechange",Yc),Ho.add(i),()=>{Ho.delete(i),Ho.size===0&&window.removeEventListener("languagechange",Yc)}),[]),n?{locale:"en-US",direction:"ltr"}:r}const Ey=E.createContext(null);function _f(){let n=$y();return E.useContext(Ey)||n}const Qc=new WeakMap;function Py(n){let r=Qc.get(n);return r||(r=new dy(n),Qc.set(n,r)),r}function Ay(n){let{locale:r}=_f(),i=E.useMemo(()=>Py(n),[n]);return E.useMemo(()=>new gy(r,i),[r,i])}function Sy(n){n=D_(n,Cy);let{locale:r}=_f();return E.useMemo(()=>new my(r,n),[r,n])}function Cy(n,r){if(n===r)return!0;let i=Object.keys(n),s=Object.keys(r);if(i.length!==s.length)return!1;for(let u of i)if(r[u]!==n[u])return!1;return!0}function Xu(n,r){let{elementType:i="button",isDisabled:s,onPress:u,onPressStart:l,onPressEnd:d,onPressChange:g,preventFocusOnPress:v,allowFocusWhenDisabled:y,onClick:P,href:L,target:C,rel:D,type:S="button"}=n,W;i==="button"?W={type:S,disabled:s}:W={role:"button",tabIndex:s?void 0:0,href:i==="a"&&s?void 0:L,target:i==="a"?C:void 0,type:i==="input"?S:void 0,disabled:i==="input"?s:void 0,"aria-disabled":!s||i==="input"?void 0:s,rel:i==="a"?D:void 0};let{pressProps:B,isPressed:K}=Hd({onPressStart:l,onPressEnd:d,onPressChange:g,onPress:u,isDisabled:s,preventFocusOnPress:v,ref:r}),{focusableProps:Y}=jd(n,r);y&&(Y.tabIndex=s?-1:Y.tabIndex);let ee=qn(Y,B,pf(n,{labelable:!0}));return{isPressed:K,buttonProps:qn(W,ee,{"aria-haspopup":n["aria-haspopup"],"aria-expanded":n["aria-expanded"],"aria-controls":n["aria-controls"],"aria-pressed":n["aria-pressed"],onClick:te=>{P&&(P(te),console.warn("onClick is deprecated, please use onPress"))}})}}const Zc={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Oy(n={}){let{style:r,isFocusable:i}=n,[s,u]=E.useState(!1),{focusWithinProps:l}=Kd({isDisabled:!i,onFocusWithinChange:g=>u(g)}),d=E.useMemo(()=>s?r:r?{...Zc,...r}:Zc,[s]);return{visuallyHiddenProps:{...l,style:d}}}function Ry(n){let{children:r,elementType:i="div",isFocusable:s,style:u,...l}=n,{visuallyHiddenProps:d}=Oy(n);return E.createElement(i,qn(l,d),r)}function Ly(n){return n&&n.__esModule?n.default:n}const Xc={top:"top",bottom:"top",left:"left",right:"left"},ia={top:"bottom",bottom:"top",left:"right",right:"left"},Iy={top:"left",left:"top"},Ju={top:"height",left:"width"},My={width:"totalWidth",height:"totalHeight"},qs={};let Ji=typeof window<"u"&&window.visualViewport;function Ny(n){let r=0,i=0,s=0,u=0,l=0,d=0,g={};if(n.tagName==="BODY"){let P=document.documentElement;s=P.clientWidth,u=P.clientHeight;var v;r=(v=Ji?.width)!==null&&v!==void 0?v:s;var y;i=(y=Ji?.height)!==null&&y!==void 0?y:u,g.top=P.scrollTop||n.scrollTop,g.left=P.scrollLeft||n.scrollLeft}else({width:r,height:i,top:l,left:d}=so(n)),g.top=n.scrollTop,g.left=n.scrollLeft,s=r,u=i;return{width:r,height:i,totalWidth:s,totalHeight:u,scroll:g,top:l,left:d}}function Dy(n){return{top:n.scrollTop,left:n.scrollLeft,width:n.scrollWidth,height:n.scrollHeight}}function Jc(n,r,i,s,u){let l=s.scroll[n],d=s[Ju[n]],g=r-u-l,v=r+u-l+i;return g<0?-g:v>d?Math.max(d-v,-g):0}function Fy(n){let r=window.getComputedStyle(n);return{top:parseInt(r.marginTop,10)||0,bottom:parseInt(r.marginBottom,10)||0,left:parseInt(r.marginLeft,10)||0,right:parseInt(r.marginRight,10)||0}}function ed(n){if(qs[n])return qs[n];let[r,i]=n.split(" "),s=Xc[r]||"right",u=Iy[s];Xc[i]||(i="center");let l=Ju[s],d=Ju[u];return qs[n]={placement:r,crossPlacement:i,axis:s,crossAxis:u,size:l,crossSize:d},qs[n]}function Du(n,r,i,s,u,l,d,g,v,y){let{placement:P,crossPlacement:L,axis:C,crossAxis:D,size:S,crossSize:W}=s,B={};B[D]=n[D],L==="center"?B[D]+=(n[W]-i[W])/2:L!==D&&(B[D]+=n[W]-i[W]),B[D]+=l;const K=n[D]-i[W]+v+y,Y=n[D]+n[W]-v-y;if(B[D]=Ku(B[D],K,Y),P===C){const ee=g?d[S]:r[My[S]];B[ia[C]]=Math.floor(ee-n[C]+u)}else B[C]=Math.floor(n[C]+n[S]+u);return B}function ky(n,r,i,s,u,l){return n.top!=null?Math.max(0,r.height+r.top+r.scroll.top-(i.top+n.top)-(u.top+u.bottom+l)):Math.max(0,s.top+i.top-(r.top+r.scroll.top)-(u.top+u.bottom+l))}function td(n,r,i,s,u,l){let{placement:d,axis:g,size:v}=l;return d===g?Math.max(0,i[g]-n[g]-n.scroll[g]+r[g]-s[g]-s[ia[g]]-u):Math.max(0,n[v]+n[g]+n.scroll[g]-r[g]-i[g]-i[v]-s[g]-s[ia[g]]-u)}function Uy(n,r,i,s,u,l,d,g,v,y,P,L,C,D,S){let W=ed(n),{size:B,crossAxis:K,crossSize:Y,placement:ee,crossPlacement:te}=W,ie=Du(r,g,i,W,y,P,v,L,D,S),me=y,xe=td(g,v,r,u,l+y,W);if(d&&s[B]>xe){let Ie=ed(`${ia[ee]} ${te}`),ve=Du(r,g,i,Ie,y,P,v,L,D,S);td(g,v,r,u,l+y,Ie)>xe&&(W=Ie,ie=ve,me=y)}let T=Jc(K,ie[K],i[Y],g,l);ie[K]+=T;let re=ky(ie,g,v,r,u,l);C&&C<re&&(re=C),i.height=Math.min(i.height,re),ie=Du(r,g,i,W,me,P,v,L,D,S),T=Jc(K,ie[K],i[Y],g,l),ie[K]+=T;let we={},Z=r[K]+.5*r[Y]-i[K];const Me=D/2+S,H=i[Y]-D/2-S,F=r[K]-i[K]+D/2,he=r[K]+r[Y]-i[K]-D/2,Ae=Ku(Z,F,he);return we[K]=Ku(Ae,Me,H),{position:ie,maxHeight:re,arrowOffsetLeft:we.left,arrowOffsetTop:we.top,placement:W.placement}}function By(n){let{placement:r,targetNode:i,overlayNode:s,scrollNode:u,padding:l,shouldFlip:d,boundaryElement:g,offset:v,crossOffset:y,maxHeight:P,arrowSize:L,arrowBoundaryOffset:C=0}=n,D=s instanceof HTMLElement?Hy(s):document.documentElement,S=D===document.documentElement;const W=window.getComputedStyle(D).position;let B=!!W&&W!=="static",K=S?so(i):nd(i,D);if(!S){let{marginTop:xe,marginLeft:T}=window.getComputedStyle(i);K.top+=parseInt(xe,10)||0,K.left+=parseInt(T,10)||0}let Y=so(s),ee=Fy(s);Y.width+=ee.left+ee.right,Y.height+=ee.top+ee.bottom;let te=Dy(u),ie=Ny(g),me=g.tagName==="BODY"?so(D):nd(D,g);return Uy(r,K,Y,te,ee,l,d,ie,me,v,y,B,P,L,C)}function so(n){let{top:r,left:i,width:s,height:u}=n.getBoundingClientRect(),{scrollTop:l,scrollLeft:d,clientTop:g,clientLeft:v}=document.documentElement;return{top:r+l-g,left:i+d-v,width:s,height:u}}function nd(n,r){let i=window.getComputedStyle(n),s;if(i.position==="fixed"){let{top:u,left:l,width:d,height:g}=n.getBoundingClientRect();s={top:u,left:l,width:d,height:g}}else{s=so(n);let u=so(r),l=window.getComputedStyle(r);u.top+=(parseInt(l.borderTopWidth,10)||0)-r.scrollTop,u.left+=(parseInt(l.borderLeftWidth,10)||0)-r.scrollLeft,s.top-=u.top,s.left-=u.left}return s.top-=parseInt(i.marginTop,10)||0,s.left-=parseInt(i.marginLeft,10)||0,s}function Hy(n){let r=n.offsetParent;if(r&&r===document.body&&window.getComputedStyle(r).position==="static"&&!rd(r)&&(r=document.documentElement),r==null)for(r=n.parentElement;r&&!rd(r);)r=r.parentElement;return r||document.documentElement}function rd(n){let r=window.getComputedStyle(n);return r.transform!=="none"||/transform|perspective/.test(r.willChange)||r.filter!=="none"||r.contain==="paint"||"backdropFilter"in r&&r.backdropFilter!=="none"||"WebkitBackdropFilter"in r&&r.WebkitBackdropFilter!=="none"}const Zd=new WeakMap;function Wy(n){let{triggerRef:r,isOpen:i,onClose:s}=n;E.useEffect(()=>{if(!i||s===null)return;let u=l=>{let d=l.target;if(!r.current||d instanceof Node&&!d.contains(r.current))return;let g=s||Zd.get(r.current);g&&g()};return window.addEventListener("scroll",u,!0),()=>{window.removeEventListener("scroll",u,!0)}},[i,s,r])}let cn=typeof window<"u"&&window.visualViewport;function zy(n){let{direction:r}=_f(),{arrowSize:i=0,targetRef:s,overlayRef:u,scrollRef:l=u,placement:d="bottom",containerPadding:g=12,shouldFlip:v=!0,boundaryElement:y=typeof document<"u"?document.body:null,offset:P=0,crossOffset:L=0,shouldUpdatePosition:C=!0,isOpen:D=!0,onClose:S,maxHeight:W,arrowBoundaryOffset:B=0}=n,[K,Y]=E.useState({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),ee=[C,d,u.current,s.current,l.current,g,v,y,P,L,D,r,W,B,i],te=E.useCallback(()=>{if(C===!1||!D||!u.current||!s.current||!l.current||!y)return;let xe=By({placement:Gy(d,r),overlayNode:u.current,targetNode:s.current,scrollNode:l.current,padding:g,shouldFlip:v,boundaryElement:y,offset:P,crossOffset:L,maxHeight:W,arrowSize:i,arrowBoundaryOffset:B});Object.keys(xe.position).forEach(T=>u.current.style[T]=xe.position[T]+"px"),u.current.style.maxHeight=xe.maxHeight!=null?xe.maxHeight+"px":void 0,Y(xe)},ee);vt(te,ee),Ky(te),O_({ref:u,onResize:te});let ie=E.useRef(!1);vt(()=>{let xe,T=()=>{ie.current=!0,clearTimeout(xe),xe=setTimeout(()=>{ie.current=!1},500),te()};return cn?.addEventListener("resize",T),cn?.addEventListener("scroll",T),()=>{cn?.removeEventListener("resize",T),cn?.removeEventListener("scroll",T)}},[te]);let me=E.useCallback(()=>{ie.current||S()},[S,ie]);return Wy({triggerRef:s,isOpen:D,onClose:S&&me}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...K.position,maxHeight:K.maxHeight}},placement:K.placement,arrowProps:{style:{left:K.arrowOffsetLeft,top:K.arrowOffsetTop}},updatePosition:te}}function Ky(n){vt(()=>(window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}),[n])}function Gy(n,r){return r==="rtl"?n.replace("start","right").replace("end","left"):n.replace("start","left").replace("end","right")}const br=[];function Xd(n,r){let{onClose:i,shouldCloseOnBlur:s,isOpen:u,isDismissable:l=!1,isKeyboardDismissDisabled:d=!1,shouldCloseOnInteractOutside:g}=n;E.useEffect(()=>(u&&br.push(r),()=>{let S=br.indexOf(r);S>=0&&br.splice(S,1)}),[u,r]);let v=()=>{br[br.length-1]===r&&i&&i()},y=S=>{(!g||g(S.target))&&br[br.length-1]===r&&(S.stopPropagation(),S.preventDefault())},P=S=>{(!g||g(S.target))&&(br[br.length-1]===r&&(S.stopPropagation(),S.preventDefault()),v())},L=S=>{S.key==="Escape"&&!d&&(S.stopPropagation(),S.preventDefault(),v())};Q_({ref:r,onInteractOutside:l?P:null,onInteractOutsideStart:y});let{focusWithinProps:C}=Kd({isDisabled:!s,onBlurWithin:S=>{S.relatedTarget&&iy(S.relatedTarget)||(!g||g(S.relatedTarget))&&i()}}),D=S=>{S.target===S.currentTarget&&S.preventDefault()};return{overlayProps:{onKeyDown:L,...C},underlayProps:{onPointerDown:D}}}function qy(n,r,i){let{type:s}=n,{isOpen:u}=r;E.useEffect(()=>{i&&i.current&&Zd.set(i.current,r.close)});let l;s==="menu"?l=!0:s==="listbox"&&(l="listbox");let d=hf();return{triggerProps:{"aria-haspopup":l,"aria-expanded":u,"aria-controls":u?d:null,onPress:r.toggle},overlayProps:{id:d}}}const oa=E.createContext(null);function Vy(n){let{children:r}=n,i=E.useContext(oa),[s,u]=E.useState(0),l=E.useMemo(()=>({parent:i,modalCount:s,addModal(){u(d=>d+1),i&&i.addModal()},removeModal(){u(d=>d-1),i&&i.removeModal()}}),[i,s]);return E.createElement(oa.Provider,{value:l},r)}function jy(){let n=E.useContext(oa);return{modalProviderProps:{"aria-hidden":n&&n.modalCount>0?!0:null}}}function Yy(n){let{modalProviderProps:r}=jy();return E.createElement("div",{"data-overlay-container":!0,...n,...r})}function Qy(n){return E.createElement(Vy,null,E.createElement(Yy,n))}function Jd(n){let r=ga(),{portalContainer:i=r?null:document.body,...s}=n;if(E.useEffect(()=>{if(i?.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[i]),!i)return null;let u=E.createElement(Qy,s);return Rd.createPortal(u,i)}function eh(n){let r=E.useContext(oa);if(!r)throw new Error("Modal is not contained within a provider");return E.useEffect(()=>{if(!(n?.isDisabled||!r||!r.parent))return r.parent.addModal(),()=>{r&&r.parent&&r.parent.removeModal()}},[r,r.parent,n?.isDisabled]),{modalProps:{"data-ismodal":!n?.isDisabled}}}var th={},nh={};nh={dismiss:"تجاهل"};var rh={};rh={dismiss:"Отхвърляне"};var ih={};ih={dismiss:"Odstranit"};var oh={};oh={dismiss:"Luk"};var sh={};sh={dismiss:"Schließen"};var ah={};ah={dismiss:"Απόρριψη"};var uh={};uh={dismiss:"Dismiss"};var fh={};fh={dismiss:"Descartar"};var lh={};lh={dismiss:"Lõpeta"};var ch={};ch={dismiss:"Hylkää"};var dh={};dh={dismiss:"Rejeter"};var hh={};hh={dismiss:"התעלם"};var ph={};ph={dismiss:"Odbaci"};var gh={};gh={dismiss:"Elutasítás"};var mh={};mh={dismiss:"Ignora"};var vh={};vh={dismiss:"閉じる"};var bh={};bh={dismiss:"무시"};var _h={};_h={dismiss:"Atmesti"};var yh={};yh={dismiss:"Nerādīt"};var xh={};xh={dismiss:"Lukk"};var wh={};wh={dismiss:"Negeren"};var Th={};Th={dismiss:"Zignoruj"};var $h={};$h={dismiss:"Descartar"};var Eh={};Eh={dismiss:"Dispensar"};var Ph={};Ph={dismiss:"Revocare"};var Ah={};Ah={dismiss:"Пропустить"};var Sh={};Sh={dismiss:"Zrušiť"};var Ch={};Ch={dismiss:"Opusti"};var Oh={};Oh={dismiss:"Odbaci"};var Rh={};Rh={dismiss:"Avvisa"};var Lh={};Lh={dismiss:"Kapat"};var Ih={};Ih={dismiss:"Скасувати"};var Mh={};Mh={dismiss:"取消"};var Nh={};Nh={dismiss:"關閉"};th={"ar-AE":nh,"bg-BG":rh,"cs-CZ":ih,"da-DK":oh,"de-DE":sh,"el-GR":ah,"en-US":uh,"es-ES":fh,"et-EE":lh,"fi-FI":ch,"fr-FR":dh,"he-IL":hh,"hr-HR":ph,"hu-HU":gh,"it-IT":mh,"ja-JP":vh,"ko-KR":bh,"lt-LT":_h,"lv-LV":yh,"nb-NO":xh,"nl-NL":wh,"pl-PL":Th,"pt-BR":$h,"pt-PT":Eh,"ro-RO":Ph,"ru-RU":Ah,"sk-SK":Sh,"sl-SI":Ch,"sr-SP":Oh,"sv-SE":Rh,"tr-TR":Lh,"uk-UA":Ih,"zh-CN":Mh,"zh-TW":Nh};function Zy(n){let{onDismiss:r,...i}=n,s=Ay(Ly(th)),u=S_(i,s.format("dismiss")),l=()=>{r&&r()};return E.createElement(Ry,null,E.createElement("button",{...u,tabIndex:-1,onClick:l}))}const Xy=E.createContext(null);function Jy(){let n=E.useContext(Xy),r=n?.setContain;vt(()=>{r?.(!0)},[r])}function Dh(n,r){let{role:i="dialog"}=n,s=__();s=n["aria-label"]?void 0:s;let u=E.useRef(!1);return E.useEffect(()=>{if(r.current&&!r.current.contains(document.activeElement)){ea(r.current);let l=setTimeout(()=>{document.activeElement===r.current&&(u.current=!0,r.current.blur(),ea(r.current),u.current=!1)},500);return()=>{clearTimeout(l)}}},[r]),Jy(),{dialogProps:{...pf(n,{labelable:!0}),role:i,tabIndex:-1,"aria-labelledby":n["aria-labelledby"]||s,onBlur:l=>{u.current&&l.stopPropagation()}},titleProps:{id:s}}}const Fh=E.forwardRef((n,r)=>{const{as:i="a",handlePress:s,children:u,as:l,customTheme:d,tokens:g,themeName:v="button",...y}=n,P=r,{linkProps:L}=cy({...n,elementType:l?.toString(),onPress:s},r??P),C=mt(v,g,d);return X.jsx(i,{ref:P,...L,...y,className:C,children:u})}),kh=E.forwardRef((n,r)=>{const{as:i="button",handlePress:s,children:u,as:l,customTheme:d,tokens:g,themeName:v="button",...y}=n,P=r,{buttonProps:L}=Xu({...n,elementType:l,onPress:s},r??P),C=mt(v,g,d);return X.jsx(i,{ref:P,...L,...y,className:C,children:u})}),Uh=E.forwardRef((n,r)=>{const{as:i}=n;return i==="a"?X.jsx(Fh,{ref:r,...n}):X.jsx(kh,{ref:r,...n})}),ex=n=>{const{as:r}=n,i=E.useRef(null);return r==="a"?X.jsx(Fh,{ref:i,...n}):X.jsx(kh,{ref:i,...n})},ma=E.memo(ex),tx=(n,r)=>{const i=n[r];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((s,u)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(u.bind(null,new Error("Unknown variable dynamic import: "+r)))})},nx=n=>X.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:48,width:48,fill:"currentColor",...n}),Bh=E.memo(nx),rx=Object.freeze(Object.defineProperty({__proto__:null,default:Bh},Symbol.toStringTag,{value:"Module"})),ix=n=>{const{icon:r,...i}=n,s=E.useMemo(()=>E.lazy(()=>tx(Object.assign({"../icons/ArrowDown.tsx":()=>Promise.resolve().then(()=>require("./ArrowDown-72664942.js")),"../icons/ArrowLeft.tsx":()=>Promise.resolve().then(()=>require("./ArrowLeft-92615072.js")),"../icons/ArrowRight.tsx":()=>Promise.resolve().then(()=>rT),"../icons/BrandArrowRight.tsx":()=>Promise.resolve().then(()=>require("./BrandArrowRight-ec28c116.js")),"../icons/Check.tsx":()=>Promise.resolve().then(()=>require("./Check-60a59a92.js")),"../icons/ChevronLeft.tsx":()=>Promise.resolve().then(()=>require("./ChevronLeft-61ba7939.js")),"../icons/ChevronRight.tsx":()=>Promise.resolve().then(()=>require("./ChevronRight-7e499c8b.js")),"../icons/CloseBtn.tsx":()=>Promise.resolve().then(()=>require("./CloseBtn-d0988d11.js")),"../icons/Facebook.tsx":()=>Promise.resolve().then(()=>require("./Facebook-a39abc64.js")),"../icons/FacebookColored.tsx":()=>Promise.resolve().then(()=>require("./FacebookColored-bb0e1f1f.js")),"../icons/Globe.tsx":()=>Promise.resolve().then(()=>require("./Globe-1d0d74ab.js")),"../icons/IconFallback.tsx":()=>Promise.resolve().then(()=>rx),"../icons/Instagram.tsx":()=>Promise.resolve().then(()=>require("./Instagram-21a93977.js")),"../icons/InstagramColored.tsx":()=>Promise.resolve().then(()=>require("./InstagramColored-fda95edf.js")),"../icons/Link.tsx":()=>Promise.resolve().then(()=>require("./Link-3adca6b1.js")),"../icons/Mail.tsx":()=>Promise.resolve().then(()=>require("./Mail-e45d62a8.js")),"../icons/Plus.tsx":()=>Promise.resolve().then(()=>require("./Plus-3b79af86.js")),"../icons/Share.tsx":()=>Promise.resolve().then(()=>require("./Share-bea49bcd.js")),"../icons/Twitter.tsx":()=>Promise.resolve().then(()=>require("./Twitter-1a983dd9.js")),"../icons/TwitterColored.tsx":()=>Promise.resolve().then(()=>require("./TwitterColored-2f8931d5.js")),"../icons/Upload.tsx":()=>Promise.resolve().then(()=>require("./Upload-ce95715b.js")),"../icons/YouTube.tsx":()=>Promise.resolve().then(()=>require("./YouTube-dc8e7751.js")),"../icons/YouTubeColored.tsx":()=>Promise.resolve().then(()=>require("./YouTubeColored-05f79f00.js"))}),`../icons/${r||"ArrowRight"}.tsx`)),[r]);return X.jsx(E.Suspense,{fallback:X.jsx(Bh,{className:"overflow-visible pointer-events-none"}),children:X.jsx(s,{...i,className:"overflow-visible pointer-events-none",...n})})},ts=n=>{const{icon:r,as:i="span",tokens:s,customTheme:u,themeName:l="icon",children:d,...g}=n,v=mt(l,s,u);return typeof r!="string"?X.jsxs(i,{...g,className:v,children:[d,r]}):typeof window>"u"?null:X.jsxs(i,{className:v,children:[d,X.jsx(ix,{icon:r,...g})]})},ox=n=>{const{customTheme:r,themeName:i="accordion",id:s,tokens:u,title:l,ariaLabel:d,onClick:g,icon:v,children:y}=n,[P,L]=E.useState(!1),C=mt(`${i}.container`,{...u,isOpen:P},r),D=mt(`${i}.title`,{...u,isOpen:P},r),S=mt(`${i}.icon`,{...u,isOpen:P},r),W=mt(`${i}.region`,{...u,isOpen:P},r),B=mt(`${i}.content`,{...u,isOpen:P},r);return X.jsxs("div",{className:C,id:`accordion-control-${s}`,"aria-label":d,"aria-expanded":P,"aria-controls":`accordion-content-${s}`,children:[X.jsxs(ma,{themeName:`${i}.button`,tokens:{...u,isOpen:P},handlePress:()=>{L(!P),g?.(P)},as:"button",id:`accordion-control-${s}`,"aria-label":d,children:[X.jsx("div",{className:D,children:l}),X.jsx("div",{className:S,children:X.jsx(ts,{icon:v??"ArrowDown"})})]}),X.jsx("div",{className:W,role:"region",id:`accordion-content-${s}`,"aria-labelledby":`accordion-control-${s}`,children:X.jsx("section",{className:B,children:y})})]})},sx=n=>{const{sharingLinksList:r,id:i,isOpen:s,onShare:u,themeName:l="shareButton",tokens:d,customTheme:g}=n,v=mt(`${l}.linksList`,{...d,isOpen:s},g);return X.jsx("div",{className:v,id:i,role:"listbox",children:r?.map(y=>{const{ariaLabel:P,onClick:L,href:C,icon:D,key:S}=y;return X.jsx(ma,{themeName:`${l}.link`,tokens:{...d,isOpen:s},as:"a",handlePress:()=>{u?.(S),L?.(S)},"aria-label":P,target:"_blank",rel:"noopener noreferrer",href:C,role:"option",children:X.jsx(ts,{themeName:`${l}.linkIcons`,icon:D})},S)})})},ax=n=>{const{ariaLabel:r,icon:i,id:s,sharingLinksList:u,onShare:l,customTheme:d,themeName:g="shareButton",tokens:v,...y}=n,[P,L]=E.useState(!1),C=mt(`${g}.container`,v,d),D=()=>{L(!P)};return X.jsxs("div",{className:C,children:[X.jsx(ma,{themeName:`${g}.button`,tokens:{...v,isOpen:P},"aria-label":r,"aria-haspopup":"listbox","aria-expanded":P?"true":"false","aria-controls":"share-buttons",handlePress:D,...y,children:X.jsx(ts,{themeName:`${g}.icon`,icon:i??"Share"})}),X.jsx(sx,{id:s,sharingLinksList:u,onShare:l,isOpen:P,themeName:g,customTheme:d,tokens:v})]})};var zo=globalThis&&globalThis.__assign||function(){return zo=Object.assign||function(n){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(n[u]=r[u])}return n},zo.apply(this,arguments)},ux=globalThis&&globalThis.__rest||function(n,r){var i={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(n);u<s.length;u++)r.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(n,s[u])&&(i[s[u]]=n[s[u]]);return i},id=!1,Hh=E.forwardRef(function(n,r){var i=n.style,s=ux(n,["style"]),u=fx();!id&&i?.height&&(id=!0,console.warn("<Div100vh /> overrides the height property of the style prop"));var l=zo(zo({},i),{height:u?u+"px":"100vh"});return E.createElement("div",zo({ref:r,style:l},s))});Hh.displayName="Div100vh";function fx(){var n=E.useState(od),r=n[0],i=n[1],s=lx();return E.useEffect(function(){if(!s)return;function u(){var l=od();i(l)}return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}},[s]),s?r:null}function od(){return Wh()?window.innerHeight:null}function lx(){var n=E.useState(!1),r=n[0],i=n[1];return E.useEffect(function(){Wh()&&i(!0)},[]),r}function Wh(){return typeof window<"u"&&typeof document<"u"}function cx(){const n=E.createContext(void 0);function r(){const i=E.useContext(n);if(i===void 0)throw new Error("useCtx must be inside a Provider");return i}return[r,n.Provider]}function zh(n){let[r,i]=a_(n.isOpen,n.defaultOpen||!1,n.onOpenChange);const s=E.useCallback(()=>{i(!0)},[i]),u=E.useCallback(()=>{i(!1)},[i]),l=E.useCallback(()=>{i(!r)},[i,r]);return{isOpen:r,setOpen:i,open:s,close:u,toggle:l}}const dx=(n,r,i)=>{const s=zh({defaultOpen:n,onOpenChange:P=>r?.(P)}),u=E.useRef(null),l=E.useRef(null);E.useEffect(()=>{if(n){s.open();return}s.close()},[n]);const d=()=>{s.open()},g=()=>{s.close(),i?.()},{buttonProps:v}=Xu({elementType:"div",onPress:d},u),{buttonProps:y}=Xu({onPress:g},l);return{state:s,openButtonProps:v,closeButtonProps:y,handleOpen:d,handleClose:g,openButtonRef:u,closeButtonRef:l}},[hx,fT]=cx();let yf=rs();const ye=n=>ns(n,yf);let xf=rs();ye.write=n=>ns(n,xf);let va=rs();ye.onStart=n=>ns(n,va);let wf=rs();ye.onFrame=n=>ns(n,wf);let Tf=rs();ye.onFinish=n=>ns(n,Tf);let ao=[];ye.setTimeout=(n,r)=>{let i=ye.now()+r,s=()=>{let l=ao.findIndex(d=>d.cancel==s);~l&&ao.splice(l,1),Kr-=~l?1:0},u={time:i,handler:n,cancel:s};return ao.splice(Kh(i),0,u),Kr+=1,Gh(),u};let Kh=n=>~(~ao.findIndex(r=>r.time>n)||~ao.length);ye.cancel=n=>{va.delete(n),wf.delete(n),Tf.delete(n),yf.delete(n),xf.delete(n)};ye.sync=n=>{ef=!0,ye.batchedUpdates(n),ef=!1};ye.throttle=n=>{let r;function i(){try{n(...r)}finally{r=null}}function s(...u){r=u,ye.onStart(i)}return s.handler=n,s.cancel=()=>{va.delete(i),r=null},s};let $f=typeof window<"u"?window.requestAnimationFrame:()=>{};ye.use=n=>$f=n;ye.now=typeof performance<"u"?()=>performance.now():Date.now;ye.batchedUpdates=n=>n();ye.catch=console.error;ye.frameLoop="always";ye.advance=()=>{ye.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Vh()};let zr=-1,Kr=0,ef=!1;function ns(n,r){ef?(r.delete(n),n(0)):(r.add(n),Gh())}function Gh(){zr<0&&(zr=0,ye.frameLoop!=="demand"&&$f(qh))}function px(){zr=-1}function qh(){~zr&&($f(qh),ye.batchedUpdates(Vh))}function Vh(){let n=zr;zr=ye.now();let r=Kh(zr);if(r&&(jh(ao.splice(0,r),i=>i.handler()),Kr-=r),!Kr){px();return}va.flush(),yf.flush(n?Math.min(64,zr-n):16.667),wf.flush(),xf.flush(),Tf.flush()}function rs(){let n=new Set,r=n;return{add(i){Kr+=r==n&&!n.has(i)?1:0,n.add(i)},delete(i){return Kr-=r==n&&n.has(i)?1:0,n.delete(i)},flush(i){r.size&&(n=new Set,Kr-=r.size,jh(r,s=>s(i)&&n.add(s)),Kr+=n.size,r=n)}}}function jh(n,r){n.forEach(i=>{try{r(i)}catch(s){ye.catch(s)}})}function tf(){}const gx=(n,r,i)=>Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0}),z={arr:Array.isArray,obj:n=>!!n&&n.constructor.name==="Object",fun:n=>typeof n=="function",str:n=>typeof n=="string",num:n=>typeof n=="number",und:n=>n===void 0};function _r(n,r){if(z.arr(n)){if(!z.arr(r)||n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(n[i]!==r[i])return!1;return!0}return n===r}const $e=(n,r)=>n.forEach(r);function Vn(n,r,i){if(z.arr(n)){for(let s=0;s<n.length;s++)r.call(i,n[s],`${s}`);return}for(const s in n)n.hasOwnProperty(s)&&r.call(i,n[s],s)}const Nt=n=>z.und(n)?[]:z.arr(n)?n:[n];function Ko(n,r){if(n.size){const i=Array.from(n);n.clear(),$e(i,r)}}const Wo=(n,...r)=>Ko(n,i=>i(...r)),Ef=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let Pf,Yh,Gr=null,Qh=!1,Af=tf;const mx=n=>{n.to&&(Yh=n.to),n.now&&(ye.now=n.now),n.colors!==void 0&&(Gr=n.colors),n.skipAnimation!=null&&(Qh=n.skipAnimation),n.createStringInterpolator&&(Pf=n.createStringInterpolator),n.requestAnimationFrame&&ye.use(n.requestAnimationFrame),n.batchedUpdates&&(ye.batchedUpdates=n.batchedUpdates),n.willAdvance&&(Af=n.willAdvance),n.frameLoop&&(ye.frameLoop=n.frameLoop)};var jn=Object.freeze({__proto__:null,get createStringInterpolator(){return Pf},get to(){return Yh},get colors(){return Gr},get skipAnimation(){return Qh},get willAdvance(){return Af},assign:mx});const Go=new Set;let hn=[],Fu=[],sa=0;const ba={get idle(){return!Go.size&&!hn.length},start(n){sa>n.priority?(Go.add(n),ye.onStart(vx)):(Zh(n),ye(nf))},advance:nf,sort(n){if(sa)ye.onFrame(()=>ba.sort(n));else{const r=hn.indexOf(n);~r&&(hn.splice(r,1),Xh(n))}},clear(){hn=[],Go.clear()}};function vx(){Go.forEach(Zh),Go.clear(),ye(nf)}function Zh(n){hn.includes(n)||Xh(n)}function Xh(n){hn.splice(bx(hn,r=>r.priority>n.priority),0,n)}function nf(n){const r=Fu;for(let i=0;i<hn.length;i++){const s=hn[i];sa=s.priority,s.idle||(Af(s),s.advance(n),s.idle||r.push(s))}return sa=0,Fu=hn,Fu.length=0,hn=r,hn.length>0}function bx(n,r){const i=n.findIndex(r);return i<0?n.length:i}const _x=(n,r,i)=>Math.min(Math.max(i,n),r),yx={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Rn="[-+]?\\d*\\.?\\d+",aa=Rn+"%";function _a(...n){return"\\(\\s*("+n.join(")\\s*,\\s*(")+")\\s*\\)"}const xx=new RegExp("rgb"+_a(Rn,Rn,Rn)),wx=new RegExp("rgba"+_a(Rn,Rn,Rn,Rn)),Tx=new RegExp("hsl"+_a(Rn,aa,aa)),$x=new RegExp("hsla"+_a(Rn,aa,aa,Rn)),Ex=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Px=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ax=/^#([0-9a-fA-F]{6})$/,Sx=/^#([0-9a-fA-F]{8})$/;function Cx(n){let r;return typeof n=="number"?n>>>0===n&&n>=0&&n<=4294967295?n:null:(r=Ax.exec(n))?parseInt(r[1]+"ff",16)>>>0:Gr&&Gr[n]!==void 0?Gr[n]:(r=xx.exec(n))?(eo(r[1])<<24|eo(r[2])<<16|eo(r[3])<<8|255)>>>0:(r=wx.exec(n))?(eo(r[1])<<24|eo(r[2])<<16|eo(r[3])<<8|ud(r[4]))>>>0:(r=Ex.exec(n))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=Sx.exec(n))?parseInt(r[1],16)>>>0:(r=Px.exec(n))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=Tx.exec(n))?(sd(ad(r[1]),Vs(r[2]),Vs(r[3]))|255)>>>0:(r=$x.exec(n))?(sd(ad(r[1]),Vs(r[2]),Vs(r[3]))|ud(r[4]))>>>0:null}function ku(n,r,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(r-n)*6*i:i<1/2?r:i<2/3?n+(r-n)*(2/3-i)*6:n}function sd(n,r,i){const s=i<.5?i*(1+r):i+r-i*r,u=2*i-s,l=ku(u,s,n+1/3),d=ku(u,s,n),g=ku(u,s,n-1/3);return Math.round(l*255)<<24|Math.round(d*255)<<16|Math.round(g*255)<<8}function eo(n){const r=parseInt(n,10);return r<0?0:r>255?255:r}function ad(n){return(parseFloat(n)%360+360)%360/360}function ud(n){const r=parseFloat(n);return r<0?0:r>1?255:Math.round(r*255)}function Vs(n){const r=parseFloat(n);return r<0?0:r>100?1:r/100}function fd(n){let r=Cx(n);if(r===null)return n;r=r||0;let i=(r&4278190080)>>>24,s=(r&16711680)>>>16,u=(r&65280)>>>8,l=(r&255)/255;return`rgba(${i}, ${s}, ${u}, ${l})`}const jo=(n,r,i)=>{if(z.fun(n))return n;if(z.arr(n))return jo({range:n,output:r,extrapolate:i});if(z.str(n.output[0]))return Pf(n);const s=n,u=s.output,l=s.range||[0,1],d=s.extrapolateLeft||s.extrapolate||"extend",g=s.extrapolateRight||s.extrapolate||"extend",v=s.easing||(y=>y);return y=>{const P=Rx(y,l);return Ox(y,l[P],l[P+1],u[P],u[P+1],v,d,g,s.map)}};function Ox(n,r,i,s,u,l,d,g,v){let y=v?v(n):n;if(y<r){if(d==="identity")return y;d==="clamp"&&(y=r)}if(y>i){if(g==="identity")return y;g==="clamp"&&(y=i)}return s===u?s:r===i?n<=r?s:u:(r===-1/0?y=-y:i===1/0?y=y-r:y=(y-r)/(i-r),y=l(y),s===-1/0?y=-y:u===1/0?y=y+s:y=y*(u-s)+s,y)}function Rx(n,r){for(var i=1;i<r.length-1&&!(r[i]>=n);++i);return i-1}const Lx=(n,r="end")=>i=>{i=r==="end"?Math.min(i,.999):Math.max(i,.001);const s=i*n,u=r==="end"?Math.floor(s):Math.ceil(s);return _x(0,1,u/n)},ua=1.70158,js=ua*1.525,ld=ua+1,cd=2*Math.PI/3,dd=2*Math.PI/4.5,Ys=n=>n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,Ix={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>1-(1-n)*(1-n),easeInOutQuad:n=>n<.5?2*n*n:1-Math.pow(-2*n+2,2)/2,easeInCubic:n=>n*n*n,easeOutCubic:n=>1-Math.pow(1-n,3),easeInOutCubic:n=>n<.5?4*n*n*n:1-Math.pow(-2*n+2,3)/2,easeInQuart:n=>n*n*n*n,easeOutQuart:n=>1-Math.pow(1-n,4),easeInOutQuart:n=>n<.5?8*n*n*n*n:1-Math.pow(-2*n+2,4)/2,easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>1-Math.pow(1-n,5),easeInOutQuint:n=>n<.5?16*n*n*n*n*n:1-Math.pow(-2*n+2,5)/2,easeInSine:n=>1-Math.cos(n*Math.PI/2),easeOutSine:n=>Math.sin(n*Math.PI/2),easeInOutSine:n=>-(Math.cos(Math.PI*n)-1)/2,easeInExpo:n=>n===0?0:Math.pow(2,10*n-10),easeOutExpo:n=>n===1?1:1-Math.pow(2,-10*n),easeInOutExpo:n=>n===0?0:n===1?1:n<.5?Math.pow(2,20*n-10)/2:(2-Math.pow(2,-20*n+10))/2,easeInCirc:n=>1-Math.sqrt(1-Math.pow(n,2)),easeOutCirc:n=>Math.sqrt(1-Math.pow(n-1,2)),easeInOutCirc:n=>n<.5?(1-Math.sqrt(1-Math.pow(2*n,2)))/2:(Math.sqrt(1-Math.pow(-2*n+2,2))+1)/2,easeInBack:n=>ld*n*n*n-ua*n*n,easeOutBack:n=>1+ld*Math.pow(n-1,3)+ua*Math.pow(n-1,2),easeInOutBack:n=>n<.5?Math.pow(2*n,2)*((js+1)*2*n-js)/2:(Math.pow(2*n-2,2)*((js+1)*(n*2-2)+js)+2)/2,easeInElastic:n=>n===0?0:n===1?1:-Math.pow(2,10*n-10)*Math.sin((n*10-10.75)*cd),easeOutElastic:n=>n===0?0:n===1?1:Math.pow(2,-10*n)*Math.sin((n*10-.75)*cd)+1,easeInOutElastic:n=>n===0?0:n===1?1:n<.5?-(Math.pow(2,20*n-10)*Math.sin((20*n-11.125)*dd))/2:Math.pow(2,-20*n+10)*Math.sin((20*n-11.125)*dd)/2+1,easeInBounce:n=>1-Ys(1-n),easeOutBounce:Ys,easeInOutBounce:n=>n<.5?(1-Ys(1-2*n))/2:(1+Ys(2*n-1))/2,steps:Lx};function rf(){return rf=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},rf.apply(this,arguments)}const fo=Symbol.for("FluidValue.get"),wi=Symbol.for("FluidValue.observers"),dn=n=>!!(n&&n[fo]),Kt=n=>n&&n[fo]?n[fo]():n,hd=n=>n[wi]||null;function Mx(n,r){n.eventObserved?n.eventObserved(r):n(r)}function Yo(n,r){let i=n[wi];i&&i.forEach(s=>{Mx(s,r)})}class Jh{constructor(r){if(this[fo]=void 0,this[wi]=void 0,!r&&!(r=this.get))throw Error("Unknown getter");Nx(this,r)}}const Nx=(n,r)=>ep(n,fo,r);function co(n,r){if(n[fo]){let i=n[wi];i||ep(n,wi,i=new Set),i.has(r)||(i.add(r),n.observerAdded&&n.observerAdded(i.size,r))}return r}function Qo(n,r){let i=n[wi];if(i&&i.has(r)){const s=i.size-1;s?i.delete(r):n[wi]=null,n.observerRemoved&&n.observerRemoved(s,r)}}const ep=(n,r,i)=>Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0}),Zs=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Dx=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,pd=new RegExp(`(${Zs.source})(%|[a-z]+)`,"i"),Fx=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ya=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,tp=n=>{const[r,i]=kx(n);if(!r||Ef())return n;const s=window.getComputedStyle(document.documentElement).getPropertyValue(r);if(s)return s.trim();if(i&&i.startsWith("--")){const u=window.getComputedStyle(document.documentElement).getPropertyValue(i);return u||n}else{if(i&&ya.test(i))return tp(i);if(i)return i}return n},kx=n=>{const r=ya.exec(n);if(!r)return[,];const[,i,s]=r;return[i,s]};let Uu;const Ux=(n,r,i,s,u)=>`rgba(${Math.round(r)}, ${Math.round(i)}, ${Math.round(s)}, ${u})`,np=n=>{Uu||(Uu=Gr?new RegExp(`(${Object.keys(Gr).join("|")})(?!\\w)`,"g"):/^\b$/);const r=n.output.map(l=>Kt(l).replace(ya,tp).replace(Dx,fd).replace(Uu,fd)),i=r.map(l=>l.match(Zs).map(Number)),u=i[0].map((l,d)=>i.map(g=>{if(!(d in g))throw Error('The arity of each "output" value must be equal');return g[d]})).map(l=>jo(rf({},n,{output:l})));return l=>{var d;const g=!pd.test(r[0])&&((d=r.find(y=>pd.test(y)))==null?void 0:d.replace(Zs,""));let v=0;return r[0].replace(Zs,()=>`${u[v++](l)}${g||""}`).replace(Fx,Ux)}},Sf="react-spring: ",rp=n=>{const r=n;let i=!1;if(typeof r!="function")throw new TypeError(`${Sf}once requires a function parameter`);return(...s)=>{i||(r(...s),i=!0)}},Bx=rp(console.warn);function Hx(){Bx(`${Sf}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const Wx=rp(console.warn);function zx(){Wx(`${Sf}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function xa(n){return z.str(n)&&(n[0]=="#"||/\d/.test(n)||!Ef()&&ya.test(n)||n in(Gr||{}))}const io=Ef()?E.useEffect:E.useLayoutEffect,Kx=()=>{const n=E.useRef(!1);return io(()=>(n.current=!0,()=>{n.current=!1}),[]),n};function ip(){const n=E.useState()[1],r=Kx();return()=>{r.current&&n(Math.random())}}function Gx(n,r){const[i]=E.useState(()=>({inputs:r,result:n()})),s=E.useRef(),u=s.current;let l=u;return l?r&&l.inputs&&qx(r,l.inputs)||(l={inputs:r,result:n()}):l=i,E.useEffect(()=>{s.current=l,u==i&&(i.inputs=i.result=void 0)},[l]),l.result}function qx(n,r){if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(n[i]!==r[i])return!1;return!0}const op=n=>E.useEffect(n,Vx),Vx=[];function jx(n){const r=E.useRef();return E.useEffect(()=>{r.current=n}),r.current}const Zo=Symbol.for("Animated:node"),Yx=n=>!!n&&n[Zo]===n,Kn=n=>n&&n[Zo],Cf=(n,r)=>gx(n,Zo,r),wa=n=>n&&n[Zo]&&n[Zo].getPayload();class sp{constructor(){this.payload=void 0,Cf(this,this)}getPayload(){return this.payload||[]}}class ho extends sp{constructor(r){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=r,z.num(this._value)&&(this.lastPosition=this._value)}static create(r){return new ho(r)}getPayload(){return[this]}getValue(){return this._value}setValue(r,i){return z.num(r)&&(this.lastPosition=r,i&&(r=Math.round(r/i)*i,this.done&&(this.lastPosition=r))),this._value===r?!1:(this._value=r,!0)}reset(){const{done:r}=this;this.done=!1,z.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,r&&(this.lastVelocity=null),this.v0=null)}}class lo extends ho{constructor(r){super(0),this._string=null,this._toString=void 0,this._toString=jo({output:[r,r]})}static create(r){return new lo(r)}getValue(){let r=this._string;return r??(this._string=this._toString(this._value))}setValue(r){if(z.str(r)){if(r==this._string)return!1;this._string=r,this._value=1}else if(super.setValue(r))this._string=null;else return!1;return!0}reset(r){r&&(this._toString=jo({output:[this.getValue(),r]})),this._value=0,super.reset()}}const fa={dependencies:null};class Ta extends sp{constructor(r){super(),this.source=r,this.setValue(r)}getValue(r){const i={};return Vn(this.source,(s,u)=>{Yx(s)?i[u]=s.getValue(r):dn(s)?i[u]=Kt(s):r||(i[u]=s)}),i}setValue(r){this.source=r,this.payload=this._makePayload(r)}reset(){this.payload&&$e(this.payload,r=>r.reset())}_makePayload(r){if(r){const i=new Set;return Vn(r,this._addToPayload,i),Array.from(i)}}_addToPayload(r){fa.dependencies&&dn(r)&&fa.dependencies.add(r);const i=wa(r);i&&$e(i,s=>this.add(s))}}class Of extends Ta{constructor(r){super(r)}static create(r){return new Of(r)}getValue(){return this.source.map(r=>r.getValue())}setValue(r){const i=this.getPayload();return r.length==i.length?i.map((s,u)=>s.setValue(r[u])).some(Boolean):(super.setValue(r.map(Qx)),!0)}}function Qx(n){return(xa(n)?lo:ho).create(n)}function of(n){const r=Kn(n);return r?r.constructor:z.arr(n)?Of:xa(n)?lo:ho}function la(){return la=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},la.apply(this,arguments)}const gd=(n,r)=>{const i=!z.fun(n)||n.prototype&&n.prototype.isReactComponent;return E.forwardRef((s,u)=>{const l=E.useRef(null),d=i&&E.useCallback(S=>{l.current=Jx(u,S)},[u]),[g,v]=Xx(s,r),y=ip(),P=()=>{const S=l.current;if(i&&!S)return;(S?r.applyAnimatedValues(S,g.getValue(!0)):!1)===!1&&y()},L=new Zx(P,v),C=E.useRef();io(()=>(C.current=L,$e(v,S=>co(S,L)),()=>{C.current&&($e(C.current.deps,S=>Qo(S,C.current)),ye.cancel(C.current.update))})),E.useEffect(P,[]),op(()=>()=>{const S=C.current;$e(S.deps,W=>Qo(W,S))});const D=r.getComponentProps(g.getValue());return oo.createElement(n,la({},D,{ref:d}))})};class Zx{constructor(r,i){this.update=r,this.deps=i}eventObserved(r){r.type=="change"&&ye.write(this.update)}}function Xx(n,r){const i=new Set;return fa.dependencies=i,n.style&&(n=la({},n,{style:r.createAnimatedStyle(n.style)})),n=new Ta(n),fa.dependencies=null,[n,i]}function Jx(n,r){return n&&(z.fun(n)?n(r):n.current=r),r}const md=Symbol.for("AnimatedComponent"),ew=(n,{applyAnimatedValues:r=()=>!1,createAnimatedStyle:i=u=>new Ta(u),getComponentProps:s=u=>u}={})=>{const u={applyAnimatedValues:r,createAnimatedStyle:i,getComponentProps:s},l=d=>{const g=vd(d)||"Anonymous";return z.str(d)?d=l[d]||(l[d]=gd(d,u)):d=d[md]||(d[md]=gd(d,u)),d.displayName=`Animated(${g})`,d};return Vn(n,(d,g)=>{z.arr(n)&&(g=vd(d)),l[g]=l(d)}),{animated:l}},vd=n=>z.str(n)?n:n&&z.str(n.displayName)?n.displayName:z.fun(n)&&n.name||null;function rt(){return rt=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},rt.apply(this,arguments)}function Gt(n,...r){return z.fun(n)?n(...r):n}const qo=(n,r)=>n===!0||!!(r&&n&&(z.fun(n)?n(r):Nt(n).includes(r))),ap=(n,r)=>z.obj(n)?r&&n[r]:n,up=(n,r)=>n.default===!0?n[r]:n.default?n.default[r]:void 0,tw=n=>n,Rf=(n,r=tw)=>{let i=nw;n.default&&n.default!==!0&&(n=n.default,i=Object.keys(n));const s={};for(const u of i){const l=r(n[u],u);z.und(l)||(s[u]=l)}return s},nw=["config","onProps","onStart","onChange","onPause","onResume","onRest"],rw={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function iw(n){const r={};let i=0;if(Vn(n,(s,u)=>{rw[u]||(r[u]=s,i++)}),i)return r}function Lf(n){const r=iw(n);if(r){const i={to:r};return Vn(n,(s,u)=>u in r||(i[u]=s)),i}return rt({},n)}function Xo(n){return n=Kt(n),z.arr(n)?n.map(Xo):xa(n)?jn.createStringInterpolator({range:[0,1],output:[n,n]})(1):n}function ow(n){for(const r in n)return!0;return!1}function sf(n){return z.fun(n)||z.arr(n)&&z.obj(n[0])}function bd(n,r){var i;(i=n.ref)==null||i.delete(n),r?.delete(n)}function sw(n,r){if(r&&n.ref!==r){var i;(i=n.ref)==null||i.delete(n),r.add(n),n.ref=r}}const If={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},af=rt({},If.default,{mass:1,damping:1,easing:Ix.linear,clamp:!1});class aw{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,af)}}function uw(n,r,i){i&&(i=rt({},i),_d(i,r),r=rt({},i,r)),_d(n,r),Object.assign(n,r);for(const d in af)n[d]==null&&(n[d]=af[d]);let{mass:s,frequency:u,damping:l}=n;return z.und(u)||(u<.01&&(u=.01),l<0&&(l=0),n.tension=Math.pow(2*Math.PI/u,2)*s,n.friction=4*Math.PI*l*s/u),n}function _d(n,r){if(!z.und(r.decay))n.duration=void 0;else{const i=!z.und(r.tension)||!z.und(r.friction);(i||!z.und(r.frequency)||!z.und(r.damping)||!z.und(r.mass))&&(n.duration=void 0,n.decay=void 0),i&&(n.frequency=void 0)}}const yd=[];class fw{constructor(){this.changed=!1,this.values=yd,this.toValues=null,this.fromValues=yd,this.to=void 0,this.from=void 0,this.config=new aw,this.immediate=!1}}function fp(n,{key:r,props:i,defaultProps:s,state:u,actions:l}){return new Promise((d,g)=>{var v;let y,P,L=qo((v=i.cancel)!=null?v:s?.cancel,r);if(L)S();else{z.und(i.pause)||(u.paused=qo(i.pause,r));let W=s?.pause;W!==!0&&(W=u.paused||qo(W,r)),y=Gt(i.delay||0,r),W?(u.resumeQueue.add(D),l.pause()):(l.resume(),D())}function C(){u.resumeQueue.add(D),u.timeouts.delete(P),P.cancel(),y=P.time-ye.now()}function D(){y>0&&!jn.skipAnimation?(u.delayed=!0,P=ye.setTimeout(S,y),u.pauseQueue.add(C),u.timeouts.add(P)):S()}function S(){u.delayed&&(u.delayed=!1),u.pauseQueue.delete(C),u.timeouts.delete(P),n<=(u.cancelId||0)&&(L=!0);try{l.start(rt({},i,{callId:n,cancel:L}),d)}catch(W){g(W)}}})}const Mf=(n,r)=>r.length==1?r[0]:r.some(i=>i.cancelled)?uo(n.get()):r.every(i=>i.noop)?lp(n.get()):On(n.get(),r.every(i=>i.finished)),lp=n=>({value:n,noop:!0,finished:!0,cancelled:!1}),On=(n,r,i=!1)=>({value:n,finished:r,cancelled:i}),uo=n=>({value:n,cancelled:!0,finished:!1});function cp(n,r,i,s){const{callId:u,parentId:l,onRest:d}=r,{asyncTo:g,promise:v}=i;return!l&&n===g&&!r.reset?v:i.promise=(async()=>{i.asyncId=u,i.asyncTo=n;const y=Rf(r,(B,K)=>K==="onRest"?void 0:B);let P,L;const C=new Promise((B,K)=>(P=B,L=K)),D=B=>{const K=u<=(i.cancelId||0)&&uo(s)||u!==i.asyncId&&On(s,!1);if(K)throw B.result=K,L(B),B},S=(B,K)=>{const Y=new xd,ee=new wd;return(async()=>{if(jn.skipAnimation)throw Jo(i),ee.result=On(s,!1),L(ee),ee;D(Y);const te=z.obj(B)?rt({},B):rt({},K,{to:B});te.parentId=u,Vn(y,(me,xe)=>{z.und(te[xe])&&(te[xe]=me)});const ie=await s.start(te);return D(Y),i.paused&&await new Promise(me=>{i.resumeQueue.add(me)}),ie})()};let W;if(jn.skipAnimation)return Jo(i),On(s,!1);try{let B;z.arr(n)?B=(async K=>{for(const Y of K)await S(Y)})(n):B=Promise.resolve(n(S,s.stop.bind(s))),await Promise.all([B.then(P),C]),W=On(s.get(),!0,!1)}catch(B){if(B instanceof xd)W=B.result;else if(B instanceof wd)W=B.result;else throw B}finally{u==i.asyncId&&(i.asyncId=l,i.asyncTo=l?g:void 0,i.promise=l?v:void 0)}return z.fun(d)&&ye.batchedUpdates(()=>{d(W,s,s.item)}),W})()}function Jo(n,r){Ko(n.timeouts,i=>i.cancel()),n.pauseQueue.clear(),n.resumeQueue.clear(),n.asyncId=n.asyncTo=n.promise=void 0,r&&(n.cancelId=r)}class xd extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class wd extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const uf=n=>n instanceof Nf;let lw=1;class Nf extends Jh{constructor(...r){super(...r),this.id=lw++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(r){this._priority!=r&&(this._priority=r,this._onPriorityChange(r))}get(){const r=Kn(this);return r&&r.getValue()}to(...r){return jn.to(this,r)}interpolate(...r){return Hx(),jn.to(this,r)}toJSON(){return this.get()}observerAdded(r){r==1&&this._attach()}observerRemoved(r){r==0&&this._detach()}_attach(){}_detach(){}_onChange(r,i=!1){Yo(this,{type:"change",parent:this,value:r,idle:i})}_onPriorityChange(r){this.idle||ba.sort(this),Yo(this,{type:"priority",parent:this,priority:r})}}const Ti=Symbol.for("SpringPhase"),dp=1,ff=2,lf=4,Bu=n=>(n[Ti]&dp)>0,Br=n=>(n[Ti]&ff)>0,Fo=n=>(n[Ti]&lf)>0,Td=(n,r)=>r?n[Ti]|=ff|dp:n[Ti]&=~ff,$d=(n,r)=>r?n[Ti]|=lf:n[Ti]&=~lf;class cw extends Nf{constructor(r,i){if(super(),this.key=void 0,this.animation=new fw,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!z.und(r)||!z.und(i)){const s=z.obj(r)?rt({},r):rt({},i,{from:r});z.und(s.default)&&(s.default=!0),this.start(s)}}get idle(){return!(Br(this)||this._state.asyncTo)||Fo(this)}get goal(){return Kt(this.animation.to)}get velocity(){const r=Kn(this);return r instanceof ho?r.lastVelocity||0:r.getPayload().map(i=>i.lastVelocity||0)}get hasAnimated(){return Bu(this)}get isAnimating(){return Br(this)}get isPaused(){return Fo(this)}get isDelayed(){return this._state.delayed}advance(r){let i=!0,s=!1;const u=this.animation;let{config:l,toValues:d}=u;const g=wa(u.to);!g&&dn(u.to)&&(d=Nt(Kt(u.to))),u.values.forEach((P,L)=>{if(P.done)return;const C=P.constructor==lo?1:g?g[L].lastPosition:d[L];let D=u.immediate,S=C;if(!D){if(S=P.lastPosition,l.tension<=0){P.done=!0;return}let W=P.elapsedTime+=r;const B=u.fromValues[L],K=P.v0!=null?P.v0:P.v0=z.arr(l.velocity)?l.velocity[L]:l.velocity;let Y;const ee=l.precision||(B==C?.005:Math.min(1,Math.abs(C-B)*.001));if(z.und(l.duration))if(l.decay){const te=l.decay===!0?.998:l.decay,ie=Math.exp(-(1-te)*W);S=B+K/(1-te)*(1-ie),D=Math.abs(P.lastPosition-S)<=ee,Y=K*ie}else{Y=P.lastVelocity==null?K:P.lastVelocity;const te=l.restVelocity||ee/10,ie=l.clamp?0:l.bounce,me=!z.und(ie),xe=B==C?P.v0>0:B<C;let T,re=!1;const we=1,Z=Math.ceil(r/we);for(let Me=0;Me<Z&&(T=Math.abs(Y)>te,!(!T&&(D=Math.abs(C-S)<=ee,D)));++Me){me&&(re=S==C||S>C==xe,re&&(Y=-Y*ie,S=C));const H=-l.tension*1e-6*(S-C),F=-l.friction*.001*Y,he=(H+F)/l.mass;Y=Y+he*we,S=S+Y*we}}else{let te=1;l.duration>0&&(this._memoizedDuration!==l.duration&&(this._memoizedDuration=l.duration,P.durationProgress>0&&(P.elapsedTime=l.duration*P.durationProgress,W=P.elapsedTime+=r)),te=(l.progress||0)+W/this._memoizedDuration,te=te>1?1:te<0?0:te,P.durationProgress=te),S=B+l.easing(te)*(C-B),Y=(S-P.lastPosition)/r,D=te==1}P.lastVelocity=Y,Number.isNaN(S)&&(console.warn("Got NaN while animating:",this),D=!0)}g&&!g[L].done&&(D=!1),D?P.done=!0:i=!1,P.setValue(S,l.round)&&(s=!0)});const v=Kn(this),y=v.getValue();if(i){const P=Kt(u.to);(y!==P||s)&&!l.decay?(v.setValue(P),this._onChange(P)):s&&l.decay&&this._onChange(y),this._stop()}else s&&this._onChange(y)}set(r){return ye.batchedUpdates(()=>{this._stop(),this._focus(r),this._set(r)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Br(this)){const{to:r,config:i}=this.animation;ye.batchedUpdates(()=>{this._onStart(),i.decay||this._set(r,!1),this._stop()})}return this}update(r){return(this.queue||(this.queue=[])).push(r),this}start(r,i){let s;return z.und(r)?(s=this.queue||[],this.queue=[]):s=[z.obj(r)?r:rt({},i,{to:r})],Promise.all(s.map(u=>this._update(u))).then(u=>Mf(this,u))}stop(r){const{to:i}=this.animation;return this._focus(this.get()),Jo(this._state,r&&this._lastCallId),ye.batchedUpdates(()=>this._stop(i,r)),this}reset(){this._update({reset:!0})}eventObserved(r){r.type=="change"?this._start():r.type=="priority"&&(this.priority=r.priority+1)}_prepareNode(r){const i=this.key||"";let{to:s,from:u}=r;s=z.obj(s)?s[i]:s,(s==null||sf(s))&&(s=void 0),u=z.obj(u)?u[i]:u,u==null&&(u=void 0);const l={to:s,from:u};return Bu(this)||(r.reverse&&([s,u]=[u,s]),u=Kt(u),z.und(u)?Kn(this)||this._set(s):this._set(u)),l}_update(r,i){let s=rt({},r);const{key:u,defaultProps:l}=this;s.default&&Object.assign(l,Rf(s,(v,y)=>/^on/.test(y)?ap(v,u):v)),Pd(this,s,"onProps"),Uo(this,"onProps",s,this);const d=this._prepareNode(s);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const g=this._state;return fp(++this._lastCallId,{key:u,props:s,defaultProps:l,state:g,actions:{pause:()=>{Fo(this)||($d(this,!0),Wo(g.pauseQueue),Uo(this,"onPause",On(this,ko(this,this.animation.to)),this))},resume:()=>{Fo(this)&&($d(this,!1),Br(this)&&this._resume(),Wo(g.resumeQueue),Uo(this,"onResume",On(this,ko(this,this.animation.to)),this))},start:this._merge.bind(this,d)}}).then(v=>{if(s.loop&&v.finished&&!(i&&v.noop)){const y=hp(s);if(y)return this._update(y,!0)}return v})}_merge(r,i,s){if(i.cancel)return this.stop(!0),s(uo(this));const u=!z.und(r.to),l=!z.und(r.from);if(u||l)if(i.callId>this._lastToId)this._lastToId=i.callId;else return s(uo(this));const{key:d,defaultProps:g,animation:v}=this,{to:y,from:P}=v;let{to:L=y,from:C=P}=r;l&&!u&&(!i.default||z.und(L))&&(L=C),i.reverse&&([L,C]=[C,L]);const D=!_r(C,P);D&&(v.from=C),C=Kt(C);const S=!_r(L,y);S&&this._focus(L);const W=sf(i.to),{config:B}=v,{decay:K,velocity:Y}=B;(u||l)&&(B.velocity=0),i.config&&!W&&uw(B,Gt(i.config,d),i.config!==g.config?Gt(g.config,d):void 0);let ee=Kn(this);if(!ee||z.und(L))return s(On(this,!0));const te=z.und(i.reset)?l&&!i.default:!z.und(C)&&qo(i.reset,d),ie=te?C:this.get(),me=Xo(L),xe=z.num(me)||z.arr(me)||xa(me),T=!W&&(!xe||qo(g.immediate||i.immediate,d));if(S){const Me=of(L);if(Me!==ee.constructor)if(T)ee=this._set(me);else throw Error(`Cannot animate between ${ee.constructor.name} and ${Me.name}, as the "to" prop suggests`)}const re=ee.constructor;let we=dn(L),Z=!1;if(!we){const Me=te||!Bu(this)&&D;(S||Me)&&(Z=_r(Xo(ie),me),we=!Z),(!_r(v.immediate,T)&&!T||!_r(B.decay,K)||!_r(B.velocity,Y))&&(we=!0)}if(Z&&Br(this)&&(v.changed&&!te?we=!0:we||this._stop(y)),!W&&((we||dn(y))&&(v.values=ee.getPayload(),v.toValues=dn(L)?null:re==lo?[1]:Nt(me)),v.immediate!=T&&(v.immediate=T,!T&&!te&&this._set(y)),we)){const{onRest:Me}=v;$e(dw,F=>Pd(this,i,F));const H=On(this,ko(this,y));Wo(this._pendingCalls,H),this._pendingCalls.add(s),v.changed&&ye.batchedUpdates(()=>{v.changed=!te,Me?.(H,this),te?Gt(g.onRest,H):v.onStart==null||v.onStart(H,this)})}te&&this._set(ie),W?s(cp(i.to,i,this._state,this)):we?this._start():Br(this)&&!S?this._pendingCalls.add(s):s(lp(ie))}_focus(r){const i=this.animation;r!==i.to&&(hd(this)&&this._detach(),i.to=r,hd(this)&&this._attach())}_attach(){let r=0;const{to:i}=this.animation;dn(i)&&(co(i,this),uf(i)&&(r=i.priority+1)),this.priority=r}_detach(){const{to:r}=this.animation;dn(r)&&Qo(r,this)}_set(r,i=!0){const s=Kt(r);if(!z.und(s)){const u=Kn(this);if(!u||!_r(s,u.getValue())){const l=of(s);!u||u.constructor!=l?Cf(this,l.create(s)):u.setValue(s),u&&ye.batchedUpdates(()=>{this._onChange(s,i)})}}return Kn(this)}_onStart(){const r=this.animation;r.changed||(r.changed=!0,Uo(this,"onStart",On(this,ko(this,r.to)),this))}_onChange(r,i){i||(this._onStart(),Gt(this.animation.onChange,r,this)),Gt(this.defaultProps.onChange,r,this),super._onChange(r,i)}_start(){const r=this.animation;Kn(this).reset(Kt(r.to)),r.immediate||(r.fromValues=r.values.map(i=>i.lastPosition)),Br(this)||(Td(this,!0),Fo(this)||this._resume())}_resume(){jn.skipAnimation?this.finish():ba.start(this)}_stop(r,i){if(Br(this)){Td(this,!1);const s=this.animation;$e(s.values,l=>{l.done=!0}),s.toValues&&(s.onChange=s.onPause=s.onResume=void 0),Yo(this,{type:"idle",parent:this});const u=i?uo(this.get()):On(this.get(),ko(this,r??s.to));Wo(this._pendingCalls,u),s.changed&&(s.changed=!1,Uo(this,"onRest",u,this))}}}function ko(n,r){const i=Xo(r),s=Xo(n.get());return _r(s,i)}function hp(n,r=n.loop,i=n.to){let s=Gt(r);if(s){const u=s!==!0&&Lf(s),l=(u||n).reverse,d=!u||u.reset;return ca(rt({},n,{loop:r,default:!1,pause:void 0,to:!l||sf(i)?i:void 0,from:d?n.from:void 0,reset:d},u))}}function ca(n){const{to:r,from:i}=n=Lf(n),s=new Set;return z.obj(r)&&Ed(r,s),z.obj(i)&&Ed(i,s),n.keys=s.size?Array.from(s):null,n}function Ed(n,r){Vn(n,(i,s)=>i!=null&&r.add(s))}const dw=["onStart","onRest","onChange","onPause","onResume"];function Pd(n,r,i){n.animation[i]=r[i]!==up(r,i)?ap(r[i],n.key):void 0}function Uo(n,r,...i){var s,u,l,d;(s=(u=n.animation)[r])==null||s.call(u,...i),(l=(d=n.defaultProps)[r])==null||l.call(d,...i)}const hw=["onStart","onChange","onRest"];let pw=1;class gw{constructor(r,i){this.id=pw++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),i&&(this._flush=i),r&&this.start(rt({default:!0},r))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(r=>r.idle&&!r.isDelayed&&!r.isPaused)}get item(){return this._item}set item(r){this._item=r}get(){const r={};return this.each((i,s)=>r[s]=i.get()),r}set(r){for(const i in r){const s=r[i];z.und(s)||this.springs[i].set(s)}}update(r){return r&&this.queue.push(ca(r)),this}start(r){let{queue:i}=this;return r?i=Nt(r).map(ca):this.queue=[],this._flush?this._flush(this,i):(vp(this,i),mw(this,i))}stop(r,i){if(r!==!!r&&(i=r),i){const s=this.springs;$e(Nt(i),u=>s[u].stop(!!r))}else Jo(this._state,this._lastAsyncId),this.each(s=>s.stop(!!r));return this}pause(r){if(z.und(r))this.start({pause:!0});else{const i=this.springs;$e(Nt(r),s=>i[s].pause())}return this}resume(r){if(z.und(r))this.start({pause:!1});else{const i=this.springs;$e(Nt(r),s=>i[s].resume())}return this}each(r){Vn(this.springs,r)}_onFrame(){const{onStart:r,onChange:i,onRest:s}=this._events,u=this._active.size>0,l=this._changed.size>0;(u&&!this._started||l&&!this._started)&&(this._started=!0,Ko(r,([v,y])=>{y.value=this.get(),v(y,this,this._item)}));const d=!u&&this._started,g=l||d&&s.size?this.get():null;l&&i.size&&Ko(i,([v,y])=>{y.value=g,v(y,this,this._item)}),d&&(this._started=!1,Ko(s,([v,y])=>{y.value=g,v(y,this,this._item)}))}eventObserved(r){if(r.type=="change")this._changed.add(r.parent),r.idle||this._active.add(r.parent);else if(r.type=="idle")this._active.delete(r.parent);else return;ye.onFrame(this._onFrame)}}function mw(n,r){return Promise.all(r.map(i=>pp(n,i))).then(i=>Mf(n,i))}async function pp(n,r,i){const{keys:s,to:u,from:l,loop:d,onRest:g,onResolve:v}=r,y=z.obj(r.default)&&r.default;d&&(r.loop=!1),u===!1&&(r.to=null),l===!1&&(r.from=null);const P=z.arr(u)||z.fun(u)?u:void 0;P?(r.to=void 0,r.onRest=void 0,y&&(y.onRest=void 0)):$e(hw,W=>{const B=r[W];if(z.fun(B)){const K=n._events[W];r[W]=({finished:Y,cancelled:ee})=>{const te=K.get(B);te?(Y||(te.finished=!1),ee&&(te.cancelled=!0)):K.set(B,{value:null,finished:Y||!1,cancelled:ee||!1})},y&&(y[W]=r[W])}});const L=n._state;r.pause===!L.paused?(L.paused=r.pause,Wo(r.pause?L.pauseQueue:L.resumeQueue)):L.paused&&(r.pause=!0);const C=(s||Object.keys(n.springs)).map(W=>n.springs[W].start(r)),D=r.cancel===!0||up(r,"cancel")===!0;(P||D&&L.asyncId)&&C.push(fp(++n._lastAsyncId,{props:r,state:L,actions:{pause:tf,resume:tf,start(W,B){D?(Jo(L,n._lastAsyncId),B(uo(n))):(W.onRest=g,B(cp(P,W,L,n)))}}})),L.paused&&await new Promise(W=>{L.resumeQueue.add(W)});const S=Mf(n,await Promise.all(C));if(d&&S.finished&&!(i&&S.noop)){const W=hp(r,d,u);if(W)return vp(n,[W]),pp(n,W,!0)}return v&&ye.batchedUpdates(()=>v(S,n,n.item)),S}function vw(n,r){const i=rt({},n.springs);return r&&$e(Nt(r),s=>{z.und(s.keys)&&(s=ca(s)),z.obj(s.to)||(s=rt({},s,{to:void 0})),mp(i,s,u=>gp(u))}),bw(n,i),i}function bw(n,r){Vn(r,(i,s)=>{n.springs[s]||(n.springs[s]=i,co(i,n))})}function gp(n,r){const i=new cw;return i.key=n,r&&co(i,r),i}function mp(n,r,i){r.keys&&$e(r.keys,s=>{(n[s]||(n[s]=i(s)))._prepareNode(r)})}function vp(n,r){$e(r,i=>{mp(n.springs,i,s=>gp(s,n))})}function _w(n,r){if(n==null)return{};var i={},s=Object.keys(n),u,l;for(l=0;l<s.length;l++)u=s[l],!(r.indexOf(u)>=0)&&(i[u]=n[u]);return i}const yw=["children"],$a=n=>{let{children:r}=n,i=_w(n,yw);const s=E.useContext(da),u=i.pause||!!s.pause,l=i.immediate||!!s.immediate;i=Gx(()=>({pause:u,immediate:l}),[u,l]);const{Provider:d}=da;return oo.createElement(d,{value:i},r)},da=xw($a,{});$a.Provider=da.Provider;$a.Consumer=da.Consumer;function xw(n,r){return Object.assign(n,oo.createContext(r)),n.Provider._context=n,n.Consumer._context=n,n}const ww=()=>{const n=[],r=function(u){zx();const l=[];return $e(n,(d,g)=>{if(z.und(u))l.push(d.start());else{const v=i(u,d,g);v&&l.push(d.start(v))}}),l};r.current=n,r.add=function(s){n.includes(s)||n.push(s)},r.delete=function(s){const u=n.indexOf(s);~u&&n.splice(u,1)},r.pause=function(){return $e(n,s=>s.pause(...arguments)),this},r.resume=function(){return $e(n,s=>s.resume(...arguments)),this},r.set=function(s){$e(n,u=>u.set(s))},r.start=function(s){const u=[];return $e(n,(l,d)=>{if(z.und(s))u.push(l.start());else{const g=this._getProps(s,l,d);g&&u.push(l.start(g))}}),u},r.stop=function(){return $e(n,s=>s.stop(...arguments)),this},r.update=function(s){return $e(n,(u,l)=>u.update(this._getProps(s,u,l))),this};const i=function(u,l,d){return z.fun(u)?u(d,l):u};return r._getProps=i,r};let Mt;(function(n){n.MOUNT="mount",n.ENTER="enter",n.UPDATE="update",n.LEAVE="leave"})(Mt||(Mt={}));function Df(n,r,i){const s=z.fun(r)&&r,{reset:u,sort:l,trail:d=0,expires:g=!0,exitBeforeEnter:v=!1,onDestroyed:y,ref:P,config:L}=s?s():r,C=E.useMemo(()=>s||arguments.length==3?ww():void 0,[]),D=Nt(n),S=[],W=E.useRef(null),B=u?null:W.current;io(()=>{W.current=S}),op(()=>($e(S,F=>{C?.add(F.ctrl),F.ctrl.ref=C}),()=>{$e(W.current,F=>{F.expired&&clearTimeout(F.expirationId),bd(F.ctrl,C),F.ctrl.stop(!0)})}));const K=$w(D,s?s():r,B),Y=u&&W.current||[];io(()=>$e(Y,({ctrl:F,item:he,key:Ae})=>{bd(F,C),Gt(y,he,Ae)}));const ee=[];if(B&&$e(B,(F,he)=>{F.expired?(clearTimeout(F.expirationId),Y.push(F)):(he=ee[he]=K.indexOf(F.key),~he&&(S[he]=F))}),$e(D,(F,he)=>{S[he]||(S[he]={key:K[he],item:F,phase:Mt.MOUNT,ctrl:new gw},S[he].ctrl.item=F)}),ee.length){let F=-1;const{leave:he}=s?s():r;$e(ee,(Ae,Ie)=>{const ve=B[Ie];~Ae?(F=S.indexOf(ve),S[F]=rt({},ve,{item:D[Ae]})):he&&S.splice(++F,0,ve)})}z.fun(l)&&S.sort((F,he)=>l(F.item,he.item));let te=-d;const ie=ip(),me=Rf(r),xe=new Map,T=E.useRef(new Map),re=E.useRef(!1);$e(S,(F,he)=>{const Ae=F.key,Ie=F.phase,ve=s?s():r;let it,oe,Ye=Gt(ve.delay||0,Ae);if(Ie==Mt.MOUNT)it=ve.enter,oe=Mt.ENTER;else{const de=K.indexOf(Ae)<0;if(Ie!=Mt.LEAVE)if(de)it=ve.leave,oe=Mt.LEAVE;else if(it=ve.update)oe=Mt.UPDATE;else return;else if(!de)it=ve.enter,oe=Mt.ENTER;else return}if(it=Gt(it,F.item,he),it=z.obj(it)?Lf(it):{to:it},!it.config){const de=L||me.config;it.config=Gt(de,F.item,he,oe)}te+=d;const xt=rt({},me,{delay:Ye+te,ref:P,immediate:ve.immediate,reset:!1},it);if(oe==Mt.ENTER&&z.und(xt.from)){const de=s?s():r,St=z.und(de.initial)||B?de.from:de.initial;xt.from=Gt(St,F.item,he)}const{onResolve:xr}=xt;xt.onResolve=de=>{Gt(xr,de);const St=W.current,wt=St.find(Qe=>Qe.key===Ae);if(wt&&!(de.cancelled&&wt.phase!=Mt.UPDATE)&&wt.ctrl.idle){const Qe=St.every(ut=>ut.ctrl.idle);if(wt.phase==Mt.LEAVE){const ut=Gt(g,wt.item);if(ut!==!1){const pn=ut===!0?0:ut;if(wt.expired=!0,!Qe&&pn>0){pn<=2147483647&&(wt.expirationId=setTimeout(ie,pn));return}}}Qe&&St.some(ut=>ut.expired)&&(T.current.delete(wt),v&&(re.current=!0),ie())}};const Ln=vw(F.ctrl,xt);oe===Mt.LEAVE&&v?T.current.set(F,{phase:oe,springs:Ln,payload:xt}):xe.set(F,{phase:oe,springs:Ln,payload:xt})});const we=E.useContext($a),Z=jx(we),Me=we!==Z&&ow(we);io(()=>{Me&&$e(S,F=>{F.ctrl.start({default:we})})},[we]),$e(xe,(F,he)=>{if(T.current.size){const Ae=S.findIndex(Ie=>Ie.key===he.key);S.splice(Ae,1)}}),io(()=>{$e(T.current.size?T.current:xe,({phase:F,payload:he},Ae)=>{const{ctrl:Ie}=Ae;Ae.phase=F,C?.add(Ie),Me&&F==Mt.ENTER&&Ie.start({default:we}),he&&(sw(Ie,he.ref),(Ie.ref||C)&&!re.current?Ie.update(he):(Ie.start(he),re.current&&(re.current=!1)))})},u?void 0:i);const H=F=>oo.createElement(oo.Fragment,null,S.map((he,Ae)=>{const{springs:Ie}=xe.get(he)||he.ctrl,ve=F(rt({},Ie),he.item,he,Ae);return ve&&ve.type?oo.createElement(ve.type,rt({},ve.props,{key:z.str(he.key)||z.num(he.key)?he.key:he.ctrl.id,ref:ve.ref})):ve}));return C?[H,C]:H}let Tw=1;function $w(n,{key:r,keys:i=r},s){if(i===null){const u=new Set;return n.map(l=>{const d=s&&s.find(g=>g.item===l&&g.phase!==Mt.LEAVE&&!u.has(g));return d?(u.add(d),d.key):Tw++})}return z.und(i)?n:z.fun(i)?n.map(i):Nt(i)}class Ew extends Nf{constructor(r,i){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=r,this.calc=jo(...i);const s=this._get(),u=of(s);Cf(this,u.create(s))}advance(r){const i=this._get(),s=this.get();_r(i,s)||(Kn(this).setValue(i),this._onChange(i,this.idle)),!this.idle&&Ad(this._active)&&Hu(this)}_get(){const r=z.arr(this.source)?this.source.map(Kt):Nt(Kt(this.source));return this.calc(...r)}_start(){this.idle&&!Ad(this._active)&&(this.idle=!1,$e(wa(this),r=>{r.done=!1}),jn.skipAnimation?(ye.batchedUpdates(()=>this.advance()),Hu(this)):ba.start(this))}_attach(){let r=1;$e(Nt(this.source),i=>{dn(i)&&co(i,this),uf(i)&&(i.idle||this._active.add(i),r=Math.max(r,i.priority+1))}),this.priority=r,this._start()}_detach(){$e(Nt(this.source),r=>{dn(r)&&Qo(r,this)}),this._active.clear(),Hu(this)}eventObserved(r){r.type=="change"?r.idle?this.advance():(this._active.add(r.parent),this._start()):r.type=="idle"?this._active.delete(r.parent):r.type=="priority"&&(this.priority=Nt(this.source).reduce((i,s)=>Math.max(i,(uf(s)?s.priority:0)+1),0))}}function Pw(n){return n.idle!==!1}function Ad(n){return!n.size||Array.from(n).every(Pw)}function Hu(n){n.idle||(n.idle=!0,$e(wa(n),r=>{r.done=!0}),Yo(n,{type:"idle",parent:n}))}jn.assign({createStringInterpolator:np,to:(n,r)=>new Ew(n,r)});function Ff(n,r){if(n==null)return{};var i={},s=Object.keys(n),u,l;for(l=0;l<s.length;l++)u=s[l],!(r.indexOf(u)>=0)&&(i[u]=n[u]);return i}const Aw=["style","children","scrollTop","scrollLeft","viewBox"],bp=/^--/;function Sw(n,r){return r==null||typeof r=="boolean"||r===""?"":typeof r=="number"&&r!==0&&!bp.test(n)&&!(Vo.hasOwnProperty(n)&&Vo[n])?r+"px":(""+r).trim()}const Sd={};function Cw(n,r){if(!n.nodeType||!n.setAttribute)return!1;const i=n.nodeName==="filter"||n.parentNode&&n.parentNode.nodeName==="filter",s=r,{style:u,children:l,scrollTop:d,scrollLeft:g,viewBox:v}=s,y=Ff(s,Aw),P=Object.values(y),L=Object.keys(y).map(C=>i||n.hasAttribute(C)?C:Sd[C]||(Sd[C]=C.replace(/([A-Z])/g,D=>"-"+D.toLowerCase())));l!==void 0&&(n.textContent=l);for(let C in u)if(u.hasOwnProperty(C)){const D=Sw(C,u[C]);bp.test(C)?n.style.setProperty(C,D):n.style[C]=D}L.forEach((C,D)=>{n.setAttribute(C,P[D])}),d!==void 0&&(n.scrollTop=d),g!==void 0&&(n.scrollLeft=g),v!==void 0&&n.setAttribute("viewBox",v)}let Vo={animationIterationCount:!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,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};const Ow=(n,r)=>n+r.charAt(0).toUpperCase()+r.substring(1),Rw=["Webkit","Ms","Moz","O"];Vo=Object.keys(Vo).reduce((n,r)=>(Rw.forEach(i=>n[Ow(i,r)]=n[r]),n),Vo);const Lw=["x","y","z"],Iw=/^(matrix|translate|scale|rotate|skew)/,Mw=/^(translate)/,Nw=/^(rotate|skew)/,Wu=(n,r)=>z.num(n)&&n!==0?n+r:n,Xs=(n,r)=>z.arr(n)?n.every(i=>Xs(i,r)):z.num(n)?n===r:parseFloat(n)===r;class Dw extends Ta{constructor(r){let{x:i,y:s,z:u}=r,l=Ff(r,Lw);const d=[],g=[];(i||s||u)&&(d.push([i||0,s||0,u||0]),g.push(v=>[`translate3d(${v.map(y=>Wu(y,"px")).join(",")})`,Xs(v,0)])),Vn(l,(v,y)=>{if(y==="transform")d.push([v||""]),g.push(P=>[P,P===""]);else if(Iw.test(y)){if(delete l[y],z.und(v))return;const P=Mw.test(y)?"px":Nw.test(y)?"deg":"";d.push(Nt(v)),g.push(y==="rotate3d"?([L,C,D,S])=>[`rotate3d(${L},${C},${D},${Wu(S,P)})`,Xs(S,0)]:L=>[`${y}(${L.map(C=>Wu(C,P)).join(",")})`,Xs(L,y.startsWith("scale")?1:0)])}}),d.length&&(l.transform=new Fw(d,g)),super(l)}}class Fw extends Jh{constructor(r,i){super(),this._value=null,this.inputs=r,this.transforms=i}get(){return this._value||(this._value=this._get())}_get(){let r="",i=!0;return $e(this.inputs,(s,u)=>{const l=Kt(s[0]),[d,g]=this.transforms[u](z.arr(l)?l:s.map(Kt));r+=" "+d,i=i&&g}),i?"none":r}observerAdded(r){r==1&&$e(this.inputs,i=>$e(i,s=>dn(s)&&co(s,this)))}observerRemoved(r){r==0&&$e(this.inputs,i=>$e(i,s=>dn(s)&&Qo(s,this)))}eventObserved(r){r.type=="change"&&(this._value=null),Yo(this,r)}}const kw=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Uw=["scrollTop","scrollLeft"];jn.assign({batchedUpdates:Rd.unstable_batchedUpdates,createStringInterpolator:np,colors:yx});const Bw=ew(kw,{applyAnimatedValues:Cw,createAnimatedStyle:n=>new Dw(n),getComponentProps:n=>Ff(n,Uw)}),kf=Bw.animated,Hw=({isVisible:n,children:r})=>Df(n,{from:{opacity:0,translateX:"100%"},enter:{opacity:1,translateX:"0%"},leave:{opacity:0,translateX:"25%"}})((s,u)=>u&&X.jsx(kf.div,{style:s,children:r})),Ww="fixed",zw=({isVisible:n,children:r})=>Df(n,{from:{opacity:0,position:Ww,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1},leave:{opacity:0},config:If.stiff})((s,u)=>u&&X.jsx(kf.div,{style:s,children:r})),Kw="fixed",Gw=({isVisible:n,children:r})=>Df(n,{from:{opacity:0,scale:.75,position:Kw,left:0,top:0,zIndex:1e3,bottom:0,height:"100%",width:"100%"},enter:{opacity:1,scale:1},leave:{opacity:0,scale:.75},config:If.stiff})((s,u)=>u&&X.jsx(kf.div,{style:s,children:r})),qw=n=>{const{children:r}=n,i=E.useRef(null),{overlayProps:s,underlayProps:u}=Xd(n,i),{modalProps:l}=eh(),{dialogProps:d}=Dh(n,i);return X.jsx("div",{...u,children:X.jsx(qd,{contain:!0,restoreFocus:!0,autoFocus:!0,children:X.jsx("div",{...s,...d,...l,ref:i,children:r})})})},_p=n=>{const[r,i]=E.useState(!1),{children:s,state:u,onCloseCallBack:l,transitionComponent:d=Gw}=n,g=E.useCallback(()=>{u.close(),l?.()},[u.close,l]);return E.useEffect(()=>{!u.isOpen&&r||i(!0)},[u.isOpen]),r?X.jsx(Jd,{children:X.jsx(d,{isVisible:u.isOpen,children:X.jsx(qw,{isOpen:u.isOpen,onClose:g,isDismissable:!0,children:s})})}):null},Vw=n=>{const{children:r,closeBtnRender:i,themeName:s="sidePanel",tokens:u,customTheme:l}=n,d=mt(`${s}.wrapper`,u,l),g=mt(`${s}.container`,u,l),v=mt(`${s}.innerContainer`,u,l),{overlayState:y}=hx();return X.jsx(_p,{state:y,transitionComponent:zw,children:X.jsxs(Hh,{className:d,children:[i&&i(),X.jsx(Hw,{isVisible:y.isOpen,children:X.jsx("div",{className:g,children:X.jsx("div",{className:v,children:r})})})]})})},jw=E.memo(Vw),Yw=n=>{const{children:r,thumbnailContent:i,isOpen:s,onOpenCallBack:u,onCloseCallBack:l,themeName:d="lightBox",tokens:g,customTheme:v}=n,{state:y,openButtonRef:P,openButtonProps:L,closeButtonProps:C,closeButtonRef:D}=dx(s,u,l),S=mt(`${d}.container`,g,v);return X.jsxs("div",{children:[X.jsxs("div",{ref:P,...L,...s?{tabIndex:-1}:{},children:[X.jsx("span",{className:"sr-only",children:"Open Dialog"}),i]}),X.jsx(_p,{onCloseCallBack:l,state:y,children:X.jsxs("div",{children:[X.jsx(Uh,{themeName:`${d}.closeBtn`,type:"button",...C,ref:D,children:X.jsx(ts,{icon:"CloseBtn"})}),X.jsx("div",{className:S,children:r})]})})]})},Qw=E.forwardRef((n,r)=>{const{isOpen:i,onClose:s,children:u,style:l}=n,{overlayProps:d}=Xd({isOpen:i,onClose:s,shouldCloseOnBlur:!1,isDismissable:!1},r),{modalProps:g}=eh(),{dialogProps:v}=Dh({},r);return X.jsx(qd,{contain:!0,restoreFocus:!0,children:X.jsxs("div",{...qn(d,g,v),ref:r,style:{background:"white",color:"black",padding:30,...l},children:[u,X.jsx(Zy,{onDismiss:s})]})})});function Zw({children:n,buttonProps:r,placement:i="right",offset:s=5}){const u=zh({}),l=E.useRef(null),d=E.useRef(null),{triggerProps:g,overlayProps:v}=qy({type:"dialog"},u,l),{overlayProps:y}=zy({targetRef:l,overlayRef:d,placement:i,offset:s,isOpen:u.isOpen}),{onPress:P,...L}=g;return X.jsxs(X.Fragment,{children:[X.jsx(Uh,{handlePress:P,...r,...L,ref:l,children:"Open Popover"}),u.isOpen&&X.jsx(Jd,{children:X.jsx(Qw,{...v,...y,ref:d,isOpen:u.isOpen,onClose:u.close,children:n})})]})}var Gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yp(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var zu={exports:{}};/*! @license DOMPurify 2.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.5/LICENSE */var Cd;function Od(){return Cd||(Cd=1,function(n,r){(function(i,s){n.exports=s()})(Gn,function(){function i(G){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},i(G)}function s(G,V){return s=Object.setPrototypeOf||function(fe,Ue){return fe.__proto__=Ue,fe},s(G,V)}function u(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function l(G,V,se){return u()?l=Reflect.construct:l=function(Ue,bt,Ot){var _t=[null];_t.push.apply(_t,bt);var Dt=Function.bind.apply(Ue,_t),Jt=new Dt;return Ot&&s(Jt,Ot.prototype),Jt},l.apply(null,arguments)}function d(G){return g(G)||v(G)||y(G)||L()}function g(G){if(Array.isArray(G))return P(G)}function v(G){if(typeof Symbol<"u"&&G[Symbol.iterator]!=null||G["@@iterator"]!=null)return Array.from(G)}function y(G,V){if(G){if(typeof G=="string")return P(G,V);var se=Object.prototype.toString.call(G).slice(8,-1);if(se==="Object"&&G.constructor&&(se=G.constructor.name),se==="Map"||se==="Set")return Array.from(G);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return P(G,V)}}function P(G,V){(V==null||V>G.length)&&(V=G.length);for(var se=0,fe=new Array(V);se<V;se++)fe[se]=G[se];return fe}function L(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C=Object.hasOwnProperty,D=Object.setPrototypeOf,S=Object.isFrozen,W=Object.getPrototypeOf,B=Object.getOwnPropertyDescriptor,K=Object.freeze,Y=Object.seal,ee=Object.create,te=typeof Reflect<"u"&&Reflect,ie=te.apply,me=te.construct;ie||(ie=function(V,se,fe){return V.apply(se,fe)}),K||(K=function(V){return V}),Y||(Y=function(V){return V}),me||(me=function(V,se){return l(V,d(se))});var xe=ve(Array.prototype.forEach),T=ve(Array.prototype.pop),re=ve(Array.prototype.push),we=ve(String.prototype.toLowerCase),Z=ve(String.prototype.toString),Me=ve(String.prototype.match),H=ve(String.prototype.replace),F=ve(String.prototype.indexOf),he=ve(String.prototype.trim),Ae=ve(RegExp.prototype.test),Ie=it(TypeError);function ve(G){return function(V){for(var se=arguments.length,fe=new Array(se>1?se-1:0),Ue=1;Ue<se;Ue++)fe[Ue-1]=arguments[Ue];return ie(G,V,fe)}}function it(G){return function(){for(var V=arguments.length,se=new Array(V),fe=0;fe<V;fe++)se[fe]=arguments[fe];return me(G,se)}}function oe(G,V,se){se=se||we,D&&D(G,null);for(var fe=V.length;fe--;){var Ue=V[fe];if(typeof Ue=="string"){var bt=se(Ue);bt!==Ue&&(S(V)||(V[fe]=bt),Ue=bt)}G[Ue]=!0}return G}function Ye(G){var V=ee(null),se;for(se in G)ie(C,G,[se])===!0&&(V[se]=G[se]);return V}function xt(G,V){for(;G!==null;){var se=B(G,V);if(se){if(se.get)return ve(se.get);if(typeof se.value=="function")return ve(se.value)}G=W(G)}function fe(Ue){return console.warn("fallback value for",Ue),null}return fe}var xr=K(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ln=K(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),de=K(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),St=K(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),wt=K(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Qe=K(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ut=K(["#text"]),pn=K(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),gn=K(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mn=K(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),In=K(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Tt=Y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Yn=Y(/<%[\w\W]*|[\w\W]*%>/gm),po=Y(/\${[\w\W]*}/gm),qt=Y(/^data-[\-\w.\u00B7-\uFFFF]/),$i=Y(/^aria-[\-\w]+$/),go=Y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qn=Y(/^(?:\w+script|data):/i),Ct=Y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Zn=Y(/^html$/i),wr=function(){return typeof window>"u"?null:window},mo=function(V,se){if(i(V)!=="object"||typeof V.createPolicy!="function")return null;var fe=null,Ue="data-tt-policy-suffix";se.currentScript&&se.currentScript.hasAttribute(Ue)&&(fe=se.currentScript.getAttribute(Ue));var bt="dompurify"+(fe?"#"+fe:"");try{return V.createPolicy(bt,{createHTML:function(_t){return _t},createScriptURL:function(_t){return _t}})}catch{return console.warn("TrustedTypes policy "+bt+" could not be created."),null}};function Mn(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wr(),V=function(_){return Mn(_)};if(V.version="2.4.5",V.removed=[],!G||!G.document||G.document.nodeType!==9)return V.isSupported=!1,V;var se=G.document,fe=G.document,Ue=G.DocumentFragment,bt=G.HTMLTemplateElement,Ot=G.Node,_t=G.Element,Dt=G.NodeFilter,Jt=G.NamedNodeMap,Tr=Jt===void 0?G.NamedNodeMap||G.MozNamedAttrMap:Jt,bo=G.HTMLFormElement,vn=G.DOMParser,Xn=G.trustedTypes,Jn=_t.prototype,Ei=xt(Jn,"cloneNode"),qr=xt(Jn,"nextSibling"),er=xt(Jn,"childNodes"),tr=xt(Jn,"parentNode");if(typeof bt=="function"){var nr=fe.createElement("template");nr.content&&nr.content.ownerDocument&&(fe=nr.content.ownerDocument)}var dt=mo(Xn,se),bn=dt?dt.createHTML(""):"",$r=fe,Vr=$r.implementation,jr=$r.createNodeIterator,_o=$r.createDocumentFragment,Yr=$r.getElementsByTagName,Pi=se.importNode,Er={};try{Er=Ye(fe).documentMode?fe.documentMode:{}}catch{}var ot={};V.isSupported=typeof tr=="function"&&Vr&&typeof Vr.createHTMLDocument<"u"&&Er!==9;var Qr=Tt,Zr=Yn,Xr=po,yo=qt,xo=$i,Ft=Qn,Ai=Ct,Jr=go,Ze=null,Si=oe({},[].concat(d(xr),d(Ln),d(de),d(wt),d(ut))),Xe=null,en=oe({},[].concat(d(pn),d(gn),d(mn),d(In))),ze=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),rr=null,Nn=null,Ci=!0,ei=!0,ir=!1,ti=!0,_n=!1,ft=!1,ni=!1,ri=!1,Dn=!1,Pr=!1,or=!1,ii=!0,Fn=!1,oi="user-content-",yn=!0,xn=!1,kt={},wn=null,Oi=oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),si=null,ai=oe({},["audio","video","img","source","image","track"]),kn=null,Ri=oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),sr="http://www.w3.org/1998/Math/MathML",Tn="http://www.w3.org/2000/svg",ht="http://www.w3.org/1999/xhtml",st=ht,Ar=!1,Sr=null,tn=oe({},[sr,Tn,ht],Z),nn,Li=["application/xhtml+xml","text/html"],Ii="text/html",Ve,Un=null,$n=fe.createElement("form"),ui=function(_){return _ instanceof RegExp||_ instanceof Function},Cr=function(_){Un&&Un===_||((!_||i(_)!=="object")&&(_={}),_=Ye(_),nn=Li.indexOf(_.PARSER_MEDIA_TYPE)===-1?nn=Ii:nn=_.PARSER_MEDIA_TYPE,Ve=nn==="application/xhtml+xml"?Z:we,Ze="ALLOWED_TAGS"in _?oe({},_.ALLOWED_TAGS,Ve):Si,Xe="ALLOWED_ATTR"in _?oe({},_.ALLOWED_ATTR,Ve):en,Sr="ALLOWED_NAMESPACES"in _?oe({},_.ALLOWED_NAMESPACES,Z):tn,kn="ADD_URI_SAFE_ATTR"in _?oe(Ye(Ri),_.ADD_URI_SAFE_ATTR,Ve):Ri,si="ADD_DATA_URI_TAGS"in _?oe(Ye(ai),_.ADD_DATA_URI_TAGS,Ve):ai,wn="FORBID_CONTENTS"in _?oe({},_.FORBID_CONTENTS,Ve):Oi,rr="FORBID_TAGS"in _?oe({},_.FORBID_TAGS,Ve):{},Nn="FORBID_ATTR"in _?oe({},_.FORBID_ATTR,Ve):{},kt="USE_PROFILES"in _?_.USE_PROFILES:!1,Ci=_.ALLOW_ARIA_ATTR!==!1,ei=_.ALLOW_DATA_ATTR!==!1,ir=_.ALLOW_UNKNOWN_PROTOCOLS||!1,ti=_.ALLOW_SELF_CLOSE_IN_ATTR!==!1,_n=_.SAFE_FOR_TEMPLATES||!1,ft=_.WHOLE_DOCUMENT||!1,Dn=_.RETURN_DOM||!1,Pr=_.RETURN_DOM_FRAGMENT||!1,or=_.RETURN_TRUSTED_TYPE||!1,ri=_.FORCE_BODY||!1,ii=_.SANITIZE_DOM!==!1,Fn=_.SANITIZE_NAMED_PROPS||!1,yn=_.KEEP_CONTENT!==!1,xn=_.IN_PLACE||!1,Jr=_.ALLOWED_URI_REGEXP||Jr,st=_.NAMESPACE||ht,ze=_.CUSTOM_ELEMENT_HANDLING||{},_.CUSTOM_ELEMENT_HANDLING&&ui(_.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ze.tagNameCheck=_.CUSTOM_ELEMENT_HANDLING.tagNameCheck),_.CUSTOM_ELEMENT_HANDLING&&ui(_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ze.attributeNameCheck=_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),_.CUSTOM_ELEMENT_HANDLING&&typeof _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ze.allowCustomizedBuiltInElements=_.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),_n&&(ei=!1),Pr&&(Dn=!0),kt&&(Ze=oe({},d(ut)),Xe=[],kt.html===!0&&(oe(Ze,xr),oe(Xe,pn)),kt.svg===!0&&(oe(Ze,Ln),oe(Xe,gn),oe(Xe,In)),kt.svgFilters===!0&&(oe(Ze,de),oe(Xe,gn),oe(Xe,In)),kt.mathMl===!0&&(oe(Ze,wt),oe(Xe,mn),oe(Xe,In))),_.ADD_TAGS&&(Ze===Si&&(Ze=Ye(Ze)),oe(Ze,_.ADD_TAGS,Ve)),_.ADD_ATTR&&(Xe===en&&(Xe=Ye(Xe)),oe(Xe,_.ADD_ATTR,Ve)),_.ADD_URI_SAFE_ATTR&&oe(kn,_.ADD_URI_SAFE_ATTR,Ve),_.FORBID_CONTENTS&&(wn===Oi&&(wn=Ye(wn)),oe(wn,_.FORBID_CONTENTS,Ve)),yn&&(Ze["#text"]=!0),ft&&oe(Ze,["html","head","body"]),Ze.table&&(oe(Ze,["tbody"]),delete rr.tbody),K&&K(_),Un=_)},ar=oe({},["mi","mo","mn","ms","mtext"]),Mi=oe({},["foreignobject","desc","title","annotation-xml"]),fi=oe({},["title","style","font","a","script"]),Or=oe({},Ln);oe(Or,de),oe(Or,St);var Bn=oe({},wt);oe(Bn,Qe);var Ni=function(_){var O=tr(_);(!O||!O.tagName)&&(O={namespaceURI:st,tagName:"template"});var U=we(_.tagName),ae=we(O.tagName);return Sr[_.namespaceURI]?_.namespaceURI===Tn?O.namespaceURI===ht?U==="svg":O.namespaceURI===sr?U==="svg"&&(ae==="annotation-xml"||ar[ae]):!!Or[U]:_.namespaceURI===sr?O.namespaceURI===ht?U==="math":O.namespaceURI===Tn?U==="math"&&Mi[ae]:!!Bn[U]:_.namespaceURI===ht?O.namespaceURI===Tn&&!Mi[ae]||O.namespaceURI===sr&&!ar[ae]?!1:!Bn[U]&&(fi[U]||!Or[U]):!!(nn==="application/xhtml+xml"&&Sr[_.namespaceURI]):!1},Ut=function(_){re(V.removed,{element:_});try{_.parentNode.removeChild(_)}catch{try{_.outerHTML=bn}catch{_.remove()}}},En=function(_,O){try{re(V.removed,{attribute:O.getAttributeNode(_),from:O})}catch{re(V.removed,{attribute:null,from:O})}if(O.removeAttribute(_),_==="is"&&!Xe[_])if(Dn||Pr)try{Ut(O)}catch{}else try{O.setAttribute(_,"")}catch{}},li=function(_){var O,U;if(ri)_="<remove></remove>"+_;else{var ae=Me(_,/^[\r\n\t ]+/);U=ae&&ae[0]}nn==="application/xhtml+xml"&&st===ht&&(_='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+_+"</body></html>");var He=dt?dt.createHTML(_):_;if(st===ht)try{O=new vn().parseFromString(He,nn)}catch{}if(!O||!O.documentElement){O=Vr.createDocument(st,"template",null);try{O.documentElement.innerHTML=Ar?bn:He}catch{}}var Se=O.body||O.documentElement;return _&&U&&Se.insertBefore(fe.createTextNode(U),Se.childNodes[0]||null),st===ht?Yr.call(O,ft?"html":"body")[0]:ft?O.documentElement:Se},Di=function(_){return jr.call(_.ownerDocument||_,_,Dt.SHOW_ELEMENT|Dt.SHOW_COMMENT|Dt.SHOW_TEXT,null,!1)},Be=function(_){return _ instanceof bo&&(typeof _.nodeName!="string"||typeof _.textContent!="string"||typeof _.removeChild!="function"||!(_.attributes instanceof Tr)||typeof _.removeAttribute!="function"||typeof _.setAttribute!="function"||typeof _.namespaceURI!="string"||typeof _.insertBefore!="function"||typeof _.hasChildNodes!="function")},Le=function(_){return i(Ot)==="object"?_ instanceof Ot:_&&i(_)==="object"&&typeof _.nodeType=="number"&&typeof _.nodeName=="string"},p=function(_,O,U){ot[_]&&xe(ot[_],function(ae){ae.call(V,O,U,Un)})},x=function(_){var O;if(p("beforeSanitizeElements",_,null),Be(_)||Ae(/[\u0080-\uFFFF]/,_.nodeName))return Ut(_),!0;var U=Ve(_.nodeName);if(p("uponSanitizeElement",_,{tagName:U,allowedTags:Ze}),_.hasChildNodes()&&!Le(_.firstElementChild)&&(!Le(_.content)||!Le(_.content.firstElementChild))&&Ae(/<[/\w]/g,_.innerHTML)&&Ae(/<[/\w]/g,_.textContent)||U==="select"&&Ae(/<template/i,_.innerHTML))return Ut(_),!0;if(!Ze[U]||rr[U]){if(!rr[U]&&Q(U)&&(ze.tagNameCheck instanceof RegExp&&Ae(ze.tagNameCheck,U)||ze.tagNameCheck instanceof Function&&ze.tagNameCheck(U)))return!1;if(yn&&!wn[U]){var ae=tr(_)||_.parentNode,He=er(_)||_.childNodes;if(He&&ae)for(var Se=He.length,be=Se-1;be>=0;--be)ae.insertBefore(Ei(He[be],!0),qr(_))}return Ut(_),!0}return _ instanceof _t&&!Ni(_)||(U==="noscript"||U==="noembed")&&Ae(/<\/no(script|embed)/i,_.innerHTML)?(Ut(_),!0):(_n&&_.nodeType===3&&(O=_.textContent,O=H(O,Qr," "),O=H(O,Zr," "),O=H(O,Xr," "),_.textContent!==O&&(re(V.removed,{element:_.cloneNode()}),_.textContent=O)),p("afterSanitizeElements",_,null),!1)},N=function(_,O,U){if(ii&&(O==="id"||O==="name")&&(U in fe||U in $n))return!1;if(!(ei&&!Nn[O]&&Ae(yo,O))){if(!(Ci&&Ae(xo,O))){if(!Xe[O]||Nn[O]){if(!(Q(_)&&(ze.tagNameCheck instanceof RegExp&&Ae(ze.tagNameCheck,_)||ze.tagNameCheck instanceof Function&&ze.tagNameCheck(_))&&(ze.attributeNameCheck instanceof RegExp&&Ae(ze.attributeNameCheck,O)||ze.attributeNameCheck instanceof Function&&ze.attributeNameCheck(O))||O==="is"&&ze.allowCustomizedBuiltInElements&&(ze.tagNameCheck instanceof RegExp&&Ae(ze.tagNameCheck,U)||ze.tagNameCheck instanceof Function&&ze.tagNameCheck(U))))return!1}else if(!kn[O]){if(!Ae(Jr,H(U,Ai,""))){if(!((O==="src"||O==="xlink:href"||O==="href")&&_!=="script"&&F(U,"data:")===0&&si[_])){if(!(ir&&!Ae(Ft,H(U,Ai,"")))){if(U)return!1}}}}}}return!0},Q=function(_){return _.indexOf("-")>0},De=function(_){var O,U,ae,He;p("beforeSanitizeAttributes",_,null);var Se=_.attributes;if(Se){var be={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Xe};for(He=Se.length;He--;){O=Se[He];var at=O,Fe=at.name,$t=at.namespaceURI;if(U=Fe==="value"?O.value:he(O.value),ae=Ve(Fe),be.attrName=ae,be.attrValue=U,be.keepAttr=!0,be.forceKeepAttr=void 0,p("uponSanitizeAttribute",_,be),U=be.attrValue,!be.forceKeepAttr&&(En(Fe,_),!!be.keepAttr)){if(!ti&&Ae(/\/>/i,U)){En(Fe,_);continue}_n&&(U=H(U,Qr," "),U=H(U,Zr," "),U=H(U,Xr," "));var Vt=Ve(_.nodeName);if(N(Vt,ae,U)){if(Fn&&(ae==="id"||ae==="name")&&(En(Fe,_),U=oi+U),dt&&i(Xn)==="object"&&typeof Xn.getAttributeType=="function"&&!$t)switch(Xn.getAttributeType(Vt,ae)){case"TrustedHTML":U=dt.createHTML(U);break;case"TrustedScriptURL":U=dt.createScriptURL(U);break}try{$t?_.setAttributeNS($t,Fe,U):_.setAttribute(Fe,U),T(V.removed)}catch{}}}}p("afterSanitizeAttributes",_,null)}},pe=function q(_){var O,U=Di(_);for(p("beforeSanitizeShadowDOM",_,null);O=U.nextNode();)p("uponSanitizeShadowNode",O,null),!x(O)&&(O.content instanceof Ue&&q(O.content),De(O));p("afterSanitizeShadowDOM",_,null)};return V.sanitize=function(q){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O,U,ae,He,Se;if(Ar=!q,Ar&&(q="<!-->"),typeof q!="string"&&!Le(q)){if(typeof q.toString!="function")throw Ie("toString is not a function");if(q=q.toString(),typeof q!="string")throw Ie("dirty is not a string, aborting")}if(!V.isSupported){if(i(G.toStaticHTML)==="object"||typeof G.toStaticHTML=="function"){if(typeof q=="string")return G.toStaticHTML(q);if(Le(q))return G.toStaticHTML(q.outerHTML)}return q}if(ni||Cr(_),V.removed=[],typeof q=="string"&&(xn=!1),xn){if(q.nodeName){var be=Ve(q.nodeName);if(!Ze[be]||rr[be])throw Ie("root node is forbidden and cannot be sanitized in-place")}}else if(q instanceof Ot)O=li("<!---->"),U=O.ownerDocument.importNode(q,!0),U.nodeType===1&&U.nodeName==="BODY"||U.nodeName==="HTML"?O=U:O.appendChild(U);else{if(!Dn&&!_n&&!ft&&q.indexOf("<")===-1)return dt&&or?dt.createHTML(q):q;if(O=li(q),!O)return Dn?null:or?bn:""}O&&ri&&Ut(O.firstChild);for(var at=Di(xn?q:O);ae=at.nextNode();)ae.nodeType===3&&ae===He||x(ae)||(ae.content instanceof Ue&&pe(ae.content),De(ae),He=ae);if(He=null,xn)return q;if(Dn){if(Pr)for(Se=_o.call(O.ownerDocument);O.firstChild;)Se.appendChild(O.firstChild);else Se=O;return(Xe.shadowroot||Xe.shadowrootmod)&&(Se=Pi.call(se,Se,!0)),Se}var Fe=ft?O.outerHTML:O.innerHTML;return ft&&Ze["!doctype"]&&O.ownerDocument&&O.ownerDocument.doctype&&O.ownerDocument.doctype.name&&Ae(Zn,O.ownerDocument.doctype.name)&&(Fe="<!DOCTYPE "+O.ownerDocument.doctype.name+`>
|
|
3
|
+
`+Fe),_n&&(Fe=H(Fe,Qr," "),Fe=H(Fe,Zr," "),Fe=H(Fe,Xr," ")),dt&&or?dt.createHTML(Fe):Fe},V.setConfig=function(q){Cr(q),ni=!0},V.clearConfig=function(){Un=null,ni=!1},V.isValidAttribute=function(q,_,O){Un||Cr({});var U=Ve(q),ae=Ve(_);return N(U,ae,O)},V.addHook=function(q,_){typeof _=="function"&&(ot[q]=ot[q]||[],re(ot[q],_))},V.removeHook=function(q){if(ot[q])return T(ot[q])},V.removeHooks=function(q){ot[q]&&(ot[q]=[])},V.removeAllHooks=function(){ot={}},V}var vo=Mn();return vo})}(zu)),zu.exports}var Xw=window.DOMPurify||(window.DOMPurify=Od().default||Od());const Jw=yp(Xw),eT=({content:n,themeName:r="wysiwyg",...i})=>X.jsx(Md,{...i,themeName:r,dangerouslySetInnerHTML:{__html:Jw.sanitize(n,{ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling"]})}});var ha={exports:{}};ha.exports;(function(n,r){var i=200,s="__lodash_hash_undefined__",u=1,l=2,d=9007199254740991,g="[object Arguments]",v="[object Array]",y="[object AsyncFunction]",P="[object Boolean]",L="[object Date]",C="[object Error]",D="[object Function]",S="[object GeneratorFunction]",W="[object Map]",B="[object Number]",K="[object Null]",Y="[object Object]",ee="[object Promise]",te="[object Proxy]",ie="[object RegExp]",me="[object Set]",xe="[object String]",T="[object Symbol]",re="[object Undefined]",we="[object WeakMap]",Z="[object ArrayBuffer]",Me="[object DataView]",H="[object Float32Array]",F="[object Float64Array]",he="[object Int8Array]",Ae="[object Int16Array]",Ie="[object Int32Array]",ve="[object Uint8Array]",it="[object Uint8ClampedArray]",oe="[object Uint16Array]",Ye="[object Uint32Array]",xt=/[\\^$.*+?()[\]{}|]/g,xr=/^\[object .+?Constructor\]$/,Ln=/^(?:0|[1-9]\d*)$/,de={};de[H]=de[F]=de[he]=de[Ae]=de[Ie]=de[ve]=de[it]=de[oe]=de[Ye]=!0,de[g]=de[v]=de[Z]=de[P]=de[Me]=de[L]=de[C]=de[D]=de[W]=de[B]=de[Y]=de[ie]=de[me]=de[xe]=de[we]=!1;var St=typeof Gn=="object"&&Gn&&Gn.Object===Object&&Gn,wt=typeof self=="object"&&self&&self.Object===Object&&self,Qe=St||wt||Function("return this")(),ut=r&&!r.nodeType&&r,pn=ut&&!0&&n&&!n.nodeType&&n,gn=pn&&pn.exports===ut,mn=gn&&St.process,In=function(){try{return mn&&mn.binding&&mn.binding("util")}catch{}}(),Tt=In&&In.isTypedArray;function Yn(p,x){for(var N=-1,Q=p==null?0:p.length,De=0,pe=[];++N<Q;){var q=p[N];x(q,N,p)&&(pe[De++]=q)}return pe}function po(p,x){for(var N=-1,Q=x.length,De=p.length;++N<Q;)p[De+N]=x[N];return p}function qt(p,x){for(var N=-1,Q=p==null?0:p.length;++N<Q;)if(x(p[N],N,p))return!0;return!1}function $i(p,x){for(var N=-1,Q=Array(p);++N<p;)Q[N]=x(N);return Q}function go(p){return function(x){return p(x)}}function Qn(p,x){return p.has(x)}function Ct(p,x){return p?.[x]}function Zn(p){var x=-1,N=Array(p.size);return p.forEach(function(Q,De){N[++x]=[De,Q]}),N}function wr(p,x){return function(N){return p(x(N))}}function mo(p){var x=-1,N=Array(p.size);return p.forEach(function(Q){N[++x]=Q}),N}var Mn=Array.prototype,vo=Function.prototype,G=Object.prototype,V=Qe["__core-js_shared__"],se=vo.toString,fe=G.hasOwnProperty,Ue=function(){var p=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}(),bt=G.toString,Ot=RegExp("^"+se.call(fe).replace(xt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=gn?Qe.Buffer:void 0,Dt=Qe.Symbol,Jt=Qe.Uint8Array,Tr=G.propertyIsEnumerable,bo=Mn.splice,vn=Dt?Dt.toStringTag:void 0,Xn=Object.getOwnPropertySymbols,Jn=_t?_t.isBuffer:void 0,Ei=wr(Object.keys,Object),qr=st(Qe,"DataView"),er=st(Qe,"Map"),tr=st(Qe,"Promise"),nr=st(Qe,"Set"),dt=st(Qe,"WeakMap"),bn=st(Object,"create"),$r=$n(qr),Vr=$n(er),jr=$n(tr),_o=$n(nr),Yr=$n(dt),Pi=Dt?Dt.prototype:void 0,Er=Pi?Pi.valueOf:void 0;function ot(p){var x=-1,N=p==null?0:p.length;for(this.clear();++x<N;){var Q=p[x];this.set(Q[0],Q[1])}}function Qr(){this.__data__=bn?bn(null):{},this.size=0}function Zr(p){var x=this.has(p)&&delete this.__data__[p];return this.size-=x?1:0,x}function Xr(p){var x=this.__data__;if(bn){var N=x[p];return N===s?void 0:N}return fe.call(x,p)?x[p]:void 0}function yo(p){var x=this.__data__;return bn?x[p]!==void 0:fe.call(x,p)}function xo(p,x){var N=this.__data__;return this.size+=this.has(p)?0:1,N[p]=bn&&x===void 0?s:x,this}ot.prototype.clear=Qr,ot.prototype.delete=Zr,ot.prototype.get=Xr,ot.prototype.has=yo,ot.prototype.set=xo;function Ft(p){var x=-1,N=p==null?0:p.length;for(this.clear();++x<N;){var Q=p[x];this.set(Q[0],Q[1])}}function Ai(){this.__data__=[],this.size=0}function Jr(p){var x=this.__data__,N=Fn(x,p);if(N<0)return!1;var Q=x.length-1;return N==Q?x.pop():bo.call(x,N,1),--this.size,!0}function Ze(p){var x=this.__data__,N=Fn(x,p);return N<0?void 0:x[N][1]}function Si(p){return Fn(this.__data__,p)>-1}function Xe(p,x){var N=this.__data__,Q=Fn(N,p);return Q<0?(++this.size,N.push([p,x])):N[Q][1]=x,this}Ft.prototype.clear=Ai,Ft.prototype.delete=Jr,Ft.prototype.get=Ze,Ft.prototype.has=Si,Ft.prototype.set=Xe;function en(p){var x=-1,N=p==null?0:p.length;for(this.clear();++x<N;){var Q=p[x];this.set(Q[0],Q[1])}}function ze(){this.size=0,this.__data__={hash:new ot,map:new(er||Ft),string:new ot}}function rr(p){var x=ht(this,p).delete(p);return this.size-=x?1:0,x}function Nn(p){return ht(this,p).get(p)}function Ci(p){return ht(this,p).has(p)}function ei(p,x){var N=ht(this,p),Q=N.size;return N.set(p,x),this.size+=N.size==Q?0:1,this}en.prototype.clear=ze,en.prototype.delete=rr,en.prototype.get=Nn,en.prototype.has=Ci,en.prototype.set=ei;function ir(p){var x=-1,N=p==null?0:p.length;for(this.__data__=new en;++x<N;)this.add(p[x])}function ti(p){return this.__data__.set(p,s),this}function _n(p){return this.__data__.has(p)}ir.prototype.add=ir.prototype.push=ti,ir.prototype.has=_n;function ft(p){var x=this.__data__=new Ft(p);this.size=x.size}function ni(){this.__data__=new Ft,this.size=0}function ri(p){var x=this.__data__,N=x.delete(p);return this.size=x.size,N}function Dn(p){return this.__data__.get(p)}function Pr(p){return this.__data__.has(p)}function or(p,x){var N=this.__data__;if(N instanceof Ft){var Q=N.__data__;if(!er||Q.length<i-1)return Q.push([p,x]),this.size=++N.size,this;N=this.__data__=new en(Q)}return N.set(p,x),this.size=N.size,this}ft.prototype.clear=ni,ft.prototype.delete=ri,ft.prototype.get=Dn,ft.prototype.has=Pr,ft.prototype.set=or;function ii(p,x){var N=ar(p),Q=!N&&Cr(p),De=!N&&!Q&&fi(p),pe=!N&&!Q&&!De&&li(p),q=N||Q||De||pe,_=q?$i(p.length,String):[],O=_.length;for(var U in p)(x||fe.call(p,U))&&!(q&&(U=="length"||De&&(U=="offset"||U=="parent")||pe&&(U=="buffer"||U=="byteLength"||U=="byteOffset")||nn(U,O)))&&_.push(U);return _}function Fn(p,x){for(var N=p.length;N--;)if(ui(p[N][0],x))return N;return-1}function oi(p,x,N){var Q=x(p);return ar(p)?Q:po(Q,N(p))}function yn(p){return p==null?p===void 0?re:K:vn&&vn in Object(p)?Ar(p):Un(p)}function xn(p){return En(p)&&yn(p)==g}function kt(p,x,N,Q,De){return p===x?!0:p==null||x==null||!En(p)&&!En(x)?p!==p&&x!==x:wn(p,x,N,Q,kt,De)}function wn(p,x,N,Q,De,pe){var q=ar(p),_=ar(x),O=q?v:tn(p),U=_?v:tn(x);O=O==g?Y:O,U=U==g?Y:U;var ae=O==Y,He=U==Y,Se=O==U;if(Se&&fi(p)){if(!fi(x))return!1;q=!0,ae=!1}if(Se&&!ae)return pe||(pe=new ft),q||li(p)?kn(p,x,N,Q,De,pe):Ri(p,x,O,N,Q,De,pe);if(!(N&u)){var be=ae&&fe.call(p,"__wrapped__"),at=He&&fe.call(x,"__wrapped__");if(be||at){var Fe=be?p.value():p,$t=at?x.value():x;return pe||(pe=new ft),De(Fe,$t,N,Q,pe)}}return Se?(pe||(pe=new ft),sr(p,x,N,Q,De,pe)):!1}function Oi(p){if(!Ut(p)||Ii(p))return!1;var x=Bn(p)?Ot:xr;return x.test($n(p))}function si(p){return En(p)&&Ni(p.length)&&!!de[yn(p)]}function ai(p){if(!Ve(p))return Ei(p);var x=[];for(var N in Object(p))fe.call(p,N)&&N!="constructor"&&x.push(N);return x}function kn(p,x,N,Q,De,pe){var q=N&u,_=p.length,O=x.length;if(_!=O&&!(q&&O>_))return!1;var U=pe.get(p);if(U&&pe.get(x))return U==x;var ae=-1,He=!0,Se=N&l?new ir:void 0;for(pe.set(p,x),pe.set(x,p);++ae<_;){var be=p[ae],at=x[ae];if(Q)var Fe=q?Q(at,be,ae,x,p,pe):Q(be,at,ae,p,x,pe);if(Fe!==void 0){if(Fe)continue;He=!1;break}if(Se){if(!qt(x,function($t,Vt){if(!Qn(Se,Vt)&&(be===$t||De(be,$t,N,Q,pe)))return Se.push(Vt)})){He=!1;break}}else if(!(be===at||De(be,at,N,Q,pe))){He=!1;break}}return pe.delete(p),pe.delete(x),He}function Ri(p,x,N,Q,De,pe,q){switch(N){case Me:if(p.byteLength!=x.byteLength||p.byteOffset!=x.byteOffset)return!1;p=p.buffer,x=x.buffer;case Z:return!(p.byteLength!=x.byteLength||!pe(new Jt(p),new Jt(x)));case P:case L:case B:return ui(+p,+x);case C:return p.name==x.name&&p.message==x.message;case ie:case xe:return p==x+"";case W:var _=Zn;case me:var O=Q&u;if(_||(_=mo),p.size!=x.size&&!O)return!1;var U=q.get(p);if(U)return U==x;Q|=l,q.set(p,x);var ae=kn(_(p),_(x),Q,De,pe,q);return q.delete(p),ae;case T:if(Er)return Er.call(p)==Er.call(x)}return!1}function sr(p,x,N,Q,De,pe){var q=N&u,_=Tn(p),O=_.length,U=Tn(x),ae=U.length;if(O!=ae&&!q)return!1;for(var He=O;He--;){var Se=_[He];if(!(q?Se in x:fe.call(x,Se)))return!1}var be=pe.get(p);if(be&&pe.get(x))return be==x;var at=!0;pe.set(p,x),pe.set(x,p);for(var Fe=q;++He<O;){Se=_[He];var $t=p[Se],Vt=x[Se];if(Q)var Fi=q?Q(Vt,$t,Se,x,p,pe):Q($t,Vt,Se,p,x,pe);if(!(Fi===void 0?$t===Vt||De($t,Vt,N,Q,pe):Fi)){at=!1;break}Fe||(Fe=Se=="constructor")}if(at&&!Fe){var ci=p.constructor,pt=x.constructor;ci!=pt&&"constructor"in p&&"constructor"in x&&!(typeof ci=="function"&&ci instanceof ci&&typeof pt=="function"&&pt instanceof pt)&&(at=!1)}return pe.delete(p),pe.delete(x),at}function Tn(p){return oi(p,Di,Sr)}function ht(p,x){var N=p.__data__;return Li(x)?N[typeof x=="string"?"string":"hash"]:N.map}function st(p,x){var N=Ct(p,x);return Oi(N)?N:void 0}function Ar(p){var x=fe.call(p,vn),N=p[vn];try{p[vn]=void 0;var Q=!0}catch{}var De=bt.call(p);return Q&&(x?p[vn]=N:delete p[vn]),De}var Sr=Xn?function(p){return p==null?[]:(p=Object(p),Yn(Xn(p),function(x){return Tr.call(p,x)}))}:Be,tn=yn;(qr&&tn(new qr(new ArrayBuffer(1)))!=Me||er&&tn(new er)!=W||tr&&tn(tr.resolve())!=ee||nr&&tn(new nr)!=me||dt&&tn(new dt)!=we)&&(tn=function(p){var x=yn(p),N=x==Y?p.constructor:void 0,Q=N?$n(N):"";if(Q)switch(Q){case $r:return Me;case Vr:return W;case jr:return ee;case _o:return me;case Yr:return we}return x});function nn(p,x){return x=x??d,!!x&&(typeof p=="number"||Ln.test(p))&&p>-1&&p%1==0&&p<x}function Li(p){var x=typeof p;return x=="string"||x=="number"||x=="symbol"||x=="boolean"?p!=="__proto__":p===null}function Ii(p){return!!Ue&&Ue in p}function Ve(p){var x=p&&p.constructor,N=typeof x=="function"&&x.prototype||G;return p===N}function Un(p){return bt.call(p)}function $n(p){if(p!=null){try{return se.call(p)}catch{}try{return p+""}catch{}}return""}function ui(p,x){return p===x||p!==p&&x!==x}var Cr=xn(function(){return arguments}())?xn:function(p){return En(p)&&fe.call(p,"callee")&&!Tr.call(p,"callee")},ar=Array.isArray;function Mi(p){return p!=null&&Ni(p.length)&&!Bn(p)}var fi=Jn||Le;function Or(p,x){return kt(p,x)}function Bn(p){if(!Ut(p))return!1;var x=yn(p);return x==D||x==S||x==y||x==te}function Ni(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=d}function Ut(p){var x=typeof p;return p!=null&&(x=="object"||x=="function")}function En(p){return p!=null&&typeof p=="object"}var li=Tt?go(Tt):si;function Di(p){return Mi(p)?ii(p):ai(p)}function Be(){return[]}function Le(){return!1}n.exports=Or})(ha,ha.exports);var tT=ha.exports;const xp=yp(tT),nT=n=>X.jsxs("svg",{width:24,height:24,fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...n,children:[X.jsx("g",{children:X.jsx("path",{d:"M23.92 12.38a1 1 0 0 0 0-.76 1 1 0 0 0-.21-.33l-8-8a1.003 1.003 0 1 0-1.42 1.42l6.3 6.29H1a1 1 0 1 0 0 2h19.59l-6.3 6.29a1 1 0 0 0 0 1.42 1.002 1.002 0 0 0 1.42 0l8-8c.091-.095.162-.207.21-.33Z"})}),X.jsx("defs",{children:X.jsx("clipPath",{children:X.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),wp=E.memo(nT,xp),rT=Object.freeze(Object.defineProperty({__proto__:null,default:wp},Symbol.toStringTag,{value:"Module"}));var pa={exports:{}};/**
|
|
4
|
+
* @license
|
|
5
|
+
* Lodash <https://lodash.com/>
|
|
6
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
7
|
+
* Released under MIT license <https://lodash.com/license>
|
|
8
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
9
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
10
|
+
*/pa.exports;(function(n,r){(function(){var i,s="4.17.21",u=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",g="Invalid `variable` option passed into `_.template`",v="__lodash_hash_undefined__",y=500,P="__lodash_placeholder__",L=1,C=2,D=4,S=1,W=2,B=1,K=2,Y=4,ee=8,te=16,ie=32,me=64,xe=128,T=256,re=512,we=30,Z="...",Me=800,H=16,F=1,he=2,Ae=3,Ie=1/0,ve=9007199254740991,it=17976931348623157e292,oe=0/0,Ye=4294967295,xt=Ye-1,xr=Ye>>>1,Ln=[["ary",xe],["bind",B],["bindKey",K],["curry",ee],["curryRight",te],["flip",re],["partial",ie],["partialRight",me],["rearg",T]],de="[object Arguments]",St="[object Array]",wt="[object AsyncFunction]",Qe="[object Boolean]",ut="[object Date]",pn="[object DOMException]",gn="[object Error]",mn="[object Function]",In="[object GeneratorFunction]",Tt="[object Map]",Yn="[object Number]",po="[object Null]",qt="[object Object]",$i="[object Promise]",go="[object Proxy]",Qn="[object RegExp]",Ct="[object Set]",Zn="[object String]",wr="[object Symbol]",mo="[object Undefined]",Mn="[object WeakMap]",vo="[object WeakSet]",G="[object ArrayBuffer]",V="[object DataView]",se="[object Float32Array]",fe="[object Float64Array]",Ue="[object Int8Array]",bt="[object Int16Array]",Ot="[object Int32Array]",_t="[object Uint8Array]",Dt="[object Uint8ClampedArray]",Jt="[object Uint16Array]",Tr="[object Uint32Array]",bo=/\b__p \+= '';/g,vn=/\b(__p \+=) '' \+/g,Xn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jn=/&(?:amp|lt|gt|quot|#39);/g,Ei=/[&<>"']/g,qr=RegExp(Jn.source),er=RegExp(Ei.source),tr=/<%-([\s\S]+?)%>/g,nr=/<%([\s\S]+?)%>/g,dt=/<%=([\s\S]+?)%>/g,bn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$r=/^\w*$/,Vr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jr=/[\\^$.*+?()[\]{}|]/g,_o=RegExp(jr.source),Yr=/^\s+/,Pi=/\s/,Er=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ot=/\{\n\/\* \[wrapped with (.+)\] \*/,Qr=/,? & /,Zr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xr=/[()=,{}\[\]\/\s]/,yo=/\\(\\)?/g,xo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ft=/\w*$/,Ai=/^[-+]0x[0-9a-f]+$/i,Jr=/^0b[01]+$/i,Ze=/^\[object .+?Constructor\]$/,Si=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,en=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ze=/($^)/,rr=/['\n\r\u2028\u2029\\]/g,Nn="\\ud800-\\udfff",Ci="\\u0300-\\u036f",ei="\\ufe20-\\ufe2f",ir="\\u20d0-\\u20ff",ti=Ci+ei+ir,_n="\\u2700-\\u27bf",ft="a-z\\xdf-\\xf6\\xf8-\\xff",ni="\\xac\\xb1\\xd7\\xf7",ri="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dn="\\u2000-\\u206f",Pr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",or="A-Z\\xc0-\\xd6\\xd8-\\xde",ii="\\ufe0e\\ufe0f",Fn=ni+ri+Dn+Pr,oi="['’]",yn="["+Nn+"]",xn="["+Fn+"]",kt="["+ti+"]",wn="\\d+",Oi="["+_n+"]",si="["+ft+"]",ai="[^"+Nn+Fn+wn+_n+ft+or+"]",kn="\\ud83c[\\udffb-\\udfff]",Ri="(?:"+kt+"|"+kn+")",sr="[^"+Nn+"]",Tn="(?:\\ud83c[\\udde6-\\uddff]){2}",ht="[\\ud800-\\udbff][\\udc00-\\udfff]",st="["+or+"]",Ar="\\u200d",Sr="(?:"+si+"|"+ai+")",tn="(?:"+st+"|"+ai+")",nn="(?:"+oi+"(?:d|ll|m|re|s|t|ve))?",Li="(?:"+oi+"(?:D|LL|M|RE|S|T|VE))?",Ii=Ri+"?",Ve="["+ii+"]?",Un="(?:"+Ar+"(?:"+[sr,Tn,ht].join("|")+")"+Ve+Ii+")*",$n="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ui="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Cr=Ve+Ii+Un,ar="(?:"+[Oi,Tn,ht].join("|")+")"+Cr,Mi="(?:"+[sr+kt+"?",kt,Tn,ht,yn].join("|")+")",fi=RegExp(oi,"g"),Or=RegExp(kt,"g"),Bn=RegExp(kn+"(?="+kn+")|"+Mi+Cr,"g"),Ni=RegExp([st+"?"+si+"+"+nn+"(?="+[xn,st,"$"].join("|")+")",tn+"+"+Li+"(?="+[xn,st+Sr,"$"].join("|")+")",st+"?"+Sr+"+"+nn,st+"+"+Li,ui,$n,wn,ar].join("|"),"g"),Ut=RegExp("["+Ar+Nn+ti+ii+"]"),En=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,li=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Di=-1,Be={};Be[se]=Be[fe]=Be[Ue]=Be[bt]=Be[Ot]=Be[_t]=Be[Dt]=Be[Jt]=Be[Tr]=!0,Be[de]=Be[St]=Be[G]=Be[Qe]=Be[V]=Be[ut]=Be[gn]=Be[mn]=Be[Tt]=Be[Yn]=Be[qt]=Be[Qn]=Be[Ct]=Be[Zn]=Be[Mn]=!1;var Le={};Le[de]=Le[St]=Le[G]=Le[V]=Le[Qe]=Le[ut]=Le[se]=Le[fe]=Le[Ue]=Le[bt]=Le[Ot]=Le[Tt]=Le[Yn]=Le[qt]=Le[Qn]=Le[Ct]=Le[Zn]=Le[wr]=Le[_t]=Le[Dt]=Le[Jt]=Le[Tr]=!0,Le[gn]=Le[mn]=Le[Mn]=!1;var p={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},x={"&":"&","<":"<",">":">",'"':""","'":"'"},N={"&":"&","<":"<",">":">",""":'"',"'":"'"},Q={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},De=parseFloat,pe=parseInt,q=typeof Gn=="object"&&Gn&&Gn.Object===Object&&Gn,_=typeof self=="object"&&self&&self.Object===Object&&self,O=q||_||Function("return this")(),U=r&&!r.nodeType&&r,ae=U&&!0&&n&&!n.nodeType&&n,He=ae&&ae.exports===U,Se=He&&q.process,be=function(){try{var w=ae&&ae.require&&ae.require("util").types;return w||Se&&Se.binding&&Se.binding("util")}catch{}}(),at=be&&be.isArrayBuffer,Fe=be&&be.isDate,$t=be&&be.isMap,Vt=be&&be.isRegExp,Fi=be&&be.isSet,ci=be&&be.isTypedArray;function pt(w,R,A){switch(A.length){case 0:return w.call(R);case 1:return w.call(R,A[0]);case 2:return w.call(R,A[0],A[1]);case 3:return w.call(R,A[0],A[1],A[2])}return w.apply(R,A)}function Tp(w,R,A,J){for(var ge=-1,Ne=w==null?0:w.length;++ge<Ne;){var lt=w[ge];R(J,lt,A(lt),w)}return J}function rn(w,R){for(var A=-1,J=w==null?0:w.length;++A<J&&R(w[A],A,w)!==!1;);return w}function $p(w,R){for(var A=w==null?0:w.length;A--&&R(w[A],A,w)!==!1;);return w}function Uf(w,R){for(var A=-1,J=w==null?0:w.length;++A<J;)if(!R(w[A],A,w))return!1;return!0}function Rr(w,R){for(var A=-1,J=w==null?0:w.length,ge=0,Ne=[];++A<J;){var lt=w[A];R(lt,A,w)&&(Ne[ge++]=lt)}return Ne}function is(w,R){var A=w==null?0:w.length;return!!A&&ki(w,R,0)>-1}function Aa(w,R,A){for(var J=-1,ge=w==null?0:w.length;++J<ge;)if(A(R,w[J]))return!0;return!1}function qe(w,R){for(var A=-1,J=w==null?0:w.length,ge=Array(J);++A<J;)ge[A]=R(w[A],A,w);return ge}function Lr(w,R){for(var A=-1,J=R.length,ge=w.length;++A<J;)w[ge+A]=R[A];return w}function Sa(w,R,A,J){var ge=-1,Ne=w==null?0:w.length;for(J&&Ne&&(A=w[++ge]);++ge<Ne;)A=R(A,w[ge],ge,w);return A}function Ep(w,R,A,J){var ge=w==null?0:w.length;for(J&&ge&&(A=w[--ge]);ge--;)A=R(A,w[ge],ge,w);return A}function Ca(w,R){for(var A=-1,J=w==null?0:w.length;++A<J;)if(R(w[A],A,w))return!0;return!1}var Pp=Oa("length");function Ap(w){return w.split("")}function Sp(w){return w.match(Zr)||[]}function Bf(w,R,A){var J;return A(w,function(ge,Ne,lt){if(R(ge,Ne,lt))return J=Ne,!1}),J}function os(w,R,A,J){for(var ge=w.length,Ne=A+(J?1:-1);J?Ne--:++Ne<ge;)if(R(w[Ne],Ne,w))return Ne;return-1}function ki(w,R,A){return R===R?Bp(w,R,A):os(w,Hf,A)}function Cp(w,R,A,J){for(var ge=A-1,Ne=w.length;++ge<Ne;)if(J(w[ge],R))return ge;return-1}function Hf(w){return w!==w}function Wf(w,R){var A=w==null?0:w.length;return A?La(w,R)/A:oe}function Oa(w){return function(R){return R==null?i:R[w]}}function Ra(w){return function(R){return w==null?i:w[R]}}function zf(w,R,A,J,ge){return ge(w,function(Ne,lt,Ke){A=J?(J=!1,Ne):R(A,Ne,lt,Ke)}),A}function Op(w,R){var A=w.length;for(w.sort(R);A--;)w[A]=w[A].value;return w}function La(w,R){for(var A,J=-1,ge=w.length;++J<ge;){var Ne=R(w[J]);Ne!==i&&(A=A===i?Ne:A+Ne)}return A}function Ia(w,R){for(var A=-1,J=Array(w);++A<w;)J[A]=R(A);return J}function Rp(w,R){return qe(R,function(A){return[A,w[A]]})}function Kf(w){return w&&w.slice(0,jf(w)+1).replace(Yr,"")}function jt(w){return function(R){return w(R)}}function Ma(w,R){return qe(R,function(A){return w[A]})}function wo(w,R){return w.has(R)}function Gf(w,R){for(var A=-1,J=w.length;++A<J&&ki(R,w[A],0)>-1;);return A}function qf(w,R){for(var A=w.length;A--&&ki(R,w[A],0)>-1;);return A}function Lp(w,R){for(var A=w.length,J=0;A--;)w[A]===R&&++J;return J}var Ip=Ra(p),Mp=Ra(x);function Np(w){return"\\"+Q[w]}function Dp(w,R){return w==null?i:w[R]}function Ui(w){return Ut.test(w)}function Fp(w){return En.test(w)}function kp(w){for(var R,A=[];!(R=w.next()).done;)A.push(R.value);return A}function Na(w){var R=-1,A=Array(w.size);return w.forEach(function(J,ge){A[++R]=[ge,J]}),A}function Vf(w,R){return function(A){return w(R(A))}}function Ir(w,R){for(var A=-1,J=w.length,ge=0,Ne=[];++A<J;){var lt=w[A];(lt===R||lt===P)&&(w[A]=P,Ne[ge++]=A)}return Ne}function ss(w){var R=-1,A=Array(w.size);return w.forEach(function(J){A[++R]=J}),A}function Up(w){var R=-1,A=Array(w.size);return w.forEach(function(J){A[++R]=[J,J]}),A}function Bp(w,R,A){for(var J=A-1,ge=w.length;++J<ge;)if(w[J]===R)return J;return-1}function Hp(w,R,A){for(var J=A+1;J--;)if(w[J]===R)return J;return J}function Bi(w){return Ui(w)?zp(w):Pp(w)}function Pn(w){return Ui(w)?Kp(w):Ap(w)}function jf(w){for(var R=w.length;R--&&Pi.test(w.charAt(R)););return R}var Wp=Ra(N);function zp(w){for(var R=Bn.lastIndex=0;Bn.test(w);)++R;return R}function Kp(w){return w.match(Bn)||[]}function Gp(w){return w.match(Ni)||[]}var qp=function w(R){R=R==null?O:Hi.defaults(O.Object(),R,Hi.pick(O,li));var A=R.Array,J=R.Date,ge=R.Error,Ne=R.Function,lt=R.Math,Ke=R.Object,Da=R.RegExp,Vp=R.String,on=R.TypeError,as=A.prototype,jp=Ne.prototype,Wi=Ke.prototype,us=R["__core-js_shared__"],fs=jp.toString,We=Wi.hasOwnProperty,Yp=0,Yf=function(){var e=/[^.]+$/.exec(us&&us.keys&&us.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ls=Wi.toString,Qp=fs.call(Ke),Zp=O._,Xp=Da("^"+fs.call(We).replace(jr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cs=He?R.Buffer:i,Mr=R.Symbol,ds=R.Uint8Array,Qf=cs?cs.allocUnsafe:i,hs=Vf(Ke.getPrototypeOf,Ke),Zf=Ke.create,Xf=Wi.propertyIsEnumerable,ps=as.splice,Jf=Mr?Mr.isConcatSpreadable:i,To=Mr?Mr.iterator:i,di=Mr?Mr.toStringTag:i,gs=function(){try{var e=vi(Ke,"defineProperty");return e({},"",{}),e}catch{}}(),Jp=R.clearTimeout!==O.clearTimeout&&R.clearTimeout,eg=J&&J.now!==O.Date.now&&J.now,tg=R.setTimeout!==O.setTimeout&&R.setTimeout,ms=lt.ceil,vs=lt.floor,Fa=Ke.getOwnPropertySymbols,ng=cs?cs.isBuffer:i,el=R.isFinite,rg=as.join,ig=Vf(Ke.keys,Ke),ct=lt.max,Et=lt.min,og=J.now,sg=R.parseInt,tl=lt.random,ag=as.reverse,ka=vi(R,"DataView"),$o=vi(R,"Map"),Ua=vi(R,"Promise"),zi=vi(R,"Set"),Eo=vi(R,"WeakMap"),Po=vi(Ke,"create"),bs=Eo&&new Eo,Ki={},ug=bi(ka),fg=bi($o),lg=bi(Ua),cg=bi(zi),dg=bi(Eo),_s=Mr?Mr.prototype:i,Ao=_s?_s.valueOf:i,nl=_s?_s.toString:i;function c(e){if(Je(e)&&!_e(e)&&!(e instanceof Oe)){if(e instanceof sn)return e;if(We.call(e,"__wrapped__"))return rc(e)}return new sn(e)}var Gi=function(){function e(){}return function(t){if(!je(t))return{};if(Zf)return Zf(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function ys(){}function sn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}c.templateSettings={escape:tr,evaluate:nr,interpolate:dt,variable:"",imports:{_:c}},c.prototype=ys.prototype,c.prototype.constructor=c,sn.prototype=Gi(ys.prototype),sn.prototype.constructor=sn;function Oe(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ye,this.__views__=[]}function hg(){var e=new Oe(this.__wrapped__);return e.__actions__=Bt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Bt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Bt(this.__views__),e}function pg(){if(this.__filtered__){var e=new Oe(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function gg(){var e=this.__wrapped__.value(),t=this.__dir__,o=_e(e),a=t<0,f=o?e.length:0,h=Am(0,f,this.__views__),m=h.start,b=h.end,$=b-m,I=a?b:m-1,M=this.__iteratees__,k=M.length,j=0,ne=Et($,this.__takeCount__);if(!o||!a&&f==$&&ne==$)return Pl(e,this.__actions__);var le=[];e:for(;$--&&j<ne;){I+=t;for(var Ee=-1,ce=e[I];++Ee<k;){var Ce=M[Ee],Re=Ce.iteratee,Zt=Ce.type,It=Re(ce);if(Zt==he)ce=It;else if(!It){if(Zt==F)continue e;break e}}le[j++]=ce}return le}Oe.prototype=Gi(ys.prototype),Oe.prototype.constructor=Oe;function hi(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function mg(){this.__data__=Po?Po(null):{},this.size=0}function vg(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function bg(e){var t=this.__data__;if(Po){var o=t[e];return o===v?i:o}return We.call(t,e)?t[e]:i}function _g(e){var t=this.__data__;return Po?t[e]!==i:We.call(t,e)}function yg(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Po&&t===i?v:t,this}hi.prototype.clear=mg,hi.prototype.delete=vg,hi.prototype.get=bg,hi.prototype.has=_g,hi.prototype.set=yg;function ur(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function xg(){this.__data__=[],this.size=0}function wg(e){var t=this.__data__,o=xs(t,e);if(o<0)return!1;var a=t.length-1;return o==a?t.pop():ps.call(t,o,1),--this.size,!0}function Tg(e){var t=this.__data__,o=xs(t,e);return o<0?i:t[o][1]}function $g(e){return xs(this.__data__,e)>-1}function Eg(e,t){var o=this.__data__,a=xs(o,e);return a<0?(++this.size,o.push([e,t])):o[a][1]=t,this}ur.prototype.clear=xg,ur.prototype.delete=wg,ur.prototype.get=Tg,ur.prototype.has=$g,ur.prototype.set=Eg;function fr(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function Pg(){this.size=0,this.__data__={hash:new hi,map:new($o||ur),string:new hi}}function Ag(e){var t=Is(this,e).delete(e);return this.size-=t?1:0,t}function Sg(e){return Is(this,e).get(e)}function Cg(e){return Is(this,e).has(e)}function Og(e,t){var o=Is(this,e),a=o.size;return o.set(e,t),this.size+=o.size==a?0:1,this}fr.prototype.clear=Pg,fr.prototype.delete=Ag,fr.prototype.get=Sg,fr.prototype.has=Cg,fr.prototype.set=Og;function pi(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new fr;++t<o;)this.add(e[t])}function Rg(e){return this.__data__.set(e,v),this}function Lg(e){return this.__data__.has(e)}pi.prototype.add=pi.prototype.push=Rg,pi.prototype.has=Lg;function An(e){var t=this.__data__=new ur(e);this.size=t.size}function Ig(){this.__data__=new ur,this.size=0}function Mg(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function Ng(e){return this.__data__.get(e)}function Dg(e){return this.__data__.has(e)}function Fg(e,t){var o=this.__data__;if(o instanceof ur){var a=o.__data__;if(!$o||a.length<u-1)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new fr(a)}return o.set(e,t),this.size=o.size,this}An.prototype.clear=Ig,An.prototype.delete=Mg,An.prototype.get=Ng,An.prototype.has=Dg,An.prototype.set=Fg;function rl(e,t){var o=_e(e),a=!o&&_i(e),f=!o&&!a&&Ur(e),h=!o&&!a&&!f&&Yi(e),m=o||a||f||h,b=m?Ia(e.length,Vp):[],$=b.length;for(var I in e)(t||We.call(e,I))&&!(m&&(I=="length"||f&&(I=="offset"||I=="parent")||h&&(I=="buffer"||I=="byteLength"||I=="byteOffset")||hr(I,$)))&&b.push(I);return b}function il(e){var t=e.length;return t?e[Qa(0,t-1)]:i}function kg(e,t){return Ms(Bt(e),gi(t,0,e.length))}function Ug(e){return Ms(Bt(e))}function Ba(e,t,o){(o!==i&&!Sn(e[t],o)||o===i&&!(t in e))&&lr(e,t,o)}function So(e,t,o){var a=e[t];(!(We.call(e,t)&&Sn(a,o))||o===i&&!(t in e))&&lr(e,t,o)}function xs(e,t){for(var o=e.length;o--;)if(Sn(e[o][0],t))return o;return-1}function Bg(e,t,o,a){return Nr(e,function(f,h,m){t(a,f,o(f),m)}),a}function ol(e,t){return e&&Wn(t,gt(t),e)}function Hg(e,t){return e&&Wn(t,Wt(t),e)}function lr(e,t,o){t=="__proto__"&&gs?gs(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function Ha(e,t){for(var o=-1,a=t.length,f=A(a),h=e==null;++o<a;)f[o]=h?i:xu(e,t[o]);return f}function gi(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function an(e,t,o,a,f,h){var m,b=t&L,$=t&C,I=t&D;if(o&&(m=f?o(e,a,f,h):o(e)),m!==i)return m;if(!je(e))return e;var M=_e(e);if(M){if(m=Cm(e),!b)return Bt(e,m)}else{var k=Pt(e),j=k==mn||k==In;if(Ur(e))return Cl(e,b);if(k==qt||k==de||j&&!f){if(m=$||j?{}:jl(e),!b)return $?bm(e,Hg(m,e)):vm(e,ol(m,e))}else{if(!Le[k])return f?e:{};m=Om(e,k,b)}}h||(h=new An);var ne=h.get(e);if(ne)return ne;h.set(e,m),Tc(e)?e.forEach(function(ce){m.add(an(ce,t,o,ce,e,h))}):xc(e)&&e.forEach(function(ce,Ce){m.set(Ce,an(ce,t,o,Ce,e,h))});var le=I?$?au:su:$?Wt:gt,Ee=M?i:le(e);return rn(Ee||e,function(ce,Ce){Ee&&(Ce=ce,ce=e[Ce]),So(m,Ce,an(ce,t,o,Ce,e,h))}),m}function Wg(e){var t=gt(e);return function(o){return sl(o,e,t)}}function sl(e,t,o){var a=o.length;if(e==null)return!a;for(e=Ke(e);a--;){var f=o[a],h=t[f],m=e[f];if(m===i&&!(f in e)||!h(m))return!1}return!0}function al(e,t,o){if(typeof e!="function")throw new on(d);return No(function(){e.apply(i,o)},t)}function Co(e,t,o,a){var f=-1,h=is,m=!0,b=e.length,$=[],I=t.length;if(!b)return $;o&&(t=qe(t,jt(o))),a?(h=Aa,m=!1):t.length>=u&&(h=wo,m=!1,t=new pi(t));e:for(;++f<b;){var M=e[f],k=o==null?M:o(M);if(M=a||M!==0?M:0,m&&k===k){for(var j=I;j--;)if(t[j]===k)continue e;$.push(M)}else h(t,k,a)||$.push(M)}return $}var Nr=Ml(Hn),ul=Ml(za,!0);function zg(e,t){var o=!0;return Nr(e,function(a,f,h){return o=!!t(a,f,h),o}),o}function ws(e,t,o){for(var a=-1,f=e.length;++a<f;){var h=e[a],m=t(h);if(m!=null&&(b===i?m===m&&!Qt(m):o(m,b)))var b=m,$=h}return $}function Kg(e,t,o,a){var f=e.length;for(o=Te(o),o<0&&(o=-o>f?0:f+o),a=a===i||a>f?f:Te(a),a<0&&(a+=f),a=o>a?0:Ec(a);o<a;)e[o++]=t;return e}function fl(e,t){var o=[];return Nr(e,function(a,f,h){t(a,f,h)&&o.push(a)}),o}function yt(e,t,o,a,f){var h=-1,m=e.length;for(o||(o=Lm),f||(f=[]);++h<m;){var b=e[h];t>0&&o(b)?t>1?yt(b,t-1,o,a,f):Lr(f,b):a||(f[f.length]=b)}return f}var Wa=Nl(),ll=Nl(!0);function Hn(e,t){return e&&Wa(e,t,gt)}function za(e,t){return e&&ll(e,t,gt)}function Ts(e,t){return Rr(t,function(o){return pr(e[o])})}function mi(e,t){t=Fr(t,e);for(var o=0,a=t.length;e!=null&&o<a;)e=e[zn(t[o++])];return o&&o==a?e:i}function cl(e,t,o){var a=t(e);return _e(e)?a:Lr(a,o(e))}function Rt(e){return e==null?e===i?mo:po:di&&di in Ke(e)?Pm(e):Um(e)}function Ka(e,t){return e>t}function Gg(e,t){return e!=null&&We.call(e,t)}function qg(e,t){return e!=null&&t in Ke(e)}function Vg(e,t,o){return e>=Et(t,o)&&e<ct(t,o)}function Ga(e,t,o){for(var a=o?Aa:is,f=e[0].length,h=e.length,m=h,b=A(h),$=1/0,I=[];m--;){var M=e[m];m&&t&&(M=qe(M,jt(t))),$=Et(M.length,$),b[m]=!o&&(t||f>=120&&M.length>=120)?new pi(m&&M):i}M=e[0];var k=-1,j=b[0];e:for(;++k<f&&I.length<$;){var ne=M[k],le=t?t(ne):ne;if(ne=o||ne!==0?ne:0,!(j?wo(j,le):a(I,le,o))){for(m=h;--m;){var Ee=b[m];if(!(Ee?wo(Ee,le):a(e[m],le,o)))continue e}j&&j.push(le),I.push(ne)}}return I}function jg(e,t,o,a){return Hn(e,function(f,h,m){t(a,o(f),h,m)}),a}function Oo(e,t,o){t=Fr(t,e),e=Xl(e,t);var a=e==null?e:e[zn(fn(t))];return a==null?i:pt(a,e,o)}function dl(e){return Je(e)&&Rt(e)==de}function Yg(e){return Je(e)&&Rt(e)==G}function Qg(e){return Je(e)&&Rt(e)==ut}function Ro(e,t,o,a,f){return e===t?!0:e==null||t==null||!Je(e)&&!Je(t)?e!==e&&t!==t:Zg(e,t,o,a,Ro,f)}function Zg(e,t,o,a,f,h){var m=_e(e),b=_e(t),$=m?St:Pt(e),I=b?St:Pt(t);$=$==de?qt:$,I=I==de?qt:I;var M=$==qt,k=I==qt,j=$==I;if(j&&Ur(e)){if(!Ur(t))return!1;m=!0,M=!1}if(j&&!M)return h||(h=new An),m||Yi(e)?Gl(e,t,o,a,f,h):$m(e,t,$,o,a,f,h);if(!(o&S)){var ne=M&&We.call(e,"__wrapped__"),le=k&&We.call(t,"__wrapped__");if(ne||le){var Ee=ne?e.value():e,ce=le?t.value():t;return h||(h=new An),f(Ee,ce,o,a,h)}}return j?(h||(h=new An),Em(e,t,o,a,f,h)):!1}function Xg(e){return Je(e)&&Pt(e)==Tt}function qa(e,t,o,a){var f=o.length,h=f,m=!a;if(e==null)return!h;for(e=Ke(e);f--;){var b=o[f];if(m&&b[2]?b[1]!==e[b[0]]:!(b[0]in e))return!1}for(;++f<h;){b=o[f];var $=b[0],I=e[$],M=b[1];if(m&&b[2]){if(I===i&&!($ in e))return!1}else{var k=new An;if(a)var j=a(I,M,$,e,t,k);if(!(j===i?Ro(M,I,S|W,a,k):j))return!1}}return!0}function hl(e){if(!je(e)||Mm(e))return!1;var t=pr(e)?Xp:Ze;return t.test(bi(e))}function Jg(e){return Je(e)&&Rt(e)==Qn}function em(e){return Je(e)&&Pt(e)==Ct}function tm(e){return Je(e)&&Bs(e.length)&&!!Be[Rt(e)]}function pl(e){return typeof e=="function"?e:e==null?zt:typeof e=="object"?_e(e)?vl(e[0],e[1]):ml(e):Dc(e)}function Va(e){if(!Mo(e))return ig(e);var t=[];for(var o in Ke(e))We.call(e,o)&&o!="constructor"&&t.push(o);return t}function nm(e){if(!je(e))return km(e);var t=Mo(e),o=[];for(var a in e)a=="constructor"&&(t||!We.call(e,a))||o.push(a);return o}function ja(e,t){return e<t}function gl(e,t){var o=-1,a=Ht(e)?A(e.length):[];return Nr(e,function(f,h,m){a[++o]=t(f,h,m)}),a}function ml(e){var t=fu(e);return t.length==1&&t[0][2]?Ql(t[0][0],t[0][1]):function(o){return o===e||qa(o,e,t)}}function vl(e,t){return cu(e)&&Yl(t)?Ql(zn(e),t):function(o){var a=xu(o,e);return a===i&&a===t?wu(o,e):Ro(t,a,S|W)}}function $s(e,t,o,a,f){e!==t&&Wa(t,function(h,m){if(f||(f=new An),je(h))rm(e,t,m,o,$s,a,f);else{var b=a?a(hu(e,m),h,m+"",e,t,f):i;b===i&&(b=h),Ba(e,m,b)}},Wt)}function rm(e,t,o,a,f,h,m){var b=hu(e,o),$=hu(t,o),I=m.get($);if(I){Ba(e,o,I);return}var M=h?h(b,$,o+"",e,t,m):i,k=M===i;if(k){var j=_e($),ne=!j&&Ur($),le=!j&&!ne&&Yi($);M=$,j||ne||le?_e(b)?M=b:et(b)?M=Bt(b):ne?(k=!1,M=Cl($,!0)):le?(k=!1,M=Ol($,!0)):M=[]:Do($)||_i($)?(M=b,_i(b)?M=Pc(b):(!je(b)||pr(b))&&(M=jl($))):k=!1}k&&(m.set($,M),f(M,$,a,h,m),m.delete($)),Ba(e,o,M)}function bl(e,t){var o=e.length;if(o)return t+=t<0?o:0,hr(t,o)?e[t]:i}function _l(e,t,o){t.length?t=qe(t,function(h){return _e(h)?function(m){return mi(m,h.length===1?h[0]:h)}:h}):t=[zt];var a=-1;t=qe(t,jt(ue()));var f=gl(e,function(h,m,b){var $=qe(t,function(I){return I(h)});return{criteria:$,index:++a,value:h}});return Op(f,function(h,m){return mm(h,m,o)})}function im(e,t){return yl(e,t,function(o,a){return wu(e,a)})}function yl(e,t,o){for(var a=-1,f=t.length,h={};++a<f;){var m=t[a],b=mi(e,m);o(b,m)&&Lo(h,Fr(m,e),b)}return h}function om(e){return function(t){return mi(t,e)}}function Ya(e,t,o,a){var f=a?Cp:ki,h=-1,m=t.length,b=e;for(e===t&&(t=Bt(t)),o&&(b=qe(e,jt(o)));++h<m;)for(var $=0,I=t[h],M=o?o(I):I;($=f(b,M,$,a))>-1;)b!==e&&ps.call(b,$,1),ps.call(e,$,1);return e}function xl(e,t){for(var o=e?t.length:0,a=o-1;o--;){var f=t[o];if(o==a||f!==h){var h=f;hr(f)?ps.call(e,f,1):Ja(e,f)}}return e}function Qa(e,t){return e+vs(tl()*(t-e+1))}function sm(e,t,o,a){for(var f=-1,h=ct(ms((t-e)/(o||1)),0),m=A(h);h--;)m[a?h:++f]=e,e+=o;return m}function Za(e,t){var o="";if(!e||t<1||t>ve)return o;do t%2&&(o+=e),t=vs(t/2),t&&(e+=e);while(t);return o}function Pe(e,t){return pu(Zl(e,t,zt),e+"")}function am(e){return il(Qi(e))}function um(e,t){var o=Qi(e);return Ms(o,gi(t,0,o.length))}function Lo(e,t,o,a){if(!je(e))return e;t=Fr(t,e);for(var f=-1,h=t.length,m=h-1,b=e;b!=null&&++f<h;){var $=zn(t[f]),I=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(f!=m){var M=b[$];I=a?a(M,$,b):i,I===i&&(I=je(M)?M:hr(t[f+1])?[]:{})}So(b,$,I),b=b[$]}return e}var wl=bs?function(e,t){return bs.set(e,t),e}:zt,fm=gs?function(e,t){return gs(e,"toString",{configurable:!0,enumerable:!1,value:$u(t),writable:!0})}:zt;function lm(e){return Ms(Qi(e))}function un(e,t,o){var a=-1,f=e.length;t<0&&(t=-t>f?0:f+t),o=o>f?f:o,o<0&&(o+=f),f=t>o?0:o-t>>>0,t>>>=0;for(var h=A(f);++a<f;)h[a]=e[a+t];return h}function cm(e,t){var o;return Nr(e,function(a,f,h){return o=t(a,f,h),!o}),!!o}function Es(e,t,o){var a=0,f=e==null?a:e.length;if(typeof t=="number"&&t===t&&f<=xr){for(;a<f;){var h=a+f>>>1,m=e[h];m!==null&&!Qt(m)&&(o?m<=t:m<t)?a=h+1:f=h}return f}return Xa(e,t,zt,o)}function Xa(e,t,o,a){var f=0,h=e==null?0:e.length;if(h===0)return 0;t=o(t);for(var m=t!==t,b=t===null,$=Qt(t),I=t===i;f<h;){var M=vs((f+h)/2),k=o(e[M]),j=k!==i,ne=k===null,le=k===k,Ee=Qt(k);if(m)var ce=a||le;else I?ce=le&&(a||j):b?ce=le&&j&&(a||!ne):$?ce=le&&j&&!ne&&(a||!Ee):ne||Ee?ce=!1:ce=a?k<=t:k<t;ce?f=M+1:h=M}return Et(h,xt)}function Tl(e,t){for(var o=-1,a=e.length,f=0,h=[];++o<a;){var m=e[o],b=t?t(m):m;if(!o||!Sn(b,$)){var $=b;h[f++]=m===0?0:m}}return h}function $l(e){return typeof e=="number"?e:Qt(e)?oe:+e}function Yt(e){if(typeof e=="string")return e;if(_e(e))return qe(e,Yt)+"";if(Qt(e))return nl?nl.call(e):"";var t=e+"";return t=="0"&&1/e==-Ie?"-0":t}function Dr(e,t,o){var a=-1,f=is,h=e.length,m=!0,b=[],$=b;if(o)m=!1,f=Aa;else if(h>=u){var I=t?null:wm(e);if(I)return ss(I);m=!1,f=wo,$=new pi}else $=t?[]:b;e:for(;++a<h;){var M=e[a],k=t?t(M):M;if(M=o||M!==0?M:0,m&&k===k){for(var j=$.length;j--;)if($[j]===k)continue e;t&&$.push(k),b.push(M)}else f($,k,o)||($!==b&&$.push(k),b.push(M))}return b}function Ja(e,t){return t=Fr(t,e),e=Xl(e,t),e==null||delete e[zn(fn(t))]}function El(e,t,o,a){return Lo(e,t,o(mi(e,t)),a)}function Ps(e,t,o,a){for(var f=e.length,h=a?f:-1;(a?h--:++h<f)&&t(e[h],h,e););return o?un(e,a?0:h,a?h+1:f):un(e,a?h+1:0,a?f:h)}function Pl(e,t){var o=e;return o instanceof Oe&&(o=o.value()),Sa(t,function(a,f){return f.func.apply(f.thisArg,Lr([a],f.args))},o)}function eu(e,t,o){var a=e.length;if(a<2)return a?Dr(e[0]):[];for(var f=-1,h=A(a);++f<a;)for(var m=e[f],b=-1;++b<a;)b!=f&&(h[f]=Co(h[f]||m,e[b],t,o));return Dr(yt(h,1),t,o)}function Al(e,t,o){for(var a=-1,f=e.length,h=t.length,m={};++a<f;){var b=a<h?t[a]:i;o(m,e[a],b)}return m}function tu(e){return et(e)?e:[]}function nu(e){return typeof e=="function"?e:zt}function Fr(e,t){return _e(e)?e:cu(e,t)?[e]:nc(ke(e))}var dm=Pe;function kr(e,t,o){var a=e.length;return o=o===i?a:o,!t&&o>=a?e:un(e,t,o)}var Sl=Jp||function(e){return O.clearTimeout(e)};function Cl(e,t){if(t)return e.slice();var o=e.length,a=Qf?Qf(o):new e.constructor(o);return e.copy(a),a}function ru(e){var t=new e.constructor(e.byteLength);return new ds(t).set(new ds(e)),t}function hm(e,t){var o=t?ru(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function pm(e){var t=new e.constructor(e.source,Ft.exec(e));return t.lastIndex=e.lastIndex,t}function gm(e){return Ao?Ke(Ao.call(e)):{}}function Ol(e,t){var o=t?ru(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Rl(e,t){if(e!==t){var o=e!==i,a=e===null,f=e===e,h=Qt(e),m=t!==i,b=t===null,$=t===t,I=Qt(t);if(!b&&!I&&!h&&e>t||h&&m&&$&&!b&&!I||a&&m&&$||!o&&$||!f)return 1;if(!a&&!h&&!I&&e<t||I&&o&&f&&!a&&!h||b&&o&&f||!m&&f||!$)return-1}return 0}function mm(e,t,o){for(var a=-1,f=e.criteria,h=t.criteria,m=f.length,b=o.length;++a<m;){var $=Rl(f[a],h[a]);if($){if(a>=b)return $;var I=o[a];return $*(I=="desc"?-1:1)}}return e.index-t.index}function Ll(e,t,o,a){for(var f=-1,h=e.length,m=o.length,b=-1,$=t.length,I=ct(h-m,0),M=A($+I),k=!a;++b<$;)M[b]=t[b];for(;++f<m;)(k||f<h)&&(M[o[f]]=e[f]);for(;I--;)M[b++]=e[f++];return M}function Il(e,t,o,a){for(var f=-1,h=e.length,m=-1,b=o.length,$=-1,I=t.length,M=ct(h-b,0),k=A(M+I),j=!a;++f<M;)k[f]=e[f];for(var ne=f;++$<I;)k[ne+$]=t[$];for(;++m<b;)(j||f<h)&&(k[ne+o[m]]=e[f++]);return k}function Bt(e,t){var o=-1,a=e.length;for(t||(t=A(a));++o<a;)t[o]=e[o];return t}function Wn(e,t,o,a){var f=!o;o||(o={});for(var h=-1,m=t.length;++h<m;){var b=t[h],$=a?a(o[b],e[b],b,o,e):i;$===i&&($=e[b]),f?lr(o,b,$):So(o,b,$)}return o}function vm(e,t){return Wn(e,lu(e),t)}function bm(e,t){return Wn(e,ql(e),t)}function As(e,t){return function(o,a){var f=_e(o)?Tp:Bg,h=t?t():{};return f(o,e,ue(a,2),h)}}function qi(e){return Pe(function(t,o){var a=-1,f=o.length,h=f>1?o[f-1]:i,m=f>2?o[2]:i;for(h=e.length>3&&typeof h=="function"?(f--,h):i,m&&Lt(o[0],o[1],m)&&(h=f<3?i:h,f=1),t=Ke(t);++a<f;){var b=o[a];b&&e(t,b,a,h)}return t})}function Ml(e,t){return function(o,a){if(o==null)return o;if(!Ht(o))return e(o,a);for(var f=o.length,h=t?f:-1,m=Ke(o);(t?h--:++h<f)&&a(m[h],h,m)!==!1;);return o}}function Nl(e){return function(t,o,a){for(var f=-1,h=Ke(t),m=a(t),b=m.length;b--;){var $=m[e?b:++f];if(o(h[$],$,h)===!1)break}return t}}function _m(e,t,o){var a=t&B,f=Io(e);function h(){var m=this&&this!==O&&this instanceof h?f:e;return m.apply(a?o:this,arguments)}return h}function Dl(e){return function(t){t=ke(t);var o=Ui(t)?Pn(t):i,a=o?o[0]:t.charAt(0),f=o?kr(o,1).join(""):t.slice(1);return a[e]()+f}}function Vi(e){return function(t){return Sa(Mc(Ic(t).replace(fi,"")),e,"")}}function Io(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=Gi(e.prototype),a=e.apply(o,t);return je(a)?a:o}}function ym(e,t,o){var a=Io(e);function f(){for(var h=arguments.length,m=A(h),b=h,$=ji(f);b--;)m[b]=arguments[b];var I=h<3&&m[0]!==$&&m[h-1]!==$?[]:Ir(m,$);if(h-=I.length,h<o)return Hl(e,t,Ss,f.placeholder,i,m,I,i,i,o-h);var M=this&&this!==O&&this instanceof f?a:e;return pt(M,this,m)}return f}function Fl(e){return function(t,o,a){var f=Ke(t);if(!Ht(t)){var h=ue(o,3);t=gt(t),o=function(b){return h(f[b],b,f)}}var m=e(t,o,a);return m>-1?f[h?t[m]:m]:i}}function kl(e){return dr(function(t){var o=t.length,a=o,f=sn.prototype.thru;for(e&&t.reverse();a--;){var h=t[a];if(typeof h!="function")throw new on(d);if(f&&!m&&Ls(h)=="wrapper")var m=new sn([],!0)}for(a=m?a:o;++a<o;){h=t[a];var b=Ls(h),$=b=="wrapper"?uu(h):i;$&&du($[0])&&$[1]==(xe|ee|ie|T)&&!$[4].length&&$[9]==1?m=m[Ls($[0])].apply(m,$[3]):m=h.length==1&&du(h)?m[b]():m.thru(h)}return function(){var I=arguments,M=I[0];if(m&&I.length==1&&_e(M))return m.plant(M).value();for(var k=0,j=o?t[k].apply(this,I):M;++k<o;)j=t[k].call(this,j);return j}})}function Ss(e,t,o,a,f,h,m,b,$,I){var M=t&xe,k=t&B,j=t&K,ne=t&(ee|te),le=t&re,Ee=j?i:Io(e);function ce(){for(var Ce=arguments.length,Re=A(Ce),Zt=Ce;Zt--;)Re[Zt]=arguments[Zt];if(ne)var It=ji(ce),Xt=Lp(Re,It);if(a&&(Re=Ll(Re,a,f,ne)),h&&(Re=Il(Re,h,m,ne)),Ce-=Xt,ne&&Ce<I){var tt=Ir(Re,It);return Hl(e,t,Ss,ce.placeholder,o,Re,tt,b,$,I-Ce)}var Cn=k?o:this,mr=j?Cn[e]:e;return Ce=Re.length,b?Re=Bm(Re,b):le&&Ce>1&&Re.reverse(),M&&$<Ce&&(Re.length=$),this&&this!==O&&this instanceof ce&&(mr=Ee||Io(mr)),mr.apply(Cn,Re)}return ce}function Ul(e,t){return function(o,a){return jg(o,e,t(a),{})}}function Cs(e,t){return function(o,a){var f;if(o===i&&a===i)return t;if(o!==i&&(f=o),a!==i){if(f===i)return a;typeof o=="string"||typeof a=="string"?(o=Yt(o),a=Yt(a)):(o=$l(o),a=$l(a)),f=e(o,a)}return f}}function iu(e){return dr(function(t){return t=qe(t,jt(ue())),Pe(function(o){var a=this;return e(t,function(f){return pt(f,a,o)})})})}function Os(e,t){t=t===i?" ":Yt(t);var o=t.length;if(o<2)return o?Za(t,e):t;var a=Za(t,ms(e/Bi(t)));return Ui(t)?kr(Pn(a),0,e).join(""):a.slice(0,e)}function xm(e,t,o,a){var f=t&B,h=Io(e);function m(){for(var b=-1,$=arguments.length,I=-1,M=a.length,k=A(M+$),j=this&&this!==O&&this instanceof m?h:e;++I<M;)k[I]=a[I];for(;$--;)k[I++]=arguments[++b];return pt(j,f?o:this,k)}return m}function Bl(e){return function(t,o,a){return a&&typeof a!="number"&&Lt(t,o,a)&&(o=a=i),t=gr(t),o===i?(o=t,t=0):o=gr(o),a=a===i?t<o?1:-1:gr(a),sm(t,o,a,e)}}function Rs(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=ln(t),o=ln(o)),e(t,o)}}function Hl(e,t,o,a,f,h,m,b,$,I){var M=t&ee,k=M?m:i,j=M?i:m,ne=M?h:i,le=M?i:h;t|=M?ie:me,t&=~(M?me:ie),t&Y||(t&=~(B|K));var Ee=[e,t,f,ne,k,le,j,b,$,I],ce=o.apply(i,Ee);return du(e)&&Jl(ce,Ee),ce.placeholder=a,ec(ce,e,t)}function ou(e){var t=lt[e];return function(o,a){if(o=ln(o),a=a==null?0:Et(Te(a),292),a&&el(o)){var f=(ke(o)+"e").split("e"),h=t(f[0]+"e"+(+f[1]+a));return f=(ke(h)+"e").split("e"),+(f[0]+"e"+(+f[1]-a))}return t(o)}}var wm=zi&&1/ss(new zi([,-0]))[1]==Ie?function(e){return new zi(e)}:Au;function Wl(e){return function(t){var o=Pt(t);return o==Tt?Na(t):o==Ct?Up(t):Rp(t,e(t))}}function cr(e,t,o,a,f,h,m,b){var $=t&K;if(!$&&typeof e!="function")throw new on(d);var I=a?a.length:0;if(I||(t&=~(ie|me),a=f=i),m=m===i?m:ct(Te(m),0),b=b===i?b:Te(b),I-=f?f.length:0,t&me){var M=a,k=f;a=f=i}var j=$?i:uu(e),ne=[e,t,o,a,f,M,k,h,m,b];if(j&&Fm(ne,j),e=ne[0],t=ne[1],o=ne[2],a=ne[3],f=ne[4],b=ne[9]=ne[9]===i?$?0:e.length:ct(ne[9]-I,0),!b&&t&(ee|te)&&(t&=~(ee|te)),!t||t==B)var le=_m(e,t,o);else t==ee||t==te?le=ym(e,t,b):(t==ie||t==(B|ie))&&!f.length?le=xm(e,t,o,a):le=Ss.apply(i,ne);var Ee=j?wl:Jl;return ec(Ee(le,ne),e,t)}function zl(e,t,o,a){return e===i||Sn(e,Wi[o])&&!We.call(a,o)?t:e}function Kl(e,t,o,a,f,h){return je(e)&&je(t)&&(h.set(t,e),$s(e,t,i,Kl,h),h.delete(t)),e}function Tm(e){return Do(e)?i:e}function Gl(e,t,o,a,f,h){var m=o&S,b=e.length,$=t.length;if(b!=$&&!(m&&$>b))return!1;var I=h.get(e),M=h.get(t);if(I&&M)return I==t&&M==e;var k=-1,j=!0,ne=o&W?new pi:i;for(h.set(e,t),h.set(t,e);++k<b;){var le=e[k],Ee=t[k];if(a)var ce=m?a(Ee,le,k,t,e,h):a(le,Ee,k,e,t,h);if(ce!==i){if(ce)continue;j=!1;break}if(ne){if(!Ca(t,function(Ce,Re){if(!wo(ne,Re)&&(le===Ce||f(le,Ce,o,a,h)))return ne.push(Re)})){j=!1;break}}else if(!(le===Ee||f(le,Ee,o,a,h))){j=!1;break}}return h.delete(e),h.delete(t),j}function $m(e,t,o,a,f,h,m){switch(o){case V:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case G:return!(e.byteLength!=t.byteLength||!h(new ds(e),new ds(t)));case Qe:case ut:case Yn:return Sn(+e,+t);case gn:return e.name==t.name&&e.message==t.message;case Qn:case Zn:return e==t+"";case Tt:var b=Na;case Ct:var $=a&S;if(b||(b=ss),e.size!=t.size&&!$)return!1;var I=m.get(e);if(I)return I==t;a|=W,m.set(e,t);var M=Gl(b(e),b(t),a,f,h,m);return m.delete(e),M;case wr:if(Ao)return Ao.call(e)==Ao.call(t)}return!1}function Em(e,t,o,a,f,h){var m=o&S,b=su(e),$=b.length,I=su(t),M=I.length;if($!=M&&!m)return!1;for(var k=$;k--;){var j=b[k];if(!(m?j in t:We.call(t,j)))return!1}var ne=h.get(e),le=h.get(t);if(ne&&le)return ne==t&&le==e;var Ee=!0;h.set(e,t),h.set(t,e);for(var ce=m;++k<$;){j=b[k];var Ce=e[j],Re=t[j];if(a)var Zt=m?a(Re,Ce,j,t,e,h):a(Ce,Re,j,e,t,h);if(!(Zt===i?Ce===Re||f(Ce,Re,o,a,h):Zt)){Ee=!1;break}ce||(ce=j=="constructor")}if(Ee&&!ce){var It=e.constructor,Xt=t.constructor;It!=Xt&&"constructor"in e&&"constructor"in t&&!(typeof It=="function"&&It instanceof It&&typeof Xt=="function"&&Xt instanceof Xt)&&(Ee=!1)}return h.delete(e),h.delete(t),Ee}function dr(e){return pu(Zl(e,i,sc),e+"")}function su(e){return cl(e,gt,lu)}function au(e){return cl(e,Wt,ql)}var uu=bs?function(e){return bs.get(e)}:Au;function Ls(e){for(var t=e.name+"",o=Ki[t],a=We.call(Ki,t)?o.length:0;a--;){var f=o[a],h=f.func;if(h==null||h==e)return f.name}return t}function ji(e){var t=We.call(c,"placeholder")?c:e;return t.placeholder}function ue(){var e=c.iteratee||Eu;return e=e===Eu?pl:e,arguments.length?e(arguments[0],arguments[1]):e}function Is(e,t){var o=e.__data__;return Im(t)?o[typeof t=="string"?"string":"hash"]:o.map}function fu(e){for(var t=gt(e),o=t.length;o--;){var a=t[o],f=e[a];t[o]=[a,f,Yl(f)]}return t}function vi(e,t){var o=Dp(e,t);return hl(o)?o:i}function Pm(e){var t=We.call(e,di),o=e[di];try{e[di]=i;var a=!0}catch{}var f=ls.call(e);return a&&(t?e[di]=o:delete e[di]),f}var lu=Fa?function(e){return e==null?[]:(e=Ke(e),Rr(Fa(e),function(t){return Xf.call(e,t)}))}:Su,ql=Fa?function(e){for(var t=[];e;)Lr(t,lu(e)),e=hs(e);return t}:Su,Pt=Rt;(ka&&Pt(new ka(new ArrayBuffer(1)))!=V||$o&&Pt(new $o)!=Tt||Ua&&Pt(Ua.resolve())!=$i||zi&&Pt(new zi)!=Ct||Eo&&Pt(new Eo)!=Mn)&&(Pt=function(e){var t=Rt(e),o=t==qt?e.constructor:i,a=o?bi(o):"";if(a)switch(a){case ug:return V;case fg:return Tt;case lg:return $i;case cg:return Ct;case dg:return Mn}return t});function Am(e,t,o){for(var a=-1,f=o.length;++a<f;){var h=o[a],m=h.size;switch(h.type){case"drop":e+=m;break;case"dropRight":t-=m;break;case"take":t=Et(t,e+m);break;case"takeRight":e=ct(e,t-m);break}}return{start:e,end:t}}function Sm(e){var t=e.match(ot);return t?t[1].split(Qr):[]}function Vl(e,t,o){t=Fr(t,e);for(var a=-1,f=t.length,h=!1;++a<f;){var m=zn(t[a]);if(!(h=e!=null&&o(e,m)))break;e=e[m]}return h||++a!=f?h:(f=e==null?0:e.length,!!f&&Bs(f)&&hr(m,f)&&(_e(e)||_i(e)))}function Cm(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&We.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function jl(e){return typeof e.constructor=="function"&&!Mo(e)?Gi(hs(e)):{}}function Om(e,t,o){var a=e.constructor;switch(t){case G:return ru(e);case Qe:case ut:return new a(+e);case V:return hm(e,o);case se:case fe:case Ue:case bt:case Ot:case _t:case Dt:case Jt:case Tr:return Ol(e,o);case Tt:return new a;case Yn:case Zn:return new a(e);case Qn:return pm(e);case Ct:return new a;case wr:return gm(e)}}function Rm(e,t){var o=t.length;if(!o)return e;var a=o-1;return t[a]=(o>1?"& ":"")+t[a],t=t.join(o>2?", ":" "),e.replace(Er,`{
|
|
11
|
+
/* [wrapped with `+t+`] */
|
|
12
|
+
`)}function Lm(e){return _e(e)||_i(e)||!!(Jf&&e&&e[Jf])}function hr(e,t){var o=typeof e;return t=t??ve,!!t&&(o=="number"||o!="symbol"&&Xe.test(e))&&e>-1&&e%1==0&&e<t}function Lt(e,t,o){if(!je(o))return!1;var a=typeof t;return(a=="number"?Ht(o)&&hr(t,o.length):a=="string"&&t in o)?Sn(o[t],e):!1}function cu(e,t){if(_e(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Qt(e)?!0:$r.test(e)||!bn.test(e)||t!=null&&e in Ke(t)}function Im(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function du(e){var t=Ls(e),o=c[t];if(typeof o!="function"||!(t in Oe.prototype))return!1;if(e===o)return!0;var a=uu(o);return!!a&&e===a[0]}function Mm(e){return!!Yf&&Yf in e}var Nm=us?pr:Cu;function Mo(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Wi;return e===o}function Yl(e){return e===e&&!je(e)}function Ql(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ke(o))}}function Dm(e){var t=ks(e,function(a){return o.size===y&&o.clear(),a}),o=t.cache;return t}function Fm(e,t){var o=e[1],a=t[1],f=o|a,h=f<(B|K|xe),m=a==xe&&o==ee||a==xe&&o==T&&e[7].length<=t[8]||a==(xe|T)&&t[7].length<=t[8]&&o==ee;if(!(h||m))return e;a&B&&(e[2]=t[2],f|=o&B?0:Y);var b=t[3];if(b){var $=e[3];e[3]=$?Ll($,b,t[4]):b,e[4]=$?Ir(e[3],P):t[4]}return b=t[5],b&&($=e[5],e[5]=$?Il($,b,t[6]):b,e[6]=$?Ir(e[5],P):t[6]),b=t[7],b&&(e[7]=b),a&xe&&(e[8]=e[8]==null?t[8]:Et(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=f,e}function km(e){var t=[];if(e!=null)for(var o in Ke(e))t.push(o);return t}function Um(e){return ls.call(e)}function Zl(e,t,o){return t=ct(t===i?e.length-1:t,0),function(){for(var a=arguments,f=-1,h=ct(a.length-t,0),m=A(h);++f<h;)m[f]=a[t+f];f=-1;for(var b=A(t+1);++f<t;)b[f]=a[f];return b[t]=o(m),pt(e,this,b)}}function Xl(e,t){return t.length<2?e:mi(e,un(t,0,-1))}function Bm(e,t){for(var o=e.length,a=Et(t.length,o),f=Bt(e);a--;){var h=t[a];e[a]=hr(h,o)?f[h]:i}return e}function hu(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Jl=tc(wl),No=tg||function(e,t){return O.setTimeout(e,t)},pu=tc(fm);function ec(e,t,o){var a=t+"";return pu(e,Rm(a,Hm(Sm(a),o)))}function tc(e){var t=0,o=0;return function(){var a=og(),f=H-(a-o);if(o=a,f>0){if(++t>=Me)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ms(e,t){var o=-1,a=e.length,f=a-1;for(t=t===i?a:t;++o<t;){var h=Qa(o,f),m=e[h];e[h]=e[o],e[o]=m}return e.length=t,e}var nc=Dm(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Vr,function(o,a,f,h){t.push(f?h.replace(yo,"$1"):a||o)}),t});function zn(e){if(typeof e=="string"||Qt(e))return e;var t=e+"";return t=="0"&&1/e==-Ie?"-0":t}function bi(e){if(e!=null){try{return fs.call(e)}catch{}try{return e+""}catch{}}return""}function Hm(e,t){return rn(Ln,function(o){var a="_."+o[0];t&o[1]&&!is(e,a)&&e.push(a)}),e.sort()}function rc(e){if(e instanceof Oe)return e.clone();var t=new sn(e.__wrapped__,e.__chain__);return t.__actions__=Bt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Wm(e,t,o){(o?Lt(e,t,o):t===i)?t=1:t=ct(Te(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var f=0,h=0,m=A(ms(a/t));f<a;)m[h++]=un(e,f,f+=t);return m}function zm(e){for(var t=-1,o=e==null?0:e.length,a=0,f=[];++t<o;){var h=e[t];h&&(f[a++]=h)}return f}function Km(){var e=arguments.length;if(!e)return[];for(var t=A(e-1),o=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Lr(_e(o)?Bt(o):[o],yt(t,1))}var Gm=Pe(function(e,t){return et(e)?Co(e,yt(t,1,et,!0)):[]}),qm=Pe(function(e,t){var o=fn(t);return et(o)&&(o=i),et(e)?Co(e,yt(t,1,et,!0),ue(o,2)):[]}),Vm=Pe(function(e,t){var o=fn(t);return et(o)&&(o=i),et(e)?Co(e,yt(t,1,et,!0),i,o):[]});function jm(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Te(t),un(e,t<0?0:t,a)):[]}function Ym(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Te(t),t=a-t,un(e,0,t<0?0:t)):[]}function Qm(e,t){return e&&e.length?Ps(e,ue(t,3),!0,!0):[]}function Zm(e,t){return e&&e.length?Ps(e,ue(t,3),!0):[]}function Xm(e,t,o,a){var f=e==null?0:e.length;return f?(o&&typeof o!="number"&&Lt(e,t,o)&&(o=0,a=f),Kg(e,t,o,a)):[]}function ic(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var f=o==null?0:Te(o);return f<0&&(f=ct(a+f,0)),os(e,ue(t,3),f)}function oc(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var f=a-1;return o!==i&&(f=Te(o),f=o<0?ct(a+f,0):Et(f,a-1)),os(e,ue(t,3),f,!0)}function sc(e){var t=e==null?0:e.length;return t?yt(e,1):[]}function Jm(e){var t=e==null?0:e.length;return t?yt(e,Ie):[]}function e0(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:Te(t),yt(e,t)):[]}function t0(e){for(var t=-1,o=e==null?0:e.length,a={};++t<o;){var f=e[t];a[f[0]]=f[1]}return a}function ac(e){return e&&e.length?e[0]:i}function n0(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var f=o==null?0:Te(o);return f<0&&(f=ct(a+f,0)),ki(e,t,f)}function r0(e){var t=e==null?0:e.length;return t?un(e,0,-1):[]}var i0=Pe(function(e){var t=qe(e,tu);return t.length&&t[0]===e[0]?Ga(t):[]}),o0=Pe(function(e){var t=fn(e),o=qe(e,tu);return t===fn(o)?t=i:o.pop(),o.length&&o[0]===e[0]?Ga(o,ue(t,2)):[]}),s0=Pe(function(e){var t=fn(e),o=qe(e,tu);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?Ga(o,i,t):[]});function a0(e,t){return e==null?"":rg.call(e,t)}function fn(e){var t=e==null?0:e.length;return t?e[t-1]:i}function u0(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var f=a;return o!==i&&(f=Te(o),f=f<0?ct(a+f,0):Et(f,a-1)),t===t?Hp(e,t,f):os(e,Hf,f,!0)}function f0(e,t){return e&&e.length?bl(e,Te(t)):i}var l0=Pe(uc);function uc(e,t){return e&&e.length&&t&&t.length?Ya(e,t):e}function c0(e,t,o){return e&&e.length&&t&&t.length?Ya(e,t,ue(o,2)):e}function d0(e,t,o){return e&&e.length&&t&&t.length?Ya(e,t,i,o):e}var h0=dr(function(e,t){var o=e==null?0:e.length,a=Ha(e,t);return xl(e,qe(t,function(f){return hr(f,o)?+f:f}).sort(Rl)),a});function p0(e,t){var o=[];if(!(e&&e.length))return o;var a=-1,f=[],h=e.length;for(t=ue(t,3);++a<h;){var m=e[a];t(m,a,e)&&(o.push(m),f.push(a))}return xl(e,f),o}function gu(e){return e==null?e:ag.call(e)}function g0(e,t,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&Lt(e,t,o)?(t=0,o=a):(t=t==null?0:Te(t),o=o===i?a:Te(o)),un(e,t,o)):[]}function m0(e,t){return Es(e,t)}function v0(e,t,o){return Xa(e,t,ue(o,2))}function b0(e,t){var o=e==null?0:e.length;if(o){var a=Es(e,t);if(a<o&&Sn(e[a],t))return a}return-1}function _0(e,t){return Es(e,t,!0)}function y0(e,t,o){return Xa(e,t,ue(o,2),!0)}function x0(e,t){var o=e==null?0:e.length;if(o){var a=Es(e,t,!0)-1;if(Sn(e[a],t))return a}return-1}function w0(e){return e&&e.length?Tl(e):[]}function T0(e,t){return e&&e.length?Tl(e,ue(t,2)):[]}function $0(e){var t=e==null?0:e.length;return t?un(e,1,t):[]}function E0(e,t,o){return e&&e.length?(t=o||t===i?1:Te(t),un(e,0,t<0?0:t)):[]}function P0(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Te(t),t=a-t,un(e,t<0?0:t,a)):[]}function A0(e,t){return e&&e.length?Ps(e,ue(t,3),!1,!0):[]}function S0(e,t){return e&&e.length?Ps(e,ue(t,3)):[]}var C0=Pe(function(e){return Dr(yt(e,1,et,!0))}),O0=Pe(function(e){var t=fn(e);return et(t)&&(t=i),Dr(yt(e,1,et,!0),ue(t,2))}),R0=Pe(function(e){var t=fn(e);return t=typeof t=="function"?t:i,Dr(yt(e,1,et,!0),i,t)});function L0(e){return e&&e.length?Dr(e):[]}function I0(e,t){return e&&e.length?Dr(e,ue(t,2)):[]}function M0(e,t){return t=typeof t=="function"?t:i,e&&e.length?Dr(e,i,t):[]}function mu(e){if(!(e&&e.length))return[];var t=0;return e=Rr(e,function(o){if(et(o))return t=ct(o.length,t),!0}),Ia(t,function(o){return qe(e,Oa(o))})}function fc(e,t){if(!(e&&e.length))return[];var o=mu(e);return t==null?o:qe(o,function(a){return pt(t,i,a)})}var N0=Pe(function(e,t){return et(e)?Co(e,t):[]}),D0=Pe(function(e){return eu(Rr(e,et))}),F0=Pe(function(e){var t=fn(e);return et(t)&&(t=i),eu(Rr(e,et),ue(t,2))}),k0=Pe(function(e){var t=fn(e);return t=typeof t=="function"?t:i,eu(Rr(e,et),i,t)}),U0=Pe(mu);function B0(e,t){return Al(e||[],t||[],So)}function H0(e,t){return Al(e||[],t||[],Lo)}var W0=Pe(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,fc(e,o)});function lc(e){var t=c(e);return t.__chain__=!0,t}function z0(e,t){return t(e),e}function Ns(e,t){return t(e)}var K0=dr(function(e){var t=e.length,o=t?e[0]:0,a=this.__wrapped__,f=function(h){return Ha(h,e)};return t>1||this.__actions__.length||!(a instanceof Oe)||!hr(o)?this.thru(f):(a=a.slice(o,+o+(t?1:0)),a.__actions__.push({func:Ns,args:[f],thisArg:i}),new sn(a,this.__chain__).thru(function(h){return t&&!h.length&&h.push(i),h}))});function G0(){return lc(this)}function q0(){return new sn(this.value(),this.__chain__)}function V0(){this.__values__===i&&(this.__values__=$c(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function j0(){return this}function Y0(e){for(var t,o=this;o instanceof ys;){var a=rc(o);a.__index__=0,a.__values__=i,t?f.__wrapped__=a:t=a;var f=a;o=o.__wrapped__}return f.__wrapped__=e,t}function Q0(){var e=this.__wrapped__;if(e instanceof Oe){var t=e;return this.__actions__.length&&(t=new Oe(this)),t=t.reverse(),t.__actions__.push({func:Ns,args:[gu],thisArg:i}),new sn(t,this.__chain__)}return this.thru(gu)}function Z0(){return Pl(this.__wrapped__,this.__actions__)}var X0=As(function(e,t,o){We.call(e,o)?++e[o]:lr(e,o,1)});function J0(e,t,o){var a=_e(e)?Uf:zg;return o&&Lt(e,t,o)&&(t=i),a(e,ue(t,3))}function ev(e,t){var o=_e(e)?Rr:fl;return o(e,ue(t,3))}var tv=Fl(ic),nv=Fl(oc);function rv(e,t){return yt(Ds(e,t),1)}function iv(e,t){return yt(Ds(e,t),Ie)}function ov(e,t,o){return o=o===i?1:Te(o),yt(Ds(e,t),o)}function cc(e,t){var o=_e(e)?rn:Nr;return o(e,ue(t,3))}function dc(e,t){var o=_e(e)?$p:ul;return o(e,ue(t,3))}var sv=As(function(e,t,o){We.call(e,o)?e[o].push(t):lr(e,o,[t])});function av(e,t,o,a){e=Ht(e)?e:Qi(e),o=o&&!a?Te(o):0;var f=e.length;return o<0&&(o=ct(f+o,0)),Hs(e)?o<=f&&e.indexOf(t,o)>-1:!!f&&ki(e,t,o)>-1}var uv=Pe(function(e,t,o){var a=-1,f=typeof t=="function",h=Ht(e)?A(e.length):[];return Nr(e,function(m){h[++a]=f?pt(t,m,o):Oo(m,t,o)}),h}),fv=As(function(e,t,o){lr(e,o,t)});function Ds(e,t){var o=_e(e)?qe:gl;return o(e,ue(t,3))}function lv(e,t,o,a){return e==null?[]:(_e(t)||(t=t==null?[]:[t]),o=a?i:o,_e(o)||(o=o==null?[]:[o]),_l(e,t,o))}var cv=As(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function dv(e,t,o){var a=_e(e)?Sa:zf,f=arguments.length<3;return a(e,ue(t,4),o,f,Nr)}function hv(e,t,o){var a=_e(e)?Ep:zf,f=arguments.length<3;return a(e,ue(t,4),o,f,ul)}function pv(e,t){var o=_e(e)?Rr:fl;return o(e,Us(ue(t,3)))}function gv(e){var t=_e(e)?il:am;return t(e)}function mv(e,t,o){(o?Lt(e,t,o):t===i)?t=1:t=Te(t);var a=_e(e)?kg:um;return a(e,t)}function vv(e){var t=_e(e)?Ug:lm;return t(e)}function bv(e){if(e==null)return 0;if(Ht(e))return Hs(e)?Bi(e):e.length;var t=Pt(e);return t==Tt||t==Ct?e.size:Va(e).length}function _v(e,t,o){var a=_e(e)?Ca:cm;return o&&Lt(e,t,o)&&(t=i),a(e,ue(t,3))}var yv=Pe(function(e,t){if(e==null)return[];var o=t.length;return o>1&&Lt(e,t[0],t[1])?t=[]:o>2&&Lt(t[0],t[1],t[2])&&(t=[t[0]]),_l(e,yt(t,1),[])}),Fs=eg||function(){return O.Date.now()};function xv(e,t){if(typeof t!="function")throw new on(d);return e=Te(e),function(){if(--e<1)return t.apply(this,arguments)}}function hc(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,cr(e,xe,i,i,i,i,t)}function pc(e,t){var o;if(typeof t!="function")throw new on(d);return e=Te(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var vu=Pe(function(e,t,o){var a=B;if(o.length){var f=Ir(o,ji(vu));a|=ie}return cr(e,a,t,o,f)}),gc=Pe(function(e,t,o){var a=B|K;if(o.length){var f=Ir(o,ji(gc));a|=ie}return cr(t,a,e,o,f)});function mc(e,t,o){t=o?i:t;var a=cr(e,ee,i,i,i,i,i,t);return a.placeholder=mc.placeholder,a}function vc(e,t,o){t=o?i:t;var a=cr(e,te,i,i,i,i,i,t);return a.placeholder=vc.placeholder,a}function bc(e,t,o){var a,f,h,m,b,$,I=0,M=!1,k=!1,j=!0;if(typeof e!="function")throw new on(d);t=ln(t)||0,je(o)&&(M=!!o.leading,k="maxWait"in o,h=k?ct(ln(o.maxWait)||0,t):h,j="trailing"in o?!!o.trailing:j);function ne(tt){var Cn=a,mr=f;return a=f=i,I=tt,m=e.apply(mr,Cn),m}function le(tt){return I=tt,b=No(Ce,t),M?ne(tt):m}function Ee(tt){var Cn=tt-$,mr=tt-I,Fc=t-Cn;return k?Et(Fc,h-mr):Fc}function ce(tt){var Cn=tt-$,mr=tt-I;return $===i||Cn>=t||Cn<0||k&&mr>=h}function Ce(){var tt=Fs();if(ce(tt))return Re(tt);b=No(Ce,Ee(tt))}function Re(tt){return b=i,j&&a?ne(tt):(a=f=i,m)}function Zt(){b!==i&&Sl(b),I=0,a=$=f=b=i}function It(){return b===i?m:Re(Fs())}function Xt(){var tt=Fs(),Cn=ce(tt);if(a=arguments,f=this,$=tt,Cn){if(b===i)return le($);if(k)return Sl(b),b=No(Ce,t),ne($)}return b===i&&(b=No(Ce,t)),m}return Xt.cancel=Zt,Xt.flush=It,Xt}var wv=Pe(function(e,t){return al(e,1,t)}),Tv=Pe(function(e,t,o){return al(e,ln(t)||0,o)});function $v(e){return cr(e,re)}function ks(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new on(d);var o=function(){var a=arguments,f=t?t.apply(this,a):a[0],h=o.cache;if(h.has(f))return h.get(f);var m=e.apply(this,a);return o.cache=h.set(f,m)||h,m};return o.cache=new(ks.Cache||fr),o}ks.Cache=fr;function Us(e){if(typeof e!="function")throw new on(d);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ev(e){return pc(2,e)}var Pv=dm(function(e,t){t=t.length==1&&_e(t[0])?qe(t[0],jt(ue())):qe(yt(t,1),jt(ue()));var o=t.length;return Pe(function(a){for(var f=-1,h=Et(a.length,o);++f<h;)a[f]=t[f].call(this,a[f]);return pt(e,this,a)})}),bu=Pe(function(e,t){var o=Ir(t,ji(bu));return cr(e,ie,i,t,o)}),_c=Pe(function(e,t){var o=Ir(t,ji(_c));return cr(e,me,i,t,o)}),Av=dr(function(e,t){return cr(e,T,i,i,i,t)});function Sv(e,t){if(typeof e!="function")throw new on(d);return t=t===i?t:Te(t),Pe(e,t)}function Cv(e,t){if(typeof e!="function")throw new on(d);return t=t==null?0:ct(Te(t),0),Pe(function(o){var a=o[t],f=kr(o,0,t);return a&&Lr(f,a),pt(e,this,f)})}function Ov(e,t,o){var a=!0,f=!0;if(typeof e!="function")throw new on(d);return je(o)&&(a="leading"in o?!!o.leading:a,f="trailing"in o?!!o.trailing:f),bc(e,t,{leading:a,maxWait:t,trailing:f})}function Rv(e){return hc(e,1)}function Lv(e,t){return bu(nu(t),e)}function Iv(){if(!arguments.length)return[];var e=arguments[0];return _e(e)?e:[e]}function Mv(e){return an(e,D)}function Nv(e,t){return t=typeof t=="function"?t:i,an(e,D,t)}function Dv(e){return an(e,L|D)}function Fv(e,t){return t=typeof t=="function"?t:i,an(e,L|D,t)}function kv(e,t){return t==null||sl(e,t,gt(t))}function Sn(e,t){return e===t||e!==e&&t!==t}var Uv=Rs(Ka),Bv=Rs(function(e,t){return e>=t}),_i=dl(function(){return arguments}())?dl:function(e){return Je(e)&&We.call(e,"callee")&&!Xf.call(e,"callee")},_e=A.isArray,Hv=at?jt(at):Yg;function Ht(e){return e!=null&&Bs(e.length)&&!pr(e)}function et(e){return Je(e)&&Ht(e)}function Wv(e){return e===!0||e===!1||Je(e)&&Rt(e)==Qe}var Ur=ng||Cu,zv=Fe?jt(Fe):Qg;function Kv(e){return Je(e)&&e.nodeType===1&&!Do(e)}function Gv(e){if(e==null)return!0;if(Ht(e)&&(_e(e)||typeof e=="string"||typeof e.splice=="function"||Ur(e)||Yi(e)||_i(e)))return!e.length;var t=Pt(e);if(t==Tt||t==Ct)return!e.size;if(Mo(e))return!Va(e).length;for(var o in e)if(We.call(e,o))return!1;return!0}function qv(e,t){return Ro(e,t)}function Vv(e,t,o){o=typeof o=="function"?o:i;var a=o?o(e,t):i;return a===i?Ro(e,t,i,o):!!a}function _u(e){if(!Je(e))return!1;var t=Rt(e);return t==gn||t==pn||typeof e.message=="string"&&typeof e.name=="string"&&!Do(e)}function jv(e){return typeof e=="number"&&el(e)}function pr(e){if(!je(e))return!1;var t=Rt(e);return t==mn||t==In||t==wt||t==go}function yc(e){return typeof e=="number"&&e==Te(e)}function Bs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ve}function je(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Je(e){return e!=null&&typeof e=="object"}var xc=$t?jt($t):Xg;function Yv(e,t){return e===t||qa(e,t,fu(t))}function Qv(e,t,o){return o=typeof o=="function"?o:i,qa(e,t,fu(t),o)}function Zv(e){return wc(e)&&e!=+e}function Xv(e){if(Nm(e))throw new ge(l);return hl(e)}function Jv(e){return e===null}function e1(e){return e==null}function wc(e){return typeof e=="number"||Je(e)&&Rt(e)==Yn}function Do(e){if(!Je(e)||Rt(e)!=qt)return!1;var t=hs(e);if(t===null)return!0;var o=We.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&fs.call(o)==Qp}var yu=Vt?jt(Vt):Jg;function t1(e){return yc(e)&&e>=-ve&&e<=ve}var Tc=Fi?jt(Fi):em;function Hs(e){return typeof e=="string"||!_e(e)&&Je(e)&&Rt(e)==Zn}function Qt(e){return typeof e=="symbol"||Je(e)&&Rt(e)==wr}var Yi=ci?jt(ci):tm;function n1(e){return e===i}function r1(e){return Je(e)&&Pt(e)==Mn}function i1(e){return Je(e)&&Rt(e)==vo}var o1=Rs(ja),s1=Rs(function(e,t){return e<=t});function $c(e){if(!e)return[];if(Ht(e))return Hs(e)?Pn(e):Bt(e);if(To&&e[To])return kp(e[To]());var t=Pt(e),o=t==Tt?Na:t==Ct?ss:Qi;return o(e)}function gr(e){if(!e)return e===0?e:0;if(e=ln(e),e===Ie||e===-Ie){var t=e<0?-1:1;return t*it}return e===e?e:0}function Te(e){var t=gr(e),o=t%1;return t===t?o?t-o:t:0}function Ec(e){return e?gi(Te(e),0,Ye):0}function ln(e){if(typeof e=="number")return e;if(Qt(e))return oe;if(je(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=je(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Kf(e);var o=Jr.test(e);return o||Si.test(e)?pe(e.slice(2),o?2:8):Ai.test(e)?oe:+e}function Pc(e){return Wn(e,Wt(e))}function a1(e){return e?gi(Te(e),-ve,ve):e===0?e:0}function ke(e){return e==null?"":Yt(e)}var u1=qi(function(e,t){if(Mo(t)||Ht(t)){Wn(t,gt(t),e);return}for(var o in t)We.call(t,o)&&So(e,o,t[o])}),Ac=qi(function(e,t){Wn(t,Wt(t),e)}),Ws=qi(function(e,t,o,a){Wn(t,Wt(t),e,a)}),f1=qi(function(e,t,o,a){Wn(t,gt(t),e,a)}),l1=dr(Ha);function c1(e,t){var o=Gi(e);return t==null?o:ol(o,t)}var d1=Pe(function(e,t){e=Ke(e);var o=-1,a=t.length,f=a>2?t[2]:i;for(f&&Lt(t[0],t[1],f)&&(a=1);++o<a;)for(var h=t[o],m=Wt(h),b=-1,$=m.length;++b<$;){var I=m[b],M=e[I];(M===i||Sn(M,Wi[I])&&!We.call(e,I))&&(e[I]=h[I])}return e}),h1=Pe(function(e){return e.push(i,Kl),pt(Sc,i,e)});function p1(e,t){return Bf(e,ue(t,3),Hn)}function g1(e,t){return Bf(e,ue(t,3),za)}function m1(e,t){return e==null?e:Wa(e,ue(t,3),Wt)}function v1(e,t){return e==null?e:ll(e,ue(t,3),Wt)}function b1(e,t){return e&&Hn(e,ue(t,3))}function _1(e,t){return e&&za(e,ue(t,3))}function y1(e){return e==null?[]:Ts(e,gt(e))}function x1(e){return e==null?[]:Ts(e,Wt(e))}function xu(e,t,o){var a=e==null?i:mi(e,t);return a===i?o:a}function w1(e,t){return e!=null&&Vl(e,t,Gg)}function wu(e,t){return e!=null&&Vl(e,t,qg)}var T1=Ul(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=ls.call(t)),e[t]=o},$u(zt)),$1=Ul(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=ls.call(t)),We.call(e,t)?e[t].push(o):e[t]=[o]},ue),E1=Pe(Oo);function gt(e){return Ht(e)?rl(e):Va(e)}function Wt(e){return Ht(e)?rl(e,!0):nm(e)}function P1(e,t){var o={};return t=ue(t,3),Hn(e,function(a,f,h){lr(o,t(a,f,h),a)}),o}function A1(e,t){var o={};return t=ue(t,3),Hn(e,function(a,f,h){lr(o,f,t(a,f,h))}),o}var S1=qi(function(e,t,o){$s(e,t,o)}),Sc=qi(function(e,t,o,a){$s(e,t,o,a)}),C1=dr(function(e,t){var o={};if(e==null)return o;var a=!1;t=qe(t,function(h){return h=Fr(h,e),a||(a=h.length>1),h}),Wn(e,au(e),o),a&&(o=an(o,L|C|D,Tm));for(var f=t.length;f--;)Ja(o,t[f]);return o});function O1(e,t){return Cc(e,Us(ue(t)))}var R1=dr(function(e,t){return e==null?{}:im(e,t)});function Cc(e,t){if(e==null)return{};var o=qe(au(e),function(a){return[a]});return t=ue(t),yl(e,o,function(a,f){return t(a,f[0])})}function L1(e,t,o){t=Fr(t,e);var a=-1,f=t.length;for(f||(f=1,e=i);++a<f;){var h=e==null?i:e[zn(t[a])];h===i&&(a=f,h=o),e=pr(h)?h.call(e):h}return e}function I1(e,t,o){return e==null?e:Lo(e,t,o)}function M1(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:Lo(e,t,o,a)}var Oc=Wl(gt),Rc=Wl(Wt);function N1(e,t,o){var a=_e(e),f=a||Ur(e)||Yi(e);if(t=ue(t,4),o==null){var h=e&&e.constructor;f?o=a?new h:[]:je(e)?o=pr(h)?Gi(hs(e)):{}:o={}}return(f?rn:Hn)(e,function(m,b,$){return t(o,m,b,$)}),o}function D1(e,t){return e==null?!0:Ja(e,t)}function F1(e,t,o){return e==null?e:El(e,t,nu(o))}function k1(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:El(e,t,nu(o),a)}function Qi(e){return e==null?[]:Ma(e,gt(e))}function U1(e){return e==null?[]:Ma(e,Wt(e))}function B1(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=ln(o),o=o===o?o:0),t!==i&&(t=ln(t),t=t===t?t:0),gi(ln(e),t,o)}function H1(e,t,o){return t=gr(t),o===i?(o=t,t=0):o=gr(o),e=ln(e),Vg(e,t,o)}function W1(e,t,o){if(o&&typeof o!="boolean"&&Lt(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=gr(e),t===i?(t=e,e=0):t=gr(t)),e>t){var a=e;e=t,t=a}if(o||e%1||t%1){var f=tl();return Et(e+f*(t-e+De("1e-"+((f+"").length-1))),t)}return Qa(e,t)}var z1=Vi(function(e,t,o){return t=t.toLowerCase(),e+(o?Lc(t):t)});function Lc(e){return Tu(ke(e).toLowerCase())}function Ic(e){return e=ke(e),e&&e.replace(en,Ip).replace(Or,"")}function K1(e,t,o){e=ke(e),t=Yt(t);var a=e.length;o=o===i?a:gi(Te(o),0,a);var f=o;return o-=t.length,o>=0&&e.slice(o,f)==t}function G1(e){return e=ke(e),e&&er.test(e)?e.replace(Ei,Mp):e}function q1(e){return e=ke(e),e&&_o.test(e)?e.replace(jr,"\\$&"):e}var V1=Vi(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),j1=Vi(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),Y1=Dl("toLowerCase");function Q1(e,t,o){e=ke(e),t=Te(t);var a=t?Bi(e):0;if(!t||a>=t)return e;var f=(t-a)/2;return Os(vs(f),o)+e+Os(ms(f),o)}function Z1(e,t,o){e=ke(e),t=Te(t);var a=t?Bi(e):0;return t&&a<t?e+Os(t-a,o):e}function X1(e,t,o){e=ke(e),t=Te(t);var a=t?Bi(e):0;return t&&a<t?Os(t-a,o)+e:e}function J1(e,t,o){return o||t==null?t=0:t&&(t=+t),sg(ke(e).replace(Yr,""),t||0)}function eb(e,t,o){return(o?Lt(e,t,o):t===i)?t=1:t=Te(t),Za(ke(e),t)}function tb(){var e=arguments,t=ke(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var nb=Vi(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function rb(e,t,o){return o&&typeof o!="number"&&Lt(e,t,o)&&(t=o=i),o=o===i?Ye:o>>>0,o?(e=ke(e),e&&(typeof t=="string"||t!=null&&!yu(t))&&(t=Yt(t),!t&&Ui(e))?kr(Pn(e),0,o):e.split(t,o)):[]}var ib=Vi(function(e,t,o){return e+(o?" ":"")+Tu(t)});function ob(e,t,o){return e=ke(e),o=o==null?0:gi(Te(o),0,e.length),t=Yt(t),e.slice(o,o+t.length)==t}function sb(e,t,o){var a=c.templateSettings;o&&Lt(e,t,o)&&(t=i),e=ke(e),t=Ws({},t,a,zl);var f=Ws({},t.imports,a.imports,zl),h=gt(f),m=Ma(f,h),b,$,I=0,M=t.interpolate||ze,k="__p += '",j=Da((t.escape||ze).source+"|"+M.source+"|"+(M===dt?xo:ze).source+"|"+(t.evaluate||ze).source+"|$","g"),ne="//# sourceURL="+(We.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Di+"]")+`
|
|
13
|
+
`;e.replace(j,function(ce,Ce,Re,Zt,It,Xt){return Re||(Re=Zt),k+=e.slice(I,Xt).replace(rr,Np),Ce&&(b=!0,k+=`' +
|
|
14
|
+
__e(`+Ce+`) +
|
|
15
|
+
'`),It&&($=!0,k+=`';
|
|
16
|
+
`+It+`;
|
|
17
|
+
__p += '`),Re&&(k+=`' +
|
|
18
|
+
((__t = (`+Re+`)) == null ? '' : __t) +
|
|
19
|
+
'`),I=Xt+ce.length,ce}),k+=`';
|
|
20
|
+
`;var le=We.call(t,"variable")&&t.variable;if(!le)k=`with (obj) {
|
|
21
|
+
`+k+`
|
|
22
|
+
}
|
|
23
|
+
`;else if(Xr.test(le))throw new ge(g);k=($?k.replace(bo,""):k).replace(vn,"$1").replace(Xn,"$1;"),k="function("+(le||"obj")+`) {
|
|
24
|
+
`+(le?"":`obj || (obj = {});
|
|
25
|
+
`)+"var __t, __p = ''"+(b?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
|
26
|
+
function print() { __p += __j.call(arguments, '') }
|
|
27
|
+
`:`;
|
|
28
|
+
`)+k+`return __p
|
|
29
|
+
}`;var Ee=Nc(function(){return Ne(h,ne+"return "+k).apply(i,m)});if(Ee.source=k,_u(Ee))throw Ee;return Ee}function ab(e){return ke(e).toLowerCase()}function ub(e){return ke(e).toUpperCase()}function fb(e,t,o){if(e=ke(e),e&&(o||t===i))return Kf(e);if(!e||!(t=Yt(t)))return e;var a=Pn(e),f=Pn(t),h=Gf(a,f),m=qf(a,f)+1;return kr(a,h,m).join("")}function lb(e,t,o){if(e=ke(e),e&&(o||t===i))return e.slice(0,jf(e)+1);if(!e||!(t=Yt(t)))return e;var a=Pn(e),f=qf(a,Pn(t))+1;return kr(a,0,f).join("")}function cb(e,t,o){if(e=ke(e),e&&(o||t===i))return e.replace(Yr,"");if(!e||!(t=Yt(t)))return e;var a=Pn(e),f=Gf(a,Pn(t));return kr(a,f).join("")}function db(e,t){var o=we,a=Z;if(je(t)){var f="separator"in t?t.separator:f;o="length"in t?Te(t.length):o,a="omission"in t?Yt(t.omission):a}e=ke(e);var h=e.length;if(Ui(e)){var m=Pn(e);h=m.length}if(o>=h)return e;var b=o-Bi(a);if(b<1)return a;var $=m?kr(m,0,b).join(""):e.slice(0,b);if(f===i)return $+a;if(m&&(b+=$.length-b),yu(f)){if(e.slice(b).search(f)){var I,M=$;for(f.global||(f=Da(f.source,ke(Ft.exec(f))+"g")),f.lastIndex=0;I=f.exec(M);)var k=I.index;$=$.slice(0,k===i?b:k)}}else if(e.indexOf(Yt(f),b)!=b){var j=$.lastIndexOf(f);j>-1&&($=$.slice(0,j))}return $+a}function hb(e){return e=ke(e),e&&qr.test(e)?e.replace(Jn,Wp):e}var pb=Vi(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Tu=Dl("toUpperCase");function Mc(e,t,o){return e=ke(e),t=o?i:t,t===i?Fp(e)?Gp(e):Sp(e):e.match(t)||[]}var Nc=Pe(function(e,t){try{return pt(e,i,t)}catch(o){return _u(o)?o:new ge(o)}}),gb=dr(function(e,t){return rn(t,function(o){o=zn(o),lr(e,o,vu(e[o],e))}),e});function mb(e){var t=e==null?0:e.length,o=ue();return e=t?qe(e,function(a){if(typeof a[1]!="function")throw new on(d);return[o(a[0]),a[1]]}):[],Pe(function(a){for(var f=-1;++f<t;){var h=e[f];if(pt(h[0],this,a))return pt(h[1],this,a)}})}function vb(e){return Wg(an(e,L))}function $u(e){return function(){return e}}function bb(e,t){return e==null||e!==e?t:e}var _b=kl(),yb=kl(!0);function zt(e){return e}function Eu(e){return pl(typeof e=="function"?e:an(e,L))}function xb(e){return ml(an(e,L))}function wb(e,t){return vl(e,an(t,L))}var Tb=Pe(function(e,t){return function(o){return Oo(o,e,t)}}),$b=Pe(function(e,t){return function(o){return Oo(e,o,t)}});function Pu(e,t,o){var a=gt(t),f=Ts(t,a);o==null&&!(je(t)&&(f.length||!a.length))&&(o=t,t=e,e=this,f=Ts(t,gt(t)));var h=!(je(o)&&"chain"in o)||!!o.chain,m=pr(e);return rn(f,function(b){var $=t[b];e[b]=$,m&&(e.prototype[b]=function(){var I=this.__chain__;if(h||I){var M=e(this.__wrapped__),k=M.__actions__=Bt(this.__actions__);return k.push({func:$,args:arguments,thisArg:e}),M.__chain__=I,M}return $.apply(e,Lr([this.value()],arguments))})}),e}function Eb(){return O._===this&&(O._=Zp),this}function Au(){}function Pb(e){return e=Te(e),Pe(function(t){return bl(t,e)})}var Ab=iu(qe),Sb=iu(Uf),Cb=iu(Ca);function Dc(e){return cu(e)?Oa(zn(e)):om(e)}function Ob(e){return function(t){return e==null?i:mi(e,t)}}var Rb=Bl(),Lb=Bl(!0);function Su(){return[]}function Cu(){return!1}function Ib(){return{}}function Mb(){return""}function Nb(){return!0}function Db(e,t){if(e=Te(e),e<1||e>ve)return[];var o=Ye,a=Et(e,Ye);t=ue(t),e-=Ye;for(var f=Ia(a,t);++o<e;)t(o);return f}function Fb(e){return _e(e)?qe(e,zn):Qt(e)?[e]:Bt(nc(ke(e)))}function kb(e){var t=++Yp;return ke(e)+t}var Ub=Cs(function(e,t){return e+t},0),Bb=ou("ceil"),Hb=Cs(function(e,t){return e/t},1),Wb=ou("floor");function zb(e){return e&&e.length?ws(e,zt,Ka):i}function Kb(e,t){return e&&e.length?ws(e,ue(t,2),Ka):i}function Gb(e){return Wf(e,zt)}function qb(e,t){return Wf(e,ue(t,2))}function Vb(e){return e&&e.length?ws(e,zt,ja):i}function jb(e,t){return e&&e.length?ws(e,ue(t,2),ja):i}var Yb=Cs(function(e,t){return e*t},1),Qb=ou("round"),Zb=Cs(function(e,t){return e-t},0);function Xb(e){return e&&e.length?La(e,zt):0}function Jb(e,t){return e&&e.length?La(e,ue(t,2)):0}return c.after=xv,c.ary=hc,c.assign=u1,c.assignIn=Ac,c.assignInWith=Ws,c.assignWith=f1,c.at=l1,c.before=pc,c.bind=vu,c.bindAll=gb,c.bindKey=gc,c.castArray=Iv,c.chain=lc,c.chunk=Wm,c.compact=zm,c.concat=Km,c.cond=mb,c.conforms=vb,c.constant=$u,c.countBy=X0,c.create=c1,c.curry=mc,c.curryRight=vc,c.debounce=bc,c.defaults=d1,c.defaultsDeep=h1,c.defer=wv,c.delay=Tv,c.difference=Gm,c.differenceBy=qm,c.differenceWith=Vm,c.drop=jm,c.dropRight=Ym,c.dropRightWhile=Qm,c.dropWhile=Zm,c.fill=Xm,c.filter=ev,c.flatMap=rv,c.flatMapDeep=iv,c.flatMapDepth=ov,c.flatten=sc,c.flattenDeep=Jm,c.flattenDepth=e0,c.flip=$v,c.flow=_b,c.flowRight=yb,c.fromPairs=t0,c.functions=y1,c.functionsIn=x1,c.groupBy=sv,c.initial=r0,c.intersection=i0,c.intersectionBy=o0,c.intersectionWith=s0,c.invert=T1,c.invertBy=$1,c.invokeMap=uv,c.iteratee=Eu,c.keyBy=fv,c.keys=gt,c.keysIn=Wt,c.map=Ds,c.mapKeys=P1,c.mapValues=A1,c.matches=xb,c.matchesProperty=wb,c.memoize=ks,c.merge=S1,c.mergeWith=Sc,c.method=Tb,c.methodOf=$b,c.mixin=Pu,c.negate=Us,c.nthArg=Pb,c.omit=C1,c.omitBy=O1,c.once=Ev,c.orderBy=lv,c.over=Ab,c.overArgs=Pv,c.overEvery=Sb,c.overSome=Cb,c.partial=bu,c.partialRight=_c,c.partition=cv,c.pick=R1,c.pickBy=Cc,c.property=Dc,c.propertyOf=Ob,c.pull=l0,c.pullAll=uc,c.pullAllBy=c0,c.pullAllWith=d0,c.pullAt=h0,c.range=Rb,c.rangeRight=Lb,c.rearg=Av,c.reject=pv,c.remove=p0,c.rest=Sv,c.reverse=gu,c.sampleSize=mv,c.set=I1,c.setWith=M1,c.shuffle=vv,c.slice=g0,c.sortBy=yv,c.sortedUniq=w0,c.sortedUniqBy=T0,c.split=rb,c.spread=Cv,c.tail=$0,c.take=E0,c.takeRight=P0,c.takeRightWhile=A0,c.takeWhile=S0,c.tap=z0,c.throttle=Ov,c.thru=Ns,c.toArray=$c,c.toPairs=Oc,c.toPairsIn=Rc,c.toPath=Fb,c.toPlainObject=Pc,c.transform=N1,c.unary=Rv,c.union=C0,c.unionBy=O0,c.unionWith=R0,c.uniq=L0,c.uniqBy=I0,c.uniqWith=M0,c.unset=D1,c.unzip=mu,c.unzipWith=fc,c.update=F1,c.updateWith=k1,c.values=Qi,c.valuesIn=U1,c.without=N0,c.words=Mc,c.wrap=Lv,c.xor=D0,c.xorBy=F0,c.xorWith=k0,c.zip=U0,c.zipObject=B0,c.zipObjectDeep=H0,c.zipWith=W0,c.entries=Oc,c.entriesIn=Rc,c.extend=Ac,c.extendWith=Ws,Pu(c,c),c.add=Ub,c.attempt=Nc,c.camelCase=z1,c.capitalize=Lc,c.ceil=Bb,c.clamp=B1,c.clone=Mv,c.cloneDeep=Dv,c.cloneDeepWith=Fv,c.cloneWith=Nv,c.conformsTo=kv,c.deburr=Ic,c.defaultTo=bb,c.divide=Hb,c.endsWith=K1,c.eq=Sn,c.escape=G1,c.escapeRegExp=q1,c.every=J0,c.find=tv,c.findIndex=ic,c.findKey=p1,c.findLast=nv,c.findLastIndex=oc,c.findLastKey=g1,c.floor=Wb,c.forEach=cc,c.forEachRight=dc,c.forIn=m1,c.forInRight=v1,c.forOwn=b1,c.forOwnRight=_1,c.get=xu,c.gt=Uv,c.gte=Bv,c.has=w1,c.hasIn=wu,c.head=ac,c.identity=zt,c.includes=av,c.indexOf=n0,c.inRange=H1,c.invoke=E1,c.isArguments=_i,c.isArray=_e,c.isArrayBuffer=Hv,c.isArrayLike=Ht,c.isArrayLikeObject=et,c.isBoolean=Wv,c.isBuffer=Ur,c.isDate=zv,c.isElement=Kv,c.isEmpty=Gv,c.isEqual=qv,c.isEqualWith=Vv,c.isError=_u,c.isFinite=jv,c.isFunction=pr,c.isInteger=yc,c.isLength=Bs,c.isMap=xc,c.isMatch=Yv,c.isMatchWith=Qv,c.isNaN=Zv,c.isNative=Xv,c.isNil=e1,c.isNull=Jv,c.isNumber=wc,c.isObject=je,c.isObjectLike=Je,c.isPlainObject=Do,c.isRegExp=yu,c.isSafeInteger=t1,c.isSet=Tc,c.isString=Hs,c.isSymbol=Qt,c.isTypedArray=Yi,c.isUndefined=n1,c.isWeakMap=r1,c.isWeakSet=i1,c.join=a0,c.kebabCase=V1,c.last=fn,c.lastIndexOf=u0,c.lowerCase=j1,c.lowerFirst=Y1,c.lt=o1,c.lte=s1,c.max=zb,c.maxBy=Kb,c.mean=Gb,c.meanBy=qb,c.min=Vb,c.minBy=jb,c.stubArray=Su,c.stubFalse=Cu,c.stubObject=Ib,c.stubString=Mb,c.stubTrue=Nb,c.multiply=Yb,c.nth=f0,c.noConflict=Eb,c.noop=Au,c.now=Fs,c.pad=Q1,c.padEnd=Z1,c.padStart=X1,c.parseInt=J1,c.random=W1,c.reduce=dv,c.reduceRight=hv,c.repeat=eb,c.replace=tb,c.result=L1,c.round=Qb,c.runInContext=w,c.sample=gv,c.size=bv,c.snakeCase=nb,c.some=_v,c.sortedIndex=m0,c.sortedIndexBy=v0,c.sortedIndexOf=b0,c.sortedLastIndex=_0,c.sortedLastIndexBy=y0,c.sortedLastIndexOf=x0,c.startCase=ib,c.startsWith=ob,c.subtract=Zb,c.sum=Xb,c.sumBy=Jb,c.template=sb,c.times=Db,c.toFinite=gr,c.toInteger=Te,c.toLength=Ec,c.toLower=ab,c.toNumber=ln,c.toSafeInteger=a1,c.toString=ke,c.toUpper=ub,c.trim=fb,c.trimEnd=lb,c.trimStart=cb,c.truncate=db,c.unescape=hb,c.uniqueId=kb,c.upperCase=pb,c.upperFirst=Tu,c.each=cc,c.eachRight=dc,c.first=ac,Pu(c,function(){var e={};return Hn(c,function(t,o){We.call(c.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),c.VERSION=s,rn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){c[e].placeholder=c}),rn(["drop","take"],function(e,t){Oe.prototype[e]=function(o){o=o===i?1:ct(Te(o),0);var a=this.__filtered__&&!t?new Oe(this):this.clone();return a.__filtered__?a.__takeCount__=Et(o,a.__takeCount__):a.__views__.push({size:Et(o,Ye),type:e+(a.__dir__<0?"Right":"")}),a},Oe.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),rn(["filter","map","takeWhile"],function(e,t){var o=t+1,a=o==F||o==Ae;Oe.prototype[e]=function(f){var h=this.clone();return h.__iteratees__.push({iteratee:ue(f,3),type:o}),h.__filtered__=h.__filtered__||a,h}}),rn(["head","last"],function(e,t){var o="take"+(t?"Right":"");Oe.prototype[e]=function(){return this[o](1).value()[0]}}),rn(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Oe.prototype[e]=function(){return this.__filtered__?new Oe(this):this[o](1)}}),Oe.prototype.compact=function(){return this.filter(zt)},Oe.prototype.find=function(e){return this.filter(e).head()},Oe.prototype.findLast=function(e){return this.reverse().find(e)},Oe.prototype.invokeMap=Pe(function(e,t){return typeof e=="function"?new Oe(this):this.map(function(o){return Oo(o,e,t)})}),Oe.prototype.reject=function(e){return this.filter(Us(ue(e)))},Oe.prototype.slice=function(e,t){e=Te(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Oe(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=Te(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Oe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Oe.prototype.toArray=function(){return this.take(Ye)},Hn(Oe.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),f=c[a?"take"+(t=="last"?"Right":""):t],h=a||/^find/.test(t);f&&(c.prototype[t]=function(){var m=this.__wrapped__,b=a?[1]:arguments,$=m instanceof Oe,I=b[0],M=$||_e(m),k=function(Ce){var Re=f.apply(c,Lr([Ce],b));return a&&j?Re[0]:Re};M&&o&&typeof I=="function"&&I.length!=1&&($=M=!1);var j=this.__chain__,ne=!!this.__actions__.length,le=h&&!j,Ee=$&&!ne;if(!h&&M){m=Ee?m:new Oe(this);var ce=e.apply(m,b);return ce.__actions__.push({func:Ns,args:[k],thisArg:i}),new sn(ce,j)}return le&&Ee?e.apply(this,b):(ce=this.thru(k),le?a?ce.value()[0]:ce.value():ce)})}),rn(["pop","push","shift","sort","splice","unshift"],function(e){var t=as[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);c.prototype[e]=function(){var f=arguments;if(a&&!this.__chain__){var h=this.value();return t.apply(_e(h)?h:[],f)}return this[o](function(m){return t.apply(_e(m)?m:[],f)})}}),Hn(Oe.prototype,function(e,t){var o=c[t];if(o){var a=o.name+"";We.call(Ki,a)||(Ki[a]=[]),Ki[a].push({name:t,func:o})}}),Ki[Ss(i,K).name]=[{name:"wrapper",func:i}],Oe.prototype.clone=hg,Oe.prototype.reverse=pg,Oe.prototype.value=gg,c.prototype.at=K0,c.prototype.chain=G0,c.prototype.commit=q0,c.prototype.next=V0,c.prototype.plant=Y0,c.prototype.reverse=Q0,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=Z0,c.prototype.first=c.prototype.head,To&&(c.prototype[To]=j0),c},Hi=qp();ae?((ae.exports=Hi)._=Hi,U._=Hi):O._=Hi}).call(Gn)})(pa,pa.exports);var iT=pa.exports;const oT=n=>{const{as:r="time",date:i,tokens:s,customTheme:u,dateFormatterOptions:l={month:"long",day:"numeric",year:"numeric"},themeName:d="typography",...g}=n,v=ga(),y=new Date(i),L=Sy(l).format(y),C=mt(d,s,u);return v||iT.isEmpty(L)?null:X.jsx(r,{...g,dateTime:y.toISOString(),className:C,children:L})},Ea=(n,r,i="sharing_tool")=>`?utm_source=${n}&utm_medium=${r}&utm_campaign=${i}`,Pa=()=>{const[n,r]=E.useState(),[i,s]=E.useState();return E.useEffect(()=>{r(window.location.href),s(window.document.title)},[]),{windowLocation:n,windowTitle:i}},sT=(n,r,i)=>{const{windowLocation:s,windowTitle:u}=Pa(),l=i??s,d=Ea(n,r);return`https://www.facebook.com/sharer.php?u=${`${l}${d}`}&t=${u}`},aT=(n,r,i)=>{const{windowLocation:s,windowTitle:u}=Pa(),l=i??s,d=Ea(n,r),g=`${l}${d}`;return`mailto:?to=&body=${u}%20${g}`},uT=(n,r,i)=>{const{windowLocation:s}=Pa(),u=i??s,l=Ea(n,r);return`https://twitter.com/intent/tweet?text=${`${u}${l}`}`};exports.Accordion=ox;exports.ArrowRight=wp;exports.Button=ma;exports.DateComponent=oT;exports.IconDispatcher=ts;exports.Lightbox=Yw;exports.PopoverButton=Zw;exports.ShareButton=ax;exports.ThemeContextProvider=Id;exports.Typography=Md;exports.WysiwygBlock=eT;exports.createThemeProvider=s_;exports.generateUtmTags=Ea;exports.index=jw;exports.isEqual=xp;exports.makeTheme=n_;exports.useFacebookShareUrl=sT;exports.useMailToShareUrl=aT;exports.useTheme=Ld;exports.useThemeContext=mt;exports.useTwitterShareUrl=uT;exports.useWindow=Pa;
|