1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7e3a4900-d90e-49c6-ba8c-7b598721e787",e._sentryDebugIdIdentifier="sentry-dbid-7e3a4900-d90e-49c6-ba8c-7b598721e787")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5778],{175:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});let i=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(e){if("string"!=typeof e||e.includes("-"));else if(i.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},330:(e,t,n)=>{"use strict";n.d(t,{MobileMenuContainer:()=>m});var i=n(95155),r=n(12115),l=n(45299),s=n(43646),a=n(16242),o=n(36545),u=n(63984),d=n(76521),c={mobileOptions:"_z_NCET1V",bottomOverlay:"_hwYuLwYA",optionsOverlay:"_FB6ZlzoQ",optionsContent:"_RAeT4I-x",optionsHeader:"_wren6mKg",title:"_HqYeUi2c",optionsBody:"_fdyxJyJK",closeButton:"_JRhdZMCJ",floating_overlay:"_maB16t2Y"};let h=[.36,.66,.04,1],p={close:{transition:{duration:.3,ease:h},y:"100%"},open:{transition:{duration:.4,ease:h},y:0}},f={close:{opacity:0,transition:{duration:.3,ease:h}},open:{opacity:1,transition:{duration:.4,ease:h}}},m=e=>{let{onCloseEvent:t,children:n,mobileTitle:h,withoutPortal:m,classNames:g}=e,v=(0,r.useRef)(null),b=(0,a.m)();return(e=>m?(0,i.jsx)(l.zR,{lockScroll:!0,className:c.floating_overlay,children:e}):(0,i.jsx)(l.XF,{children:(0,i.jsx)(l.zR,{lockScroll:!0,className:c.floating_overlay,children:e})}))((0,i.jsxs)("div",{className:(0,s.$)(c.mobileOptions,null==g?void 0:g.mobileOptions),children:[(0,i.jsx)(o.P.div,{animate:"open",className:(0,s.$)(c.optionsOverlay,null==g?void 0:g.optionsOverlay),exit:"close",initial:"close",variants:f,onClick:t}),(0,i.jsx)(o.P.div,{ref:v,animate:"open",className:(0,s.$)(c.backgroundDrag,null==g?void 0:g.backgroundDrag),exit:"close",initial:"close",variants:p}),(0,i.jsxs)(o.P.div,{animate:"open",className:(0,s.$)(c.optionsContent,null==g?void 0:g.optionsContent),drag:"y",dragConstraints:{bottom:0,top:0},dragControls:b,dragElastic:{bottom:.5,top:0},dragListener:!1,exit:"close",initial:"close",variants:p,onDrag:(e,t)=>{v.current&&(v.current.style.visibility=t.offset.y>0?"hidden":"visible")},onDragEnd:(e,n)=>{n.offset.y>100&&(null==t||t())},children:[(0,i.jsxs)(o.P.div,{style:{touchAction:"none"},className:(0,s.$)(c.optionsHeader,"dropdown_disableClose",null==g?void 0:g.optionsHeader),onPointerDown:e=>b.start(e),children:[h&&(0,i.jsx)(u.A,{as:"span",className:(0,s.$)(c.title,null==g?void 0:g.title),variant:"system_h3",children:h}),(0,i.jsx)("button",{className:(0,s.$)(c.closeButton,null==g?void 0:g.closeButton),onClick:t,children:(0,i.jsx)(d.A,{})})]}),(0,i.jsx)("div",{className:(0,s.$)(c.optionsBody,"dropdown_disableClose",null==g?void 0:g.optionsBody),children:n}),(0,i.jsx)("div",{className:(0,s.$)(c.bottomOverlay,null==g?void 0:g.bottomOverlay)})]})]}))}},567:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});let i=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},2216:(e,t,n)=>{"use strict";n.d(t,{ProgressBar:()=>h});var i=n(95155),r=n(12115),l=n(43646);n(89257),n(42605),n(15341),n(5733);var s=n(5008);let a=e=>{let{RootComponent:t,children:n,rootMargin:l,threshold:a,intersectionHandler:o}=e,u=(0,r.useMemo)(()=>({root:null,rootMargin:null!=l?l:"0.5px",threshold:null!=a?a:.5}),[l,a]),d=(0,s.useIntersectionObserver)(o,u);return(0,i.jsx)(t,{ref:d,children:n})};var o=n(57528),u=n(7951),d={progress__wrapper:"_TBjamGQY",linear:"_kdj2ETUT",linear_bottom:"_f1GQdGBc"};let c={big:{labelPosition:"center",size:214,strokeWidth:10},small:{labelPosition:"right",size:44,strokeWidth:5}},h=e=>{let{variant:t="circular",linearProps:n,progress:s,circularProps:h,customLabel:p,percentLabel:f=!1}=e,[m,g]=(0,r.useState)(0),v=(0,r.useCallback)(e=>{let[t]=e;t.isIntersecting&&0===m&&g(s)},[m,s]);return(0,r.useEffect)(()=>{g(s)},[s]),(0,i.jsx)(a,{intersectionHandler:v,RootComponent:(0,r.forwardRef)((e,r)=>{var s,a,g,v,b;return(0,i.jsx)("div",{ref:r,className:(0,l.$)(d.progress__wrapper,{[d.linear]:"linear"===t,[d.linear_bottom]:(null==n?void 0:n.labelPosition)&&"linear"===t}),children:"circular"===t?(0,i.jsx)(o.A,{customLabel:p,percentLabel:f,progress:m,size:null==c||null==(s=c[null!=(a=null==h?void 0:h.size)?a:"small"])?void 0:s.size,labelPosition:c[null!=(g=null==h?void 0:h.size)?g:"small"].labelPosition,strokeWidth:c[null!=(v=null==h?void 0:h.size)?v:"small"].strokeWidth}):(0,i.jsx)(u.A,{customLabel:p,leftLabel:null==n?void 0:n.leftLabel,percentLabel:f,progress:m,strokeWidth:null!=(b=null==n?void 0:n.strokeWidth)?b:8})})})})}},2217:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var i=n(82897),r=n(23492);let l={...n(89976).W,color:i.y,backgroundColor:i.y,outlineColor:i.y,fill:i.y,stroke:i.y,borderColor:i.y,borderTopColor:i.y,borderRightColor:i.y,borderBottomColor:i.y,borderLeftColor:i.y,filter:r.p,WebkitFilter:r.p},s=e=>l[e]},2252:()=>{},2735:(e,t,n)=>{"use strict";function i(e){let t=[{},{}];
1return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function r(e,t,n,r){if("function"==typeof t){let[l,s]=i(r);t=t(void 0!==n?n:e.custom,l,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[l,s]=i(r);t=t(void 0!==n?n:e.custom,l,s)}return t}n.d(t,{a:()=>r})},2986:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,w:()=>r});let i=(e,t)=>Math.abs(e-t);function r(e,t){return Math.sqrt(i(e.x,t.x)**2+i(e.y,t.y)**2)}},2999:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=(0,n(12115).createContext)({})},3326:(e,t,n)=>{"use strict";n.d(t,{default:()=>g});var i,r,l=n(95155),s=n(12115),a=n(43646),o=n(8959),u=n(24545),d=n(63984);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var h=function(e){return s.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),i||(i=s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M17.084 4.51a1 1 0 0 1 0 1.415L7.519 15.49a1 1 0 0 1-1.414 0L2.916 12.3a1 1 0 1 1 1.414-1.414l2.482 2.481L15.67 4.51a1 1 0 0 1 1.414 0",clipRule:"evenodd"})))};function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var f=function(e){return s.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=s.createElement("path",{fill:"currentColor",d:"M12 3.5c0-.828.675-1.512 1.494-1.388a10 10 0 1 1-11.36 8.254c.136-.817.994-1.249 1.782-.993s1.201 1.105 1.119 1.93a7 7 0 1 0 8.454-6.143C12.679 4.984 12 4.328 12 3.5"},s.createElement("animateTransform",{attributeName:"transform",attributeType:"xml",dur:"0.5s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"}))))},m={selector:"_KbO6ZWGy",selector__search:"_xuOAv2wq",selector__list:"_aO9-tod2",selector__not_found:"_rNa7BWWg",selector__loading:"_HQPt60v1",item:"_CGn3d6JG",check_icon:"_m3a_ayLl",ref__item:"_Q7Czy91S"};let g=e=>{let{items:t,renderItem:n,setSearchValue:i,searchPlaceHolder:r,isLoading:c,className:p,maxHeight:g,width:v,classNameItemsList:b,selectedItem:y,searchValue:w="",notFoundText:x,callbackRef:_,searchMaxLength:S=64,noMobileContainer:C=!1,translations:E,classNameSearch:P,loadingSkeletons:T,onboarding_id:M}=e,[k,R]=(0,s.useState)(!1),A=(0,o.useMediaQuery)("tabletS"),L=e=>{A&&!C&&R(e)};return(0,l.jsxs)("div",{className:(0,a.$)(m.selector,p),"data-onboarding-id":M,style:{maxHeight:g?"".concat(g):"100vh",minHeight:k?"50vh":"auto",width:v?"".concat(v,"px"):"100%"},children:[i&&(0,l.jsx)("div",{className:(0,a.$)(m.selector__search,P),children:(0,l.jsx)(u.default,{maxLength:S,placeholder:null!=r?r:E.searchDefault,searchValue:w,setSearchValue:i,onBlur:()=>L(!1),onFocus:()=>L(!0)})}),(0,l.jsx)("div",{className:(0,a.$)(m.selector__list,b),children:c?T||(0,l.jsx)("div",{className:m.selector__loading,children:(0,l.jsx)(f,{})}):(null==t?void 0:t.length)?t.map((e,t)=>(0,l.jsxs)("div",{className:m.item,children:[n(e,t),JSON.stringify(e)===JSON.stringify(y)?(0,l.jsx)(h,{className:m.check_icon}):null]},"item-".concat(t+1))):(0,l.jsx)("div",{className:m.selector__not_found,children:(0,l.jsx)(d.A,{as:"p",fontWeight:400,variant:"system_h4",children:null!=x?x:E.notFoundDefault})})}),_&&(0,l.jsx)("div",{ref:_,className:m.ref__item})]})}},3870:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});let i=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},3886:(e,t,n)=>{"use strict";n.d(t,{$:()=>r,q:()=>l});var i=n(30234);let r=(e,t)=>n=>!!((0,i.Kg)(n)&&i.Fl.test(n)&&n.startsWith(e)||t&&!(0,i.uy)(n)&&Object.prototype.hasOwnProperty.call(n,t)),l=(e,t,n)=>r=>{if(!(0,i.Kg)(r))return r;let[l,s,a,o]=r.match(i.SY);return{[e]:parseFloat(l),[t]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}}},4781:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var i=n(25099),r=n(59779),l=n(14570);function s(e,t,n){let s=(0,l.S)(e)?e:(0,r.OQ)(e);return s.start((0,i.f)("",s,t,n)),s.animation}},5008:(e,t,n)=>{"use strict";n.d(t,{useIntersectionObserver:()=>l});var i=n(12115);
1let r={root:"undefined"==typeof document?null:document,rootMargin:"0px",threshold:.5},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,[n,l]=(0,i.useState)(null),s=(0,i.useMemo)(()=>"undefined"==typeof document?{observe:()=>{},unobserve(){}}:new IntersectionObserver(e,t),[e,t]);if((0,i.useEffect)(()=>{if(n)return s.observe(n),()=>{n&&s.unobserve(n)}},[n,s]),"undefined"!=typeof document)return l}},5733:(e,t,n)=>{"use strict";n(95155);var i=n(12115);i.Component,i.Component},5910:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});let i=e=>Array.isArray(e)},6082:(e,t,n)=>{"use strict";n.d(t,{yL:()=>r,TU:()=>o});let i=e=>Array.isArray(e)&&"number"==typeof e[0];function r(e){return!!(!e||"string"==typeof e&&e in s||i(e)||Array.isArray(e)&&e.every(r))}let l=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,s={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:l([0,.65,.55,1]),circOut:l([.55,0,1,.45]),backIn:l([.31,.01,.66,-.59]),backOut:l([.33,1.53,.69,.99])};function a(e){return o(e)||s.easeOut}function o(e){if(e)return i(e)?l(e):Array.isArray(e)?e.map(a):s[e]}},6220:(e,t,n)=>{"use strict";n.d(t,{aU:()=>a,pX:()=>s});var i=n(67670),r=n(77782),l=n(70071);function s({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let o,u;(0,i.$)(e<=(0,l.f)(10),"Spring duration must be 10 seconds or less");let d=1-t;d=(0,r.q)(.05,1,d),e=(0,r.q)(.01,10,(0,l.X)(e)),d<1?(o=t=>{let i=t*d,r=i*e;return .001-(i-n)/a(t,d)*Math.exp(-r)},u=t=>{let i=t*d*e,r=Math.pow(d,2)*Math.pow(t,2)*e,l=Math.exp(-i),s=a(Math.pow(t,2),d);return(i*n+n-r)*l*(-o(t)+.001>0?-1:1)/s}):(o=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),u=t=>e*e*(n-t)*Math.exp(-t*e));let c=function(e,t,n){let i=n;for(let n=1;n<12;n++)i-=e(i)/t(i);return i}(o,u,5/e);if(e=(0,l.f)(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(c,2)*s;return{stiffness:t,damping:2*d*Math.sqrt(s*t),duration:e}}}function a(e,t){return e*Math.sqrt(1-t*t)}},6340:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>i})},6642:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let e in i)r[e]={isEnabled:t=>i[e].some(e=>!!t[e])}},7951:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(95155),r=n(43646),l=n(63984),s={progress__top:"_7VpWk6u0",progress__label:"_HBvC6NLL",progress__bar:"_jWHN6tFe",bar__active:"_ORBPqF3d"};let a=({progress:e,strokeWidth:t,percentLabel:n,leftLabel:a=null,customLabel:o,barsClassname:u})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:s.progress__top,children:[a??(0,i.jsx)("span",{}),n&&(0,i.jsx)(l.A,{as:"span",className:s.progress__label,fontWeight:400,variant:"system_h4",children:o??`${e}%`})]}),(0,i.jsx)("div",{className:(0,r.$)(s.progress__bar,u),style:{height:t},children:(0,i.jsx)("div",{className:s.bar__active,style:{width:`${e}%`}})})]})},8187:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(12115);function r(e,t){let n;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...i),t)}}function l({debounce:e,scroll:t,polyfill:n,offsetSize:s}={debounce:0,scroll:!1,offsetSize:!1}){var o,u,d;let c=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!c)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[h,p]=(0,i.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),f=(0,i.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:h,orientationHandler:null}),m=e?"number"==typeof e?e:e.scroll:null,g=e?"number"==typeof e?e:e.resize:null,v=(0,i.useRef)(!1);(0,i.useEffect)(()=>(v.current=!0,()=>void(v.current=!1)));let[b,y,w]=(0,i.useMemo)(()=>{let e=()=>{if(!f.current.element)return;let{left:e,top:t,width:n,height:i,bottom:r,right:l,x:o,y:u}=f.current.element.getBoundingClientRect(),d={left:e,top:t,width:n,height:i,bottom:r,right:l,x:o,y:u};f.current.element instanceof HTMLElement&&s&&(d.height=f.current.element.offsetHeight,d.width=f.current.element.offsetWidth),Object.freeze(d),v.current&&!a(f.current.lastBounds,d)&&p(f.current.lastBounds=d)};return[e,g?r(e,g):e,m?r(e,m):e]},[p,s,m,g]);
1function x(){f.current.scrollContainers&&(f.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",w,!0)),f.current.scrollContainers=null),f.current.resizeObserver&&(f.current.resizeObserver.disconnect(),f.current.resizeObserver=null),f.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",f.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",f.current.orientationHandler))}function _(){f.current.element&&(f.current.resizeObserver=new c(w),f.current.resizeObserver.observe(f.current.element),t&&f.current.scrollContainers&&f.current.scrollContainers.forEach(e=>e.addEventListener("scroll",w,{capture:!0,passive:!0})),f.current.orientationHandler=()=>{w()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",f.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",f.current.orientationHandler))}return o=w,u=!!t,(0,i.useEffect)(()=>{if(u)return window.addEventListener("scroll",o,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",o,!0)},[o,u]),d=y,(0,i.useEffect)(()=>(window.addEventListener("resize",d),()=>void window.removeEventListener("resize",d)),[d]),(0,i.useEffect)(()=>{x(),_()},[t,w,y]),(0,i.useEffect)(()=>x,[]),[e=>{e&&e!==f.current.element&&(x(),f.current.element=e,f.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:i,overflowX:r,overflowY:l}=window.getComputedStyle(t);return[i,r,l].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),_())},h,b]}let s=["x","y","top","bottom","left","right","width","height"],a=(e,t)=>s.every(n=>e[n]===t[n])},8959:(e,t,n)=>{"use strict";n.d(t,{useMediaQuery:()=>l});var i=n(12115);let r={laptop:"(max-width: 1024px)",laptopC:"(max-width: 1150px)",laptopL:"(max-width: 1440px)",laptopXL:"(max-width: 2560px)",mobile:"(max-width: 375px)",mobileL:"(max-width: 425px)",tablet:"(max-width: 768px)",tabletL:"(max-width: 920px)",tabletS:"(max-width: 576px)"},l=e=>{let t=r[e],n=(0,i.useCallback)(()=>"undefined"!=typeof window&&window.matchMedia(t).matches,[t]),l=(0,i.useCallback)(e=>((e,t)=>{if("undefined"==typeof window)return()=>{};let n=window.matchMedia(e);return n.addEventListener("change",t),()=>n.removeEventListener("change",t)})(t,e),[t]);return(0,i.useSyncExternalStore)(l,n,()=>!1)}},9480:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(6642);function r(e){for(let t in e)i.B[t]={...i.B[t],...e[t]}}},9532:(e,t,n)=>{"use strict";n.d(t,{default:()=>v});var i=n(95155),r=n(12115),l=n(43646),s=n(77769),a=n(36545),o=n(63984),u=n(96165),d={container:"_i5kI8dBs",icon:"_03fN_JMg"};let c=({error:e,typographyProps:t,classNames:n,icon:r,motionProps:s})=>(0,i.jsxs)(a.P.div,{animate:e?"open":"closed",className:(0,l.$)(d.container,n?.container),initial:!1,transition:{duration:.3},variants:{closed:{height:0,marginTop:0,opacity:0},open:{height:"auto",marginTop:8,opacity:1}},...s,children:[r??(0,i.jsx)(u.A,{className:(0,l.$)(d.icon,n?.icon)}),(0,i.jsx)(o.A,{color:"special_red",fontWeight:400,variant:"system_h5",...t,children:e})]}),h={compact:{label:{fontWeight:600,variant:"system_h5"}},normal:{label:{fontWeight:600,variant:"system_h5"}}};var p={label:"_50b9tJNS",left:"_-7RaDqxG",right:"_cvMrOfdP"};let f=({label:e,variant:t="normal",inputId:n,isRightLabel:r})=>(0,i.jsx)("label",{htmlFor:n,className:(0,l.$)(p.label,{[p.right]:r,[p.left]:!r}),children:"string"==typeof e?(0,i.jsx)(o.A,{fontWeight:h[t].label.fontWeight,variant:h[t].label.variant,children:e}):e});var m={container:"_L4Esrn4S",label_container:"_ZSkSha6k",disabled:"_3NhL-p0O",input:"_GSJPT0BY",input__label:"_LXp8W2ej",input__wrapper:"_kk-QMw2g",input__wrapper_disabled:"_fHjbGSFT",input__wrapper_autosize:"_NuwGFX2d",input__left:"_D8sZi9JT",input__wrapper_normal:"_B8ST0Jxo",input__wrapper_compact:"_oE0nQdUo",input__wrapper_error:"_-URVLLLJ",input__icon:"_4jE-VrgX",input__hint:"_OyuYc0Hh"};let g=(0,r.memo)(e=>{let{children:t}=e;return(0,i.jsx)("div",{className:m.input__icon,children:t})}),v=(0,r.forwardRef)((e,t)=>{let{className:n,onChange:a,label:u,rightLabel:d,variant:h="normal",hintText:p,iconLeft:v,iconRight:b,error:y,disabled:w,tabIndex:x,blockRight:_,autosize:S=!1,autosizeProps:C,trim:E=!1,decimal
1:P,errorProps:T,containerClassName:M,isValid:k=!0,onboarding_id:R,...A}=e,L=(0,r.useId)(),j=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,()=>({blur:()=>{var e;return null==(e=j.current)?void 0:e.blur()},focus:()=>{var e;return null==(e=j.current)?void 0:e.focus()},inputID:L,reportValidity:()=>{var e,t;return null!=(t=null==(e=j.current)?void 0:e.reportValidity())&&t},select:()=>{var e;return null==(e=j.current)?void 0:e.select()},setCustomValidity:e=>{var t;return null==(t=j.current)?void 0:t.setCustomValidity(e)}}),[L,j.current]),(0,r.useEffect)(()=>{var e;A.autoFocus&&(null==(e=j.current)||e.focus())},[A.autoFocus]);let I=e=>{if(E&&(e.target.value=e.target.value.replace(/\s+/g,"")),void 0!==P){let t=e.target.value;t=function(e,t){let n=new RegExp("^-?\\d+(?:\\.\\d{0,".concat(t,"})?")),i=e.match(n);return i?i[0]:e}(t,P),e.target.value=t}null==a||a(e)};return(0,i.jsxs)("div",{className:(0,l.$)(m.container,M),"data-onboarding-id":R,children:[(u||d)&&(0,i.jsxs)("div",{className:(0,l.$)(m.label_container,{[m.disabled]:w}),children:[u&&(0,i.jsx)(f,{inputId:L,label:u,variant:h}),d&&(0,i.jsx)(f,{inputId:L,label:d,variant:h})]}),(0,i.jsxs)("label",{htmlFor:L,tabIndex:x,className:(0,l.$)(m.input__wrapper,m["input__wrapper_".concat(h)],n,{[m.input__wrapper_error]:y||!k,[m.input__wrapper_disabled]:w,[m.input__wrapper_autosize]:S}),children:[(0,i.jsxs)("div",{className:m.input__left,children:[v&&(0,i.jsx)(g,{children:v}),S?(0,i.jsx)(s.default,{disabled:w,id:L,inputClassName:(0,l.$)(null==C?void 0:C.inputClassName,m.input),onChange:I,...A,...C}):(0,i.jsx)("input",{ref:j,className:m.input,disabled:w,id:L,onChange:I,onWheel:e=>{var t;"number"===A.type&&(null==(t=j.current)||t.blur())},...A})]}),b&&(0,i.jsx)(g,{children:b}),_&&_]}),p&&!y&&(0,i.jsx)(o.A,{className:(0,l.$)(m.input__hint),fontWeight:400,variant:"system_h5",children:p}),(0,i.jsx)(c,{error:y,...T})]})})},9533:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,t:()=>r});let i=2e4;function r(e){let t=0,n=e.next(t);for(;!n.done&&t<i;)t+=50,n=e.next(t);return t>=i?1/0:t}},11032:(e,t,n)=>{"use strict";function i(){return{accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function r(e,t){return"function"==typeof e?e(t):e}function l(e,t){return n=>{t.setState(t=>({...t,[e]:r(n,t[e])}))}}function s(e){return e instanceof Function}function a(e,t,n){let i,r=[];return l=>{let s,a;n.key&&n.debug&&(s=Date.now());let o=e(l);if(!(o.length!==r.length||o.some((e,t)=>r[t]!==e)))return i;if(r=o,n.key&&n.debug&&(a=Date.now()),i=t(...o),null==n||null==n.onChange||n.onChange(i),n.key&&n.debug&&null!=n&&n.debug()){let e=Math.round((Date.now()-s)*100)/100,t=Math.round((Date.now()-a)*100)/100,i=t/16,r=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${r(t,5)} /${r(e,5)} ms`,` 2 font-size: .6rem; 3 font-weight: bold; 4 color: hsl(${Math.max(0,Math.min(120-120*i,120))}deg 100% 31%);`,null==n?void 0:n.key)}return i}}function o(e,t,n,i){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:i}}n.d(t,{FB:()=>i,HT:()=>G,ZR:()=>H,h5:()=>U});let u="debugHeaders";function d(e,t,n){var i;let r={id:null!=(i=n.id)?i:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{let e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(r),e},getContext:()=>({table:e,header:r,column:t})};return e._features.forEach(t=>{null==t.createHeader||t.createHeader(r,e)}),r}function c(e,t,n,i){var r,l;let s=0,a=function(e,t){void 0===t&&(t=1),s=Math.max(s,t),e.filter(e=>e.getIsVisible()).forEach(e=>{var n;null!=(n=e.columns)&&n.length&&a(e.columns,t+1)},0)};a(e);let o=[],u=(e,t)=>
4{let r={depth:t,id:[i,`${t}`].filter(Boolean).join("_"),headers:[]},l=[];e.forEach(e=>{let s,a=[...l].reverse()[0],o=e.column.depth===r.depth,u=!1;if(o&&e.column.parent?s=e.column.parent:(s=e.column,u=!0),a&&(null==a?void 0:a.column)===s)a.subHeaders.push(e);else{let r=d(n,s,{id:[i,t,s.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:u,placeholderId:u?`${l.filter(e=>e.column===s).length}`:void 0,depth:t,index:l.length});r.subHeaders.push(e),l.push(r)}r.headers.push(e),e.headerGroup=r}),o.push(r),t>0&&u(l,t-1)};u(t.map((e,t)=>d(n,e,{depth:s,index:t})),s-1),o.reverse();let c=e=>e.filter(e=>e.column.getIsVisible()).map(e=>{let t=0,n=0,i=[0];return e.subHeaders&&e.subHeaders.length?(i=[],c(e.subHeaders).forEach(e=>{let{colSpan:n,rowSpan:r}=e;t+=n,i.push(r)})):t=1,n+=Math.min(...i),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}});return c(null!=(r=null==(l=o[0])?void 0:l.headers)?r:[]),o}let h=(e,t,n,i,r,l,s)=>{let u={id:t,index:i,original:n,depth:r,parentId:s,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(u._valuesCache.hasOwnProperty(t))return u._valuesCache[t];let n=e.getColumn(t);if(null!=n&&n.accessorFn)return u._valuesCache[t]=n.accessorFn(u.original,i),u._valuesCache[t]},getUniqueValues:t=>{if(u._uniqueValuesCache.hasOwnProperty(t))return u._uniqueValuesCache[t];let n=e.getColumn(t);if(null!=n&&n.accessorFn)return n.columnDef.getUniqueValues?u._uniqueValuesCache[t]=n.columnDef.getUniqueValues(u.original,i):u._uniqueValuesCache[t]=[u.getValue(t)],u._uniqueValuesCache[t]},renderValue:t=>{var n;return null!=(n=u.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=l?l:[],getLeafRows:()=>(function(e,t){let n=[],i=e=>{e.forEach(e=>{n.push(e);let r=t(e);null!=r&&r.length&&i(r)})};return i(e),n})(u.subRows,e=>e.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let e=[],t=u;for(;;){let n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:a(()=>[e.getAllLeafColumns()],t=>t.map(t=>(function(e,t,n,i){let r={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(i),renderValue:()=>{var t;return null!=(t=r.getValue())?t:e.options.renderFallbackValue},getContext:a(()=>[e,n,t,r],(e,t,n,i)=>({table:e,column:t,row:n,cell:i,getValue:i.getValue,renderValue:i.renderValue}),o(e.options,"debugCells","cell.getContext"))};return e._features.forEach(i=>{null==i.createCell||i.createCell(r,n,t,e)},{}),r})(e,u,t,t.id)),o(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:a(()=>[u.getAllCells()],e=>e.reduce((e,t)=>(e[t.column.id]=t,e),{}),o(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){let n=e._features[t];null==n||null==n.createRow||n.createRow(u,e)}return u},p=(e,t,n)=>{var i,r;let l=null==n||null==(i=n.toString())?void 0:i.toLowerCase();return!!(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(l))};p.autoRemove=e=>S(e);let f=(e,t,n)=>{var i;return!!(null==(i=e.getValue(t))||null==(i=i.toString())?void 0:i.includes(n))};f.autoRemove=e=>S(e);let m=(e,t,n)=>{var i;return(null==(i=e.getValue(t))||null==(i=i.toString())?void 0:i.toLowerCase())===(null==n?void 0:n.toLowerCase())};m.autoRemove=e=>S(e);let g=(e,t,n)=>{var i;return null==(i=e.getValue(t))?void 0:i.includes(n)};g.autoRemove=e=>S(e);let v=(e,t,n)=>!n.some(n=>{var i;return!(null!=(i=e.getValue(t))&&i.includes(n))});v.autoRemove=e=>S(e)||!(null!=e&&e.length);let b=(e,t,n)=>n.some(n=>{var i;return null==(i=e.getValue(t))?void 0:i.includes(n)});b.autoRemove=e=>S(e)||!(null!=e&&e.length);let y=(e,t,n)=>e.getValue(t)===n;y.autoRemove=e=>S(e);let w=(e,t,n)=>e.getValue(t)==n;w.autoRemove=e=>S(e);let x=(e,t,n)=>{let[i,r]=n,l=e.getValue(t);return l>=i&&l<=r};x.resolveFilterValue=e=>{let[t,n]=e,i="number"!=typeof t?parseFloat(t):t,r="number"!=typeof n?parseFloat(n):n,l=null===t||Number.isNaN(i)?-1/0:i,s=null===n||Number.isNaN(r)?1/0:r;if(l>s){let e=l;l=s,s=e}return[l,s]},x.autoRemove=e=>S(e)||S(e[0])&&S(e[1]);let _={includesString:p,includesStringSensitive:f,equalsString:m,arrIncludes:g,arrIncludesAll:v,arrIncludesSome:b,equals:y,weakEquals:w,inNumberRange:x};function S(e){return null==e||""===e}
4function C(e,t,n){return!!e&&!!e.autoRemove&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}let E={sum:(e,t,n)=>n.reduce((t,n)=>{let i=n.getValue(e);return t+("number"==typeof i?i:0)},0),min:(e,t,n)=>{let i;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(i>n||void 0===i&&n>=n)&&(i=n)}),i},max:(e,t,n)=>{let i;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(i<n||void 0===i&&n>=n)&&(i=n)}),i},extent:(e,t,n)=>{let i,r;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(void 0===i?n>=n&&(i=r=n):(i>n&&(i=n),r<n&&(r=n)))}),[i,r]},mean:(e,t)=>{let n=0,i=0;if(t.forEach(t=>{let r=t.getValue(e);null!=r&&(r*=1)>=r&&(++n,i+=r)}),n)return i/n},median:(e,t)=>{if(!t.length)return;let n=t.map(t=>t.getValue(e));if(!function(e){return Array.isArray(e)&&e.every(e=>"number"==typeof e)}(n))return;if(1===n.length)return n[0];let i=Math.floor(n.length/2),r=n.sort((e,t)=>e-t);return n.length%2!=0?r[i]:(r[i-1]+r[i])/2},unique:(e,t)=>Array.from(new Set(t.map(t=>t.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(t=>t.getValue(e))).size,count:(e,t)=>t.length},P=()=>({left:[],right:[]}),T={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},M=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),k=null;function R(e){return"touchstart"===e.type}function A(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}let L=()=>({pageIndex:0,pageSize:10}),j=()=>({top:[],bottom:[]}),I=(e,t,n,i,r)=>{var l;let s=r.getRow(t,!0);n?(s.getCanMultiSelect()||Object.keys(e).forEach(t=>delete e[t]),s.getCanSelect()&&(e[t]=!0)):delete e[t],i&&null!=(l=s.subRows)&&l.length&&s.getCanSelectSubRows()&&s.subRows.forEach(t=>I(e,t.id,n,i,r))};function V(e,t){let n=e.getState().rowSelection,i=[],r={},l=function(e,t){return e.map(e=>{var t;let s=N(e,n);if(s&&(i.push(e),r[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:l(e.subRows)}),s)return e}).filter(Boolean)};return{rows:l(t.rows),flatRows:i,rowsById:r}}function N(e,t){var n;return null!=(n=t[e.id])&&n}function F(e,t,n){var i;if(!(null!=(i=e.subRows)&&i.length))return!1;let r=!0,l=!1;return e.subRows.forEach(e=>{if((!l||r)&&(e.getCanSelect()&&(N(e,t)?l=!0:r=!1),e.subRows&&e.subRows.length)){let n=F(e,t);"all"===n?l=!0:("some"===n&&(l=!0),r=!1)}}),r?"all":!!l&&"some"}let D=/([0-9]+)/gm;function O(e,t){return e===t?0:e>t?1:-1}function z(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function B(e,t){let n=e.split(D).filter(Boolean),i=t.split(D).filter(Boolean);for(;n.length&&i.length;){let e=n.shift(),t=i.shift(),r=parseInt(e,10),l=parseInt(t,10),s=[r,l].sort();if(isNaN(s[0])){if(e>t)return 1;if(t>e)return -1;continue}if(isNaN(s[1]))return isNaN(r)?-1:1;if(r>l)return 1;if(l>r)return -1}return n.length-i.length}let W={alphanumeric:(e,t,n)=>B(z(e.getValue(n)).toLowerCase(),z(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>B(z(e.getValue(n)),z(t.getValue(n))),text:(e,t,n)=>O(z(e.getValue(n)).toLowerCase(),z(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>O(z(e.getValue(n)),z(t.getValue(n))),datetime:(e,t,n)=>{let i=e.getValue(n),r=t.getValue(n);return i>r?1:i<r?-1:0},basic:(e,t,n)=>O(e.getValue(n),t.getValue(n))},$=[{createTable:e=>{e.getHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,i,r)=>{var l,s;let a=null!=(l=null==i?void 0:i.map(e=>n.find(t=>t.id===e)).filter(Boolean))?l:[],o=null!=(s=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?s:[];return c(t,[...a,...n.filter(e=>!(null!=i&&i.includes(e.id))&&!(null!=r&&r.includes(e.id))),...o],e)},o(e.options,u,"getHeaderGroups")),e.getCenterHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,i,r)=>c(t,n=n.filter(e=>!(null!=i&&i.includes(e.id))&&!(null!=r&&r.includes(e.id))),e,"center"),o(e.options,u,"getCenterHeaderGroups")),e.getLeftHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,i)=>{var r;return c(t,null!=(r=null==i?void 0:i.map(e=>n.find(t=>
4t.id===e)).filter(Boolean))?r:[],e,"left")},o(e.options,u,"getLeftHeaderGroups")),e.getRightHeaderGroups=a(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,i)=>{var r;return c(t,null!=(r=null==i?void 0:i.map(e=>n.find(t=>t.id===e)).filter(Boolean))?r:[],e,"right")},o(e.options,u,"getRightHeaderGroups")),e.getFooterGroups=a(()=>[e.getHeaderGroups()],e=>[...e].reverse(),o(e.options,u,"getFooterGroups")),e.getLeftFooterGroups=a(()=>[e.getLeftHeaderGroups()],e=>[...e].reverse(),o(e.options,u,"getLeftFooterGroups")),e.getCenterFooterGroups=a(()=>[e.getCenterHeaderGroups()],e=>[...e].reverse(),o(e.options,u,"getCenterFooterGroups")),e.getRightFooterGroups=a(()=>[e.getRightHeaderGroups()],e=>[...e].reverse(),o(e.options,u,"getRightFooterGroups")),e.getFlatHeaders=a(()=>[e.getHeaderGroups()],e=>e.map(e=>e.headers).flat(),o(e.options,u,"getFlatHeaders")),e.getLeftFlatHeaders=a(()=>[e.getLeftHeaderGroups()],e=>e.map(e=>e.headers).flat(),o(e.options,u,"getLeftFlatHeaders")),e.getCenterFlatHeaders=a(()=>[e.getCenterHeaderGroups()],e=>e.map(e=>e.headers).flat(),o(e.options,u,"getCenterFlatHeaders")),e.getRightFlatHeaders=a(()=>[e.getRightHeaderGroups()],e=>e.map(e=>e.headers).flat(),o(e.options,u,"getRightFlatHeaders")),e.getCenterLeafHeaders=a(()=>[e.getCenterFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),o(e.options,u,"getCenterLeafHeaders")),e.getLeftLeafHeaders=a(()=>[e.getLeftFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),o(e.options,u,"getLeftLeafHeaders")),e.getRightLeafHeaders=a(()=>[e.getRightFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),o(e.options,u,"getRightLeafHeaders")),e.getLeafHeaders=a(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(e,t,n)=>{var i,r,l,s,a,o;return[...null!=(i=null==(r=e[0])?void 0:r.headers)?i:[],...null!=(l=null==(s=t[0])?void 0:s.headers)?l:[],...null!=(a=null==(o=n[0])?void 0:o.headers)?a:[]].map(e=>e.getLeafHeaders()).flat()},o(e.options,u,"getLeafHeaders"))}},{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:l("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()}))},e.getIsVisible=()=>{var n,i;let r=e.columns;return null==(n=r.length?r.some(e=>e.getIsVisible()):null==(i=t.getState().columnVisibility)?void 0:i[e.id])||n},e.getCanHide=()=>{var n,i;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(i=t.options.enableHiding)||i)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=a(()=>[e.getAllCells(),t.getState().columnVisibility],e=>e.filter(e=>e.column.getIsVisible()),o(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=a(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(e,t,n)=>[...e,...t,...n],o(t.options,"debugRows","getVisibleCells"))},createTable:e=>{let t=(t,n)=>a(()=>[n(),n().filter(e=>e.getIsVisible()).map(e=>e.id).join("_")],e=>e.filter(e=>null==e.getIsVisible?void 0:e.getIsVisible()),o(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(e=>!(null!=e.getIsVisible&&e.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(e=>null==e.getIsVisible?void 0:e.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}},{getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:l("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=a(e=>[A(t,e)],t=>t.findIndex(t=>t.id===e.id),o(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var i;
4return(null==(i=A(t,n)[0])?void 0:i.id)===e.id},e.getIsLastColumn=n=>{var i;let r=A(t,n);return(null==(i=r[r.length-1])?void 0:i.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=a(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(e,t,n)=>i=>{let r=[];if(null!=e&&e.length){let t=[...e],n=[...i];for(;n.length&&t.length;){let e=t.shift(),i=n.findIndex(t=>t.id===e);i>-1&&r.push(n.splice(i,1)[0])}r=[...r,...n]}else r=i;return function(e,t,n){if(!(null!=t&&t.length)||!n)return e;let i=e.filter(e=>!t.includes(e.id));return"remove"===n?i:[...t.map(t=>e.find(e=>e.id===t)).filter(Boolean),...i]}(r,t,n)},o(e.options,"debugTable","_getOrderColumnsFn"))}},{getInitialState:e=>({columnPinning:P(),...e}),getDefaultOptions:e=>({onColumnPinningChange:l("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{let i=e.getLeafColumns().map(e=>e.id).filter(Boolean);t.setColumnPinning(e=>{var t,r,l,s,a,o;return"right"===n?{left:(null!=(l=null==e?void 0:e.left)?l:[]).filter(e=>!(null!=i&&i.includes(e))),right:[...(null!=(s=null==e?void 0:e.right)?s:[]).filter(e=>!(null!=i&&i.includes(e))),...i]}:"left"===n?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter(e=>!(null!=i&&i.includes(e))),...i],right:(null!=(o=null==e?void 0:e.right)?o:[]).filter(e=>!(null!=i&&i.includes(e)))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter(e=>!(null!=i&&i.includes(e))),right:(null!=(r=null==e?void 0:e.right)?r:[]).filter(e=>!(null!=i&&i.includes(e)))}})},e.getCanPin=()=>e.getLeafColumns().some(e=>{var n,i,r;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(i=null!=(r=t.options.enableColumnPinning)?r:t.options.enablePinning)||i)}),e.getIsPinned=()=>{let n=e.getLeafColumns().map(e=>e.id),{left:i,right:r}=t.getState().columnPinning,l=n.some(e=>null==i?void 0:i.includes(e)),s=n.some(e=>null==r?void 0:r.includes(e));return l?"left":!!s&&"right"},e.getPinnedIndex=()=>{var n,i;let r=e.getIsPinned();return r?null!=(n=null==(i=t.getState().columnPinning)||null==(i=i[r])?void 0:i.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,t,n)=>{let i=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!i.includes(e.column.id))},o(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"left"})),o(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=a(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"right"})),o(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,i;return e.setColumnPinning(t?P():null!=(n=null==(i=e.initialState)?void 0:i.columnPinning)?n:P())},e.getIsSomeColumnsPinned=t=>{var n,i,r;let l=e.getState().columnPinning;return t?!!(null==(n=l[t])?void 0:n.length):!!((null==(i=l.left)?void 0:i.length)||(null==(r=l.right)?void 0:r.length))},e.getLeftLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),o(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),o(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=a(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(e,t,n)=>{let i=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!i.includes(e.id))},o(e.options,"debugColumns","getCenterLeafColumns"))}},{createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.i
4d),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},{getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:l("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{let n=t.getCoreRowModel().flatRows[0],i=null==n?void 0:n.getValue(e.id);return"string"==typeof i?_.includesString:"number"==typeof i?_.inNumberRange:"boolean"==typeof i||null!==i&&"object"==typeof i?_.equals:Array.isArray(i)?_.arrIncludes:_.weakEquals},e.getFilterFn=()=>{var n,i;return s(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(i=t.options.filterFns)?void 0:i[e.columnDef.filterFn])?n:_[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,i,r;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(i=t.options.enableColumnFilters)||i)&&(null==(r=t.options.enableFilters)||r)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find(t=>t.id===e.id))?void 0:n.value},e.getFilterIndex=()=>{var n,i;return null!=(n=null==(i=t.getState().columnFilters)?void 0:i.findIndex(t=>t.id===e.id))?n:-1},e.setFilterValue=n=>{t.setColumnFilters(t=>{var i,l;let s=e.getFilterFn(),a=null==t?void 0:t.find(t=>t.id===e.id),o=r(n,a?a.value:void 0);if(C(s,o,e))return null!=(i=null==t?void 0:t.filter(t=>t.id!==e.id))?i:[];let u={id:e.id,value:o};return a?null!=(l=null==t?void 0:t.map(t=>t.id===e.id?u:t))?l:[]:null!=t&&t.length?[...t,u]:[u]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{let n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange(e=>{var i;return null==(i=r(t,e))?void 0:i.filter(e=>{let t=n.find(t=>t.id===e.id);return!(t&&C(t.getFilterFn(),e.value,t))&&!0})})},e.resetColumnFilters=t=>{var n,i;e.setColumnFilters(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel)?e.getPreFilteredRowModel():e._getFilteredRowModel()}},{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:l("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;let i=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof i||"number"==typeof i}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,i,r,l;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(i=t.options.enableGlobalFilter)||i)&&(null==(r=t.options.enableFilters)||r)&&(null==(l=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||l)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>_.includesString,e.getGlobalFilterFn=()=>{var t,n;let{globalFilterFn:i}=e.options;return s(i)?i:"auto"===i?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[i])?t:_[i]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)}
4,e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:l("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{let n=t.getFilteredRowModel().flatRows.slice(10),i=!1;for(let t of n){let n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return W.datetime;if("string"==typeof n&&(i=!0,n.split(D).length>1))return W.alphanumeric}return i?W.text:W.basic},e.getAutoSortDir=()=>{let n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,i;if(!e)throw Error();return s(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(i=t.options.sortingFns)?void 0:i[e.columnDef.sortingFn])?n:W[e.columnDef.sortingFn]},e.toggleSorting=(n,i)=>{let r=e.getNextSortingOrder(),l=null!=n;t.setSorting(s=>{let a,o=null==s?void 0:s.find(t=>t.id===e.id),u=null==s?void 0:s.findIndex(t=>t.id===e.id),d=[],c=l?n:"desc"===r;if("toggle"!=(a=null!=s&&s.length&&e.getCanMultiSort()&&i?o?"toggle":"add":null!=s&&s.length&&u!==s.length-1?"replace":o?"toggle":"replace")||l||r||(a="remove"),"add"===a){var h;(d=[...s,{id:e.id,desc:c}]).splice(0,d.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))}else d="toggle"===a?s.map(t=>t.id===e.id?{...t,desc:c}:t):"remove"===a?s.filter(t=>t.id!==e.id):[{id:e.id,desc:c}];return d})},e.getFirstSortDir=()=>{var n,i;return(null!=(n=null!=(i=e.columnDef.sortDescFirst)?i:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var i,r;let l=e.getFirstSortDir(),s=e.getIsSorted();return s?(s===l||null!=(i=t.options.enableSortingRemoval)&&!i||!!n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===s?"asc":"desc"):l},e.getCanSort=()=>{var n,i;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(i=t.options.enableSorting)||i)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,i;return null!=(n=null!=(i=e.columnDef.enableMultiSort)?i:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;let i=null==(n=t.getState().sorting)?void 0:n.find(t=>t.id===e.id);return!!i&&(i.desc?"desc":"asc")},e.getSortIndex=()=>{var n,i;return null!=(n=null==(i=t.getState().sorting)?void 0:i.findIndex(t=>t.id===e.id))?n:-1},e.clearSorting=()=>{t.setSorting(t=>null!=t&&t.length?t.filter(t=>t.id!==e.id):[])},e.getToggleSortingHandler=()=>{let n=e.getCanSort();return i=>{n&&(null==i.persist||i.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(i))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,i;e.setSorting(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel)?e.getPreSortedRowModel():e._getSortedRowModel()}},{getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:l("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(t=>null!=t&&t.includes(e.id)?t.filter(t=>t!==e.id):[...null!=t?t:[],e.id])},e.getCanGroup=()=>{var n,i;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(i=t.options.enableGrouping)||i)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{let t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{let n=t.getCoreRowModel().flatRows[0],i=null==n?void 0:n.getValue(e.id);return"number"==typeof i?E.sum:"[object Date]"===Object.prototype.toString.call(i)?E.extent:void 0},e.getAggregationFn=()=>{var n,i;if(!e)throw Error();return s(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(i=t.options.aggregationFns)?void 0:i[e.columnDef.aggregationFn])?n:E[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,i;e.setGrouping(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel)?e.getPreGroupedRowModel():e._getGroupedRowModel()},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];let i=t.getColumn(n);return null!=i&&i.columnDef.getGroupingValue?(e._groupingValuesCache[n]=i.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,i)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!(null!=(t=n.subRows)&&t.length)}}},{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:l("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var i,r;if(!t)return void e._queue(()=>{t=!0});if(null!=(i=null!=(r=e.options.autoResetAll)?r:e.options.autoResetExpanded)?i:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,i;e.setExpanded(t?{}:null!=(n=null==(i=e.initialState)?void 0:i.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(e=>e.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{let t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{let t=e.getState().expanded;return"boolean"==typeof t?!0===t:!(!Object.keys(t).length||e.getRowModel().flatRows.some(e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEac
4h(e=>{let n=e.split(".");t=Math.max(t,n.length)}),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel)?e.getPreExpandedRowModel():e._getExpandedRowModel()},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(i=>{var r;let l=!0===i||!!(null!=i&&i[e.id]),s={};if(!0===i?Object.keys(t.getRowModel().rowsById).forEach(e=>{s[e]=!0}):s=i,n=null!=(r=n)?r:!l,!l&&n)return{...s,[e.id]:!0};if(l&&!n){let{[e.id]:t,...n}=s;return n}return i})},e.getIsExpanded=()=>{var n;let i=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===i||(null==i?void 0:i[e.id]))},e.getCanExpand=()=>{var n,i,r;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(i=t.options.enableExpanding)||i)&&!!(null!=(r=e.subRows)&&r.length)},e.getIsAllParentsExpanded=()=>{let n=!0,i=e;for(;n&&i.parentId;)n=(i=t.getRow(i.parentId,!0)).getIsExpanded();return n},e.getToggleExpandedHandler=()=>{let t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{...L(),...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:l("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var i,r;if(!t)return void e._queue(()=>{t=!0});if(null!=(i=null!=(r=e.options.autoResetAll)?r:e.options.autoResetPageIndex)?i:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange(e=>r(t,e)),e.resetPagination=t=>{var n;e.setPagination(t?L():null!=(n=e.initialState.pagination)?n:L())},e.setPageIndex=t=>{e.setPagination(n=>{let i=r(t,n.pageIndex);return i=Math.max(0,Math.min(i,void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1)),{...n,pageIndex:i}})},e.resetPageIndex=t=>{var n,i;e.setPageIndex(t?0:null!=(n=null==(i=e.initialState)||null==(i=i.pagination)?void 0:i.pageIndex)?n:0)},e.resetPageSize=t=>{var n,i;e.setPageSize(t?10:null!=(n=null==(i=e.initialState)||null==(i=i.pagination)?void 0:i.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination(e=>{let n=Math.max(1,r(t,e.pageSize)),i=Math.floor(e.pageSize*e.pageIndex/n);return{...e,pageIndex:i,pageSize:n}})},e.setPageCount=t=>e.setPagination(n=>{var i;let l=r(t,null!=(i=e.options.pageCount)?i:-1);return"number"==typeof l&&(l=Math.max(-1,l)),{...n,pageCount:l}}),e.getPageOptions=a(()=>[e.getPageCount()],e=>{let t=[];return e&&e>0&&(t=[...Array(e)].fill(null).map((e,t)=>t)),t},o(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{let{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return -1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex(e=>e-1),e.nextPage=()=>e.setPageIndex(e=>e+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel)?e.getPrePaginationRowModel():e._getPaginationRowModel(),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:j(),...e}),getDefaultOptions:e=>({onRowPinningChange:l("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,i,r)=>{let l=i?e.getLeafRows().map(e=>{let{id:t}=e;return t}):[],s=new Set([...r?e.getParentRows().map(e=>{let{id:t}=e;return t}):[],e.id,...l]);t.setRowPinning(e=>{var t,i,r,l,a,o;return"bottom"===n?{top:(null!=(r=null==e?void 0:e.top)?r:[]).filter(e=>!(null!=s&&s.has(e))),bottom:[...(null!=(l=null==e?void 0:e.bottom)?l:[]).filter(e=>!(null!=s&&s.has(e))),...Array.from(s)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter(e=>!(null!=s&&s.has(e))),...Array.from(s)],bottom:(null!=(o=null==e?void 0:e.bottom)?o:[]).filter(e=>!(null!=s&&s.has(e)))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter(e=>!(null!=s&&s.has(e))),bottom:(null!=(i=null==e?void 0:e.bottom)?i:[]).filter(e=>!(null!=s&&s.has(e)))}})},e.getCanPin=()=>{var n;let{enableRowPinning:i,enablePinning:r}=t.options;return"function"==typeof i?i(e):null==(n=null!=i?i:r)||n},e.getIsPinned=()=>{let n=[e.id],{top:i,bottom:r}=t.getState().rowPinning,l=n.some(e=>null==i?void 0:i.includes(e)),s=n.some(e=>null==r?void 0:r.includes(e));return l?"top":!!s&&"bottom"},e.getPinnedIndex=()=>{var n,i;let r=e.getIsPinned();if(!r)return -1;let l=null==(n="top"===r?t.getTopRows():t.getBottomRows())?void 0:n.map(e=>{let{id:t}=e;return t});return null!=(i=null==l?void 0:l.indexOf(e.id))?i:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,i;return e.setRowPinning(t?j():null!=(n=null==(i=e.initialState)?void 0:i.rowPinning)?n:j())},e.getIsSomeRowsPinned=t=>{var n,i,r;let l=e.getState().rowPinning;return t?!!(null==(n=l[t])?void 0:n.length):!!((null==(i=l.top)?void 0:i.length)||(null==(r=l.bottom)?void 0:r.length))},e._getPinnedRows=(t,n,i)=>{var r;return(null==(r=e.options.keepPinnedRows)||r?(null!=n?n:[]).map(t=>{let n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null}):(null!=n?n:[]).map(e=>t.find(t=>
4t.id===e))).filter(Boolean).map(e=>({...e,position:i}))},e.getTopRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),o(e.options,"debugRows","getTopRows")),e.getBottomRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),o(e.options,"debugRows","getBottomRows")),e.getCenterRows=a(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(e,t,n)=>{let i=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter(e=>!i.has(e.id))},o(e.options,"debugRows","getCenterRows"))}},{getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:l("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();let i={...n},r=e.getPreGroupedRowModel().flatRows;return t?r.forEach(e=>{e.getCanSelect()&&(i[e.id]=!0)}):r.forEach(e=>{delete i[e.id]}),i})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{let i=void 0!==t?t:!e.getIsAllPageRowsSelected(),r={...n};return e.getRowModel().rows.forEach(t=>{I(r,t.id,i,!0,e)}),r}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=a(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?V(e,n):{rows:[],flatRows:[],rowsById:{}},o(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=a(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?V(e,n):{rows:[],flatRows:[],rowsById:{}},o(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=a(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?V(e,n):{rows:[],flatRows:[],rowsById:{}},o(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{let t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState(),i=!!(t.length&&Object.keys(n).length);return i&&t.some(e=>e.getCanSelect()&&!n[e.id])&&(i=!1),i},e.getIsAllPageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows.filter(e=>e.getCanSelect()),{rowSelection:n}=e.getState(),i=!!t.length;return i&&t.some(e=>!n[e.id])&&(i=!1),i},e.getIsSomeRowsSelected=()=>{var t;let n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter(e=>e.getCanSelect()).some(e=>e.getIsSelected()||e.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,i)=>{let r=e.getIsSelected();t.setRowSelection(l=>{var s;if(n=void 0!==n?n:!r,e.getCanSelect()&&r===n)return l;let a={...l};return I(a,e.id,n,null==(s=null==i?void 0:i.selectChildren)||s,t),a})},e.getIsSelected=()=>{let{rowSelection:n}=t.getState();return N(e,n)},e.getIsSomeSelected=()=>{let{rowSelection:n}=t.getState();return"some"===F(e,n)},e.getIsAllSubRowsSelected=()=>{let{rowSelection:n}=t.getState();return"all"===F(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{let t=e.getCanSelect();return n=>{var i;t&&e.toggleSelected(null==(i=n.target)?void 0:i.checked)}}}},{getDefaultColumnDef:()=>T,getInitialState:e=>({columnSizing:{},columnSizingInfo:M(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:l("columnSizing",e),onColumnSizingInfoChange:l("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,i,r;let l=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:T.minSize,null!=(i=null!=l?l:e.columnDef.size)?i:T.size),null!=(r=e.columnDef.maxSize)?r:T.maxSize)},e.getStart=a(e=>[e,A(t,e),t.getState().columnSizing],(t,n)=>n.slice(0,e.getIndex(t)).reduce((e,t)=>
4e+t.getSize(),0),o(t.options,"debugColumns","getStart")),e.getAfter=a(e=>[e,A(t,e),t.getState().columnSizing],(t,n)=>n.slice(e.getIndex(t)+1).reduce((e,t)=>e+t.getSize(),0),o(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(t=>{let{[e.id]:n,...i}=t;return i})},e.getCanResize=()=>{var n,i;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(i=t.options.enableColumnResizing)||i)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0,n=e=>{if(e.subHeaders.length)e.subHeaders.forEach(n);else{var i;t+=null!=(i=e.column.getSize())?i:0}};return n(e),t},e.getStart=()=>{if(e.index>0){let t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{let i=t.getColumn(e.column.id),r=null==i?void 0:i.getCanResize();return l=>{if(!i||!r||(null==l.persist||l.persist(),R(l)&&l.touches&&l.touches.length>1))return;let s=e.getSize(),a=e?e.getLeafHeaders().map(e=>[e.column.id,e.column.getSize()]):[[i.id,i.getSize()]],o=R(l)?Math.round(l.touches[0].clientX):l.clientX,u={},d=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo(e=>{var i,r;let l="rtl"===t.options.columnResizeDirection?-1:1,s=(n-(null!=(i=null==e?void 0:e.startOffset)?i:0))*l,a=Math.max(s/(null!=(r=null==e?void 0:e.startSize)?r:0),-.999999);return e.columnSizingStart.forEach(e=>{let[t,n]=e;u[t]=Math.round(100*Math.max(n+n*a,0))/100}),{...e,deltaOffset:s,deltaPercentage:a}}),("onChange"===t.options.columnResizeMode||"end"===e)&&t.setColumnSizing(e=>({...e,...u})))},c=e=>d("move",e),h=e=>{d("end",e),t.setColumnSizingInfo(e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},p=n||("undefined"!=typeof document?document:null),f={moveHandler:e=>c(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",f.moveHandler),null==p||p.removeEventListener("mouseup",f.upHandler),h(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),c(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",m.moveHandler),null==p||p.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},g=!!function(){if("boolean"==typeof k)return k;let e=!1;try{let t=()=>{};window.addEventListener("test",t,{get passive(){return e=!0,!1}}),window.removeEventListener("test",t)}catch(t){e=!1}return k=e}()&&{passive:!1};R(l)?(null==p||p.addEventListener("touchmove",m.moveHandler,g),null==p||p.addEventListener("touchend",m.upHandler,g)):(null==p||p.addEventListener("mousemove",f.moveHandler,g),null==p||p.addEventListener("mouseup",f.upHandler,g)),t.setColumnSizingInfo(e=>({...e,startOffset:o,startSize:s,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:i.id}))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?M():null!=(n=e.initialState.columnSizingInfo)?n:M())},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0}}}];function H(e){var t,n;let i=[...$,...null!=(t=e._features)?t:[]],l={_features:i},s=l._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(l)),{}),u={...null!=(n=e.initialState)?n:{}};
4l._features.forEach(e=>{var t;u=null!=(t=null==e.getInitialState?void 0:e.getInitialState(u))?t:u});let d=[],c=!1,h={_features:i,options:{...s,...e},initialState:u,_queue:e=>{d.push(e),c||(c=!0,Promise.resolve().then(()=>{for(;d.length;)d.shift()();c=!1}).catch(e=>setTimeout(()=>{throw e})))},reset:()=>{l.setState(l.initialState)},setOptions:e=>{var t;t=r(e,l.options),l.options=l.options.mergeOptions?l.options.mergeOptions(s,t):{...s,...t}},getState:()=>l.options.state,setState:e=>{null==l.options.onStateChange||l.options.onStateChange(e)},_getRowId:(e,t,n)=>{var i;return null!=(i=null==l.options.getRowId?void 0:l.options.getRowId(e,t,n))?i:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(l._getCoreRowModel||(l._getCoreRowModel=l.options.getCoreRowModel(l)),l._getCoreRowModel()),getRowModel:()=>l.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?l.getPrePaginationRowModel():l.getRowModel()).rowsById[e];if(!n&&!(n=l.getCoreRowModel().rowsById[e]))throw Error();return n},_getDefaultColumnDef:a(()=>[l.options.defaultColumn],e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{let t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...l._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef()),{}),...e}},o(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>l.options.columns,getAllColumns:a(()=>[l._getColumnDefs()],e=>{let t=function(e,n,i){return void 0===i&&(i=0),e.map(e=>{let r=function(e,t,n,i){var r,l;let s,u={...e._getDefaultColumnDef(),...t},d=u.accessorKey,c=null!=(r=null!=(l=u.id)?l:d?"function"==typeof String.prototype.replaceAll?d.replaceAll(".","_"):d.replace(/\./g,"_"):void 0)?r:"string"==typeof u.header?u.header:void 0;if(u.accessorFn?s=u.accessorFn:d&&(s=d.includes(".")?e=>{let t=e;for(let e of d.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[u.accessorKey]),!c)throw Error();let h={id:`${String(c)}`,accessorFn:s,parent:i,depth:n,columnDef:u,columns:[],getFlatColumns:a(()=>[!0],()=>{var e;return[h,...null==(e=h.columns)?void 0:e.flatMap(e=>e.getFlatColumns())]},o(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:a(()=>[e._getOrderColumnsFn()],e=>{var t;return null!=(t=h.columns)&&t.length?e(h.columns.flatMap(e=>e.getLeafColumns())):[h]},o(e.options,"debugColumns","column.getLeafColumns"))};for(let t of e._features)null==t.createColumn||t.createColumn(h,e);return h}(l,e,i,n);return r.columns=e.columns?t(e.columns,r,i+1):[],r})};return t(e)},o(e,"debugColumns","getAllColumns")),getAllFlatColumns:a(()=>[l.getAllColumns()],e=>e.flatMap(e=>e.getFlatColumns()),o(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:a(()=>[l.getAllFlatColumns()],e=>e.reduce((e,t)=>(e[t.id]=t,e),{}),o(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:a(()=>[l.getAllColumns(),l._getOrderColumnsFn()],(e,t)=>t(e.flatMap(e=>e.getLeafColumns())),o(e,"debugColumns","getAllLeafColumns")),getColumn:e=>l._getAllFlatColumnsById()[e]};Object.assign(l,h);for(let e=0;e<l._features.length;e++){let t=l._features[e];null==t||null==t.createTable||t.createTable(l)}return l}function G(){return e=>a(()=>[e.options.data],t=>{let n={rows:[],flatRows:[],rowsById:{}},i=function(t,r,l){void 0===r&&(r=0);let s=[];for(let o=0;o<t.length;o++){let u=h(e,e._getRowId(t[o],o,l),t[o],o,r,void 0,null==l?void 0:l.id);if(n.flatRows.push(u),n.rowsById[u.id]=u,s.push(u),e.options.getSubRows){var a;u.originalSubRows=e.options.getSubRows(t[o],o),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=i(u.originalSubRows,r+1,u))}}return s};return n.rows=i(t),n},o(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function U(){return e=>a(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(null!=t&&t.length))return n;let i=e.getState().sorting,r=[],l=i.filter(t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()}),s={};l.forEach(t=>{let n=e.getColumn(t.id);n&&(s[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})});let a=e=>{let t=e.map(e=>({...e}));return t.sort((e,t)=>
4{for(let i=0;i<l.length;i+=1){var n;let r=l[i],a=s[r.id],o=a.sortUndefined,u=null!=(n=null==r?void 0:r.desc)&&n,d=0;if(o){let n=e.getValue(r.id),i=t.getValue(r.id),l=void 0===n,s=void 0===i;if(l||s){if("first"===o)return l?-1:1;if("last"===o)return l?1:-1;d=l&&s?0:l?o:-o}}if(0===d&&(d=a.sortingFn(e,t,r.id)),0!==d)return u&&(d*=-1),a.invertSorting&&(d*=-1),d}return e.index-t.index}),t.forEach(e=>{var t;r.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))}),t};return{rows:a(n.rows),flatRows:r,rowsById:n.rowsById}},o(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}},11792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var i=n(95155),r=n(12115),l=n(51508),s=n(2999),a=n(80845),o=n(97494),u=n(25214),d=n(31788),c=n(48466),h=n(33991),p=n(70797);let f=!1;function m(){window.MotionHandoffIsComplete=!0}var g=n(65305),v=n(19253);function b(e){return Array.isArray(e)?e.join(" "):e}var y=n(9480),w=n(68972),x=n(90869),_=n(19394),S=n(6642);function C(e){let{preloadedFeatures:t,createVisualElement:n,useRender:C,useVisualState:E,Component:P}=e;t&&(0,y.Y)(t);let T=(0,r.forwardRef)(function(e,t){var y;let _,T={...(0,r.useContext)(l.Q),...e,layoutId:function(e){let{layoutId:t}=e,n=(0,r.useContext)(x.L).id;return n&&void 0!==t?n+"-"+t:t}(e)},{isStatic:M}=T,k=function(e){let{initial:t,animate:n}=function(e,t){if((0,v.e)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,g.w)(t)?t:void 0,animate:(0,g.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(s.A));return(0,r.useMemo)(()=>({initial:t,animate:n}),[b(t),b(n)])}(e),R=E(e,M);if(!M&&w.B){(0,r.useContext)(u.Y).strict;let e=function(e){let{drag:t,layout:n}=S.B;if(!t&&!n)return{};let i={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(T);_=e.MeasureLayout,k.visualElement=function(e,t,n,i,g){var v;let{visualElement:b}=(0,r.useContext)(s.A),y=(0,r.useContext)(u.Y),w=(0,r.useContext)(a.t),x=(0,r.useContext)(l.Q).reducedMotion,_=(0,r.useRef)();i=i||y.renderer,!_.current&&i&&(_.current=i(e,{visualState:t,parent:b,props:n,presenceContext:w,blockInitialAnimation:!!w&&!1===w.initial,reducedMotionConfig:x}));let S=_.current,C=(0,r.useContext)(p.N);S&&!S.projection&&g&&("html"===S.type||"svg"===S.type)&&function(e,t,n,i){let{layoutId:r,layout:l,drag:s,dragConstraints:a,layoutScroll:o,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:l,alwaysMeasureLayout:!!s||a&&(0,h.X)(a),visualElement:e,animationType:"string"==typeof l?l:"both",initialPromotionConfig:i,layoutScroll:o,layoutRoot:u})}(_.current,n,g,C),(0,r.useInsertionEffect)(()=>{S&&S.update(n,w)});let E=n[d.n],P=(0,r.useRef)(!!E&&!window.MotionHandoffIsComplete&&(null==(v=window.MotionHasOptimisedAnimation)?void 0:v.call(window,E)));return(0,o.E)(()=>{S&&(S.updateFeatures(),c.k.render(S.render),P.current&&S.animationState&&S.animationState.animateChanges())}),(0,r.useEffect)(()=>{S&&(!P.current&&S.animationState&&S.animationState.animateChanges(),P.current=!1,f||(f=!0,queueMicrotask(m)))}),S}(P,R,T,n,e.ProjectionNode)}return(0,i.jsxs)(s.A.Provider,{value:k,children:[_&&k.visualElement?(0,i.jsx)(_,{visualElement:k.visualElement,...T}):null,C(P,e,(y=k.visualElement,(0,r.useCallback)(e=>{e&&R.mount&&R.mount(e),y&&(e?y.mount(e):y.unmount()),t&&("function"==typeof t?t(e):(0,h.X)(t)&&(t.current=e))},[y])),R,M,k.visualElement)]})});return T[_.o]=P,T}},11941:(e,t,n)=>{"use strict";n.d(t,{useTextDirection:()=>i});let i=e=>{let t;return function(e){e[e.ae=0]="ae",e[e.ar=1]="ar",e[e.arc=2]="arc",e[e.bcc=3]="bcc",e[e.bqi=4]="bqi",e[e.ckb=5]="ckb",e[e.dv=6]="dv",e[e.fa=7]="fa",e[e.glk=8]="glk",e[e.he=9]="he",e[e.ku=10]="ku",e[e.mzn=11]="mzn",e[e.nqo=12]="nqo",e[e.pnb=13]="pnb",e[e.ps=14]="ps",e[e.sd=15]="sd",e[e.ug=16]="ug",e[e.ur=17]="ur"}(t||(t={})),e||(e="en"),t[e]?"rtl":"ltr"}},12083:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var i=n(23082),r=n(45471),l=n(30234),s=n(3886);let a={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+r.KN.transform((0,l.aj)(t))+", "+r.KN.transform((0,l.aj)(n))+", "+(0,l.aj)(i.X4.transform(s))+")"}},13241:(e,t,n)=>{"use strict";n.d(t,{default:()=>b});var i,r,l=n(95155),s=n(12115),a=n(36268),o=n(11032),u=n(43646),d=n(5008),c=n(63984),h={table:"_l2rusTrA",tableHead:"_-E0OlawN",hideInLaptopC:"_LI6dYEKr",hideInLaptop:"_rbpJw4sU",hideInTabletL:"_7A18Zq4y",hideInTablet:"_0bC_-eWp",hideInTabletS:"_pnvwCFmO",hideInMobileL:"_sSXQfxL6",hideInMobile:"_7xOi_38V",canSort:"_uNHoC34_",thContent:"_izNX_4oo",sortIcon:"_4H5Y4f4P",sorted:"_y4WDWqHb",truncate:"_Qy6CPp6L",withSortIcon:"_AWmnSCNE",active:"_baZgAeNC",sortAsc:"_lWj7GGEF",tableData:"_WVdqZ1IA",tbody:"_kc5vITZ1",tdContent:"_LaQnWzGh",desktop:"_bOSFgZmh",mobile:"_e7rKPxda"};let p=e=>{let{tableColumns:t,loadingRowsCount:n}=e;return(0,l.jsx)("tbody",{className:h.tbody,children:Array.from({length:n},(e,n)=>(0,l.jsx)("tr",{children:t.map(e=>{var t,n,i,r;return(0,l.jsx)("td",{className:(0,u.$)(h.tableData,{[h.hideInTablet]:null==(t=e.meta)?void 0:t.hideInTablet,[h.hideInLaptop]:null==(n=e.meta)?void 0:n.hideInLaptop}),children:null==(r=e.meta)||null==(i=r.skeletonProps)?void 0:i.columnSkeleton},e.id)})},n))})};function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var m=function(e){return s.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),i||(i=s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 2a.75.75 0 0 1 .75.75v12.59l1.95-2.1a.75.75 0 1 1 1.1 1.02l-3.25 3.5a.75.75 0 0 1-1.1 0l-3.25-3.5a.75.75 0 1 1 1.1-1.02l1.95 2.1V2.75A.75.75 0 0 1 10 2",clipRule:"evenodd"})))};function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var v=function(e){return s.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),r||(r=s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M17.76 13.2a.75.75 0 0 0-1.06.04l-1.95 2.1V2.75a.75.75 0 0 0-1.5 0v12.59l-1.95-2.1a.75.75 0 1 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 0 0-.04-1.06m-8-6.4a.75.75 0 0 0 .04-1.06l-3.25-3.5a.75.75 0 0 0-1.1 0L2.2 5.74a.75.75 0 0 0 1.1 1.02l1.95-2.1v12.59a.75.75 0 0 0 1.5 0V4.66l1.95 2.1a.75.75 0 0 0 1.06.04",clipRule:"evenodd"})))};let b=e=>{var t;let{tableData:n,tableColumns:i,onRowClick:r,isLoading:f,loadingRowsCount:g=5,tableClassname:b,emptyContent:y,saveHeaderOnEmpty:w=!1,countToS
4how:x,intersectionCallback:_,tableProps:S,cursor:C=!1,onboarding_id:E}=e,[P,T]=(0,s.useState)(""),[M,k]=(0,s.useTransition)(),R=(0,s.useCallback)(e=>{let[t]=e;t.isIntersecting&&_&&(null==_||_())},[_]),A=(0,d.useIntersectionObserver)(R),L=!(n&&0!==(null==n?void 0:n.length)||f),j=(0,a.N4)({columns:i,data:null!=n?n:[],getCoreRowModel:(0,o.HT)(),getSortedRowModel:(0,o.h5)(),...S}),I=(0,s.useCallback)(e=>e.getVisibleCells().some(e=>{var t;return null==(t=e.column.columnDef.meta)?void 0:t.onHoverComponent}),[]),V=(0,s.useCallback)(e=>I(e)?{}:{onFocus:()=>{k(()=>{T(e.id)})},onFocusCapture:()=>{k(()=>{T("")})},onMouseEnter:()=>{k(()=>{T(e.id)})},onMouseLeave:()=>{k(()=>{T("")})}},[]),N=()=>(0,l.jsx)("thead",{className:h.tableHead,children:null==j?void 0:j.getHeaderGroups().map(e=>(0,l.jsx)("tr",{children:e.headers.map(e=>{var t,n,i,r,s,o,d;let p=(e=>{var t;return null!=(t=(0,a.Kv)(e.column.columnDef.header,e.getContext()))?t:""})(e),f="string"==typeof p&&p.length?p:"",g=!f&&!!p,b=e.column.getCanSort();return(0,l.jsx)("th",{colSpan:e.colSpan,onClick:e.column.getToggleSortingHandler(),...f&&{title:f},className:(0,u.$)(h.tableHead,{[h.canSort]:b,[h.sorted]:e.column.getIsSorted(),[h.hideInLaptopC]:null==(t=e.column.columnDef.meta)?void 0:t.hideInLaptopC,[h.hideInLaptop]:null==(n=e.column.columnDef.meta)?void 0:n.hideInLaptop,[h.hideInTabletL]:null==(i=e.column.columnDef.meta)?void 0:i.hideInTabletL,[h.hideInTablet]:null==(r=e.column.columnDef.meta)?void 0:r.hideInTablet,[h.hideInTabletS]:null==(s=e.column.columnDef.meta)?void 0:s.hideInTabletS,[h.hideInMobileL]:null==(o=e.column.columnDef.meta)?void 0:o.hideInMobileL,[h.hideInMobile]:null==(d=e.column.columnDef.meta)?void 0:d.hideInMobile}),style:{boxSizing:"border-box",maxWidth:e.column.columnDef.maxSize+"px",minWidth:e.column.columnDef.minSize+"px",width:e.column.columnDef.size+"px"},children:e.isPlaceholder?null:(0,l.jsxs)("span",{className:h.thContent,children:[f&&(0,l.jsx)(c.A,{as:"span",fontWeight:400,variant:"system_h5",className:(0,u.$)(h.truncate,{[h.withSortIcon]:b}),children:f}),g&&p,b&&(0,l.jsx)("span",{className:(0,u.$)(h.sortIcon,{[h.active]:!!e.column.getIsSorted()}),children:{asc:(0,l.jsx)(m,{className:h.sortAsc}),desc:(0,l.jsx)(m,{}),false:(0,l.jsx)(v,{})}[e.column.getIsSorted()]})]})},e.id)})},e.id))});return(0,l.jsx)("table",{className:(0,u.$)(h.table,b),"data-onboarding-id":E,children:(0,l.jsxs)(l.Fragment,L&&y?{children:[w&&N(),y]}:{children:[N(),f?(0,l.jsx)(p,{loadingRowsCount:null!=g?g:5,tableColumns:(null==S||null==(t=S.state)?void 0:t.columnVisibility)?i.filter(e=>{var t,n,i;return(null==S||null==(t=S.state)?void 0:t.columnVisibility)&&(null==S||null==(n=S.state)?void 0:n.columnVisibility[null!=(i=e.id)?i:""])}):i}):(0,l.jsx)("tbody",{className:h.tbody,children:j.getRowModel().rows.slice(0,x).map(e=>(0,l.jsx)("tr",{ref:A,tabIndex:0,style:{cursor:C?"pointer":"auto"},onClick:()=>null==r?void 0:r(e),...V(e),children:e.getVisibleCells().map(t=>{var n,i,r,s,o,d,p,f,m;let g=P===e.id;return(0,l.jsx)("td",{className:(0,u.$)(h.tableData,{[h.hideInLaptopC]:null==(n=t.column.columnDef.meta)?void 0:n.hideInLaptopC,[h.hideInLaptop]:null==(i=t.column.columnDef.meta)?void 0:i.hideInLaptop,[h.hideInTabletL]:null==(r=t.column.columnDef.meta)?void 0:r.hideInTabletL,[h.hideInTablet]:null==(s=t.column.columnDef.meta)?void 0:s.hideInTablet,[h.hideInTabletS]:null==(o=t.column.columnDef.meta)?void 0:o.hideInTabletS,[h.hideInMobileL]:null==(d=t.column.columnDef.meta)?void 0:d.hideInMobileL,[h.hideInMobile]:null==(p=t.column.columnDef.meta)?void 0:p.hideInMobile}),style:{maxWidth:t.column.columnDef.maxSize+"px",minWidth:t.column.columnDef.minSize+"px",width:t.column.columnDef.size+"px"},children:(0,l.jsxs)("span",{className:h.tdContent,children:[(0,l.jsx)(c.A,{as:"span",className:h.desktop,fontWeight:400,variant:"system_h4",children:g&&(null==(f=t.column.columnDef.meta)?void 0:f.onHoverComponent)?null==(m=t.column.columnDef.meta)?void 0:m.onHoverComponent:(0,a.Kv)(t.column.columnDef.cell,t.getContext())}),(0,l.jsx)("span",{className:h.mobile,children:(0,a.Kv)(t.column.columnDef.cell,t.getContext())})]})},t.id)})},e.id))})]})})}},14060:(e,t,n)=>{"use strict";function i(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,i)=>"create"===i?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}n.d(t,{I:()=>i})},14206:(e,t,n)=>{"use strict";n.d(t,{U:()=>i,f:()=>r});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(i)},14279:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(95190);let r=e=>(e*=2)<1?.5*(0,i.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},14421:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var i=n(12115),r=n(75523);let l=e=>{let{setCurrentPage:t,debounceTimeout:n=1e3}=e,[l,s]=(0,i.useState)(""),a=(0,r.useDebounceCallback)(e=>{e&&(t(e),s(""))},n);return{handleValueChange:e=>{s(e),a(Number(e))},value:l}}},14570:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});let i=e=>!!(e&&e.getVelocity)},14947:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var i=n(59210);function r(e,t){let n,r=()=>{let{currentTime:i}=t,r=(null===i?0:i.value)/100;n!==r&&e(r),n=r};return i.Gt.update(r,!0),()=>(0,i.WG)(r)}},15315:(e,t,n)=>{"use strict";function i(e,t){return t?1e3/t*e:0}n.d(t,{f:()=>i})},15341:(e,t,n)=>{"use strict";var i=n(12115);n(42605),i.Component},16242:(e,t,n)=>{"use strict";n.d(t,{h:()=>r,m:()=>s});var i=n(82885);
4class r{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}}let l=()=>new r;function s(){return(0,i.M)(l)}},16326:(e,t,n)=>{"use strict";n.d(t,{n:()=>S});var i=n(26953),r=n(97007),l=n(78754),s=n(52290),a=n(59210);function o(e,t){let n=t?"onHoverStart":"onHoverEnd";return(0,i.h)(e.current,t?"pointerenter":"pointerleave",(i,r)=>{if("touch"===i.pointerType||(0,l.D3)())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t);let o=s[n];o&&a.Gt.postRender(()=>o(i,r))},{passive:!e.getProps()[n]})}class u extends s.X{mount(){this.unmount=(0,r.F)(o(this.node,!0),o(this.node,!1))}unmount(){}}var d=n(51442);class c extends s.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,r.F)((0,d.k)(this.node.current,"focus",()=>this.onFocus()),(0,d.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var h=n(51586);let p=(e,t)=>!!t&&(e===t||p(e,t.parentElement));var f=n(69147);function m(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,(0,h.e)(n))}class g extends s.X{constructor(){super(...arguments),this.removeStartListeners=f.l,this.removeEndListeners=f.l,this.removeAccessibleListeners=f.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),l=(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:i,globalTapTarget:r}=this.node.getProps(),l=r||p(this.node.current,e.target)?n:i;l&&a.Gt.update(()=>l(e,t))},s=(0,i.h)(window,"pointerup",l,{passive:!(n.onTap||n.onPointerUp)}),o=(0,i.h)(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,r.F)(s,o),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=e=>{if("Enter"!==e.key||this.isPressing)return;let t=e=>{"Enter"===e.key&&this.checkPressEnd()&&m("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&a.Gt.postRender(()=>n(e,t))})};this.removeEndListeners(),this.removeEndListeners=(0,d.k)(this.node.current,"keyup",t),m("down",(e,t)=>{this.startPress(e,t)})},t=(0,d.k)(this.node.current,"keydown",e),n=()=>{this.isPressing&&m("cancel",(e,t)=>this.cancelPress(e,t))},i=(0,d.k)(this.node.current,"blur",n);this.removeAccessibleListeners=(0,r.F)(t,i)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&a.Gt.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,l.D3)()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&a.Gt.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=(0,i.h)(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=(0,d.k)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,r.F)(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let v=new WeakMap,b=new WeakMap,y=e=>{let t=v.get(e.target);t&&t(e)},w=e=>{e.forEach(y)},x={some:0,all:1};class _ extends s.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:r}=e,l={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:x[i]},s=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,r&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),l=t?n:i;l&&l(e)};var a=this.node.current;let o=function({root:e,...t}){let n=e||document;b.has(n)||b.set(n,{});
4let i=b.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(w,{root:e,...t})),i[r]}(l);return v.set(a,s),o.observe(a),()=>{v.delete(a),o.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let S={inView:{Feature:_},tap:{Feature:g},focus:{Feature:c},hover:{Feature:u}}},16498:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});let i=e=>t=>1-e(1-t)},18009:(e,t,n)=>{"use strict";n.d(t,{o:()=>u});var i=n(70071),r=n(94344),l=n(6220);let s=["duration","bounce"],a=["stiffness","damping","mass"];function o(e,t){return t.some(t=>void 0!==e[t])}function u({keyframes:e,restDelta:t,restSpeed:n,...u}){let d,c=e[0],h=e[e.length-1],p={done:!1,value:c},{stiffness:f,damping:m,mass:g,duration:v,velocity:b,isResolvedFromDuration:y}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!o(e,a)&&o(e,s)){let n=(0,l.pX)(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...u,velocity:-(0,i.X)(u.velocity||0)}),w=b||0,x=m/(2*Math.sqrt(f*g)),_=h-c,S=(0,i.X)(Math.sqrt(f/g)),C=5>Math.abs(_);if(n||(n=C?.01:2),t||(t=C?.005:.5),x<1){let e=(0,l.aU)(S,x);d=t=>h-Math.exp(-x*S*t)*((w+x*S*_)/e*Math.sin(e*t)+_*Math.cos(e*t))}else if(1===x)d=e=>h-Math.exp(-S*e)*(_+(w+S*_)*e);else{let e=S*Math.sqrt(x*x-1);d=t=>{let n=Math.exp(-x*S*t),i=Math.min(e*t,300);return h-n*((w+x*S*_)*Math.sinh(i)+e*_*Math.cosh(i))/e}}return{calculatedDuration:y&&v||null,next:e=>{let l=d(e);if(y)p.done=e>=v;else{let s=0;x<1&&(s=0===e?(0,i.f)(w):(0,r.Y)(d,e,l));let a=Math.abs(h-l)<=t;p.done=Math.abs(s)<=n&&a}return p.value=p.done?h:l,p}}}},18070:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l});var i=n(63284);let r=(e,t)=>e.depth-t.depth;class l{constructor(){this.children=[],this.isDirty=!1}add(e){(0,i.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,i.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(r),this.isDirty=!1,this.children.forEach(e)}}},18203:(e,t,n)=>{"use strict";n.d(t,{h:()=>c,q:()=>d});var i=n(79280),r=n(59210);let l=new Set,s=!1,a=!1;function o(){if(a){let e=Array.from(l).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=(0,i.W9)(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var i;null==(i=e.getValue(t))||i.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}a=!1,s=!1,l.forEach(e=>e.complete()),l.clear()}function u(){l.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)})}function d(){u(),o()}class c{constructor(e,t,n,i,r,l=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=r,this.isAsync=l}scheduleResolve(){this.isScheduled=!0,this.isAsync?(l.add(this),s||(s=!0,r.Gt.read(u),r.Gt.resolveKeyframes(o))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let r=0;r<e.length;r++)if(null===e[r])if(0===r){let r=null==i?void 0:i.get(),l=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){let i=n.readValue(t,l);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=l),i&&void 0===r&&i.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),l.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,l.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},18210:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let i=(e,t,n)=>{let i=t-e;return 0===i?1:(n-e)/i}},18244:(e,t,n)=>{"use strict";n.d(t,{IconButton:()=>c});var i=n(95155),r=n(12115),l=n(43646),s=n(8959),a=n(61839),o=n(95083),u=n(63984),d={container:"_-i2e4eCJ",wrapper:"_MVfWxLd5",btn_with_text:"_zPphwTVA",pressed:"_tCfKx39m",btn_text:"_Nd-twX1v",counter:"_e04PqDj0",btn:"_4kH4kvqk",disabled:"_IDoSUuqH",primary:"_Tz2YQI2B",open:"_YVvyQHQi",neutral_20:"_Z2XQzuGx",table:"_1BB0khHZ",card:"_flSzOPWs",footer
4:"_lv_gzEBf",outlined:"_FJACGUFJ",stroked:"_5fsEEj69",header:"_7bRmLQu7",select:"_KB3tP3Ed"};let c=e=>{let{counter:t,onClick:n,appearance:c="primary",size:h,additionalText:p,active:f=!1,className:m,classNameIconWrapper:g,asChild:v,isLoading:b,as:y,children:w,onboarding_id:x,..._}=e,S=(0,s.useMediaQuery)("mobileL"),C=(0,s.useMediaQuery)("tabletS"),E=_.disabled||b,P=y||"button",T=["button","input","select","textarea"].includes(P)&&!v,M={className:(0,l.$)(d.container,m,{[d.wrapper]:!!p,[d.container_advertisement]:"advertisement"===c}),...T?{disabled:E}:{"aria-disabled":E},..._,...x?{"data-onboarding-id":x}:{},onClick:e=>{if(E)return e.preventDefault(),void e.stopPropagation();n&&(null==n||n(e))}};return v&&(0,r.isValidElement)(w)?(0,r.cloneElement)(w,{...M,children:w.props.children}):v?null:(0,i.jsx)(P,{...M,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.IconWrapper,{appearance:p?void 0:c,size:h,className:(0,l.$)(d.btn,g,{[null==d?void 0:d[c]]:!p,[d.btn_with_text]:!!p,[d.disabled]:null==_?void 0:_.disabled,[d.open]:f}),children:w}),!!t&&(0,i.jsx)("div",{className:d.counter,children:(0,i.jsx)(a.A,{counter:t,size:"header"===c&&C?"small":"medium"})}),!S&&!!p&&(0,i.jsx)(u.A,{as:"span",className:d.btn_text,fontWeight:500,textWrap:"nowrap",variant:"system_h4",children:p})]})})}},18802:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var i=n(34379),r=n(59779),l=n(20419);function s(e,t){let{transitionEnd:n={},transition:s={},...a}=(0,l.K)(e,t)||{};for(let t in a={...a,...n}){let n=(0,i.K)(a[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,r.OQ)(n))}}},19253:(e,t,n)=>{"use strict";n.d(t,{O:()=>a,e:()=>s});var i=n(6340),r=n(65305),l=n(98312);function s(e){return(0,i.N)(e.animate)||l._.some(t=>(0,r.w)(e[t]))}function a(e){return!!(s(e)||e.variants)}},19394:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});let i=Symbol.for("motionComponentSymbol")},19578:(e,t,n)=>{"use strict";n.d(t,{$:()=>d});var i=n(14206),r=n(25099),l=n(18802),s=n(28060),a=n(46926),o=n(76333),u=n(59210);function d(e,t,{delay:n=0,transitionOverride:c,type:h}={}){var p;let{transition:f=e.getDefaultTransition(),transitionEnd:m,...g}=t;c&&(f=c);let v=[],b=h&&e.animationState&&e.animationState.getState()[h];for(let t in g){let l=e.getValue(t,null!=(p=e.latestValues[t])?p:null),d=g[t];if(void 0===d||b&&function({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}(b,t))continue;let c={delay:n,...(0,s.r)(f||{},t)},h=!1;if(window.MotionHandoffAnimation){let n=(0,a.P)(e);if(n){let e=window.MotionHandoffAnimation(n,t,u.Gt);null!==e&&(c.startTime=e,h=!0)}}l.start((0,r.f)(t,l,d,e.shouldReduceMotion&&i.f.has(t)?{type:!1}:c,e,h,(0,o.g)(e,t)));let m=l.animation;m&&v.push(m)}return m&&Promise.all(v).then(()=>{u.Gt.update(()=>{m&&(0,l.U)(e,m)})}),v}},19780:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var i=n(90664),r=n(23492),l=n(2217);function s(e,t){let n=(0,l.D)(e);return n!==r.p&&(n=i.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},19932:(e,t,n)=>{"use strict";let i;n.d(t,{k:()=>a});var r=n(74492),l=n(59210);function s(){i=void 0}let a={now:()=>(void 0===i&&a.set(l.uv.isProcessing||r.W.useManualTiming?l.uv.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(s)}}},20126:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(95155),r=n(43646),l={skeleton:"_9ycqwksc",skeleton_circular:"_5KVQ4HOk"};let s=({isCircular:e=!1,className:t,...n})=>(0,i.jsx)("div",{className:(0,r.$)(l.skeleton,t,{[l.skeleton_circular]:e}),...n})},20419:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});var i=n(2735);function r(e,t,n){let r=e.getProps();return(0,i.a)(r,t,void 0!==n?n:r.custom,e)}},20600:(e,t,n)=>{"use strict";function i(e,{style:t,vars:n},i,r){for(let l in Object.assign(e.style,t,r&&r.getProjectionStyles(i)),n)e.style.setProperty(l,n[l])}n.d(t,{e:()=>i})},20637:(e,t,n)=>{"use strict";n.d(t,{$:()=>r,H:()=>i});let i={};function r(e){Object.assign(i,e)}},20832:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var i=n(95155),r=n(43646),l=n(77769),s=n(63984),a={container:"_ROUw9m0G",input__wrapper:"_SMa_jPon"};let o=e=>{let{classNames:t,countPages:n,label:o,isCustomStyles:u,value:d,handleValueChange:c,isLoading:h}=e;return(0,i.jsxs)("div",{className:(0,r.$)(null==t?void 0:t.container,{[a.container]:!u}),children:[o&&(0,i.jsx)(s.A,{as:"label",className:null==t?void 0:t.label,fontWeight:400,htmlProps:{htmlFor:"pagination-input"},variant:"system_h4",children:o}),(0,i.jsx)(l.default,{disabled:h,inputMode:"numeric",name:"pagination-input",pattern:"[1-9]*",type:"text",value:d,className:(0,r.$)(null==t?void 0:t.input__wrapper,{[a.input__wrapper]:!u}),onChange:e=>(e=>{let{countPages:t,value:n,handleValueChange:i}=e;if(0!==Number(n)||""===n)return t&&Number(n)>t?i(String(t)):t&&/^\d*$/.test(n)||!n?i(n):void 0})({countPages:n,handleValueChange:c,value:e.target.value})})]})}},21109:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});let i=(e,t,n)=>e+(t-e)*n},22250:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var i=n(95155),r=n(12115),l=n(60760),s=n(36545),a={"toggle-switch":"_qwI5n-Of",switch:"_HL9rZMJs",switchThumb:"_Ttm2x5wv"};let o={off:{insetInlineStart:"2px",width:[null,"25px","20px"]},on:{insetInlineStart:"18px",width:[null,"25px","20.01px"]}},u={duration:.3,ease:[.4,0,.6,1],times:[0,.4,1]},d=e=>{let{onChange:t,checked:n,onboarding_id:d,...c}=e,h=(0,r.useRef)(null);return(0,i.jsxs)("label",{className:a["toggle-switch"],"data-onboarding-id":d,children:[(0,i.jsx)("input",{...c,"aria-checked":n,checked:n,role:"switch",type:"checkbox",onChange:e=>{null==t||t(e.target.checked,e)}}),(0,i.jsx)("div",{className:a.switch,children:(0,i.jsx)(l.N,{mode:"wait",children:(0,i.jsx)(s.P.div,{ref:h,animate:n?"on":"off",className:a.switchThumb,initial:n?"on":"off",transition:u,variants:o})})})]})}},22353:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});let i=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPod","iPhone"].includes(navigator.platform)||navigator?.userAgent.includes("Mac")&&"ontouchend"in document},22363:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});let i=e=>Array.isArray(e)&&"number"!=typeof e[0]},22397:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var i=n(52493),r=n(33796);class l extends i.B{constructor(){super(...arguments),this.KeyframeResolver=r.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}},23082:(e,t,n)=>{"use strict";n.d(t,{X4:()=>l,ai:()=>r,hs:()=>s});var i=n(77782);let r={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},l={...r,transform:e=>(0,i.q)(0,1,e)},s={...r,default:1}},23492:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var i=n(90664),r=n(30234);let l=new Set(["brightness","contrast","saturate","opacity"]);function s(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=n.match(r.SY)||[];if(!i)return e;let s=n.replace(i,""),a=+!!l.has(t);return i!==n&&(a*=100),t+"("+a+s+")"}let a=/\b([a-z-]*)\(.*?\)/gu,o={...i.f,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(s).join(" "):e}}},24517:(e,t,n)=>{"use strict";function i(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{p:()=>i})},24545:(e,t,n)=>{"use strict";n.d(t,{default:()=>v});var i,r,l,s=n(95155),a=n(12115),o=n(43646),u=n(60760),d=n(36545);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var h=function(e){return a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),i||(i=a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M6.03 4.97a.75.75 0 0 0-1.06 1.06L6.94 8 4.97 9.97a.75.75 0 1 0 1.06 1.06L8 9.06l1.97 1.97a.75.75 0 1 0 1.06-1.06L9.06 8l1.97-1.97a.75.75 0 1 0-1.06-1.06L8 6.94z",clipRule:"evenodd"})))};function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var f=function(e){return a.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=a.createElement("circle",{cx:11,cy:11,r:7,stroke:"currentColor",strokeLinecap:"round",strokeWidth:2})),l||(l=a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:2,d:"m16 16 4 4"})))},m={input__wrapper:"_3TQchIgj",big:"_Dt-M1esl",medium:"_q33gxPUV",small:"_JtLioswc",dropdown:"_HqkG1kF8",input:"_lp4MjuyC",icon_search:"_oSshELPE",icon_clear_wrapper:"_zcDux_zd",icon_clear:"_WgaQn8Gd"};let g={close:{opacity:0,x:20},open:{opacity:1,x:0}},v=e=>{let{searchValue:t,setSearchValue:n,className:i,size:r="medium",dropdown:l=!1,autoFocus:c=!1,tabIndex:p=0,maxLength:v,onboarding_id:b,...y}=e,w=(0,a.useRef)(null),x=e=>{var t;
4e.stopPropagation(),null==(t=w.current)||t.focus()},_=(0,a.useCallback)(e=>{var t;n(e.target.value),null==(t=w.current)||t.focus()},[n]);return(0,a.useEffect)(()=>{c&&w.current&&w.current.focus()},[c]),(0,s.jsxs)("div",{"data-onboarding-id":b,role:"searchbox",tabIndex:p,className:(0,o.$)(m.input__wrapper,i,{[m[r]]:!l,[m.dropdown]:l}),onClick:x,onKeyDown:x,children:[(0,s.jsx)("div",{className:m.icon_search,children:(0,s.jsx)(f,{})}),(0,s.jsx)("input",{ref:w,className:m.input,maxLength:v,role:"search",type:"search",value:t,onChange:_,onKeyDown:e=>e.stopPropagation(),...y}),(0,s.jsx)("div",{className:m.icon_clear_wrapper,children:(0,s.jsx)(u.N,{mode:"wait",children:t.length>0&&(0,s.jsx)(d.P.span,{animate:"open",className:m.icon_clear,exit:"close",initial:"close",transition:{bounce:!1,duration:.1},variants:g,children:(0,s.jsx)(h,{onClick:()=>{n("")}})})})})]})}},24935:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var i=n(77782),r=n(23082),l=n(30234),s=n(3886);let a={...r.ai,transform:e=>Math.round((0,i.q)(0,255,e))},o={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+a.transform(e)+", "+a.transform(t)+", "+a.transform(n)+", "+(0,l.aj)(r.X4.transform(i))+")"}},25095:(e,t,n)=>{"use strict";n.d(t,{AO:()=>M,Kr:()=>T});var i='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',r="undefined"==typeof Element,l=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!r&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},a=function(e,t){void 0===t&&(t=!0);var n,i=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===i||"true"===i||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):a(e.parentNode))},o=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},u=function(e,t,n){if(a(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&l.call(e,i)&&r.unshift(e),r=r.filter(n)},d=function(e,t,n){for(var r=[],s=Array.from(e);s.length;){var o=s.shift();if(!a(o,!1))if("SLOT"===o.tagName){var u=o.assignedElements(),c=d(u.length?u:o.children,!0,n);
vendor: 4,113 bytes, line 4
4n.flatten?r.push.apply(r,c):r.push({scopeParent:o,candidates:c})}else{l.call(o,i)&&n.filter(o)&&(t||!e.includes(o))&&r.push(o);var h=o.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(o),p=!a(h,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(o));if(h&&p){var f=d(!0===h?o.children:h.children,!0,n);n.flatten?r.push.apply(r,f):r.push({scopeParent:o,candidates:f})}else s.unshift.apply(s,o.children)}}return r},c=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},h=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||o(e))&&!c(e)?0:e.tabIndex},p=function(e,t){var n=h(e);return n<0&&t&&!c(e)?0:n},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},m=function(e){return"INPUT"===e.tagName},g=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},v=function(e){if(!e.name)return!0;var t,n=e.form||s(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=g(t,e.form);return!r||r===e},b=function(e){return m(e)&&"radio"===e.type&&!v(e)},y=function(e){var t,n,i,r,l,a,o,u=e&&s(e),d=null==(t=u)?void 0:t.host,c=!1;if(u&&u!==e)for(c=!!(null!=(n=d)&&null!=(i=n.ownerDocument)&&i.contains(d)||null!=e&&null!=(r=e.ownerDocument)&&r.contains(e));!c&&d;)c=!!(null!=(a=d=null==(l=u=s(d))?void 0:l.host)&&null!=(o=a.ownerDocument)&&o.contains(d));return c},w=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},x=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var r=l.call(e,"details>summary:first-of-type")?e.parentElement:e;if(l.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return w(e)}else{if("function"==typeof i){for(var a=e;e;){var o=e.parentElement,u=s(e);if(o&&!o.shadowRoot&&!0===i(o))return w(e);e=e.assignedSlot?e.assignedSlot:o||u===e.ownerDocument?o:u.host}e=a}if(y(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},_=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!l.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1},S=function(e,t){return!(t.disabled||m(t)&&"hidden"===t.type||x(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||_(t))},C=function(e,t){return!(b(t)||0>h(t))&&!!S(e,t)},E=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},P=function(e){var t=[],n=[];return e.forEach(function(e,i){var r=!!e.scopeParent,l=r?e.scopeParent:e,s=p(l,r),a=r?P(e.candidates):l;0===s?r?t.push.apply(t,a):t.push(l):n.push({documentOrder:i,tabIndex:s,item:e,isScope:r,content:a})}),n.sort(f).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},T=function(e,t){return P((t=t||{}).getShadowRoot?d([e],t.includeContainer,{filter:C.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:E}):u(e,t.includeContainer,C.bind(null,t)))},M=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==l.call(e,i)&&C(t,e)}},25099:(e,t,n)=>{"use strict";n.d(t,{f:()=>g});var i=n(70071),r=n(14206);let l={type:"spring",stiffness:500,damping:25,restSpeed:10},s={type:"keyframes",duration:.8},a={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};
4var o=n(28060),u=n(74492),d=n(84528),c=n(41232),h=n(59210),p=n(26296),f=n(47508),m=n(55510);let g=(e,t,n,g={},v,b,y)=>w=>{let x=(0,o.r)(g,e)||{},_=x.delay||g.delay||0,{elapsed:S=0}=g;S-=(0,i.f)(_);let C={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...x,delay:-S,onUpdate:e=>{t.set(e),x.onUpdate&&x.onUpdate(e)},onComplete:()=>{w(),x.onComplete&&x.onComplete(),y&&y()},onStop:y,name:e,motionValue:t,element:b?void 0:v};(0,o.D)(x)||(C={...C,...((e,{keyframes:t})=>t.length>2?s:r.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:l:a)(e,C)}),C.duration&&(C.duration=(0,i.f)(C.duration)),C.repeatDelay&&(C.repeatDelay=(0,i.f)(C.repeatDelay)),void 0!==C.from&&(C.keyframes[0]=C.from);let E=!1;if(!1!==C.type&&(0!==C.duration||C.repeatDelay)||(C.duration=0,0===C.delay&&(E=!0)),(d.d.current||u.W.skipAnimations)&&(E=!0,C.duration=0,C.delay=0),E&&!b&&void 0!==t.get()){let e=(0,c.X)(C.keyframes,x);if(void 0!==e)return h.Gt.update(()=>{C.onUpdate(e),C.onComplete()}),new m.P([])}return!b&&p.m.supports(C)?new p.m(C):new f.o(C)}},25126:(e,t,n)=>{"use strict";n.d(t,{$u:()=>y,EW:()=>b,F2:()=>v,Go:()=>p,O_:()=>f,Pg:()=>u,RS:()=>r,WZ:()=>x,YE:()=>g,YF:()=>o,cX:()=>h,gR:()=>l,jo:()=>w,nr:()=>d,tZ:()=>m,uo:()=>s});var i=n(86301);function r(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function l(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,i.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function a(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function o(e){return 0===e.mozInputSource&&!!e.isTrusted||(c()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function u(e){return!a().includes("jsdom/")&&(!c()&&0===e.width&&0===e.height||c()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function d(){return/apple/i.test(navigator.vendor)}function c(){let e=/android/i;return e.test(s())||e.test(a())}function h(){return s().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function p(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function f(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function g(e){return(null==e?void 0:e.ownerDocument)||document}function v(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function b(e){return"composedPath"in e?e.composedPath()[0]:e.target}function y(e){return(0,i.sb)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&"combobox"===e.getAttribute("role")&&y(e)}},25214:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});let i=(0,n(12115).createContext)({strict:!1})},26296:(e,t,n)=>{"use strict";n.d(t,{m:()=>f});var i=n(33796),r=n(24517),l=n(69147),s=n(70071),a=n(86111),o=n(47508),u=n(92295),d=n(56324),c=n(6082),h=n(41232);let p=(0,r.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class f extends a.i{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:l}=this.options;this.resolver=new i.K(l,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,i;let{duration:r=300,times:l,ease:s,type:a,motionValue:u,name:p,startTime:f}=this.options;if(!(null==(n=u.owner)?void 0:n.current))return!1;if("spring"===(i=this.options).type||!(0,c.yL)(i.ease)){let{onComplete:t,onUpdate:n,motionValue:i,element:u,...d}=this.options,c=function(e,t){let n=new o.o({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},r=[],l=0;for(;!i.done&&l<2e4;)r.push((i=n.sample(l)).value),l+=10;return{times:void 0,keyframes:r,duration:l-10,ease:"linear"}}(e,d);1===(e=c.keyframes).length&&(e[1]=e[0]),r=c.duration,l=c.times,s=c.ease,a="keyframes"}let m=(0,d.X)(u.owner.current,p,e,{...this.options,duration:r,times:l,ease:s});return m.startTime=null!=f?f:this.calcStartTime(),this.pendingTimeline?(m.timeline=this.pendingTimeline,this.pendingTimeline=void 0):m.onfinish=()=>{let{onComplete:n}=this.options;u.set((0,h.X)(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedProm
4ise()},{animation:m,duration:r,times:l,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,s.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,s.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,s.f)(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return l.l;let{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return l.l}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:i,type:r,ease:l,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:u,element:d,...c}=this.options,h=new o.o({...c,keyframes:n,duration:i,type:r,ease:l,times:a,isGenerator:!0}),p=(0,s.f)(this.time);e.setWithVelocity(h.sample(p-10).value,h.sample(p).value,10)}let{onStop:u}=this.options;u&&u(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:l,type:s}=e;return p()&&n&&u.M.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&"mirror"!==r&&0!==l&&"inertia"!==s}}},26953:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var i=n(51442),r=n(51586);function l(e,t,n,l){return(0,i.k)(e,t,(0,r.F)(n),l)}},27425:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var i=n(95155),r=n(43646),l=n(63984),s=n(77813),a={pagination:"_nLXcTPEF",pagination__info:"_kLBuN7Tl",no_count:"_i_hZi_yW",pagination__arrow:"_8zrxncgO",pagination__arrow_reverse:"_SbUncvd7",pagination__arrow_disabled:"_onCXPKqK"};let o=e=>{let{count:t,currentPage:n,fetchNextPage:o,fetchPreviousPage:u,translations:d}=e,c=1===n,h=n===t;return(0,i.jsxs)("div",{className:a.pagination,children:[t?(0,i.jsxs)(l.A,{className:a.pagination__info,fontWeight:400,variant:"system_h5",children:[(0,i.jsx)("span",{children:n})," ",d.paginationText," ",(0,i.jsx)("span",{children:t})]}):null,(0,i.jsx)("button",{disabled:c,className:(0,r.$)(a.pagination__arrow,a.pagination__arrow_reverse,{[a.pagination__arrow_disabled]:c}),onClick:u,children:(0,i.jsx)(s.A,{})}),t?null:(0,i.jsx)(l.A,{className:(0,r.$)(a.pagination__info,a.no_count),fontWeight:400,variant:"system_h5",children:(0,i.jsx)("span",{children:n})}),(0,i.jsx)("button",{disabled:h,className:(0,r.$)(a.pagination__arrow,{[a.pagination__arrow_disabled]:h}),onClick:o,children:(0,i.jsx)(s.A,{})})]})}},27677:(e,t,n)=>{"use strict";let i,r,l;n.d(t,{RC:()=>G,qr:()=>U});var s=n(12115),a=n(52379),o=n(32482);function u(){return i||(i=function(){let e=(0,a.a)(),t=(0,a.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),i}function d(e={}){return r||(r=function({userAgent:e}={}){let t=u(),n=(0,a.a)(),i=n.navigator.platform,r=e||n.navigator.userAgent,l={ios:!1,android:!1},s=n.screen.width,o=n.screen.height,d=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad)(?!\1).*OS\s([\d_]+)/),h=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="MacIntel"===i;return!c&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${o}`)>=0&&((c=r.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),f=!1),d&&"Win32"!==i&&(l.os="android",l.android=!0),(c||p||h)&&(l.os="ios",l.ios=!0),l}(e)),r}function c(){return l||(l=function(){let e=(0,a.a)(),t=d(),n=!1;function i(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(i()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));
4n=e<16||16===e&&i<2}}let r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),l=i(),s=l||r&&t.ios;return{isSafari:n||l,needPerspectiveFix:n,need3dFix:s,isWebView:r}}()),l}let h=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},p=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},f=(e,t)=>{if(!e||e.destroyed||!e.params)return;let n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&!t.lazyPreloaderManaged&&t.remove()})),t&&!t.lazyPreloaderManaged&&t.remove()}},m=(e,t)=>{if(!e.slides[t])return;let n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);let i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=[r-t];n.push(...Array.from({length:t}).map((e,t)=>r+i+t)),e.slides.forEach((t,i)=>{n.includes(t.column)&&m(e,i)});return}let l=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=l+t;i+=1){let t=(i%n+n)%n;(t<r||t>l)&&m(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(l+t,n-1);i+=1)i!==r&&(i>l||i<r)&&m(e,i)};function v({swiper:e,runCallbacks:t,direction:n,step:i}){let{activeIndex:r,previousIndex:l}=e,s=n;s||(s=r>l?"next":r<l?"prev":"reset"),e.emit(`transition${i}`),t&&"reset"===s?e.emit(`slideResetTransition${i}`):t&&r!==l&&(e.emit(`slideChangeTransition${i}`),"next"===s?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}function b(e,t,n){let i=(0,a.a)(),{params:r}=e,l=r.edgeSwipeDetection,s=r.edgeSwipeThreshold;return!l||!(n<=s)&&!(n>=i.innerWidth-s)||"prevent"===l&&(t.preventDefault(),!0)}function y(e){let t=(0,a.g)(),n=e;n.originalEvent&&(n=n.originalEvent);let i=this.touchEventsData;if("pointerdown"===n.type){if(null!==i.pointerId&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(i.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void b(this,n,n.targetTouches[0].pageX);let{params:r,touches:l,enabled:s}=this;if(!s||!r.simulateTouch&&"mouse"===n.pointerType||this.animating&&r.preventInteractionOnTransition)return;!this.animating&&r.cssMode&&r.loop&&this.loopFix();let u=n.target;if("wrapper"===r.touchEventsTarget&&!(0,o.w)(u,this.wrapperEl)||"which"in n&&3===n.which||"button"in n&&n.button>0||i.isTouched&&i.isMoved)return;let d=!!r.noSwipingClass&&""!==r.noSwipingClass,c=n.composedPath?n.composedPath():n.path;d&&n.target&&n.target.shadowRoot&&c&&(u=c[0]);let h=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(n.target&&n.target.shadowRoot);if(r.noSwiping&&(p?function(e,t=this){return function t(n){if(!n||n===(0,a.g)()||n===(0,a.a)())return null;n.assignedSlot&&(n=n.assignedSlot);let i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(h,u):u.closest(h))){this.allowClick=!0;return}if(r.swipeHandler&&!u.closest(r.swipeHandler))return;l.currentX=n.pageX,l.currentY=n.pageY;let f=l.currentX,m=l.currentY;if(!b(this,n,f))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=m,i.touchStartTime=(0,o.h)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(i.allowThresholdMove=!1);let g=!0;u.matches(i.focusableElements)&&(g=!1,"SELECT"===u.nodeName&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==u&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!u.matches(i.focusableElements))&&t.activeElement.blur();let v=g&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||v)&&!u.isContentEditable&&n.preventDefault(),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.animating&&!r.cssMode&&this.freeMode.onTouchStart(),this.emit
4("touchStart",n)}function w(e){let t,n,i=(0,a.g)(),r=this.touchEventsData,{params:l,touches:s,rtlTranslate:u,enabled:d}=this;if(!d||!l.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type&&(null!==r.touchId||c.pointerId!==r.pointerId))return;if("touchmove"===c.type){if(!(t=[...c.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else t=c;if(!r.isTouched){r.startMoving&&r.isScrolling&&this.emit("touchMoveOpposite",c);return}let h=t.pageX,p=t.pageY;if(c.preventedByNestedSwiper){s.startX=h,s.startY=p;return}if(!this.allowTouchMove){c.target.matches(r.focusableElements)||(this.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:h,startY:p,currentX:h,currentY:p}),r.touchStartTime=(0,o.h)());return}if(l.touchReleaseOnEdges&&!l.loop){if(this.isVertical()){if(p<s.startY&&this.translate<=this.maxTranslate()||p>s.startY&&this.translate>=this.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(u&&(h>s.startX&&-this.translate<=this.maxTranslate()||h<s.startX&&-this.translate>=this.minTranslate()))return;else if(!u&&(h<s.startX&&this.translate<=this.maxTranslate()||h>s.startX&&this.translate>=this.minTranslate()))return}if(i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==c.target&&"mouse"!==c.pointerType&&i.activeElement.blur(),i.activeElement&&c.target===i.activeElement&&c.target.matches(r.focusableElements)){r.isMoved=!0,this.allowClick=!1;return}r.allowTouchCallbacks&&this.emit("touchMove",c),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=h,s.currentY=p;let f=s.currentX-s.startX,m=s.currentY-s.startY;if(this.params.threshold&&Math.sqrt(f**2+m**2)<this.params.threshold)return;if(void 0===r.isScrolling){let e;this.isHorizontal()&&s.currentY===s.startY||this.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:f*f+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,r.isScrolling=this.isHorizontal()?e>l.touchAngle:90-e>l.touchAngle)}if(r.isScrolling&&this.emit("touchMoveOpposite",c),void 0===r.startMoving&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling||"touchmove"===c.type&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;this.allowClick=!1,!l.cssMode&&c.cancelable&&c.preventDefault(),l.touchMoveStopPropagation&&!l.nested&&c.stopPropagation();let g=this.isHorizontal()?f:m,v=this.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;l.oneWayMovement&&(g=Math.abs(g)*(u?1:-1),v=Math.abs(v)*(u?1:-1)),s.diff=g,g*=l.touchRatio,u&&(g=-g,v=-v);let b=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=v>0?"prev":"next";let y=this.params.loop&&!l.cssMode,w="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!r.isMoved){if(y&&w&&this.loopFix({direction:this.swipeDirection}),r.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,l.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",c)}if(new Date().getTime(),!1!==l._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&b!==this.touchesDirection&&y&&w&&Math.abs(g)>=1){Object.assign(s,{startX:h,startY:p,currentX:h,currentY:p,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}this.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let x=!0,_=l.resistanceRatio;if(l.touchReleaseOnEdges&&(_=0),g>0?(y&&w&&!n&&r.allowThresholdMove&&r.currentTranslate>(l.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==l.slidesPerView&&this.slides.length-l.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>this.minTranslate()&&(x=!1,l.resistance&&(r.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+r.startTranslate+g)**_))):g<0&&(y&&w&&!n&&r.allowThresholdMove&&r.currentTranslate<(l.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==l.slidesPerView&&this.slides.length-l.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===l.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(l.slidesPerView,10)))}),r.currentTranslate<this.maxTranslate()&&(x=!1,l.resistance&&(r.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-r.startTranslate-g)**_))),x&&(c.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),this.allowSlidePrev||this.allowSlideNext||(r.currentTranslate=r.startTranslate),l.threshold>0)if(Math.abs(g)>l.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}l.followFinger&&!l.cssMode&&((l.freeMode&&l.freeMode.enabled&&this.freeMode||l.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),l.freeMode&&l.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(r.currentTranslate),this.setTranslate(r.currentTranslate))}function x(e){let t,n,i=this,r=i.touchEventsData,l=e;if(l.originalEvent&&(l=l.originalEvent),"touchend"===l.type||"touchcancel"===l.type){if(!(t=[...l.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else{if(null!==r.touchId||l.pointerId!==r.pointerId)return;t=l}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(l.type)&&!(["pointercancel","contextmenu"].includes(l.type)&&(i.browser.isSafari||i.browser.isWebView)))return;r.pointerId=null,r.touchId=null;let{params:s,touches:a,rtlTranslate:u,slidesGrid:d,enabled:c}=i;if(!c||!s.simulateTouch&&"mouse"===l.pointerType)return;if(r.allowTouchCallbacks&&i.emit("touchEnd",l),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&i.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(!0===i.allowSlideNext||!0===i.allowSlidePrev)&&i.setGrabCursor(!1);let h=(0,o.h)(),p=h-r.touchStartTime;if(i.allowClick){let e=l.path||l.composedPath&&l.composedPath();i.updateClickedSlide(e&&e[0]||l.target,e),i.emit("tap click",l),p<300&&h-r.lastClickTime<300&&i.emit("doubleTap doubleClick",l)}if(r.lastClickTime=(0,o.h)(),(0,o.n)(()=>{i.destroyed||(i.allowClick=!0)}),!r.isTouched||!r.isMoved||!i.swipeDirection||0===a.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,n=s.followFinger?u?i.translate:-i.translate:-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void i.freeMode.onTouchEnd({currentPos:n});let f=n>=-i.maxTranslate()&&!i.params.loop,m=0,g=i.slidesSizesGrid[0];for(let e=0;e<d.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){let t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==d[e+t]?(f||n>=d[e]&&n<d[e+t])&&(m=e,g=d[e+t]-d[e]):(f||n>=d[e])&&(m=e,g=d[d.length-1]-d[d.length-2])}let v=null,b=null;s.rewind&&(i.isBeginning?b=s.virtual&&s.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:i.isEnd&&(v=0));let y=(n-d[m])/g,w=m<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(p>s.longSwipesMs){if(!s.longSwipes)return void i.slideTo(i.activeIndex);"next"===i.swipeDirection&&(y>=s.longSwipesRatio?i.slideTo(s.rewind&&i.isEnd?v:m+w):i.slideTo(m)),"prev"===i.swipeDirection&&(y>1-s.longSwipesRatio?i.slideTo(m+w):null!==b&&y<0&&Math.abs(y)>s.longSwipesRatio?i.slideTo(b):i.slideTo(m))}else{if(!s.shortSwipes)return void i.slideTo(i.activeIndex);i.navigation&&(l.target===i.navigation.nextEl||l.target===i.navigation.prevEl)?l.target===i.navigation.nextEl?i.slideTo(m+w):i.slideTo(m):("next"===i.swipeDirection&&i.slideTo(null!==v?v:m+w),"prev"===i.swipeDirection&&i.slideTo(null!==b?b:m))}}function _(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:r,snapGrid:l}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let a=s&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&l!==e.snapGrid&&e.checkOverflow()}function S(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function C(){let{wrapperEl:e,rtlTranslate:t,enabled:n}=this;if(!n)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit
4("setTranslate",this.translate,!1)}function E(e){f(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function P(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let T=(e,t)=>{let n=(0,a.g)(),{params:i,el:r,wrapperEl:l,device:s}=e,o=!!i.nested,u="on"===t?"addEventListener":"removeEventListener";r&&"string"!=typeof r&&(n[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[u]("touchstart",e.onTouchStart,{passive:!1}),r[u]("pointerdown",e.onTouchStart,{passive:!1}),n[u]("touchmove",e.onTouchMove,{passive:!1,capture:o}),n[u]("pointermove",e.onTouchMove,{passive:!1,capture:o}),n[u]("touchend",e.onTouchEnd,{passive:!0}),n[u]("pointerup",e.onTouchEnd,{passive:!0}),n[u]("pointercancel",e.onTouchEnd,{passive:!0}),n[u]("touchcancel",e.onTouchEnd,{passive:!0}),n[u]("pointerout",e.onTouchEnd,{passive:!0}),n[u]("pointerleave",e.onTouchEnd,{passive:!0}),n[u]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[u]("click",e.onClick,!0),i.cssMode&&l[u]("scroll",e.onScroll),i.updateOnWindowResize?e[t](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",_,!0):e[t]("observerUpdate",_,!0),r[u]("load",e.onLoad,{capture:!0}))},M=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var k={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let R={eventsEmitter:{on(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;function r(...n){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(i,n)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e
4=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n},emit(...e){let t,n,i,r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],n=e.slice(1,e.length),i=r):(t=e[0].events,n=e[0].data,i=e[0].context||r),n.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(t=>{t.apply(i,[e,...n])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(i,n)})})),r}},update:{updateSize:function(){let e,t,n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,o.q)(n,"padding-left")||0,10)-parseInt((0,o.q)(n,"padding-right")||0,10),t=t-parseInt((0,o.q)(n,"padding-top")||0,10)-parseInt((0,o.q)(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function n(e,n){return parseFloat(e.getPropertyValue(t.getDirectionLabel(n))||0)}let i=t.params,{wrapperEl:r,slidesEl:l,rtlTranslate:s,wrongRTL:a}=t,u=t.virtual&&i.virtual.enabled,d=u?t.virtual.slides.length:t.slides.length,c=(0,o.e)(l,`.${t.params.slideClass}, swiper-slide`),h=u?t.virtual.slides.length:c.length,p=[],f=[],m=[],g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(t));let v=i.slidesOffsetAfter;"function"==typeof v&&(v=i.slidesOffsetAfter.call(t));let b=t.snapGrid.length,y=t.slidesGrid.length,w=t.size-g-v,x=i.spaceBetween,_=-g,S=0,C=0;if(void 0===w)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*w:"string"==typeof x&&(x=parseFloat(x)),t.virtualSize=-x-g-v,c.forEach(e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),i.centeredSlides&&i.cssMode&&((0,o.b)(r,"--swiper-centered-offset-before",""),(0,o.b)(r,"--swiper-centered-offset-after","")),i.cssMode&&((0,o.b)(r,"--swiper-slides-offset-before",`${g}px`),(0,o.b)(r,"--swiper-slides-offset-after",`${v}px`));let E=i.grid&&i.grid.rows>1&&t.grid;E?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let P="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(e=>void 0!==i.breakpoints[e].slidesPerView).length>0;for(let r=0;r<h;r+=1){e=0;let l=c[r];if(!l||(E&&t.grid.updateSlide(r,l,c),"none"!==(0,o.q)(l,"display"))){if(u&&"auto"===i.slidesPerView)i.virtual.slidesPerViewAutoSlideSize&&(e=i.virtual.slidesPerViewAutoSlideSize),e&&l&&(i.roundLengths&&(e=Math.floor(e)),l.style[t.getDirectionLabel("width")]=`${e}px`);else if("auto"===i.slidesPerView){P&&(l.style[t.getDirectionLabel("width")]="");let r=getComputedStyle(l),s=l.style.transform,a=l.style.webkitTransform;if(s&&(l.style.transform="none"),a&&(l.style.webkitTransform="none"),i.roundLengths)e=t.isHorizontal()?(0,o.i)(l,"width",!0):(0,o.i)(l,"height",!0);else{let t=n(r,"width"),i=n(r,"padding-left"),s=n(r,"padding-right"),a=n(r,"margin-left"),o=n(r,"margin-right"),u=r.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+a+o;else{let{clientWidth:n,offsetWidth:r}=l;e=t+i+s+a+o+(r-n)}}s&&(l.style.transform=s),a&&(l.style.webkitTransform=a),i.roundLengths&&(e=Math.floor(e))}else e=(w-(i.slidesPerView-1)*x)/i.slidesPerView,i.roundLengths&&(e=Math.floor(e)),l&&(l.style[t.getDirectionLabel("width")]=`${e}px`);l&&(l.swiperSlideSize=e),m.push(e),i.centeredSlides?(_=_+e/2+S/2+x,0===S&&0!==r&&(_=_-w/2-x),0===r&&(_=_-w/2-x),.001>Math.abs(_)&&(_=0),i.roundLengths&&(_=Math.floor(_)),C%i.slidesPerGroup==0&&p.push(_),f.push(_)):(i.roundLengths&&(_=Math.floor(_)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup==0&&p.push(_),f.push(_),_=_+e+x),t.virtualSize+=e+x,S=e,C+=1}}if(t.virtualSize=Math.max(t.virtualSize,w)+v,s&&a&&("slide"===i.effect||"coverflow"===i.effect)&&(r.style.width=`${t.virtualSize+x}px`),i.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+x}px`),E&&t.grid.updateWrapperSize(e,p),!i.centeredSlides){let e="auto"!==i.slidesPerView&&i.slidesPerView%1!=0,n=i.snapToSlideEdge&&!i.loop&&("auto"===i.slidesPerView||e),r=p.length;if(n){let e;if("auto"===i.slidesPerView){e=1;let t=0;for(let n=m.length-1;n>=0;n-=1)if((t+=m[n]+(n<m.length-1?x:0))<=w)e=m.length-n;else break}else e=Math.floor(i.slidesPerView);r=Math.max(h-e,0)}let l=[];for(let e=0;e<p.length;e+=1){let s=p[e];i.roundLengths&&(s=Math.floor(s)),n?e<=r&&l.push(s):p[e]<=t.virtualSize-w&&l.push(s)}p=l,Math.floor(t.virtualSize-w)-Math.floor(p[p.length-1])>1&&!n&&p.push(t.virtualSize-w)}if(u&&i.loop){let e=m[0]+x;if(i.slidesPerGroup>1){let n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),r=e*i.slidesPerGroup;for(let e=0;e<n;e+=1)p.push(p[p.length-1]+r)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===i.slidesPerGroup&&p.push(p[p.length-1]+e),f.push(f[f.length-1]+e),t.virtualSize+=e}if(0===p.length&&(p=[0]),0!==x){let e=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");c.filter((e,t)=>
4!i.cssMode||!!i.loop||t!==c.length-1).forEach(t=>{t.style[e]=`${x}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;m.forEach(t=>{e+=t+(x||0)});let t=(e-=x)>w?e-w:0;p=p.map(e=>e<=0?-g:e>t?t+v:e)}if(i.centerInsufficientSlides){let e=0;if(m.forEach(t=>{e+=t+(x||0)}),(e-=x)<w){let t=(w-e)/2;p.forEach((e,n)=>{p[n]=e-t}),f.forEach((e,n)=>{f[n]=e+t})}}if(Object.assign(t,{slides:c,snapGrid:p,slidesGrid:f,slidesSizesGrid:m}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,o.b)(r,"--swiper-centered-offset-before",`${-p[0]}px`),(0,o.b)(r,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);let e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+n)}if(h!==d&&t.emit("slidesLengthChange"),p.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==y&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!i.cssMode&&("slide"===i.effect||"fade"===i.effect)){let e=`${i.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);h<=i.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,n=this,i=[],r=n.virtual&&n.params.virtual.enabled,l=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let s=e=>r?n.slides[n.getSlideIndexByData(e)]:n.slides[e];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(e=>{i.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){let e=n.activeIndex+t;if(e>n.slides.length&&!r)break;i.push(s(e))}else i.push(s(n.activeIndex));for(t=0;t<i.length;t+=1)if(void 0!==i[t]){let e=i[t].offsetHeight;l=e>l?e:l}(l||0===l)&&(n.wrapperEl.style.height=`${l}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let t=this.params,{slides:n,rtlTranslate:i,snapGrid:r}=this;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();let l=-e;i&&(l=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let s=t.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*this.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<n.length;e+=1){let a=n[e],o=a.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(o-=n[0].swiperSlideOffset);let u=(l+(t.centeredSlides?this.minTranslate():0)-o)/(a.swiperSlideSize+s),d=(l-r[0]+(t.centeredSlides?this.minTranslate():0)-o)/(a.swiperSlideSize+s),c=-(l-o),p=c+this.slidesSizesGrid[e],f=c>=0&&c<=this.size-this.slidesSizesGrid[e],m=c>=0&&c<this.size-1||p>1&&p<=this.size||c<=0&&p>=this.size;m&&(this.visibleSlides.push(a),this.visibleSlidesIndexes.push(e)),h(a,m,t.slideVisibleClass),h(a,f,t.slideFullyVisibleClass),a.progress=i?-u:u,a.originalProgress=i?-d:d}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,n=this.maxTranslate()-this.minTranslate(),{progress:i,isBeginning:r,isEnd:l,progressLoop:s}=this,a=r,o=l;if(0===n)i=0,r=!0,l=!0;else{i=(e-this.minTranslate())/n;let t=1>Math.abs(e-this.minTranslate()),s=1>Math.abs(e-this.maxTranslate());r=t||i<=0,l=s||i>=1,t&&(i=0),s&&(i=1)}if(t.loop){let t=this.getSlideIndexByData(0),n=this.getSlideIndexByData(this.slides.length-1),i=this.slidesGrid[t],r=this.slidesGrid[n],l=this.slidesGrid[this.slidesGrid.length-1],a=Math.abs(e);(s=a>=i?(a-i)/l:(a+l-r)/l)>1&&(s-=1)}Object.assign(this,{progress:i,progressLoop:s,isBeginning:r,isEnd:l}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),r&&!a&&this.emit("reachBeginning toEdge"),l&&!o&&this.emit("reachEnd toEdge"),(a&&!r||o&&!l)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){let e,t,n,{slides:i,params:r,slidesEl:l,activeIndex:s}=this,a=this.virtual&&r.virtual.enabled,u=this.grid&&r.grid&&r.grid.rows>1,d=e=>(0,o.e)(l,`.${r.slideClass}${e}, swiper-slide${e}`)[0];if(a)if(r.loop){let t=s-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=d(`[data-swiper-slide-index="${t}"]`)}else e=d(`[data-swiper-slide-index="${s}"]`);else u?(e=i.find(e=>e.column===s),n=i.find(e=>e.column===s+1),t=i.find(e=>e.column===s-1)):e=i[s];e&&!u&&(n=(0,o.r)(e,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!n&&(n=i[0]),t=(0,o.t)(e,`.${r.slideClass}
4, swiper-slide`)[0],r.loop),i.forEach(i=>{p(i,i===e,r.slideActiveClass),p(i,i===n,r.slideNextClass),p(i,i===t,r.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,n,i=this,r=i.rtlTranslate?i.translate:-i.translate,{snapGrid:l,params:s,activeIndex:a,realIndex:o,snapIndex:u}=i,d=e,c=e=>{let t=e-i.virtual.slidesBefore;return t<0&&(t=i.virtual.slides.length+t),t>=i.virtual.slides.length&&(t-=i.virtual.slides.length),t};if(void 0===d&&(d=function(e){let t,{slidesGrid:n,params:i}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?r>=n[e]&&r<n[e+1]-(n[e+1]-n[e])/2?t=e:r>=n[e]&&r<n[e+1]&&(t=e+1):r>=n[e]&&(t=e);return i.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(i)),l.indexOf(r)>=0)t=l.indexOf(r);else{let e=Math.min(s.slidesPerGroupSkip,d);t=e+Math.floor((d-e)/s.slidesPerGroup)}if(t>=l.length&&(t=l.length-1),d===a&&!i.params.loop){t!==u&&(i.snapIndex=t,i.emit("snapIndexChange"));return}if(d===a&&i.params.loop&&i.virtual&&i.params.virtual.enabled){i.realIndex=c(d);return}let h=i.grid&&s.grid&&s.grid.rows>1;if(i.virtual&&s.virtual.enabled)n=s.loop?c(d):d;else if(h){let e=i.slides.find(e=>e.column===d),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(i.slides.indexOf(e),0)),n=Math.floor(t/s.grid.rows)}else if(i.slides[d]){let e=i.slides[d].getAttribute("data-swiper-slide-index");n=e?parseInt(e,10):d}else n=d;Object.assign(i,{previousSnapIndex:u,snapIndex:t,previousRealIndex:o,realIndex:n,previousIndex:a,activeIndex:d}),i.initialized&&g(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(o!==n&&i.emit("realIndexChange"),i.emit("slideChange"))},updateClickedSlide:function(e,t){let n,i=this.params,r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&this.isElement&&t&&t.length>
41&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let l=!1;if(r){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===r){l=!0,n=e;break}}if(r&&l)this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=n;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}i.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let l=(0,o.l)(r,e);return l+=this.cssOverflowAdjustment(),n&&(l=-l),l||0},setTranslate:function(e,t){let{rtlTranslate:n,params:i,wrapperEl:r,progress:l}=this,s=0,a=0;this.isHorizontal()?s=n?-e:e:a=e,i.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?s:a,i.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-s:-a:i.virtualTranslate||(this.isHorizontal()?s-=this.cssOverflowAdjustment():a-=this.cssOverflowAdjustment(),r.style.transform=`translate3d(${s}px, ${a}px, 0px)`);let o=this.maxTranslate()-this.minTranslate();(0===o?0:(e-this.minTranslate())/o)!==l&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,r){let l,s=this,{params:a,wrapperEl:u}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;let d=s.minTranslate(),c=s.maxTranslate();if(l=i&&e>d?d:i&&e<c?c:e,s.updateProgress(l),a.cssMode){let e=s.isHorizontal();if(0===t)u[e?"scrollLeft":"scrollTop"]=-l;else{if(!s.support.smoothScroll)return(0,o.u)({swiper:s,targetPosition:-l,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-l,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(l),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(l),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),v({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),v({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t,n=!0,i,r){let l;"string"==typeof e&&(e=parseInt(e,10));let s=this,a=e;a<0&&(a=0);let{params:u,snapGrid:d,slidesGrid:h,previousIndex:p,activeIndex:f,rtlTranslate:m,wrapperEl:g,enabled:v}=s;if(!v&&!i&&!r||s.destroyed||s.animating&&u.preventInteractionOnTransition)return!1;void 0===t&&(t=s.params.speed);let b=Math.min(s.params.slidesPerGroupSkip,a),y=b+Math.floor((a-b)/s.params.slidesPerGroup);y>=d.length&&(y=d.length-1);let w=-d[y];if(u.normalizeSlideIndex)for(let e=0;e<h.length;e+=1){let t=-Math.floor(100*w),n=Math.floor(100*h[e]),i=Math.floor(100*h[e+1]);void 0!==h[e+1]?t>=n&&t<i-(i-n)/2?a=e:t>=n&&t<i&&(a=e+1):t>=n&&(a=e)}if(s.initialized&&a!==f&&(!s.allowSlideNext&&(m?w>s.translate&&w>s.minTranslate():w<s.translate&&w<s.minTranslate())||!s.allowSlidePrev&&w>s.translate&&w>s.maxTranslate()&&(f||0)!==a))return!1;a!==(p||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(w),l=a>f?"next":a<f?"prev":"reset";let x=s.virtual&&s.params.virtual.enabled;if(!(x&&r)&&(m&&-w===s.translate||!m&&w===s.translate))return s.updateActiveIndex(a),u.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==u.effect&&s.setTranslate(w),"reset"!==l&&(s.transitionStart(n,l),s.transitionEnd(n,l)),!1;if(u.cssMode){let e=s.isHorizontal(),n=m?w:-w;if(0===t)x&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),x&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[e?"scrollLeft":"scrollTop"]=n})):g[e?"scrollLeft":"scrollTop"]=n,x&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return(0,o.u)({swiper:s,targetPosition:n,side:e?"left"
4:"top"}),!0;g.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}let _=c().isSafari;return x&&!r&&_&&s.isElement&&s.virtual.update(!1,!1,a),s.setTransition(t),s.setTranslate(w),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,l),0===t?s.transitionEnd(n,l):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,l))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,n=!0,i){"string"==typeof e&&(e=parseInt(e,10));let r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let l=r.grid&&r.params.grid&&r.params.grid.rows>1,s=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)s+=r.virtual.slidesBefore;else{let e;if(l){let t=s*r.params.grid.rows;e=r.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(s);let t=l?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n,slidesOffsetBefore:a,slidesOffsetAfter:o}=r.params,u=n||!!a||!!o,d=r.params.slidesPerView;"auto"===d?d=r.slidesPerViewDynamic():(d=Math.ceil(parseFloat(r.params.slidesPerView,10)),u&&d%2==0&&(d+=1));let c=t-e<d;if(u&&(c=c||e<Math.ceil(d/2)),i&&u&&"auto"!==r.params.slidesPerView&&!l&&(c=!1),c){let n=u?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?r.realIndex:void 0})}if(l){let e=s*r.params.grid.rows;s=r.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else s=r.getSlideIndexByData(s)}return requestAnimationFrame(()=>{r.slideTo(s,t,n,i)}),r},slideNext:function(e,t=!0,n){let i=this,{enabled:r,params:l,animating:s}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let a=l.slidesPerGroup;"auto"===l.slidesPerView&&1===l.slidesPerGroup&&l.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));let o=i.activeIndex<l.slidesPerGroupSkip?1:a,u=i.virtual&&l.virtual.enabled;if(l.loop){if(s&&!u&&l.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+o,e,t,n)}),!0}return l.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+o,e,t,n)},slidePrev:function(e,t=!0,n){let i=this,{params:r,snapGrid:l,slidesGrid:s,rtlTranslate:a,enabled:o,animating:u}=i;if(!o||i.destroyed)return i;void 0===e&&(e=i.params.speed);let d=i.virtual&&r.virtual.enabled;if(r.loop){if(u&&!d&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=c(a?i.translate:-i.translate),p=l.map(e=>c(e)),f=r.freeMode&&r.freeMode.enabled,m=l[p.indexOf(h)-1];if(void 0===m&&(r.cssMode||f)){let e;l.forEach((t,n)=>{h>=t&&(e=n)}),void 0!==e&&(m=f?l[e]:l[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=s.indexOf(m))<0&&(g=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=Math.max(g=g-i.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&i.isBeginning){let r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,n)}),!0):i.slideTo(g,e,t,n)},slideReset:function(e,t=!0,n){if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t=!0,n,i=.5){if(this.destroyed)return;void 0===e&&(e=this.params.speed);let r=this.activeIndex,l=Math.min(this.params.slidesPerGroupSkip,r),s=l+Math.floor((r-l)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;if(a>=this.snapGrid[s]){let e=this.snapGrid[s];a-e>(this.snapGrid[s+1]-e)*i&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[s-1];a-e<=(this.snapGrid[s]-e)*i&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,n)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:n,slidesEl:i}=t,r="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,l=t.getSlideIndexWhenGrid(t.clickedIndex),s=t.isElement?"swiper-slide":`.${n.slideClass}`,a=t.grid&&t.params.grid&&t.params.grid.rows>1;if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?t.slideToLoop(e):l>
4(a?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),l=t.getSlideIndex((0,o.e)(i,`${s}[data-swiper-slide-index="${e}"]`)[0]),(0,o.n)(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}},loop:{loopCreate:function(e,t){let n=this,{params:i,slidesEl:r}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;let l=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||l)&&(()=>{let e=(0,o.e)(r,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();let s=i.slidesPerGroup*(l?i.grid.rows:1),a=n.slides.length%s!=0,u=l&&n.slides.length%i.grid.rows!=0,d=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?(0,o.c)("swiper-slide",[i.slideBlankClass]):(0,o.c)("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};a?i.loopAddBlankSlides?(d(s-n.slides.length%s),n.recalcSlides(),n.updateSlides()):(0,o.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):u&&(i.loopAddBlankSlides?(d(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()):(0,o.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,o.e)(r,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)});let c=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:c?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:i,activeSlideIndex:r,initial:l,byController:s,byMousewheel:a}={}){let u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:d,allowSlidePrev:c,allowSlideNext:h,slidesEl:p,params:f}=u,{centeredSlides:m,slidesOffsetBefore:g,slidesOffsetAfter:v,initialSlide:b}=f,y=m||!!g||!!v;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&f.virtual.enabled){t&&(y||0!==u.snapIndex?y&&u.snapIndex<f.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=c,u.allowSlideNext=h,u.emit("loopFix");return}let w=f.slidesPerView;"auto"===w?w=u.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),y&&w%2==0&&(w+=1));let x=f.slidesPerGroupAuto?w:f.slidesPerGroup,_=y?Math.max(x,Math.ceil(w/2)):x;_%x!=0&&(_+=x-_%x),u.loopedSlides=_+=f.loopAdditionalSlides;let S=u.grid&&f.grid&&f.grid.rows>1;d.length<w+_||"cards"===u.params.effect&&d.length<w+2*_?(0,o.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&"row"===f.grid.fill&&(0,o.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let C=[],E=[],P=S?Math.ceil(d.length/f.grid.rows):d.length,T=l&&P-b<w&&!y,M=T?b:u.activeIndex;void 0===r?r=u.getSlideIndex(d.find(e=>e.classList.contains(f.slideActiveClass))):M=r;let k="next"===n||!n,R="prev"===n||!n,A=0,L=0,j=(S?d[r].column:r)+(y&&void 0===i?-w/2+.5:0);if(j<_){A=Math.max(_-j,x);for(let e=0;e<_-j;e+=1){let t=e-Math.floor(e/P)*P;if(S){let e=P-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&C.push(t)}else C.push(P-t-1)}}else if(j+w>P-_){L=Math.max(j-(P-2*_),x),T&&(L=Math.max(L,w-P+b+1));for(let e=0;e<L;e+=1){let t=e-Math.floor(e/P)*P;S?d.forEach((e,n)=>{e.column===t&&E.push(n)}):E.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&d.length<w+2*_&&(E.includes(r)&&E.splice(E.indexOf(r),1),C.includes(r)&&C.splice(C.indexOf(r),1)),R&&C.forEach(e=>{d[e].swiperLoopMoveDOM=!0,p.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),k&&E.forEach(e=>{d[e].swiperLoopMoveDOM=!0,p.append(d[e]),d[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===f.slidesPerView?u.updateSlides():S&&(C.length>0&&R||E.length>
40&&k)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),f.watchSlidesProgress&&u.updateSlidesOffset(),t){if(C.length>0&&R){if(void 0===e){let e=u.slidesGrid[M],t=u.slidesGrid[M+A]-e;a?u.setTranslate(u.translate-t):(u.slideTo(M+Math.ceil(A),0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(i){let e=S?C.length/f.grid.rows:C.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(E.length>0&&k)if(void 0===e){let e=u.slidesGrid[M],t=u.slidesGrid[M-L]-e;a?u.setTranslate(u.translate-t):(u.slideTo(M-L,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=S?E.length/f.grid.rows:E.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}if(u.allowSlidePrev=c,u.allowSlideNext=h,u.controller&&u.controller.control&&!s){let l={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:r,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...l,slideTo:e.params.slidesPerView===f.slidesPerView&&t})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...l,slideTo:u.controller.control.params.slidesPerView===f.slidesPerView&&t})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let n=[];this.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=y.bind(this),this.onTouchMove=w.bind(this),this.onTouchEnd=x.bind(this),this.onDocumentTouchStart=P.bind(this),e.cssMode&&(this.onScroll=C.bind(this)),this.onClick=S.bind(this),this.onLoad=E.bind(this),T(this,"on")},detachEvents:function(){T(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:n,params:i,el:r}=e,l=i.breakpoints;if(!l||l&&0===Object.keys(l).length)return;let s=(0,a.g)(),u="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:s.querySelector(i.breakpointsBase),c=e.getBreakpoint(l,u,d);if(!c||e.currentBreakpoint===c)return;let h=(c in l?l[c]:void 0)||e.originalParams,p=M(e,i),f=M(e,h),m=e.params.grabCursor,g=h.grabCursor,v=i.enabled;p&&!f?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&f&&(r.classList.add(`${i.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===h[t])return;let n=i[t]&&i[t].enabled,r=h[t]&&h[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()});let b=h.direction&&h.direction!==i.direction,y=i.loop&&(h.slidesPerView!==i.slidesPerView||b),w=i.loop;b&&n&&e.changeDirection(),(0,o.x)(e.params,h);let x=e.params.enabled,_=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!x?e.disable():!v&&x&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",h),n&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&_?(e.loopCreate(t),e.updateSlides()):w&&!_&&e.loopDestroy()),e.emit("breakpoint",h)}
4,getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1,r=(0,a.a)(),l="window"===t?r.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:l*parseFloat(e.substr(1)),point:e}:{value:e,point:e});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<s.length;e+=1){let{point:l,value:a}=s[e];"window"===t?r.matchMedia(`(min-width: ${a}px)`).matches&&(i=l):a<=n.clientWidth&&(i=l)}return i||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:n}=t;if(n){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*n;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:n,el:i,device:r}=this,l=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...l),i.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},A={};class L{constructor(...e){let t,n;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=(0,o.x)({},n),t&&!n.el&&(n.el=t);let i=(0,a.g)();if(n.el&&"string"==typeof n.el&&i.querySelectorAll(n.el).length>1){let e=[];return i.querySelectorAll(n.el).forEach(t=>{let i=(0,o.x)({},n,{el:t});e.push(new L(i))}),e}let r=this;r.__swiper__=!0,r.support=u(),r.device=d({userAgent:n.userAgent}),r.browser=c(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEach(e=>{"function"==typeof e&&0>r.modules.indexOf(e)&&r.modules.push(e)});let l={};r.modules.forEach(e=>{e({params:n,swiper:r,extendParams:function(e,t){return function(n={}){let i=Object.keys(n)[0],r=n[i];return"object"!=typeof r||null===r?void(0,o.x)(t,n):(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r)?void("object"==typeof e[i]&&!("enabled"in e[i])&&(e[i].enabled=!0),!e[i]&&(e[i]={enabled:!1}),(0,o.x)(t,n)):void(0,o.x)(t,n)}}(n,l),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});let s=(0,o.x)({},k,l);return r.params=(0,o.x)({},s,A,n),r.originalParams=(0,o.x)({},r.params),r.passedParams=(0,o.x)({}
4,n),r.params&&r.params.on&&Object.keys(r.params.on).forEach(e=>{r.on(e,r.params.on[e])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,i=(0,o.e)(t,`.${n.slideClass}, swiper-slide`),r=(0,o.j)(i[0]);return(0,o.j)(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,o.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),i=(this.maxTranslate()-n)*e+n;this.translateTo(i,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(n=>{let i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:n,slides:i,slidesGrid:r,slidesSizesGrid:l,size:s,activeIndex:a}=this,o=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[a]?Math.ceil(i[a].swiperSlideSize):0;for(let n=a+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),o+=1,t>s&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,o+=1,t>s&&(e=!0))}else if("current"===e)for(let e=a+1;e<i.length;e+=1)(t?r[e]+l[e]-r[a]<s:r[e]-r[a]<s)&&(o+=1);else for(let e=a-1;e>=0;e-=1)r[a]-r[e]<s&&(o+=1);return o}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:n,params:i}=t;function r(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&f(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){let n=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;
4e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}i.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t=!0){let n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${n}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):(0,o.e)(n,i())[0];return!r&&t.params.createElements&&(r=(0,o.c)("div",t.params.wrapperClass),n.append(r),(0,o.e)(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,o.q)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,o.q)(n,"direction")),wrongRTL:"-webkit-box"===(0,o.q)(r,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?f(t,e):e.addEventListener("load",e=>{f(t,e.target)})}),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){let n=this,{params:i,el:r,wrapperEl:l,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),l&&l.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,o.y)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,o.x)(A,e)}static get extendedDefaults(){return A}static get defaults(){return k}static installModule(e){L.prototype.__modules__||(L.prototype.__modules__=[]);let t=L.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>L.installModule(e)):L.installModule(e),L}}Object.keys(R).forEach(e=>{Object.keys(R[e]).forEach(t=>{L.prototype[t]=R[e][t]})}),L.use([function({swiper:e,on:t,emit:n}){let i=(0,a.a)(),r=null,l=null,s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&void 0!==i.ResizeObserver)return void(e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver(t=>{l=i.requestAnimationFrame(()=>{let{width:n,height:i}=e,r=n,l=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{i&&i!==e.el||(r=n?n.width:(t[0]||t).inlineSize,l=n?n.height:(t[0]||t).blockSize)}),(r!==n||l!==i)&&s()})})).observe(e.el));i.addEventListener("resize",s),i.addEventListener("orientationchange",o)}),t("destroy",()=>{l&&i.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:n,emit:i}){let r=[],l=(0,a.a)(),s=(t,n={})=>{let s=new(l.MutationObserver||l.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void i("observerUpdate",t[0]);let n=function(){i("observerUpdate",t[0])};l.requestAnimationFrame?l.requestAnimationFrame(n):l.setTimeout(n,0)});s.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),r.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){let t=(0,o.d)(e.hostEl);for(let e=0;e<t.length;e+=1)s(t[e])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>
4{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})}]);let j=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function I(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function V(e,t){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:I(t[n])&&I(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:V(e[n],t[n]):e[n]=t[n]})}function N(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function F(e={}){return e.pagination&&void 0===e.pagination.el}function D(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function O(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];return t.forEach(e=>{0>n.indexOf(e)&&n.push(e)}),n.join(" ")}function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function B(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function W(e,t){return"undefined"==typeof window?(0,s.useEffect)(e,t):(0,s.useLayoutEffect)(e,t)}let $=(0,s.createContext)(null),H=(0,s.createContext)(null),G=(0,s.forwardRef)(({className:e,tag:t="div",wrapperTag:n="div",children:i,onSwiper:r,...l}={},a)=>
4{let u=!1,[d,c]=(0,s.useState)("swiper"),[h,p]=(0,s.useState)(null),[f,m]=(0,s.useState)(!1),g=(0,s.useRef)(!1),v=(0,s.useRef)(null),b=(0,s.useRef)(null),y=(0,s.useRef)(null),w=(0,s.useRef)(null),x=(0,s.useRef)(null),_=(0,s.useRef)(null),S=(0,s.useRef)(null),C=(0,s.useRef)(null),{params:E,passedParams:P,rest:T,events:M}=function(e={},t=!0){let n={on:{}},i={},r={};V(n,k),n._emitClasses=!0,n.init=!1;let l={},s=j.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(a=>{void 0!==e[a]&&(s.indexOf(a)>=0?I(e[a])?(n[a]={},r[a]={},V(n[a],e[a]),V(r[a],e[a])):(n[a]=e[a],r[a]=e[a]):0===a.search(/on[A-Z]/)&&"function"==typeof e[a]?t?i[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:n.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:l[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:r,rest:l,events:i}}(l),{slides:R,slots:A}=function(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return s.Children.toArray(e).forEach(e=>{if(B(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let i=function e(t){let n=[];return s.Children.toArray(t).forEach(t=>{B(t)?n.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>n.push(e))}),n}(e.props.children);i.length>0?i.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}(i),$=()=>{m(!f)};Object.assign(E.on,{_containerClasses(e,t){c(t)}});let G=()=>{Object.assign(E.on,M),u=!0;let e={...E};if(delete e.wrapperClass,b.current=new L(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=R;let e={cache:!1,slides:R,renderExternal:p,renderExternalUpdate:!1};V(b.current.params.virtual,e),V(b.current.originalParams.virtual,e)}};return v.current||G(),b.current&&b.current.on("_beforeBreakpoint",$),(0,s.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",$)}),(0,s.useEffect)(()=>{!g.current&&b.current&&(b.current.emitSlidesClasses(),g.current=!0)}),W(()=>{if(a&&(a.current=v.current),v.current)return b.current.destroyed&&G(),!function({el:e,nextEl:t,prevEl:n,paginationEl:i,scrollbarEl:r,swiper:l},s){N(s)&&t&&n&&(l.params.navigation.nextEl=t,l.originalParams.navigation.nextEl=t,l.params.navigation.prevEl=n,l.originalParams.navigation.prevEl=n),F(s)&&i&&(l.params.pagination.el=i,l.originalParams.pagination.el=i),D(s)&&r&&(l.params.scrollbar.el=r,l.originalParams.scrollbar.el=r),l.init(e)}({el:v.current,nextEl:x.current,prevEl:_.current,paginationEl:S.current,scrollbarEl:C.current,swiper:b.current},E),r&&!b.current.destroyed&&r(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),W(()=>{!u&&M&&b.current&&Object.keys(M).forEach(e=>{b.current.on(e,M[e])});let e=function(e,t,n,i,r){let l=[];if(!t)return l;let s=e=>{0>l.indexOf(e)&&l.push(e)};if(n&&i){let e=i.map(r),t=n.map(r);e.join("")!==t.join("")&&s("children"),i.length!==n.length&&s("children")}return j.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t)if(I(e[n])&&I(t[n])){let i=Object.keys(e[n]),r=Object.keys(t[n]);i.length!==r.length?s(n):(i.forEach(i=>{e[n][i]!==t[n][i]&&s(n)}),r.forEach(i=>{e[n][i]!==t[n][i]&&s(n)}))}else e[n]!==t[n]&&s(n)}),l}(P,y.current,R,w.current,e=>e.key);return y.current=P,w.current=R,e.length&&b.current&&!b.current.destroyed&&function({swiper:e,slides:t,passedParams:n,changedParams:i,nextEl:r,prevEl:l,scrollbarEl:s,paginationEl:a}){let u,d,c,h,p,f,m,g,v=i.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:b,pagination:y,navigation:w,scrollbar:x,virtual:_,thumbs:S}=e;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&b.thumbs&&(!b.thumbs.swiper||b.thumbs.swiper.destroyed)&&(u=!0),i.includes("controller")&&n.controller&&n.controller.control&&b.controller&&!b.controller.control&&(d=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(b.pagination||!1===b.pagination)&&y&&!y.el&&(c=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(b.scrollbar||!1===b.scrollbar)&&x&&!x.el&&(h=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||l)&&(n.navigation.nextEl||r)&&(b.navigation||!1===b.navigation)&&w&&
4!w.prevEl&&!w.nextEl&&(p=!0);let C=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),b[t].prevEl=void 0,b[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),b[t].el=void 0,e[t].el=void 0))};i.includes("loop")&&e.isElement&&(b.loop&&!n.loop?f=!0:!b.loop&&n.loop?m=!0:g=!0),v.forEach(e=>{if(I(b[e])&&I(n[e]))Object.assign(b[e],n[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in n[e]&&!n[e].enabled&&C(e);else{let t=n[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&C(e):b[e]=n[e]}}),v.includes("controller")&&!d&&e.controller&&e.controller.control&&b.controller&&b.controller.control&&(e.controller.control=b.controller.control),i.includes("children")&&t&&_&&b.virtual.enabled?(_.slides=t,_.update(!0)):i.includes("virtual")&&_&&b.virtual.enabled&&(t&&(_.slides=t),_.update(!0)),i.includes("children")&&t&&b.loop&&(g=!0),u&&S.init()&&S.update(!0),d&&(e.controller.control=b.controller.control),c&&(e.isElement&&(!a||"string"==typeof a)&&((a=document.createElement("div")).classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(b.pagination.el=a),y.init(),y.render(),y.update()),h&&(e.isElement&&(!s||"string"==typeof s)&&((s=document.createElement("div")).classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(b.scrollbar.el=s),x.init(),x.updateSize(),x.setTranslate()),p&&(e.isElement&&(r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-button-next"),(0,o.s)(r,e.navigation.arrowSvg),r.part.add("button-next"),e.el.appendChild(r)),l&&"string"!=typeof l||((l=document.createElement("div")).classList.add("swiper-button-prev"),(0,o.s)(l,e.navigation.arrowSvg),l.part.add("button-prev"),e.el.appendChild(l))),r&&(b.navigation.nextEl=r),l&&(b.navigation.prevEl=l),w.init(),w.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(f||g)&&e.loopDestroy(),(m||g)&&e.loopCreate(),e.update()}({swiper:b.current,slides:R,passedParams:P,changedParams:e,nextEl:x.current,prevEl:_.current,scrollbarEl:C.current,paginationEl:S.current}),()=>{M&&b.current&&Object.keys(M).forEach(e=>{b.current.off(e,M[e])})}}),W(()=>{(e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())})(b.current)},[h]),s.createElement(t,z({ref:v,className:O(`${d}${e?` ${e}`:""}`)},T),s.createElement(H.Provider,{value:b.current},A["container-start"],s.createElement(n,{className:function(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}(E.wrapperClass)},A["wrapper-start"],E.virtual?function(e,t,n){if(!n)return null;let i=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},r=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:l,to:a}=n,o=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,d=[];for(let e=o;e<u;e+=1)e>=l&&e<=a&&d.push(t[i(e)]);return d.map((t,n)=>s.cloneElement(t,{swiper:e,style:r,key:t.props.virtualIndex||t.key||`slide-${n}`}))}(b.current,R,h):R.map((e,t)=>s.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),A["wrapper-end"]),N(E)&&s.createElement(s.Fragment,null,s.createElement("div",{ref:_,className:"swiper-button-prev"}),s.createElement("div",{ref:x,className:"swiper-button-next"})),D(E)&&s.createElement("div",{ref:C,className:"swiper-scrollbar"}),F(E)&&s.createElement("div",{ref:S,className:"swiper-pagination"}),A["container-end"]))});G.displayName="Swiper";let U=(0,s.forwardRef)(({tag:e="div",children:t,className:n="",swiper:i,zoom:r,lazy:l,virtualIndex:a,swiperSlideIndex:o,...u}={},d)=>
4{let c=(0,s.useRef)(null),[h,p]=(0,s.useState)("swiper-slide"),[f,m]=(0,s.useState)(!1);function g(e,t,n){t===c.current&&p(n)}W(()=>{if(void 0!==o&&(c.current.swiperSlideIndex=o),d&&(d.current=c.current),c.current&&i){if(i.destroyed){"swiper-slide"!==h&&p("swiper-slide");return}return i.on("_slideClass",g),()=>{i&&i.off("_slideClass",g)}}}),W(()=>{i&&c.current&&!i.destroyed&&p(i.getSlideClasses(c.current))},[i]);let v={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},b=()=>"function"==typeof t?t(v):t;return s.createElement(e,z({ref:c,className:O(`${h}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:()=>{m(!0)}},u),r&&s.createElement($.Provider,{value:v},s.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof r?r:void 0},b(),l&&!f&&s.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!r&&s.createElement($.Provider,{value:v},b(),l&&!f&&s.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))});U.displayName="SwiperSlide"},27885:(e,t,n)=>{"use strict";n.d(t,{l:()=>p});var i=n(34527),r=n(22397),l=n(97914),s=n(78450),a=n(36381),o=n(14206),u=n(33869),d=n(2217),c=n(81786),h=n(93095);class p extends r.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=c.ge}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.f.has(t)){let e=(0,d.D)(t);return e&&e.default||0}return t=a.e.has(t)?t:(0,s.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,i.x)(e,t,n)}
4build(e,t,n){(0,l.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){(0,u.d)(e,t,n,i)}mount(e){this.isSVGTag=(0,h.n)(e.tagName),super.mount(e)}}},28038:(e,t,n)=>{"use strict";n.d(t,{useLockBodyScroll:()=>s});var i=n(12115),r=n(22353);let l=()=>{if(document.body.style.overflow="",(0,r.u)()){let e=document.body.style.top;document.body.style.position="",document.body.style.top="",document.body.style.width="";let t=-1*Number.parseInt(e||"0")||scrollY;window.scrollTo(0,t)}},s=e=>{(0,i.useEffect)(()=>{if(e)return document.body.style.overflow="hidden",(0,r.u)()&&(document.body.style.position="fixed",document.body.style.top="-".concat(scrollY,"px"),document.body.style.width="100%"),()=>{l()};l()},[e])}},28060:(e,t,n)=>{"use strict";function i({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:l,repeatType:s,repeatDelay:a,from:o,elapsed:u,...d}){return!!Object.keys(d).length}function r(e,t){return e[t]||e.default||e}n.d(t,{D:()=>i,r:()=>r})},29122:(e,t,n)=>{"use strict";n.d(t,{useTouchDevice:()=>a});var i=n(12115);let r="(pointer: coarse)",l=()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia(r).matches,s=e=>{if("undefined"==typeof window||"function"!=typeof window.matchMedia)return()=>{};let t=window.matchMedia(r);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)},a=()=>(0,i.useSyncExternalStore)(s,l,()=>!1)},29203:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var i=n(54577),r=n(93676),l=n(14206),s=n(39213),a=n(89976);function o(e,t,n){let{style:o,vars:u,transformOrigin:d}=e,c=!1,h=!1;for(let e in t){let n=t[e];if(l.f.has(e)){c=!0;continue}if((0,r.j)(e)){u[e]=n;continue}{let t=(0,s.e)(n,a.W[e]);e.startsWith("origin")?(h=!0,d[e]=t):o[e]=t}}if(!t.transform&&(c||n?o.transform=(0,i.d)(t,e.transform,n):o.transform&&(o.transform="none")),h){let{originX:e="50%",originY:t="50%",originZ:n=0}=d;o.transformOrigin=`${e} ${t} ${n}`}}},29369:(e,t,n)=>{"use strict";n.d(t,{default:()=>a});var i=n(95155),r=n(62177),l=n(66357);let s=e=>{let{field:t}=e;return t.render()},a=e=>{var t,n;let{formMethods:a,formBuilder:o}=e,{onSubmit:u,submitButtonText:d,...c}=o.getSubmitButtonProps();return(0,i.jsx)(r.Op,{...a,children:(0,i.jsxs)("form",{className:o.getClassName(),onSubmit:a.handleSubmit(u),children:[null==(t=o.getUpperFormComponent())?void 0:t.render(),o.getFields().map(e=>(0,i.jsx)(s,{field:e.component},e.id)),(0,i.jsx)(l.A,{disabled:!a.formState.isValid,type:"submit",...c,children:null!=d?d:"Submit"}),null==(n=o.getLowerFormComponent())?void 0:n.render()]})})}},29901:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});let i={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},30234:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>s,Kg:()=>a,SY:()=>r,aj:()=>i,ne:()=>l,uy:()=>o});let i=e=>Math.round(1e5*e)/1e5,r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,l=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(e){return"string"==typeof e}function o(e){return null==e}},31788:(e,t,n)=>{"use strict";n.d(t,{c:()=>r,n:()=>l});var i=n(78450);let r="framerAppearId",l="data-"+(0,i.I)(r)},32082:(e,t,n)=>{"use strict";n.d(t,{tF:()=>s,xQ:()=>l});var i=n(12115),r=n(80845);function l(){let e=(0,i.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:l}=e,s=(0,i.useId)();(0,i.useEffect)(()=>l(s),[]);let a=(0,i.useCallback)(()=>n&&n(s),[s,n]);return!t&&n?[!1,a]:[!0]}function s(){var e;return null===(e=(0,i.useContext)(r.t))||e.isPresent}},32482:(e,t,n)=>{"use strict";n.d(t,{b:()=>u,c:()=>f,d:()=>y,e:()=>c,h:()=>s,i:()=>x,j:()=>b,l:()=>a,n:()=>l,o:()=>w,q:()=>v,r:()=>g,s:()=>_,t:()=>m,u:()=>d,v:()=>p,w:()=>h,x:()=>function e(...t){let n=Object(t[0]);for(let i=1;i<t.length;i+=1){let r=t[i];if(null!=r&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let t=Object.keys(Object(r)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let i=0,l=t.length;i<l;i+=1){let l=t[i],s=Object.getOwnPropertyDescriptor(r,l);void 0!==s&&s.enumerable&&(o(n[l])&&o(r[l])?r[l].__swiper__?n[l]=r[l]:e(n[l],r[l]):!o(n[l])&&o(r[l])?(n[l]={},r[l].__swiper__?n[l]=r[l]:e(n[l],r[l])):n[l]=r[l])}}}return n},y:()=>r});var i=n(52379);function r(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function l(e,t=0){return setTimeout(e,t)}function s(){return Date.now()}function a(e,t="x"){let n,r,l,s=(0,i.a)(),o=function(e){let t,n=(0,i.a)();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return s.WebKitCSSMatrix?((r=o.transform||o.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),l=new s.WebKitCSSMatrix("none"===r?"":r)):n=(l=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=s.WebKitCSSMatrix?l.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=s.WebKitCSSMatrix?l.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,n){e.style.setProperty(t,n)}function d({swiper:e,targetPosition:t,side:n}){let r,l=(0,i.a)(),s=-e.translate,a=null,o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(e.cssModeFrameID);let u=t>s?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,c=()=>{r=new Date().getTime(),null===a&&(a=r);
4let i=s+(.5-Math.cos(Math.max(Math.min((r-a)/o,1),0)*Math.PI)/2)*(t-s);if(d(i,t)&&(i=t),e.wrapperEl.scrollTo({[n]:i}),d(i,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:i})}),l.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=l.requestAnimationFrame(c)};c()}function c(e,t=""){let n=(0,i.a)(),r=[...e.children];return(n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t)?r.filter(e=>e.matches(t)):r}function h(e,t){let n=(0,i.a)(),r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&((r=[...t.assignedElements()].includes(e))||(r=function(e,t){let n=[t];for(;n.length>0;){let t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),r}function p(e){try{console.warn(e);return}catch(e){}}function f(e,t=[]){let n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}(t)),n}function m(e,t){let n=[];for(;e.previousElementSibling;){let i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function g(e,t){let n=[];for(;e.nextElementSibling;){let i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function v(e,t){return(0,i.a)().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function y(e,t){let n=[],i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function w(e,t){t&&e.addEventListener("transitionend",function n(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",n))})}function x(e,t,n){let r=(0,i.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function _(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},33055:(e,t,n)=>{"use strict";n.d(t,{z:()=>l});var i=n(20637),r=n(14206);function l(e,{layout:t,layoutId:n}){return r.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!i.H[e]||"opacity"===e)}},33757:(e,t,n)=>{"use strict";n.d(t,{L:()=>s,m:()=>l});var i=n(78588),r=n(96147);function l(e,t){return(0,i.FY)((0,i.bS)(e.getBoundingClientRect(),t))}function s(e,t,n){let i=l(e,n),{scroll:s}=t;return s&&((0,r.Ql)(i.x,s.offset.x),(0,r.Ql)(i.y,s.offset.y)),i}},33796:(e,t,n)=>{"use strict";n.d(t,{K:()=>f});var i=n(56440),r=n(67670),l=n(3870),s=n(93676);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var o=n(79280),u=n(39067),d=n(18203),c=n(90664),h=n(19780);let p=new Set(["auto","none","0"]);class f extends d.h{constructor(e,t,n,i,r){super(e,t,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let i=e[n];if("string"==typeof i&&(i=i.trim(),(0,s.p)(i))){let o=function e(t,n,i=1){(0,r.V)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[o,u]=function(e){let t=a.exec(e);if(!t)return[,];let[,n,i,r]=t;return[`--${null!=n?n:i}`,r]}(t);if(!o)return;let d=window.getComputedStyle(n).getPropertyValue(o);if(d){let e=d.trim();return(0,l.i)(e)?parseFloat(e):e}return(0,s.p)(u)?e(u,n,i+1):u}(i,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!o.$y.has(n)||2!==e.length)return;let[i,d]=e,c=(0,u.n)(i),h=(0,u.n)(d);if(c!==h)if((0,o.E4)(c)&&(0,o.E4)(h))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||(0,i.$)(r))&&n.push(t)}n.length&&function(e,t,n){let i,r=0;for(;r<e.length&&!i;){let t=e[r];"string"==typeof t&&!p.has(t)&&(0,c.V)(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=(0,h.J)(n,i)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=o.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);let l=i.length-1,s=i[l];i[l]=o.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
4h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},33869:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var i=n(78450),r=n(20600),l=n(36381);function s(e,t,n,s){for(let n in(0,r.e)(e,t,void 0,s),t.attrs)e.setAttribute(l.e.has(n)?n:(0,i.I)(n),t.attrs[n])}},33991:(e,t,n)=>{"use strict";function i(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}n.d(t,{X:()=>i})},34379:(e,t,n)=>{"use strict";n.d(t,{B:()=>r,K:()=>l});var i=n(5910);let r=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),l=e=>(0,i.p)(e)?e[e.length-1]||0:e},34527:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var i=n(14570),r=n(60990),l=n(14206);function s(e,t,n){let s=(0,r.x)(e,t,n);for(let n in e)((0,i.S)(e[n])||(0,i.S)(t[n]))&&(s[-1!==l.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return s}},35124:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});let i=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary},35471:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var i=n(95155),r=n(43646),l=n(20126),s=n(63984),a=n(20832),o=n(77813),u={container:"_kGAm6adi",counter__wrapper:"_26i3YoSn",pagination__buttons:"_fjTYmPBW",skeleton:"_z9uuApGx"};let d=e=>{let{classNames:t,isCustomStyles:n,countPages:d,currentPage:c,text:h,setCurrentPage:p,paginationInputProps:f,isLoading:m,onboarding_id:g}=e,v=!!d,b=c===d,y=d&&d>10&&f;return d&&d>1?(0,i.jsxs)("div",{"data-onboarding-id":g,className:(0,r.$)(null==t?void 0:t.container,{[u.container]:!n}),children:[y&&(0,i.jsx)(a.default,{countPages:d,isCustomStyles:n,isLoading:m,...f}),v&&(0,i.jsxs)(s.A,{as:"div",fontWeight:400,variant:"system_h4",className:(0,r.$)(u.counter__wrapper,null==t?void 0:t.counter__wrapper),children:[m?(0,i.jsx)(l.A,{className:(0,r.$)(u.skeleton,null==t?void 0:t.skeleton)}):(0,i.jsx)("span",{children:c}),(null==h?void 0:h.of)&&(0,i.jsx)("span",{children:null==h?void 0:h.of}),m?(0,i.jsx)(l.A,{className:(0,r.$)(u.skeleton,null==t?void 0:t.skeleton)}):(0,i.jsx)("span",{children:d})]}),(0,i.jsxs)("div",{className:(0,r.$)(u.pagination__buttons,null==t?void 0:t.pagination__buttons),children:[(0,i.jsx)("button",{disabled:1===c||m,className:(0,r.$)({[u.disabled]:b}),onClick:()=>p(c-1),children:(0,i.jsx)(o.A,{className:(0,r.$)(u.icon)})}),(0,i.jsx)("button",{disabled:b||m,className:(0,r.$)({[u.disabled]:b}),onClick:()=>p(c+1),children:(0,i.jsx)(o.A,{className:(0,r.$)(null==t?void 0:t.icon)})})]})]}):null}},35546:(e,t,n)=>{"use strict";n.d(t,{$:()=>H});var i=n(52290),r=n(69147),l=n(67670),s=n(51586),a=n(70071),o=n(26953),u=n(97007),d=n(2986),c=n(35124),h=n(59210);class p{constructor(e,t,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=g(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=(0,d.w)(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:i}=e,{timestamp:r}=h.uv;this.history.push({...i,timestamp:r});let{onStart:l,onMove:s}=this.handlers;t||(l&&l(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=f(t,this.transformPagePoint),h.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let l=g("pointercancel"===e.type?this.lastMoveEventInfo:f(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,l),i&&i(e,l)},!(0,c.M)(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=n,this.contextWindow=i||window;let l=f((0,s.e)(e),this.transformPagePoint),{point:a}=l,{timestamp:p}=h.uv;this.history=[{...a,timestamp:p}];let{onSessionStart:m}=t;m&&m(e,g(l,this.history)),this.removeListeners=(0,u.F)((0,o.h)(this.contextWindow,"pointermove",this.handlePointerMove),(0,o.h)(this.contextWindow,"pointerup",this.handlePointerUp),(0,o.h)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,h.WG)(this.updatePoint)}}function f(e,t){return t?{point:t(e.point)}:e}function m(e,t){return{x:e.x-t.x,y:e.y-t.y}}function g({point:e},t){return{point:e,delta:m(e,v(t)),offset:m(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null,r=v(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>(0,a.f)(.1)));)n--;if(!i)return{x:0,y:0};let l=(0,a.X)(r.timestamp-i.timestamp);if(0===l)return{x:0,y:0};let s={x:(r.x-i.x)/l,y:(r.y-i.y)/l};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,.1)}}function v(e){return e[e.length-1]}var b=n(78754),y=n(33991),w=n(18210),x=n(64200),_=n(77782),S=n(21109);
4function C(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function E(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function P(e,t,n){return{min:T(e,t),max:T(e,n)}}function T(e,t){return"number"==typeof e?e:e[t]||0}var M=n(81786),k=n(94198),R=n(33757),A=n(78588),L=n(51442),j=n(45471),I=n(25099);let V=({current:e})=>e?e.ownerDocument.defaultView:null;var N=n(76333);let F=new WeakMap;class D{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,M.ge)(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor((0,s.e)(e,"page").point)},r=(e,t)=>{var n;let{drag:i,dragPropagation:r,onDragStart:l}=this.getProps();if(i&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,b.nQ)(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,k.X)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(j.KN.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[e];i&&(t=(0,x.CQ)(i)*(parseFloat(t)/100))}}this.originPoint[e]=t}),l&&h.Gt.postRender(()=>l(e,t)),null==(n=this.removeWillChange)||n.call(this),this.removeWillChange=(0,N.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(e,t)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:l}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:s}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),l&&l(e,t)},a=(e,t)=>this.stop(e,t),o=()=>(0,k.X)(e=>{var t;return"paused"===this.getAnimationState(e)&&(null==(t=this.getAxisMotionValue(e).animation)?void 0:t.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new p(e,{onSessionStart:i,onStart:r,onMove:l,onSessionEnd:a,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:V(this.visualElement)})}stop(e,t){var n;null==(n=this.removeWillChange)||n.call(this);let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:l}=this.getProps();l&&h.Gt.postRender(()=>l(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:i}=this.getProps();if(!n||!O(e,i,this.currentDirection))return;let r=this.getAxisMotionValue(e),l=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(l=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?(0,S.k)(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?(0,S.k)(n,e,i.max):Math.min(e,n)),e}(l,this.constraints[e],this.elastic[e])),r.set(l)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,r=this.constraints;t&&(0,y.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(e,{top:t,left:n,bottom:i,right:r}){return{x:C(e.x,n,r),y:C(e.y,t,i)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:P(e,"left","right"),y:P(e,"top","bottom")}}(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,k.X)(e
4=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!(0,y.X)(t))return!1;let i=t.current;(0,l.V)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,R.L)(i,r.root,this.visualElement.getTransformPagePoint()),a=(e=r.layout.layoutBox,{x:E(e.x,s.x),y:E(e.y,s.y)});if(n){let e=n((0,A.pA)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,A.FY)(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:l,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all((0,k.X)(s=>{if(!O(s,t,this.currentDirection))return;let o=a&&a[s]||{};l&&(o={min:0,max:0});let u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...o};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start((0,I.f)(e,n,0,t,this.visualElement,!1,(0,N.g)(this.visualElement,e)))}stopAnimation(){(0,k.X)(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){(0,k.X)(e=>{var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.pause()})}getAnimationState(e){var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){(0,k.X)(t=>{let{drag:n}=this.getProps();if(!O(t,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(t);if(i&&i.layout){let{min:n,max:l}=i.layout.layoutBox[t];r.set(e[t]-(0,S.k)(n,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,y.X)(t)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};(0,k.X)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();i[e]=function(e,t){let n=.5,i=(0,x.CQ)(e),r=(0,x.CQ)(t);return r>i?n=(0,w.q)(t.min,t.max-i,e.min):i>r&&(n=(0,w.q)(e.min,e.max-r,t.min)),(0,_.q)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,k.X)(t=>{if(!O(t,e,null))return;let n=this.getAxisMotionValue(t),{min:r,max:l}=this.constraints[t];n.set((0,S.k)(r,l,i[t]))})}addListeners(){if(!this.visualElement.current)return;F.set(this.visualElement,this);let e=this.visualElement.current,t=(0,o.h)(e,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();(0,y.X)(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),h.Gt.read(n);let l=(0,L.k)(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,k.X)(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),t(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:l=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:l,dragMomentum:s}}}function O(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class z extends i.X{constructor(e){super(e),this.removeGroupControls=r.l,this.removeListeners=r.l,this.controls=new D(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let B=e=>(t,n)=>{e&&h.Gt.postRender(()=>e(t,n))};class W extends i.X{constructor(){super(...arguments),this.removePointerDownListener=r.l}onPointerDown(e){this.session=new p(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:V(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:B(e),onStart:B(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&h.Gt.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=(0,o.h)(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var $=n(49267);let H={pan:{Feature:W},drag:{Feature:z,ProjectionNode:n(44976).P,MeasureLayout:$.$}}},36151:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var i,r=n(95155),l=n(12115),s=n(43646),a=n(74791);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var u=function(e){return l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=l.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10.833 5H19v8.167M19 5 5 19m8.167 0H5v-8.167"})))},d={wrapper:"_3XxjvMxF",trigger:"_tKdWZHXs",indicator:"__PkHwqj5",indicatorIcon:"_TsokpLRi"};let c=e=>{var t,n,i;let{alt:o="",className:c,classNames:h,onClick:p,onError:f,onKeyDown:m,onLoad:g,...v}=e,b=(0,l.useRef)(null),y=(0,a.K)(),[w,x]=(0,l.useState)(!1),_=(0,l.useCallback)(e=>{x(!!(e&&(e=>
4null===e.closest("a[href]")&&e.complete&&e.naturalWidth>0&&e.naturalHeight>0)(e)))},[]);return(0,l.useEffect)(()=>{_(b.current)},[v.src,v.srcSet,_]),(0,r.jsxs)("span",{className:(0,s.$)(d.wrapper,null==h?void 0:h.wrapper),children:[(0,r.jsx)("img",{...v,ref:b,alt:o,role:w?null!=(t=v.role)?t:"button":v.role,tabIndex:w?null!=(n=v.tabIndex)?n:0:v.tabIndex,"aria-haspopup":w?null!=(i=v["aria-haspopup"])?i:"dialog":v["aria-haspopup"],className:(0,s.$)(c,null==h?void 0:h.image,w&&d.trigger),onClick:e=>{null==p||p(e),!e.defaultPrevented&&w&&y(e.currentTarget)},onError:e=>{null==f||f(e),x(!1)},onKeyDown:e=>{null==m||m(e),e.defaultPrevented||!w||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),y(e.currentTarget))},onLoad:e=>{null==g||g(e),_(e.currentTarget)}}),w&&(0,r.jsx)("span",{"aria-hidden":!0,className:(0,s.$)(d.indicator,null==h?void 0:h.indicator),children:(0,r.jsx)(u,{className:(0,s.$)(d.indicatorIcon,null==h?void 0:h.indicatorIcon)})})]})}},36268:(e,t,n)=>{"use strict";n.d(t,{Kv:()=>l,N4:()=>s});var i=n(12115),r=n(11032);function l(e,t){var n,r,l;return e?"function"==typeof(r=n=e)&&(()=>{let e=Object.getPrototypeOf(r);return e.prototype&&e.prototype.isReactComponent})()||"function"==typeof n||"object"==typeof(l=n)&&"symbol"==typeof l.$$typeof&&["react.memo","react.forward_ref"].includes(l.$$typeof.description)?i.createElement(e,t):e:null}function s(e){let t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=i.useState(()=>({current:(0,r.ZR)(t)})),[l,s]=i.useState(()=>n.current.initialState);return n.current.setOptions(t=>({...t,...e,state:{...l,...e.state},onStateChange:t=>{s(t),null==e.onStateChange||e.onStateChange(t)}})),n.current}},36366:(e,t,n)=>{"use strict";n.d(t,{TabDropdown:()=>h});var i=n(95155),r=n(12115);n(89257),n(42605),n(15341),n(5733);var l=n(87242),s=n(49225),a=n(72412),o=n(36758),u=n(50488),d=n(42306),c={dropdown:"_sJQyLNX9",divider:"_7ihYp_tC",sub_list:"_un76apkS"};let h=e=>{let{items:t,onSubItemClick:n,onTabDropdownOpen:h,suffix:p,title:f,onboarding_id:m}=e,[g,v]=(0,r.useState)(!1),[b,y]=(0,r.useState)(null),w=e=>e?e.length>3?"".concat(e):e:"",x=e=>{v(e),null==h||h(e)},_=e=>{let t=(0,l.T)(e);t&&(null==n||n(t)),x(!1)},S=null==t?void 0:t.map(e=>{let t={el:(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(u.default,{description:w(null==e?void 0:e.description),hasChildren:!!(null==e?void 0:e.subItems),icon:e.icon,link:e.link,title:w(e.label),onClick:()=>_(e.link)})}),id:e.label,subItem:e.subItems?((e,t)=>(null==t?void 0:t.some(e=>e.subItems))?{subItem:t.map(t=>{var n;return{el:(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(u.default,{hasChildren:!!t.subItems,icon:t.icon,link:null==t?void 0:t.link,title:w(t.label),description:(null==t?void 0:t.description)?w(t.description):void 0})}),id:t.label,subItem:(null==t?void 0:t.subItems)?{el:(0,i.jsx)("div",{className:c.sub_list,children:null==(n=t.subItems)?void 0:n.map(e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.default,{hasChildren:!1,icon:e.icon,link:e.link,title:w(e.label),description:e.description?w(e.description):void 0,onClick:()=>_(e.link)},"".concat(e.label,"-").concat(e.link)),e.divider&&(0,i.jsx)("div",{className:c.divider,tabIndex:-1})]}))}),title:w(t.label)}:void 0,title:w(e)}}),title:w(e)}:{el:(0,i.jsx)("div",{className:c.sub_list,children:null==t?void 0:t.map(e=>(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(u.default,{hasChildren:!1,icon:e.icon,link:e.link,title:w(e.label),description:e.description?w(e.description):void 0,onClick:()=>_(e.link)}),e.divider&&(0,i.jsx)("div",{className:c.divider,tabIndex:-1})]},"".concat(e.label,"-").concat(e.link)))}),title:w(e)})(e.label,e.subItems):void 0};return e.divider?[t,{el:(0,i.jsx)("div",{className:c.divider,tabIndex:-1}),id:"divider-".concat(e.label)}]:t}).flat();return(0,i.jsx)(a.default,{className:c.dropdown,isOpen:g,offset:-8,onboarding_id:m,placement:"bottom-start",setIsOpen:x,parent:()=>(0,i.jsx)(o.A,{isOpen:g,rightIcon:(0,i.jsx)(d.A,{}),onClick:()=>x(!1),children:(0,i.jsxs)("span",{children:[f,p]})}),onCloseEvent:()=>y(null),children:(0,i.jsx)(s.default,{mainLinks:S,openSubMenuList:b,setOpenSubMenuList:y})})}},36381:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});let i=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},36545:(e,t,n)=>{"use strict";n.d(t,{P:()=>c});var i=n(14060),r=n(54140),l=n(35546),s=n(16326),a=n(53292),o=n(54160),u=n(59003);let d=(0,o.C)({...r.W,...s.n,...l.$,...a.Z},u.J),c=(0,i.I)(d)},36758:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(95155),r=n(43646),l=n(63984),s={tabButton:"_HdHUcBYv",disabled:"_y3zAXFs7",tabItem:"_-W0HqKy0",icon:"_MVXN1dhF",open:"_87wBt_SB"};let a=({children:e,rightIcon:t,isOpen:n,disabled:a,onboarding_id:o,...u})=>(0,i.jsx)("button",{type:"button",...u,className:(0,r.$)(s.tabButton,{[s.disabled]:a}),"data-onboarding-id":o,disabled:a,tabIndex:0,children:(0,i.jsxs)(l.A,{as:"span",className:s.tabItem,variant:"system_h4",children:[e,t&&(0,i.jsx)("i",{className:(0,r.$)(s.icon,{[s.open]:n}),children:t})]})})}
4,37339:(e,t,n)=>{"use strict";n.d(t,{useKeyPress:()=>r});var i=n(12115);let r=(e,t,n)=>{let r=(0,i.useCallback)(n=>{n.key===e&&t()},null!=n?n:[]);(0,i.useEffect)(()=>(document.addEventListener("keydown",r,!1),()=>{document.removeEventListener("keydown",r,!1)}),null!=n?n:[])}},38361:(e,t,n)=>{"use strict";n.d(t,{default:()=>r});var i=n(95155);let r=(0,n(12115).forwardRef)((e,t)=>{let{size:n=24,strokeWidth:r=3,...l}=e;return(0,i.jsx)("svg",{...l,ref:t,fill:"none",height:n,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("circle",{cx:"12",cy:"12",fill:"none",r:"8.5",stroke:"currentColor",strokeDasharray:"42 12",strokeLinecap:"round",strokeWidth:r,children:(0,i.jsx)("animateTransform",{attributeName:"transform",attributeType:"xml",dur:"0.5s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"})})})});r.displayName="Loader"},39067:(e,t,n)=>{"use strict";n.d(t,{T:()=>s,n:()=>a});var i=n(23082),r=n(45471),l=n(61987);let s=[i.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>s.find((0,l.w)(e))},39078:(e,t,n)=>{"use strict";n.d(t,{TableHeader:()=>h});var i,r=n(95155),l=n(12115),s=n(43646),a=n(8959),o=n(63984);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var d=function(e){return l.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.36 18.768a1 1 0 0 1-.128-1.408L13.698 12 9.232 6.64a1 1 0 0 1 1.536-1.28l5 6a1 1 0 0 1 0 1.28l-5 6a1 1 0 0 1-1.408.128",clipRule:"evenodd"})))},c={tableHeader:"_Srp_wFpk",tableTitle:"_v-5Qoq04",isText:"_Jk6viK9x",button:"_-me4-XDB",buttonWrapper:"_exyGYf7v",buttonText_transactionsEnabled:"_TFwjESIA",buttonText:"_5e5jt9Rd",buttonIcon:"_AloZqN6g"};let h=e=>{let{title:t,handleClickMore:n,hideShowMore:i=!1,hideArrowNext:u,className:h,isTransactionsEnabled:p=!1,translations:f,onboarding_id:m}=e,g=(0,a.useMediaQuery)("tablet"),v=(0,l.useMemo)(()=>"string"==typeof t?(0,r.jsx)(o.A,{as:"p",className:(0,s.$)(c.tableTitle,c.isText),fontWeight:500,variant:"system_h4",children:t}):t,[t]);return(0,r.jsxs)("div",{className:(0,s.$)(c.tableHeader,h),"data-onboarding-id":m,children:[!g&&v,(0,r.jsxs)("button",{className:c.button,children:[g&&v,(0,r.jsxs)(o.A,{as:"span",className:c.buttonWrapper,variant:"button",children:[!i&&(0,r.jsx)("span",{className:(0,s.$)(c.buttonText,{[c.buttonText_transactionsEnabled]:p}),onClick:n&&n,children:f.showMore}),!u&&(0,r.jsx)("i",{className:c.buttonIcon,onClick:n&&n,children:(0,r.jsx)(d,{})})]})]})]})}},39213:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});let i=(e,t)=>t&&"number"==typeof e?t.transform(e):e},40819:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var i,r,l=n(95155),s=n(12115),a=n(43646);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var u=function(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:8,height:8,fill:"none"},e),i||(i=s.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 1.818 2.636 6.182 1 4.545"})))};function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var c=function(e){return s.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:8,height:2,fill:"none"},e),r||(r=s.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 1H1"})))},h={custom_checkbox_wrapper:"_TtfXFIib",fullWidth:"_B3KZLz50",custom_checkbox:"_1ymWJW5e",square:"_ThNDfU6l",icon:"_dicZUsCS",rounded:"_mjuHa5ZJ",indeterminate:"_ZjPSADqB",leftLabel:"_pdiHkIz3"};let p=s.forwardRef((e,t)=>{let{label:n,indeterminate:i,labelPosition:r,fullWidth:o,className:d,roun
4ded:p=!1,labelClassName:f,onboarding_id:m,...g}=e,v=(0,s.useId)();return(0,l.jsxs)("div",{"data-onboarding-id":m,className:(0,a.$)(h.custom_checkbox_wrapper,{[h.fullWidth]:o},d),children:[(0,l.jsx)("input",{ref:t,readOnly:!0,id:v,type:"checkbox",className:(0,a.$)(h.custom_checkbox,{[h.indeterminate]:i,[h.leftLabel]:"left"===r,[h.fullWidth]:o}),...g}),(0,l.jsxs)("label",{className:(0,a.$)(f,{[h.rounded]:p}),htmlFor:v,children:[(0,l.jsx)("div",{className:h.square,children:(0,l.jsx)("span",{className:h.icon,children:(0,l.jsx)(i?c:u,{})})}),n]})]})})},41211:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var i=n(92295),r=n(78450),l=n(14206);function s(e){return l.f.has(e)?"transform":i.M.has(e)?(0,r.I)(e):void 0}},41232:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});let i=e=>null!==e;function r(e,{repeat:t,repeatType:n="loop"},r){let l=e.filter(i),s=t&&"loop"!==n&&t%2==1?0:l.length-1;return s&&void 0!==r?r:l[s]}},41528:(e,t,n)=>{"use strict";n.d(t,{default:()=>h});var i=n(95155),r=n(12115),l=n(45299),s=n(43646),a=n(60760),o=n(36545),u=n(11941),d={floatingOverlay:"_rOQJi4k0",shadow_wrapper:"_Ll_Jt22F",burger:"_QXe2a4wa",burger__container:"_SYlVZW6c",burger__wrapper:"_GYNcCuRc",left:"_LyE6AWUB",right:"_x74DF_F4"};let c={closed:{opacity:0},open:{opacity:1}},h=e=>{let{isOpen:t,setIsOpen:n,onCloseEvent:h,children:p,align:f="left",locale:m="en",classNames:g}=e,v=(0,u.useTextDirection)(m),{refs:b,context:y}=(0,l.we)({onOpenChange:n,open:t}),w=(0,r.useMemo)(()=>{let e=(()=>{let e="rtl"===v;return"left"===f?e?"100%":"-100%":e?"-100%":"100%"})();return{exit:{opacity:0,transition:{duration:.2},x:e},hidden:{opacity:0,x:e},visible:{opacity:1,transition:{damping:30,stiffness:300,type:"spring"},x:0}}},[f,v]),x=(0,l.kp)(y,{enabled:!1}),_=(0,l.It)(y,{role:"dialog"}),S=(0,l.iQ)(y),C=(0,l.s9)(y,{ancestorScroll:!1,escapeKey:!0,outsidePressEvent:"pointerdown",referencePress:!1}),{getFloatingProps:E}=(0,l.bv)([x,C,_,S]);return(0,r.useEffect)(()=>{t||null==h||h()},[t,h]),"undefined"==typeof document?null:(0,i.jsx)(a.N,{mode:"wait",children:t&&(0,i.jsx)(l.XF,{children:(0,i.jsx)(l.zR,{lockScroll:!0,className:(0,s.$)(d.floatingOverlay,null==g?void 0:g.floatingOverlay),children:(0,i.jsx)(l.s3,{context:y,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.P.div,{animate:"open",exit:"closed",initial:"closed",variants:c,className:(0,s.$)(d.shadow_wrapper,null==g?void 0:g.shadowWrapper)}),(0,i.jsx)(o.P.div,{ref:b.setFloating,...E(),animate:t?"visible":"exit",exit:"exit",initial:"hidden",tabIndex:0,variants:w,className:(0,s.$)(d.burger,{[d.left]:"left"===f,[d.right]:"right"===f},null==g?void 0:g.burger),children:(0,i.jsx)("div",{className:(0,s.$)(d.burger__container,null==g?void 0:g.burgerContainer),children:(0,i.jsx)("div",{className:(0,s.$)(d.burger__wrapper,null==g?void 0:g.burgerWrapper),children:p})})})]})})})})})}},42306:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i,r=n(12115);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var s=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:10,height:6,fill:"none"},e),i||(i=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M.232.693A1 1 0 0 1 1.64.565L5 3.365l3.36-2.8a1 1 0 0 1 1.28 1.537l-4 3.333a1 1 0 0 1-1.28 0l-4-3.333A1 1 0 0 1 .232.693",clipRule:"evenodd"})))}},42605:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(95155),r=n(12115),l=n(60760),s=n(36545);class a extends r.Component{setTransition(e){return this.properties={...this.properties,motionProps:{...this.properties.motionProps,transition:e}},this}setVariants(e){return this.properties={...this.properties,motionProps:{...this.properties.motionProps,variants:e}},this}render(){return(0,i.jsx)(l.N,{mode:"wait",children:this.properties.condition?(0,i.jsx)(s.P.div,{...this.properties.motionProps,children:this.component.render()}):null})}constructor(e,t){super(t),this.component=e,this.properties=t}}},42843:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var i=n(68972),r=n(50408);function l(){if(r.r.current=!0,i.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>r.O.current=e.matches;e.addListener(t),t()}else r.O.current=!1}},43646:(e,t,n)=>{"use strict";function i(){for(var e,t,n=0,i="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=function e(t){var n,i,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(i=e(t[n]))&&(r&&(r+=" "),r+=i)}else for(i in t)t[i]&&(r&&(r+=" "),r+=i);return r}(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{$:()=>i})},44976:(e,t,n)=>{"use strict";n.d(t,{P:()=>eR,i:()=>ek});var i=n(66802),r=n(59282),l=n(18210),s=n(21109),a=n(69147),o=n(45471);let u=["TopLeft","TopRight","BottomLeft","BottomRight"],d=u.length,c=e=>"string"==typeof e?parseFloat(e):e,h=e=>"number"==typeof e||o.px.test(e);function p(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let f=g(0,.5,r.yT),m=g(.5,.95,a.l);function g(e,t,n){return i=>i<e?0:i>t?1:n((0,l.q)(e,t,i))}function v(e,t){e.min=t.min,e.max=t.max}function b(e,t){v(e.x,t.x),v(e.y,t.y)}function y(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var w=n(96147),x=n(64200);function _(e,t,n,i,r){return e-=t,e=(0,w.hq)(e,1/n,i),void 0!==r&&(e=(0,w.hq)(e,1/r,i)),e}function S(e,t,[n,i,r],l,a){!function(e,t=0,n=1,i=.5,r,l=e,a=e){if(o.KN.test(t)&&(t=parseFloat(t),t=(0,s.k)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let u=(0,s.k)(l.min,l.max,i);e===l&&(u-=t),e.min=_(e.min,t,n,u,r),e.max=_(e.max,t,n,u,r)}(e,t[n],t[i],t[r],t.scale,l,a)}let C=["x","scaleX","originX"],E=["y","scaleY","originY"];
4function P(e,t,n,i){S(e.x,t,C,n?n.x:void 0,i?i.x:void 0),S(e.y,t,E,n?n.y:void 0,i?i.y:void 0)}var T=n(28060);function M(e){return 0===e.translate&&1===e.scale}function k(e){return M(e.x)&&M(e.y)}function R(e,t){return e.min===t.min&&e.max===t.max}function A(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function L(e,t){return A(e.x,t.x)&&A(e.y,t.y)}function j(e){return(0,x.CQ)(e.x)/(0,x.CQ)(e.y)}function I(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var V=n(63284);class N{constructor(){this.members=[]}add(e){(0,V.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,V.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var F=n(20637),D=n(94198),O=n(62662),z=n(18070),B=n(95902),W=n(29901),$=n(73334),H=n(66373),G=n(4781),U=n(77782),q=n(59210),X=n(19932),Y=n(48466),K=n(46926),Z=n(81786);let Q={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},J="undefined"!=typeof window&&void 0!==window.MotionDebug,ee=["","X","Y","Z"],et={visibility:"hidden"},en=0;function ei(e,t,n,i){let{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function er({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(e={},n=null==t?void 0:t()){this.id=en++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,J&&(Q.totalNodes=Q.resolvedTargetDeltas=Q.recalculatedProjection=0),this.nodes.forEach(ea),this.nodes.forEach(ef),this.nodes.forEach(em),this.nodes.forEach(eo),J&&window.MotionDebug.record(Q)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new z.Y)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new i.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,H.x)(t),this.instance=t;let{layoutId:i,layout:r,visualElement:l}=this.options;if(l&&!l.current&&l.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||i)&&(this.isLayoutDirty=!0),e){let n,i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=(0,$.c)(i,250),W.w.hasAnimatedSinceResize&&(W.w.hasAnimatedSinceResize=!1,this.nodes.forEac
4h(ep))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&l&&(i||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||l.getDefaultTransition()||ex,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=l.getProps(),o=!this.targetLayout||!L(this.targetLayout,i)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(o||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,T.r)(r,"layout"),onPlay:s,onComplete:a};(l.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ep(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,q.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(eg),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let i=(0,K.P)(n);if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",q.Gt,!(e||n))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ed);return}this.isUpdating||this.nodes.forEach(ec),this.isUpdating=!1,this.nodes.forEach(eh),this.nodes.forEach(el),this.nodes.forEach(es),this.clearAllSnapshots();let e=X.k.now();q.uv.delta=(0,U.q)(0,1e3/60,e-q.uv.timestamp),q.uv.timestamp=e,q.uv.isProcessing=!0,q.Ci.update.process(q.uv),q.Ci.preRender.process(q.uv),q.Ci.render.process(q.uv),q.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Y.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eu),this.sharedNodes.forEach(ev)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,q.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){q.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,Z.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!l)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!k(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||(0,O.HD)(this.latestValues)||r)&&(l(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),i=this.removeElementScroll(n);return e&&(i=this.removeTransform(i)),eC((t=i).x),eC(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return(0,Z.ge)();let n=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(eP))){let{scroll:e}=this.root;e&&((0,w.Ql)(n.x,e.offset.x),(0,w.Ql)(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=(0,Z.ge)();if(b(n,e),null==(t=this.scroll)?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let i=this.path[t],{scroll:r,options:l}=i;i!==this.root&&r&&l.layoutScroll&&(r.wasRoot&&b(n,e),(0,w.Ql)(n.x,r.offset.x),(0,w.Ql)(n.y,r.offset.y))}return n}applyTransform(e,t=!1){let n=(0,Z.ge)();b(n,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(0,w.Ww)(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),(0,O.HD)(i.latestValues)&&(0,w.Ww)(n,i.latestValues)}return(0,O.HD)(this.latestValues)&&(0,w.Ww)(n,this.latestValues),n}removeTransform(e){let t=(0,Z.ge)();b(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!(0,O.HD)(n.latestValues))continue;(0,O.vk)(n.latestValues)&&n.updateSnapshot();let i=(0,Z.ge)();b(i,n.measurePageBox()),P(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return(0,O.HD)(this.latestValues)&&P(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==q.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;let n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
4haredProjectionDirty);let i=!!this.resumingFrom||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:l}=this.options;if(this.layout&&(r||l)){if(this.resolvedRelativeTargetAt=q.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Z.ge)(),this.relativeTargetOrigin=(0,Z.ge)(),(0,x.jA)(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),b(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,Z.ge)(),this.targetWithTransforms=(0,Z.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,x.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):b(this.target,this.layout.layoutBox),(0,w.o4)(this.target,this.targetDelta)):b(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Z.ge)(),this.relativeTargetOrigin=(0,Z.ge)(),(0,x.jA)(this.relativeTargetOrigin,this.target,e.target),b(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}J&&Q.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,O.vk)(this.parent.latestValues)||(0,O.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===q.uv.timestamp&&(i=!1),i)return;let{layout:r,layoutId:l}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||l))return;b(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;(0,w.OU)(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,Z.ge)());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(y(this.prevProjectionDelta.x,this.projectionDelta.x),y(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,x.vb)(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&I(this.projectionDelta.x,this.prevProjectionDelta.x)&&I(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),J&&Q.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,Z.xU)(),this.projectionDelta=(0,Z.xU)(),this.projectionDeltaWithTransform=(0,Z.xU)()}setAnimationOrigin(e,t=!1){let n,i=this.snapshot,r=i?i.latestValues:{},l={...this.latestValues},a=(0,Z.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let g=(0,Z.ge)(),v=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),y=this.getStack(),w=!y||y.members.length<=1,_=!!(v&&!w&&!0===this.options.crossfade&&!this.path.some(ew));this.animationProgress=0,this.mixTargetDelta=t=>{let i=t/1e3;if(eb(a.x,e.x,i),eb(a.y,e.y,i),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var y,S,C,E,P,T;(0,x.jA)(g,this.layout.layoutBox,this.relativeParent.layout.layoutBox),C=this.relativeTarget,E=this.relativeTargetOrigin,P=g,T=i,ey(C.x,E.x,P.x,T),ey(C.y,E.y,P.y,T),n&&(y=this.relativeTarget,S=n,R(y.x,S.x)&&R(y.y,S.y))&&(this.isProjectionDirty=!1),n||(n=(0,Z.ge)()),b(n,this.relativeTarget)}v&&(this.animationValues=l,function(e,t,n,i,r,l){r?(e.opacity=(0,s.k)(0,void 0!==n.opacity?n.opacity:1,f(i)),e.opacityExit=(0,s.k)(void 0!==t.opacity?t.opacity:1,0,m(i))):l&&(e.opacity=(0,s.k)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<d;r++){let l=`border${u[r]}Radius`,a=p(t,l),d=p(n,l);(void 0!==a||void 0!==d)&&(a||(a=0),d||(d=0),0===a||0===d||h(a)===h(d)?(e[l]=Math.max((0,s.k)(c(a),c(d),i),0),(o.KN.test(d)||o.KN.test(a))&&(e[l]+="%")):e[l]=d)}(t.rotate||n.rotate)&&(e.rotate=(0,s.k)(t.rotate||0,n.rotate||0,i))}(l,r,this.latestValues,i,_,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,q.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=q.Gt.update(()=>{W.w.hasAnimatedSinceResize=!0,this.currentAnimation=(0,G.z)(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:i,latestValues:r}=e;
4if(t&&n&&i){if(this!==e&&this.layout&&i&&eE(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,Z.ge)();let t=(0,x.CQ)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let i=(0,x.CQ)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}b(t,n),(0,w.Ww)(t,r),(0,x.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new N),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let i={};n.z&&ei("z",e,i,this.animationValues);for(let t=0;t<ee.length;t++)ei(`rotate${ee[t]}`,e,i,this.animationValues),ei(`skew${ee[t]}`,e,i,this.animationValues);for(let t in e.render(),i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return et;let i={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=(0,B.u)(null==e?void 0:e.pointerEvents)||"",i.transform=r?r(this.latestValues,""):"none",i;let l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,B.u)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,O.HD)(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}let s=l.animationValues||l.latestValues;this.applyTransformsToTarget(),i.transform=function(e,t,n){let i="",r=e.x.translate/t.x,l=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((r||l||s)&&(i=`translate3d(${r}px, ${l}px, ${s}px) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:r,rotateY:l,skewX:s,skewY:a}=n;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),r&&(i+=`rotateX(${r}deg) `),l&&(i+=`rotateY(${l}deg) `),s&&(i+=`skewX(${s}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,o=e.y.scale*t.y;return(1!==a||1!==o)&&(i+=`scale(${a}, ${o})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(i.transform=r(s,i.transform));let{x:a,y:o}=this.projectionDelta;for(let e in i.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,l.animationValues?i.opacity=l===this?null!=(n=null!=(t=s.opacity)?t:this.latestValues.opacity)?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=l===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,F.H){if(void 0===s[e])continue;let{correct:t,applyTo:n}=F.H[e],r="none"===i.transform?s[e]:t(s[e],l);if(n){let e=n.length;for(let t=0;t<e;t++)i[n[t]]=r}else i[e]=r}return this.options.layoutId&&(i.pointerEvents=l===this?(0,B.u)(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(ed),this.root.sharedNodes.clear()}}}function el(e){e.updateLayout()}function es(e){var t;let n=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:i}=e.layout,{animationType:r}=e.options,l=n.source!==e.layout.source;"size"===r?(0,D.X)(e=>{let i=l?n.measuredBox[e]:n.layoutBox[e],r=(0,x.CQ)(i);i.min=t[e].min,i.max=i.min+r}):eE(r,n.layoutBox,t)&&(0,D.X)(i=>{let r=l?n.measuredBox[i]:n.layoutBox[i],s=(0,x.CQ)(t[i]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)});let s=(0,Z.xU)();(0,x.vb)(s,t,n.layoutBox);let a=(0,Z.xU)();l?(0,x.vb)(a,e.applyTransform(i,!0),n.measuredBox):(0,x.vb)(a,t,n.layoutBox);let o=!k(s),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:l}=i;if(r&&l){let s=(0,Z.ge)();(0,x.jA)(s,n.layoutBox,r.layoutBox);let a=(0,Z.ge)();(0,x.jA)(a,t,l.layoutBox),L(s,a)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:o,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ea(e){J&&Q.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function eo(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function eu(e){e.clearSnapshot()}function ed(e){e.clearMeasurements()}function ec(e){e.isLayoutDirty=!1}function eh(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ep(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ef(e){e.resolveTargetDelta()}function em(e){e.calcProjection()}
4function eg(e){e.resetSkewAndRotation()}function ev(e){e.removeLeadSnapshot()}function eb(e,t,n){e.translate=(0,s.k)(t.translate,0,n),e.scale=(0,s.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ey(e,t,n,i){e.min=(0,s.k)(t.min,n.min,i),e.max=(0,s.k)(t.max,n.max,i)}function ew(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ex={duration:.45,ease:[.4,0,.1,1]},e_=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eS=e_("applewebkit/")&&!e_("chrome/")?Math.round:a.l;function eC(e){e.min=eS(e.min),e.max=eS(e.max)}function eE(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,x.HQ)(j(t),j(n),.2)}function eP(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}var eT=n(51442);let eM=er({attachResizeListener:(e,t)=>(0,eT.k)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ek={current:void 0},eR=er({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ek.current){let e=new eM({});e.mount(window),e.setOptions({layoutScroll:!0}),ek.current=e}return ek.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},45265:(e,t,n)=>{"use strict";n.d(t,{Tabs:()=>m});var i=n(95155),r=n(12115),l=n(43646),s=n(36545),a=n(27677);n(89257),n(42605),n(15341),n(5733);var o=n(87242),u=n(47622),d=n(63984),c=n(36366),h=n(36758);n(2252);var p={tabs:"_JO2MYiwY",tabs_border:"_4nfdpquK",tabItems:"_ZSEZ0em7",swiper:"_1xKWi8SL",underline:"_s5NovCBl",divider:"_1RacVObO",tabTooltipContent:"_6FTlCJMs"};let f=(e,t)=>(0,i.jsx)(h.A,{disabled:e.disabled,onboarding_id:e.onboarding_id,onClick:t,children:(0,i.jsxs)("span",{children:[e.label,e.suffix]})}),m=e=>{let{tabsData:t,activeTabValue:n,onChange:h,id:m,className:g,isShowBorder:v,swiper:b=!1,locale:y="en",checkIsActive:w,onSubItemClick:x,onTabDropdownOpen:_,onboarding_id:S}=e,C=(0,r.useRef)(null),E=(0,r.useId)(),P=e=>{if(null==h||h(e),null==C?void 0:C.current){var n;let i=t.findIndex(t=>(0,o.T)(t.link)===e);i&&(null==(n=C.current)||n.slideTo(i))}},T=e=>(null==e?void 0:e.label)&&e.link?e.subitems?(0,i.jsx)(c.TabDropdown,{id:(0,o.T)(e.link),items:e.subitems,onboarding_id:e.onboarding_id,suffix:e.suffix,title:e.label,onSubItemClick:x,onTabDropdownOpen:_}):e.tooltipText?(0,i.jsx)(u.default,{appearance:"normal",placement:"top",classNames:{content:p.tabTooltipContent},trigger:f(e,()=>P((0,o.T)(e.link))),children:(0,i.jsx)(d.A,{color:"text_secondary",fontWeight:400,variant:"system_h5",children:e.tooltipText})}):f(e,()=>P((0,o.T)(e.link))):"divider"===e.label?(0,i.jsx)("div",{className:p.divider}):void 0,M=e=>w?null==w?void 0:w(e):!!n&&n===(0,o.T)(e.link);return b?(0,i.jsx)(a.RC,{freeMode:!0,className:(0,l.$)(p.swiper,g),"data-onboarding-id":S,slidesPerView:"auto",breakpoints:{0:{threshold:0},1024:{threshold:20}},initialSlide:t.findIndex(e=>n===(0,o.T)(e.link)),onBeforeInit:e=>{C.current=e},children:t.map((e,t)=>(0,i.jsxs)(a.qr,{className:(0,l.$)(p.tabItems,{[p.active]:n===(null==e?void 0:e.link)}),children:[T(e),M(e)&&(0,i.jsx)(s.P.div,{className:p.underline,layoutId:"".concat(E,"-").concat(m,"-underline-").concat(t,"-").concat(y),style:{originY:"0px"}})]},"".concat(null==e?void 0:e.link,"-").concat(e.label)))}):(0,i.jsx)("ul",{"data-onboarding-id":S,className:(0,l.$)(p.tabs,g,{[p.tabs_border]:v}),children:t.map((e,t)=>(0,i.jsxs)("li",{className:p.tabItems,children:[T(e),M(e)&&(0,i.jsx)(s.P.div,{className:p.underline,layoutId:"".concat(E,"-").concat(m,"-underline-").concat(t,"-").concat(y),style:{originY:"0px"}})]},"".concat(null==e?void 0:e.link,"-").concat(e.label)))})}},45471:(e,t,n)=>{"use strict";n.d(t,{KN:()=>s,gQ:()=>d,px:()=>a,uj:()=>l,vh:()=>o,vw:()=>u});var i=n(30234);let r=e=>({test:t=>(0,i.Kg)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),l=r("deg"),s=r("%"),a=r("px"),o=r("vh"),u=r("vw"),d={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},45640:(e,t,n)=>{"use strict";n.d(t,{default:()=>f});var i,r=n(95155),l=n(12115),s=n(43646),a=n(60760),o=n(36545),u=n(63984);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var c=function(e){return l.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),i||(i=l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M7 4a1 1 0 0 1 2 0v4a1 1 0 1 1-2 0zm.987 7a1 1 0 1 1 0 2h-.
4014a1 1 0 1 1 0-2z",clipRule:"evenodd"})))},h={container:"_XWNsySDd",label:"_hWThS_AZ",textarea:"_5WVVCOM6",errorIcon:"__ltv27aw",textarea_error:"_XJPKRhpv",textarea__errorWrapper:"_FHohFN1D"};let p={animate:{height:"auto",marginTop:"8px",opacity:1,transition:{duration:.2,ease:"easeInOut"},y:0},exit:{height:0,marginTop:"0px",opacity:0,transition:{duration:.2},y:-10},initial:{height:0,opacity:0,y:-10}},f=e=>{let{name:t,cols:n,rows:i,placeholder:d,maxLength:f,error:m,label:g,textareaClassName:v,labelClassname:b,onboarding_id:y,...w}=e,x=(0,l.useId)();return(0,r.jsxs)("div",{className:(0,s.$)(h.container),"data-onboarding-id":y,children:[g&&(0,r.jsx)("label",{className:(0,s.$)(h.label,b),htmlFor:x,children:(0,r.jsx)(u.A,{fontWeight:600,variant:"system_h5",children:g})}),(0,r.jsx)("textarea",{...w,cols:n,maxLength:f,name:t,placeholder:d,rows:i,style:{"--rows":i},className:(0,s.$)(h.textarea,{[h.textarea_error]:m},v)}),(0,r.jsx)(a.N,{children:m&&(0,r.jsxs)(o.P.div,{animate:"animate",className:(0,s.$)(h.textarea__errorWrapper),exit:"exit",initial:"initial",variants:p,children:[(0,r.jsx)(c,{className:h.errorIcon}),(0,r.jsx)(u.A,{fontWeight:400,variant:"system_h5",children:m})]})})]})}},45667:(e,t,n)=>{"use strict";n.d(t,{nD:()=>i.default,KB:()=>r.default,$n:()=>l.A,Sc:()=>s.default,Ah:()=>C.A,qr:()=>a.A,Q5:()=>o.default,rI:()=>u.default,H_:()=>f,Ar:()=>g,K0:()=>v.IconButton,hh:()=>b.IconWrapper,pd:()=>R.default,NJ:()=>y.default,Ff:()=>I.LightTabs,Vv:()=>w.MobileMenuContainer,aF:()=>x.default,dK:()=>S.default,O8:()=>E.default,EA:()=>P.A,Ic:()=>k.default,dO:()=>M.default,tU:()=>A.Tabs,TM:()=>L.default,m_:()=>j.default,o5:()=>T.A,D3:()=>B.D,un:()=>W.u,Cj:()=>V.useCopyToClipboard,d7:()=>N.useDebounce,_6:()=>F.useDebounceCallback,BL:()=>D.useIntersectionObserver,Ub:()=>O.useMediaQuery,Wr:()=>z.useOnClickOutside,WQ:()=>_.default});var i=n(58887);n(88485),n(77769);var r=n(41528),l=n(66357),s=n(40819);n(99221);var a=n(61839),o=n(49225),u=n(72412),d=n(95155),c=n(43646),h=n(96165),p={input__error:"_1z0qAoBi",error__icon:"_W31SkD_p",error__description:"_Qih0MZgf"};let f=({children:e,classNames:t})=>(0,d.jsxs)("div",{className:(0,c.$)(p.input__error,t?.container),children:[(0,d.jsx)(h.A,{className:(0,c.$)(p.error__icon,t?.icon)}),(0,d.jsx)("span",{className:(0,c.$)(p.error__description,t?.description),children:e})]});var m={fiatIcon:"_yvJ9JCVn"};let g=({symbolCode:e})=>{let t=16;return e.length>1&&(t-=e.includes("Ê»")?1.8*e.length:2*e.length),(0,d.jsx)("span",{className:m.fiatIcon,style:{fontSize:`${t}px`},children:e})};var v=n(18244),b=n(95083);n(12115);var y=n(24545);n(65967),n(84173);var w=n(330),x=n(94038),_=n(14421),S=n(35471);n(20832),n(73119),n(54747),n(53006);var C=n(57528);n(7951),n(2216),n(87699);var E=n(3326),P=n(20126),T=n(63984),M=n(22250),k=n(13241);n(96210),n(39078),n(27425);var R=n(9532);n(36366),n(50488),n(36758);var A=n(45265),L=n(45640),j=n(47622),I=n(62982);n(36151),n(62714),n(38361),n(29369),n(47817),n(90537);var V=n(91256),N=n(82365),F=n(75523),D=n(5008);n(37339),n(28038);var O=n(8959),z=n(46468);n(29122),n(89257),n(42605),n(15341),n(5733);var B=n(96927),W=n(22353)},46395:(e,t,n)=>{"use strict";n.d(t,{f:()=>l});var i=n(21109),r=n(18210);function l(e,t){let n=e[e.length-1];for(let l=1;l<=t;l++){let s=(0,r.q)(0,t,l);e.push((0,i.k)(n,1,s))}}},46468:(e,t,n)=>{"use strict";n.d(t,{useOnClickOutside:()=>r});var i=n(12115);let r=(e,t,n)=>{(0,i.useEffect)(()=>{let i=i=>{var r;let l=null==e?void 0:e.current;!l||l.contains((null==i?void 0:i.target)||null)||n&&(null==i||null==(r=i.target)?void 0:r.closest(".".concat(n)))||t(i)};return document.addEventListener("mousedown",i),document.addEventListener("touchstart",i),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("touchstart",i)}},[e,t])}},46926:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(31788);function r(e){return e.props[i.n]}},47437:(e,t,n)=>{"use strict";n.d(t,{j:()=>C});var i=n(21109),r=n(67670);function l(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var s=n(67730),a=n(24935),o=n(12083);function u(e,t){return n=>n>0?t:e}let d=(e,t,n)=>{let i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},c=[s.u,a.B,o.V];function h(e){let t=c.find(t=>t.test(e));if((0,r.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===o.V&&(n=function({hue:e,saturation:t,lightness:n,alpha:i}
4){e/=360,n/=100;let r=0,s=0,a=0;if(t/=100){let i=n<.5?n*(1+t):n+t-n*t,o=2*n-i;r=l(o,i,e+1/3),s=l(o,i,e),a=l(o,i,e-1/3)}else r=s=a=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}(n)),n}let p=(e,t)=>{let n=h(e),r=h(t);if(!n||!r)return u(e,t);let l={...n};return e=>(l.red=d(n.red,r.red,e),l.green=d(n.green,r.green,e),l.blue=d(n.blue,r.blue,e),l.alpha=(0,i.k)(n.alpha,r.alpha,e),a.B.transform(l))};var f=n(97007),m=n(82897),g=n(90664),v=n(93676);let b=new Set(["none","hidden"]);function y(e,t){return n=>(0,i.k)(e,t,n)}function w(e){return"number"==typeof e?y:"string"==typeof e?(0,v.p)(e)?u:m.y.test(e)?p:S:Array.isArray(e)?x:"object"==typeof e?m.y.test(e)?p:_:u}function x(e,t){let n=[...e],i=n.length,r=e.map((e,n)=>w(e)(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}}function _(e,t){let n={...e,...t},i={};for(let r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=w(e[r])(e[r],t[r]));return e=>{for(let t in i)n[t]=i[t](e);return n}}let S=(e,t)=>{let n=g.f.createTransformer(t),i=(0,g.V)(e),l=(0,g.V)(t);return i.indexes.var.length===l.indexes.var.length&&i.indexes.color.length===l.indexes.color.length&&i.indexes.number.length>=l.indexes.number.length?b.has(e)&&!l.values.length||b.has(t)&&!i.values.length?function(e,t){return b.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):(0,f.F)(x(function(e,t){var n;let i=[],r={color:0,var:0,number:0};for(let l=0;l<t.values.length;l++){let s=t.types[l],a=e.indexes[s][r[s]],o=null!=(n=e.values[a])?n:0;i[l]=o,r[s]++}return i}(i,l),l.values),n):((0,r.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),u(e,t))};function C(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,i.k)(e,t,n):w(e)(e,t)}},47508:(e,t,n)=>{"use strict";n.d(t,{o:()=>E,L:()=>P});var i=n(18203),r=n(18009),l=n(94344);function s({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:o,min:u,max:d,restDelta:c=.5,restSpeed:h}){let p,f,m=e[0],g={done:!1,value:m},v=n*t,b=m+v,y=void 0===o?b:o(b);y!==b&&(v=y-m);let w=e=>-v*Math.exp(-e/i),x=e=>y+w(e),_=e=>{let t=w(e),n=x(e);g.done=Math.abs(t)<=c,g.value=g.done?y:n},S=e=>{let t;if(t=g.value,void 0!==u&&t<u||void 0!==d&&t>d){var n;p=e,f=(0,r.o)({keyframes:[g.value,(n=g.value,void 0===u?d:void 0===d||Math.abs(u-n)<Math.abs(d-n)?u:d)],velocity:(0,l.Y)(x,e,g.value),damping:s,stiffness:a,restDelta:c,restSpeed:h})}};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==p||(t=!0,_(e),S(e)),void 0!==p&&e>=p)?f.next(e-p):(t||_(e),g)}}}var a=n(95233),o=n(22363),u=n(56583),d=n(97846),c=n(96185);function h({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){var r;let l=(0,o.h)(i)?i.map(u.K):(0,u.K)(i),s={done:!1,value:t[0]},h=(r=n&&n.length===t.length?n:(0,c.Z)(t),r.map(t=>t*e)),p=(0,d.G)(h,t,{ease:Array.isArray(l)?l:t.map(()=>l||a.am).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=p(t),s.done=t>=e,s)}}var p=n(86111),f=n(97007),m=n(47437),g=n(9533),v=n(70071),b=n(77782),y=n(19932),w=n(59210);let x=e=>{let t=({timestamp:t})=>e(t);return{start:()=>w.Gt.update(t,!0),stop:()=>(0,w.WG)(t),now:()=>w.uv.isProcessing?w.uv.timestamp:y.k.now()}};var _=n(41232);let S={decay:s,inertia:s,tween:h,keyframes:h,spring:r.o},C=e=>e/100;class E extends p.i{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:l}=this.options,s=(null==r?void 0:r.KeyframeResolver)||i.h,a=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new s(l,a,t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n,{type:i="keyframes",repeat:r=0,repeatDelay:l=0,repeatType:s,velocity:a=0}=this.options,o=S[i]||h;o!==h&&"number"!=typeof e[0]&&(t=(0,f.F)(C,(0,m.j)(e[0],e[1])),e=[0,100]);let u=o({...this.options,keyframes:e});"mirror"===s&&(n=o({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=(0,g.t)(u));let{calculatedDuration:d}=u,c=d+l;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:d,resolvedDuration:c,totalDuration:c*(r+1)-l}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:i,generator:r,mirroredGenerator:l,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:o,totalDuration:u,resolvedDuration:d}=n;if(null===this.startTime)return r.next(0);let{delay:c,repeat:h,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,w=r;if(h){let e=Math.min(this.currentTime,u)/d,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(n=1-n,f&&(n-=f/d)):"mirror"===p&&(w=l)),y=(0,b.q)(0,1,n)*d}let x=v?{done:!1,value:a[0]}:w.next(y);s&&(x.value=s(x.value));let{done:S}=x;v||null===o||(S=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return C&&void 0!==i&&(x.value=(0,_.X)(a,this.options,i)),m&&m(x.value),C&&this.finish(),x}
4get duration(){let{resolved:e}=this;return e?(0,v.X)(e.calculatedDuration):0}get time(){return(0,v.X)(this.currentTime)}set time(e){e=(0,v.f)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,v.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=x,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(e=this.currentTime)?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}function P(e){return new E(e)}},47622:(e,t,n)=>{"use strict";n.d(t,{default:()=>f});var i=n(95155),r=n(12115),l=n(45299),s=n(84945),a=n(76492),o=n(43646),u=n(60760),d=n(36545),c=n(90537),h={container:"_6Th9aDoJ",overlay:"_ybVUQ5pD",tooltipWrapper:"_eb7uHm2Y",normal:"_QDvIWYlo",arrow:"_Gs8dHRE5",white:"_f2MvakF9",table:"_GxPLYQpm",targetWrapper:"_KYMbigk_"};let p={close:{opacity:0}
4,open:{opacity:1}},f=e=>{let{maxWidthString:t="calc(100dvw - 32px)",trigger:n,children:f,placement:m="bottom",appearance:g="normal",customOffset:v=10,isOpenOnClick:b=!1,isHideArrow:y=!1,setIsHoverFromParent:w,disabled:x=!1,delay:_,isOpen:S,isControlled:C,setIsOpen:E,shiftOffset:P=24,shiftPadding:T=16,classNames:M,arrowPadding:k=16,usePortal:R=!0,stopPropagationOnClick:A=!0,preventDefaultOnClick:L,onboarding_id:j}=e,I=(0,r.useRef)(null),V=(0,r.useRef)(null),[N,F]=(0,r.useState)(!1),D=C?!!S:N,O=R?l.XF:r.Fragment,z=e=>{C?null==E||E(e):F(e)},{refs:B,floatingStyles:W,context:$}=(0,l.we)({middleware:[(0,s.cY)(v),(0,s.UU)(),(0,s.BN)({limiter:(0,s.ER)({offset:P}),padding:T}),(0,s.Ej)({apply(e){let{elements:n}=e;n.floating.style.maxWidth=t}}),(0,s.UE)({element:I,padding:k})],onOpenChange:z,open:D&&!x,placement:m,whileElementsMounted:a.ll}),H=(0,l.kp)($,{enabled:!x&&(b||C)}),G=(0,l.Mk)($,{delay:_,enabled:!x&&!b&&!C,handleClose:(0,l.iB)(),move:!1}),U=(0,l.iQ)($,{enabled:!x}),q=(0,l.s9)($),X=(0,l.It)($,{role:"tooltip"}),{getReferenceProps:Y,getFloatingProps:K}=(0,l.bv)([G,H,U,q,X]);return(0,c.useClickInside)(V,()=>z(!1)),(0,r.useEffect)(()=>{null==w||w(D)},[D]),(0,i.jsxs)("div",{className:(0,o.$)(h.container,null==M?void 0:M.container),"data-onboarding-id":j,children:[(0,i.jsx)("div",{ref:B.setReference,className:null==M?void 0:M.trigger,...Y({onClick(e){L&&e.preventDefault(),A&&e.stopPropagation()}}),children:n}),(0,i.jsx)(u.N,{mode:"wait",children:D&&(0,i.jsxs)(O,{children:[(b||C)&&(0,i.jsx)(l.zR,{lockScroll:!0,className:(0,o.$)(h.overlay,null==M?void 0:M.overlay),role:"menu"}),(0,i.jsxs)(d.P.div,{ref:B.setFloating,style:W,...K(),animate:"open",exit:"close",initial:"close",transition:{duration:.2},variants:p,className:(0,o.$)(h.tooltipWrapper,null==M?void 0:M.tooltipWrapper,{[h[g]]:"custom"!==g}),children:[!y&&(0,i.jsx)(l.ie,{ref:I,className:(0,o.$)(h.arrow,null==M?void 0:M.arrow),context:$,d:"m9.61,17.67c0.65,-0.73 1.32,-1.69 2.39,-1.69c1.07,0 1.74,0.96 2.39,1.69l2.75,3.09c1.05,1.18 1.58,1.78 2.21,2.2c0.56,0.38 1.19,0.66 1.84,0.83c0.74,0.19 1.22,0.19 2.81,0.19l-24,0c1.59,0 2.07,0 2.81,-0.19c0.65,-0.17 1.28,-0.45 1.84,-0.83c0.63,-0.42 1.16,-1.02 2.21,-2.2l2.75,-3.09z",height:8,width:24}),(0,i.jsx)("div",{ref:V,className:(0,o.$)(null==M?void 0:M.content),children:f})]})]})})]})}},47817:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var i=n(95155),r=n(12115),l=n(62177);class s extends r.Component{addProps(e){this.component.addProps(e)}render(){return(0,i.jsx)(l.xI,{name:this.properties.name,rules:this.properties.rules,render:e=>{var t;let{field:n,fieldState:i,formState:r}=e,l=this.properties.handleOnChange?this.properties.handleOnChange({field:n,fieldState:i,formState:r}):n.onChange;return this.component.addProps({error:null==(t=i.error)?void 0:t.message,name:this.properties.name,onChange:l}).render()}})}constructor(e,t){super(t),this.component=e,this.properties=t}}},48466:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});let{schedule:i,cancel:r}=(0,n(70554).I)(queueMicrotask,!1)},49225:(e,t,n)=>{"use strict";n.d(t,{default:()=>w});var i,r=n(95155),l=n(12115),s=n(43646),a=n(11941),o=n(88485),u=n(65967),d=n(63984),c=n(47650),h=n(82365);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var f=function(e){return l.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.64 18.768a1 1 0 0 0 .128-1.408L10.302 12l4.466-5.36a1 1 0 1 0-1.536-1.28l-5 6a1 1 0 0 0 0 1.28l5 6a1 1 0 0 0 1.408.128",clipRule:"evenodd"})))};let m=e=>{let{onClick:t,link:n,listWrapperRef:i,inert:s,classNames:a}=e,[o,u]=(0,l.useState)(!1),d=(0,h.useDebounce)(o,200);return(0,r.jsxs)("div",{className:null==a?void 0:a.item,"data-onboarding-id":n.onboarding_id,onClick:t,onMouseEnter:n.subElement?()=>{u(!0)}:void 0,onMouseLeave:n.subElement?()=>{u(!1)}:void 0,inert:s,children:[n.el,(n.subElement||"subItem"in n&&(null==n?void 0:n.subItem))&&(0,r.jsx)(f,{className:null==a?void 0:a.arrow}),d&&i.current&&n.subElement&&(0,c.createPortal)((0,r.jsx)(r.Fragment,{children:n.subElement}),i.current)]})};var g={mainListWrapper:"_VgAKhgDg",mainList:"_ItgGUa1l",mainList__item:"_9gem1CAG",arrow:"_ai3DhDiW",big_padding:"_kuJJ2NmP",default_cursor:"_dGn9fEEr",subItem:"_9n0BdTFZ",openedSubMenu:"_UtWV0qQ4",subItem__back_btn:"_vIV4FDYh",burger:"_nZ83vniG"};let v={duration:.4,ease:[.25,.1,.25,1]},b={hidden:e=>e?{x:"210%"}:{x:"-210%"},visible:{x:0}},y={hidden:e=>e?{x:"-210%"}:{x:"210%"},visible:{x:0}},w=e=>{let{mainLinks:t,openSubMenuList:n,setOpenSubMenuList:i,burger:c=!1,hasChildren:h=!1,width:p,maxWidth:x,classNames:_}=e,S=(0,l.useRef)(null),[C,E]=(0,l.useState)(null),P=(0,a.useTextDirection)(),T=(0,l.useMemo)(()=>!(!n||!(null==n?void 0:n.el)&&!(null==n?void 0:n.subItem)),[n]),M=(0,l.useMemo)(()=>!!C&&!!(null==C?void 0:C.el),[C]);return(0,r.jsxs)(o.AnimatedFrames,{children:[(0,r.jsx)(u.default,{isMainMenu:!0,custom:"rtl"===P,initial:h?"hidden":"visible",isOpen:!T,transition:v,variants:h&&!T?y:b,children:(0,r.jsx)("div",{ref:S,className:(0,s.$)(g.mainListWrapper,null==_?void 0:_.mainListWrapper),children:(0,r.jsx)("div",{autoFocus:!0,className:(0,s.$)(g.mainList,null==_?void 0:_.mainList),style:{maxWidth:x?"".concat(x,"px"):void 0,width:p?"".concat(p,"px"):void 0},children:null==t?void 0:t.map(e=>(0,r.jsx)(m,{inert:!(!M&&!T)||void 0,link:e,listWrapperRef:S,classNames:{arrow:(0,s.$)(g.arrow,{[g.big_padding]:c,[g.default_cursor]:e.subElement},null==_?void 0:_.mainListItemArrow),item:(0,s.$)(g.mainList__item,null==_?void 0:_.mainListItem)},onClick:()=>(e=>{e.subItem&&i(e.subItem)})(e)},e.id))})})}),(0,r.jsx)(u.default,{custom:"rtl"===P,exit:"hidden",initial:"hidden",isOpen:T,transition:v,variants:M?b:y,children:(0,r.jsxs)("div",{className:(0,s.$)(g.subItem,{[g.openedSubMenu]:T&&!M},null==_?void 0:_.subItem),style:{maxWidth:x?"".concat(x,"px"):void 0,width:p?"".concat(p,"px"):void 0},children:[T&&!M&&(0,r.jsxs)("button",{tabIndex:T?0:-1,className:(0,s.$)(g.subItem__back_btn,{[g.burger]:c},null==_?void 0:_.subItemBackButton),onClick:()=>{i(null)},children:[(0,r.jsx)(f,{}),(0,r.jsx)(d.A,{as:"p",variant:"system_h4",children:null==n?void 0:n.title})]}),(null==n?void 0:n.subItem)?(0,r.jsx)(w,{hasChildren:!0,burger:c,classNames:_,mainLinks:null==n?void 0:n.subItem,maxWidth:x,openSubMenuList:C,setOpenSubMenuList:E,width:p}):null==n?void 0:n.el]})})]})}},49267:(e,t,n)=>{"use strict";n.d(t,{$:()=>b});
4var i=n(95155),r=n(12115),l=n(32082),s=n(90869),a=n(70797),o=n(29901),u=n(45471);function d(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let c={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!u.px.test(e))return e;else e=parseFloat(e);let n=d(e,t.target.x),i=d(e,t.target.y);return`${n}% ${i}%`}};var h=n(21109),p=n(90664),f=n(20637),m=n(48466),g=n(59210);class v extends r.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=e;(0,f.$)(y),r&&(t.group&&t.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),o.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:i,isPresent:r}=this.props,l=n.projection;return l&&(l.isPresent=r,i||e.layoutDependency!==t||void 0===t?l.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?l.promote():l.relegate()||g.Gt.postRender(()=>{let e=l.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),m.k.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function b(e){let[t,n]=(0,l.xQ)(),o=(0,r.useContext)(s.L);return(0,i.jsx)(v,{...e,layoutGroup:o,switchLayoutGroup:(0,r.useContext)(a.N),isPresent:t,safeToRemove:n})}let y={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let i=p.f.parse(e);if(i.length>5)return e;let r=p.f.createTransformer(e),l=+("number"!=typeof i[0]),s=n.x.scale*t.x,a=n.y.scale*t.y;i[0+l]/=s,i[1+l]/=a;let o=(0,h.k)(s,a,.5);return"number"==typeof i[2+l]&&(i[2+l]/=o),"number"==typeof i[3+l]&&(i[3+l]/=o),r(i)}}}},50408:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,r:()=>r});let i={current:null},r={current:!1}},50488:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var i=n(95155),r=n(43646);n(89257),n(42605),n(15341),n(5733);var l=n(96927);n(12115);var s=n(63984),a={item:"_sb3abBue",with_children:"_MHDgLVh6",item__icon:"_r__krxIq",item__content:"_hmpbBxGp"};let o=e=>{let{title:t,description:n,icon:o,link:u,onClick:d,hasChildren:c=!1,locale:h="en"}=e,p=()=>(0,i.jsxs)(i.Fragment,{children:[o&&(0,i.jsx)("span",{className:a.item__icon,children:o}),(0,i.jsxs)("div",{className:a.item__content,children:[(0,i.jsx)(s.A,{as:"p",fontWeight:500,variant:"system_h4",children:t}),n&&(0,i.jsx)(s.A,{as:"span",fontWeight:400,variant:"system_h5",children:n})]})]});if(!c&&u){let e="internal"===u.type?u.href:(0,l.D)(u.href,h);return(0,i.jsx)("a",{className:a.item,href:e,tabIndex:0,onClick:()=>null==d?void 0:d(),children:p()})}return(0,i.jsx)("button",{className:(0,r.$)(a.item,{[a.with_children]:c}),tabIndex:0,onClick:()=>{c||null==d||d()},children:p()})}},51442:(e,t,n)=>{"use strict";function i(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}n.d(t,{k:()=>i})},51508:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});let i=(0,n(12115).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},51586:(e,t,n)=>{"use strict";n.d(t,{F:()=>l,e:()=>r});var i=n(35124);function r(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let l=e=>t=>(0,i.M)(t)&&e(t,r(t))},52290:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});class i{constructor(e){this.isMounted=!1,this.node=e}update(){}}},52379:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e={},t={}){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>
4n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&r(e[n],t[n])})}n.d(t,{a:()=>o,g:()=>s});let l={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){let e="undefined"!=typeof document?document:{};return r(e,l),e}let a={document:l,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){let e="undefined"!=typeof window?window:{};return r(e,a),e}},52493:(e,t,n)=>{"use strict";n.d(t,{B:()=>M});var i=n(42843),r=n(50408),l=n(66802),s=n(59779),a=n(14570),o=n(14206),u=n(19253),d=n(65305),c=n(2735),h=n(6642),p=n(98312),f=n(65511),m=n(18203),g=n(3870),v=n(56440),b=n(82897),y=n(90664),w=n(39067),x=n(61987);let _=[...w.T,b.y,y.f];var S=n(19780),C=n(81786),E=n(59210);let P=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],T=p._.length;class M{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:l},s={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=m.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,E.Gt.render(this.render,!1,!0))};let{latestValues:o,renderState:d}=l;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=d,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,u.e)(t),this.isVariantNode=(0,u.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:c,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in h){let t=h[e];void 0!==o[e]&&(0,a.S)(t)&&t.set(o[e],!1)}}mount(e){this.current=e,f.C.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),r.r.current||(0,i.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in f.C.delete(this.current),this.projection&&this.projection.unmount(),(0,E.WG)(this.notifyUpdate),(0,E.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let i=o.f.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&E.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),l=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),l(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in h.B){let t=h.B[e];if(!t)continue;let{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){let t=this.features[e];
4t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,C.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<P.length;t++){let n=P[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){for(let i in t){let r=t[i],l=n[i];if((0,a.S)(r))e.addValue(i,r);else if((0,a.S)(l))e.addValue(i,(0,s.OQ)(r,{owner:e}));else if(l!==r)if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(i);e.addValue(i,(0,s.OQ)(void 0!==t?t:r,{owner:e}))}}for(let i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<T;e++){let n=p._[e],i=this.props[n];((0,d.w)(i)||!1===i)&&(t[n]=i)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,s.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=void 0===this.latestValues[e]&&this.current?null!=(n=this.getBaseTargetFromProps(this.props,e))?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){if("string"==typeof i&&((0,g.i)(i)||(0,v.$)(i)))i=parseFloat(i);else{let n;n=i,!_.find((0,x.w)(n))&&y.f.test(t)&&(i=(0,S.J)(e,t))}this.setBaseTarget(e,(0,a.S)(i)?i.get():i)}return(0,a.S)(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=(0,c.a)(this.props,i,null==(t=this.presenceContext)?void 0:t.custom);r&&(n=r[e])}if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,a.S)(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new l.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}},53006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(95155),r=n(12115),l={svg:"__tO5Nvjf",circleBg:"_ntI9oLDH",circle:"_1qYVSZ7G"};let s={green:{activeStrokeColor:"var(--special_green)",bgCircleColor:"var(--neutral_30)"},primary:{activeStrokeColor:"var(--neutral_80)",bgCircleColor:"var(--neutral_30)"}},a=e=>{let{variant:t="primary",progress:n=0,size:a=30,strokeWidth:o=5,rounded:u=!1,reverse:d=!1}=e,c=a/2,h=a/2-o/2,p=2*Math.PI*h,f=(0,r.useMemo)(()=>(d?n-100:100-n)/100*p,[n,p]);return(0,i.jsxs)("svg",{className:l.svg,height:a,width:a,children:[(0,i.jsx)("circle",{className:l.circleBg,cx:c,cy:c,r:h,stroke:s[t].bgCircleColor,strokeWidth:o}),(0,i.jsx)("circle",{className:l.circle,cx:c,cy:c,r:h,stroke:s[t].activeStrokeColor,strokeDasharray:p,strokeDashoffset:f,strokeLinecap:u?"round":void 0,strokeWidth:o})]})}},53292:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var i=n(44976),r=n(49267);let l={layout:{ProjectionNode:i.P,MeasureLayout:r.$}}},54140:(e,t,n)=>{"use strict";n.d(t,{W:()=>b});var i=n(6340),r=n(5910);function l(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}var s=n(65305),a=n(20419),o=n(98312),u=n(78660);let d=[...o.U].reverse(),c=o.U.length;function h(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p(){return{animate:h(!0),whileInView:h(),whileHover:h(),whileTap:h(),whileDrag:h(),whileFocus:h(),exit:h()}}var f=n(52290);class m extends f.X{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(0,u._)(e,t,n))),n=p(),o=!0,h=t=>(n,i)=>{var r;let l=(0,a.K)(e,i,"exit"===t?null==(r=e.presenceContext)?void 0:r.custom:void 0);if(l){let{transition:e,transitionEnd:t,...i}=l;n={...n,...i,...t}}return n};function f(a){let u=e.getProps(),p=e.getVariantContext(!0)||{},f=[],m=new Set,g={},v=1/0;for(let t=0;t<c;t++){var b,y;let c=d[t],w=n[c],x=void 0!==u[c]?u[c]:p[c],_=(0,s.w)(x),S=c===a?w.isActive:null;!1===S&&(v=t);let C=x===p[c]&&x!==u[c]&&_;if(C&&o&&e.manuallyAnimateOnMount&&(C=!1),w.protectedKeys={...g},!w.isActive&&null===S||!x&&!w.prevProp||(0,i.N)(x)||"boolean"==typeof x)continue;let E=(b=w.prevProp,("string"==typeof(y=x)?y!==b:!!Array.isArray(y)&&!l(y,b))||c===a&&w.isActive&&!C&&_||t>v&&_),P=!1,T=Array.isArray(x)?x:[x],M=T.reduce(h(c),{});!1===S&&(M={});let{prevResolvedValues:k={}}=w,R={...k,...M},A=t=>{E=!0,m.has(t)&&(P=!0,m.delete(t)),w.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in R){let t=M[e],n=k[e];if(!g.hasOwnProperty(e))((0,r.p)(t)&&(0,r.p)(n)?l(t,n):t===n)?void 0!==t&&m.has(e)?A(e):w.protectedKeys[e]=!0:null!=t?A(e):m.add(e)}w.prevProp=x,w.prevResolvedValues=M,w.isActive&&(g={...g,...M}),o&&e.blockInitialAnimation&&(E=!1),E&&(!C||P)&&f.push(...T.map(e=>({animation:e,options:{type:c}})))}if(m.size){let t={};m.forEach(n=>{let i=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=null!=i?i:null}),f.push({animation:t})}let w=!!f.length;return o&&(!1===u.initial||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(w=!1),o=!1,w?t(f):Prom
4ise.resolve()}return{animateChanges:f,setActive:function(t,i){var r;if(n[t].isActive===i)return Promise.resolve();null==(r=e.variantChildren)||r.forEach(e=>{var n;return null==(n=e.animationState)?void 0:n.setActive(t,i)}),n[t].isActive=i;let l=f(t);for(let e in n)n[e].protectedKeys={};return l},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=p(),o=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,i.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}let g=0;class v extends f.X{constructor(){super(...arguments),this.id=g++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let b={animation:{Feature:m},exit:{Feature:v}}},54160:(e,t,n)=>{"use strict";n.d(t,{C:()=>_});var i=n(11792),r=n(175),l=n(33869),s=n(34527),a=n(96488);let o=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),u=()=>({...o(),attrs:{}});var d=n(97914),c=n(93095),h=n(59210);let p={useVisualState:(0,a.T)({scrapeMotionValuesFromProps:s.x,createRenderState:u,onMount:(e,t,{renderState:n,latestValues:i})=>{h.Gt.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),h.Gt.render(()=>{(0,d.B)(n,i,(0,c.n)(t.tagName),e.transformTemplate),(0,l.d)(t,n)})}})};var f=n(60990);let m={useVisualState:(0,a.T)({applyWillChange:!0,scrapeMotionValuesFromProps:f.x,createRenderState:o})};var g=n(12115),v=n(33055),b=n(14570),y=n(29203);function w(e,t,n){for(let i in t)(0,b.S)(t[i])||(0,v.z)(i,n)||(e[i]=t[i])}var x=n(99776);function _(e,t){return function(n,{forwardMotionProps:l}={forwardMotionProps:!1}){let s={...(0,r.Q)(n)?p:m,preloadedFeatures:e,useRender:function(e=!1){return(t,n,i,{latestValues:l},s)=>{let a=((0,r.Q)(t)?function(e,t,n,i){let r=(0,g.useMemo)(()=>{let n=u();return(0,d.B)(n,t,(0,c.n)(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};w(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t){let n={},i=function(e,t){let n=e.style||{},i={};return w(i,n,e),Object.assign(i,function({transformTemplate:e},t){return(0,g.useMemo)(()=>{let n=o();return(0,y.O)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),i}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n})(n,l,s,t),h=(0,x.J)(n,"string"==typeof t,e),p=t!==g.Fragment?{...h,...a,ref:i}:{},{children:f}=n,m=(0,g.useMemo)(()=>(0,b.S)(f)?f.get():f,[f]);return(0,g.createElement)(t,{...p,children:m})}}(l),createVisualElement:t,Component:n};return(0,i.Z)(s)}}},54577:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var i=n(14206),r=n(39213),l=n(89976);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=i.U.length;function o(e,t,n){let o="",u=!0;for(let d=0;d<a;d++){let a=i.U[d],c=e[a];if(void 0===c)continue;let h=!0;if(!(h="number"==typeof c?c===+!!a.startsWith("scale"):0===parseFloat(c))||n){let e=(0,r.e)(c,l.W[a]);if(!h){u=!1;let t=s[a]||a;o+=`${t}(${e}) `}n&&(t[a]=e)}}return o=o.trim(),n?o=n(t,u?"":o):u&&(o="none"),o}},54747:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var i,r=n(95155),l=n(12115);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var a=function(e){return l.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),i||(i=l.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M18.75 4a3.25 3.25 0 0 1 3.245 3.066L22 7.25v9.5a3.25 3.25 0 0 1-3.066 3.245L18.75 20h-8.501a3.25 3.25 0 0 1-2.085-.756l-.155-.139-4.995-4.75a3.25 3.25 0 0 1-.116-4.594l.116-.116 4.995-4.75a3.25 3.25 0 0 1 2.032-.888L10.25 4zm0 1.5h-8.501a1.75 1.75 0 0 0-1.08.372l-.126.11-4.996 4.75-.062.062a1.75 1.75 0 0 0-.054 2.352l.116.122 4.996 4.75c.285.27.
465.437 1.038.474l.168.008h8.501a1.75 1.75 0 0 0 1.744-1.606l.006-.144v-9.5a1.75 1.75 0 0 0-1.606-1.744zm-7.304 2.897.084.073L14 10.939l2.47-2.47a.75.75 0 0 1 1.133.977l-.073.084L15.061 12l2.47 2.47a.75.75 0 0 1-.977 1.133l-.084-.073L14 13.061l-2.47 2.47a.75.75 0 0 1-1.133-.977l.073-.084L12.94 12l-2.47-2.47a.75.75 0 0 1 .976-1.133"})))},o={pin__wrapper:"_XxgR5SBf"};let u=["1","2","3","4","5","6","7","8","9","0"],d=e=>{let{pinDigits:t,setPinDigits:n,isLoading:i,onboarding_id:s}=e,[d,c]=(0,l.useState)(0),h=t.length;return(0,l.useEffect)(()=>{""===t[0]&&c(0)},[t[0]]),(0,r.jsxs)("div",{className:o.pin__wrapper,"data-onboarding-id":s,children:[u.map(e=>(0,r.jsx)("button",{disabled:i,onClick:i=>((e,i)=>{if(e.preventDefault(),d>h-1)return;let r=t[d],l=i.trim().replace(r,""),s=[...t];s[d]=l,n(s),c(d+1)})(i,e),children:e},e)),(0,r.jsx)("button",{disabled:i,onClick:e=>(e=>{if(e.preventDefault(),!t[d-1])return;let i=t[d-1],r=i.replace(i,""),l=[...t];l[d-1]=r,n(l),c(d-1)})(e),children:(0,r.jsx)(a,{})})]})}},55510:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var i=n(14947),r=n(94675);class l{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(!(0,r.J)()||!t.attachTimeline)return t.pause(),(0,i.y)(e=>{t.time=t.duration*e},e);t.attachTimeline(e)});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}},56324:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(6082);function r(e,t,n,{delay:l=0,duration:s=300,repeat:a=0,repeatType:o="loop",ease:u,times:d}={}){let c={[t]:n};d&&(c.offset=d);let h=(0,i.TU)(u);return Array.isArray(h)&&(c.easing=h),e.animate(c,{delay:l,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:a+1,direction:"reverse"===o?"alternate":"normal"})}},56440:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});let i=e=>/^0[^.\s]+$/u.test(e)},56583:(e,t,n)=>{"use strict";n.d(t,{K:()=>c});var i=n(67670),r=n(83945),l=n(69147),s=n(95233),a=n(59282),o=n(95190),u=n(14279);let d={linear:l.l,easeIn:s.a6,easeInOut:s.am,easeOut:s.vT,circIn:a.po,circInOut:a.tn,circOut:a.yT,backIn:o.dg,backInOut:o.ZZ,backOut:o.Sz,anticipate:u.b},c=e=>{if(Array.isArray(e)){(0,i.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,l,s]=e;return(0,r.A)(t,n,l,s)}return"string"==typeof e?((0,i.V)(void 0!==d[e],`Invalid easing type '${e}'`),d[e]):e}},57528:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(95155),r=n(43646),l=n(63984),s=n(53006),a={label:"_qoEuQ-po",right:"_ePpGkwXO",center:"_VDTLWkPS"};let o=({progress:e,size:t,strokeWidth:n,percentLabel:o,customLabel:u,labelPosition:d="right",circularBarVariant:c="green",circularBarReverse:h=!1})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.default,{progress:e,reverse:h,rounded:e<100,size:t,strokeWidth:n,variant:c}),o&&(0,i.jsx)(l.A,{as:"span",className:(0,r.$)(a.label,a[d]),variant:"system_h1",children:u??`${e}%`})]})},58492:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var i=n(59779),r=n(41211),l=n(63284);class s extends i.KG{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){let t=(0,r.I)(e);if(!t)return;let n=this.counts.get(t)||0;this.counts.set(t,n+1),0===n&&(this.output.push(t),this.update());let i=!1;return()=>{if(i)return;i=!0;let e=this.counts.get(t)-1;this.counts.set(t,e),0===e&&((0,l.Ai)(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}},58561:()=>{},58887:(e,t,n)=>{"use strict";n.d(t,{default:()=>b});var i,r,l,s=n(95155),a=n(43646),o=n(36545),u=n(12115);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var c=function(e){return u.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=u.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.232 9.36a1 1 0 0 1 1.408-.128L12 13.698l5.36-4.466a1 1 0 0 1 1.28 1.536l-6 5a1 1 0 0 1-1.28 0l-6-5a1 1 0 0 1-.128-1.408",clipRule:"evenodd"})))};
4function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var p=function(e){return u.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=u.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"})))};function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var m=function(e){return u.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),l||(l=u.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 5a1 1 0 1 0-2 0v6H5a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6z",clipRule:"evenodd"})))},g={accordion:"_Eu24IhwP",fullWidth:"_3DrFuAdY",accordion__button:"_oFVN6NGJ",accordion__header:"_A-nBkdpB",accordion__icon:"_BLzzhcqR",accordion__arrow:"_6RGT_sIR",accordion__arrow_open:"_JxBHI7ue",accordion__content:"_ar5e1Emf",bordered:"_6iraKLEs",card:"_JZIviNxY"};let v={closed:{height:0},open:{height:"auto"}},b=e=>{let{leftContent:t,title:n,isOpen:i,onClick:r,children:l,classNames:u,variant:d="bordered",icon:h="bordered"===d?"plus":"arrow",fullWidth:f=!0,onboarding_id:b}=e,y="string"==typeof h&&["arrow","plus"].includes(h)?"plus"===h?(0,s.jsx)(i?p:m,{}):(0,s.jsx)(c,{className:(0,a.$)(g.accordion__arrow,{[g.accordion__arrow_open]:i})}):h;return(0,s.jsxs)("div",{"data-onboarding-id":b,className:(0,a.$)(null==u?void 0:u.wrapper,{[g.accordion]:"custom"!==d,[g[d]]:"custom"!==d,[g.fullWidth]:f}),children:[(0,s.jsxs)("div",{className:(0,a.$)(g.accordion__button,null==u?void 0:u.button),role:"button",tabIndex:0,onClick:r,onKeyDown:e=>{"Enter"!==e.code&&" "!==e.code||(e.preventDefault(),r()),"Escape"===e.code&&i&&(e.preventDefault(),r())},children:[(0,s.jsxs)("div",{className:(0,a.$)(g.accordion__header,null==u?void 0:u.header),children:[t,n]}),h&&(0,s.jsx)("span",{className:g.accordion__icon,children:y})]}),(0,s.jsx)(o.P.div,{animate:i?"open":"closed",initial:"closed",variants:v,className:(0,a.$)(null==u?void 0:u.contentWrapper,g.accordionContent__wrapper),children:(0,s.jsx)("div",{className:(0,a.$)(g.accordion__content,null==u?void 0:u.content),children:l})})]})}},59003:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var i=n(12115),r=n(75245),l=n(27885),s=n(175);let a=(e,t)=>(0,s.Q)(e)?new l.l(t):new r.M(t,{allowProjection:e!==i.Fragment})},59210:(e,t,n)=>{"use strict";n.d(t,{Ci:()=>a,Gt:()=>r,WG:()=>l,uv:()=>s});var i=n(69147);let{schedule:r,cancel:l,state:s,steps:a}=(0,n(70554).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},59282:(e,t,n)=>{"use strict";n.d(t,{po:()=>l,tn:()=>a,yT:()=>s});var i=n(567),r=n(16498);let l=e=>1-Math.sin(Math.acos(e)),s=(0,r.G)(l),a=(0,i.V)(l)},59779:(e,t,n)=>{"use strict";n.d(t,{KG:()=>o,OQ:()=>u,bt:()=>a});var i=n(66802),r=n(15315),l=n(19932),s=n(59210);let a={current:void 0};class o{constructor(e,t={}){this.version="11.5.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=l.k.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=l.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.v);let n=this.events[e].add(t);return"change"===e?()=>{n(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
4setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=l.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new o(e,t)}},60760:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var i=n(95155),r=n(12115),l=n(80845),s=n(82885),a=n(51508);class o extends r.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(e){let{children:t,isPresent:n}=e,l=(0,r.useId)(),s=(0,r.useRef)(null),u=(0,r.useRef)({width:0,height:0,top:0,left:0}),{nonce:d}=(0,r.useContext)(a.Q);return(0,r.useInsertionEffect)(()=>{let{width:e,height:t,top:i,left:r}=u.current;if(n||!s.current||!e||!t)return;s.current.dataset.motionPopId=l;let a=document.createElement("style");return d&&(a.nonce=d),document.head.appendChild(a),a.sheet&&a.sheet.insertRule('\n [data-motion-pop-id="'.concat(l,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n top: ").concat(i,"px !important;\n left: ").concat(r,"px !important;\n }\n ")),()=>{document.head.removeChild(a)}},[n]),(0,i.jsx)(o,{isPresent:n,childRef:s,sizeRef:u,children:r.cloneElement(t,{ref:s})})}let d=e=>{let{children:t,initial:n,isPresent:a,onExitComplete:o,custom:d,presenceAffectsLayout:h,mode:p}=e,f=(0,s.M)(c),m=(0,r.useId)(),g=(0,r.useMemo)(()=>({id:m,initial:n,isPresent:a,custom:d,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;o&&o()},register:e=>(f.set(e,!1),()=>f.delete(e))}),h?[Math.random()]:[a]);return(0,r.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[a]),r.useEffect(()=>{a||f.size||!o||o()},[a]),"popLayout"===p&&(t=(0,i.jsx)(u,{isPresent:a,children:t})),(0,i.jsx)(l.t.Provider,{value:g,children:t})};function c(){return new Map}var h=n(90869),p=n(67670);let f=e=>e.key||"";function m(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}var g=n(97494);let v=e=>{let{children:t,exitBeforeEnter:n,custom:l,initial:a=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:c="sync"}=e;(0,p.V)(!n,"Replace exitBeforeEnter with mode='wait'");let v=(0,r.useMemo)(()=>m(t),[t]),b=v.map(f),y=(0,r.useRef)(!0),w=(0,r.useRef)(v),x=(0,s.M)(()=>new Map),[_,S]=(0,r.useState)(v),[C,E]=(0,r.useState)(v);(0,g.E)(()=>{y.current=!1,w.current=v;for(let e=0;e<C.length;e++){let t=f(C[e]);b.includes(t)?x.delete(t):!0!==x.get(t)&&x.set(t,!1)}},[C,b.length,b.join("-")]);let P=[];if(v!==_){let e=[...v];for(let t=0;t<C.length;t++){let n=C[t],i=f(n);b.includes(i)||(e.splice(t,0,n),P.push(n))}"wait"===c&&P.length&&(e=P),E(m(e)),S(v);return}let{forceRender:T}=(0,r.useContext)(h.L);return(0,i.jsx)(i.Fragment,{children:C.map(e=>{let t=f(e),n=v===C||b.includes(t);return(0,i.jsx)(d,{isPresent:n,initial:(!y.current||!!a)&&void 0,custom:n?void 0:l,presenceAffectsLayout:u,mode:c,onExitComplete:n?void 0:()=>
4{if(!x.has(t))return;x.set(t,!0);let e=!0;x.forEach(t=>{t||(e=!1)}),e&&(null==T||T(),E(w.current),o&&o())},children:e},t)})})}},60990:(e,t,n)=>{"use strict";n.d(t,{x:()=>l});var i=n(33055),r=n(14570);function l(e,t,n){var l;let{style:s}=e,a={};for(let o in s)((0,r.S)(s[o])||t.style&&(0,r.S)(t.style[o])||(0,i.z)(o,e)||(null==(l=null==n?void 0:n.getValue(o))?void 0:l.liveStyle)!==void 0)&&(a[o]=s[o]);return n&&s&&"string"==typeof s.willChange&&(n.applyWillChange=!1),a}},61839:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(95155),r=n(43646),l=n(63984),s={counter:"_W6n2iifD",medium:"_xsqxhIhK",small:"_e3pk9BLb"};let a=({counter:e,className:t,size:n="medium"})=>(0,i.jsx)(l.A,{as:"span",className:(0,r.$)(s.counter,t,s[n]),variant:"tag",children:Math.min(e,99)})},61987:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});let i=e=>t=>t.test(e)},62177:(e,t,n)=>{"use strict";n.d(t,{Op:()=>_,lN:()=>T,mN:()=>eo,xI:()=>k,xW:()=>x});var i=n(12115),r=e=>e instanceof Date,l=e=>null==e,s=e=>!l(e)&&!Array.isArray(e)&&"object"==typeof e&&!r(e),a=e=>s(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,o=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),u="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function d(e){let t,n=Array.isArray(e),i="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(u&&(e instanceof Blob||i))&&(n||s(e))))return e;else if(t=n?[]:{},n||(e=>{let t=e.constructor&&e.constructor.prototype;return s(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=d(e[n]));else t=e;return t}var c=e=>Array.isArray(e)?e.filter(Boolean):[],h=e=>void 0===e,p=(e,t,n)=>{if(!t||!s(e))return n;let i=c(t.split(/[,[\].]+?/)).reduce((e,t)=>l(e)?e:e[t],e);return h(i)||i===e?h(e[t])?n:e[t]:i},f=e=>/^\w*$/.test(e),m=e=>c(e.replace(/["|']|\]/g,"").split(/\.|\[/)),g=(e,t,n)=>{let i=-1,r=f(t)?[t]:m(t),l=r.length,a=l-1;for(;++i<l;){let t=r[i],l=n;if(i!==a){let n=e[t];l=s(n)||Array.isArray(n)?n:isNaN(+r[i+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=l,e=e[t]}};let v={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},b={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},y={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},w=i.createContext(null),x=()=>i.useContext(w),_=e=>{let{children:t,...n}=e;return i.createElement(w.Provider,{value:n},t)};var S=(e,t,n,i=!0)=>{let r={defaultValues:t._defaultValues};for(let l in e)Object.defineProperty(r,l,{get:()=>(t._proxyFormState[l]!==b.all&&(t._proxyFormState[l]=!i||b.all),n&&(n[l]=!0),e[l])});return r},C=e=>l(e)||"object"!=typeof e;function E(e,t){if(C(e)||C(t))return e===t;if(r(e)&&r(t))return e.getTime()===t.getTime();let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let l of n){let n=e[l];if(!i.includes(l))return!1;if("ref"!==l){let e=t[l];if(r(n)&&r(e)||s(n)&&s(e)||Array.isArray(n)&&Array.isArray(e)?!E(n,e):n!==e)return!1}}return!0}let P=(e,t)=>{let n=(0,i.useRef)(t);E(t,n.current)||(n.current=t),(0,i.useEffect)(e,n.current)};function T(e){let t=x(),{control:n=t.control,disabled:r,name:l,exact:s}=e||{},[a,o]=i.useState(n._formState),u=i.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return P(()=>n._subscribe({name:l,formState:u.current,exact:s,callback:e=>{r||o({...n._formState,...e})}}),[l,r,s]),i.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),i.useMemo(()=>S(a,n,u.current,!1),[a,n])}var M=(e,t,n,i,r)=>"string"==typeof e?(i&&t.watch.add(e),p(n,e,r)):Array.isArray(e)?e.map(e=>(i&&t.watch.add(e),p(n,e))):(i&&(t.watchAll=!0),n);let k=e=>e.render(function(e){let t=x(),{name:n,disabled:r,control:l=t.control,shouldUnregister:s}=e,u=o(l._names.array,n),c=function(e){let t=x(),{control:n=t.control,name:r,defaultValue:l,disabled:s,exact:a}=e||{},[o,u]=i.useState(n._getWatch(r,l));return P(()=>n._subscribe({name:r,formState:{values:!0},exact:a,callback:e=>!s&&u(M(r,n._names,e.values||n._formValues,!1,l))}),[r,l,s,a]),i.useEffect(()=>n._removeUnmounted()),o}({control:l,name:n,defaultValue:p(l._formValues,n,p(l._defaultValues,n,e.defaultValue)),exact:!0}),f=T({control:l,name:n,exact:!0}),m=i.useRef(e),b=i.useRef(l.register(n,{...e.rules,value:c,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}})),y=i.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!p(f.errors,n)},isDirty:{enumerable:!0,get:()=>!!p(f.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!p(f.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!p(f.validatingFields,n)},error:{enumerable:!0,get:()=>p(f.errors,n)}}),[f,n]),w=i.useCallback(e=>b.current.onChange({target:{value:a(e),name:n},type:v.CHANGE}),[n]),_=i.useCallback(()=>b.current.onBlur({target:{value:p(l._formValues,n),name:n},type:v.BLUR}),[n,l._formValues]),S=i.useCallback(e=>{let t=p(l._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[l._fields,n]),C=i.useMemo(()=>({name:n,value:c,..."boolean"==typeof r||f.disabled?{disabled:f.disabled||r}:{},onChange:w,onBlur:_,ref:S}),[n,r,f.disabled,w,_,S,c]);return i.useEffect(()=>{let e=l._options.shouldUnregister||s;l.register(n,{...m.current.rules,..."boolean"==typeof m.current.disabled?{disabled:m.current.disabled}:{}});let t=(e,t)=>{let n=p(l._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){let e=d(p(l._options.defaultValues,n));g(l._defaultValues,n,e),h(p(l._formValues,n))&&g(l._formValues,n,e)}return u||l.register(n),()=>{(u?e&&!l._state.action:e)?l.unregister(n):t(n,!1)}},[n,l,u,s]),i.useEffect(()=>{l._setDisabledField({disabled:r,name:n})},[r,n,l]),i.useMemo(()=>({field:C,formState:f,fieldState:y}),[C,f,y])}(e));var R=(e,t,n,i,r)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[i]:r||!0}}:{},A=e=>Array.isArray(e)?e:[e],L=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},j=e=>s(e)&&!Object.keys(e).length,I=e=>"function"==typeof e,V=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},N=e=>V(e)&&e.isConnected;function F(e,t){let n=Array.isArray(t)?t:f(t)?[t]:m(t),i=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,i=0;for(;i<n;)e=h(e)?i++:e[t[i++]];return e}(e,n),r=n.length-1,l=n[r];return i&&delete i[l],0!==r&&(s(i)&&j(i)||Array.isArray(i)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!h(e[t]))return!1;return!0}(i))&&F(e,n.slice(0,-1)),e}var D=e=>{for(let t in e)if(I(e[t]))return!0;return!1};function O(e,t={}){let n=Array.isArray(e);if(s(e)||n)for(let n in e)Array.isArray(e[n])||s(e[n])&&!D(e[n])?(t[n]=Array.isArray(e[n])?[]:{},O(e[n],t[n])):l(e[n])||(t[n]=!0);return t}var z=(e,t)=>(function e(t,n,i){let r=Array.isArray(t);if(s(t)||r)for(let r in t)Array.isArray(t[r])||s(t[r])&&!D(t[r])?h(n)||C(i[r])?i[r]=Array.isArray(t[r])?O(t[r],[]):{...O(t[r])}:e(t[r],l(n)?{}:n[r],i[r]):i[r]=!E(t[r],n[r]);return i})(e,t,O(t));let B={value:!1,isValid:!1},W={value:!0,isValid:!0};var $=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!h(e[0].attributes.value)?h(e[0].value)||""===e[0].value?W:{value:e[0].value,isValid:!0}:W:B}return B},H=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:i})=>h(e)?e:t?""===e?NaN:e?+e:e:n&&"string"==typeof e?new Date(e):i?i(e):e;let G={isValid:!1,value:null};var U=e=>Array.isArray(e)?e.reduce((e,t)=>
4t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,G):G;function q(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?U(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?$(e.refs).value:H(h(t.value)?e.ref.value:t.value,e)}var X=e=>h(e)?e:e instanceof RegExp?e.source:s(e)?e.value instanceof RegExp?e.value.source:e.value:e,Y=e=>({isOnSubmit:!e||e===b.onSubmit,isOnBlur:e===b.onBlur,isOnChange:e===b.onChange,isOnAll:e===b.all,isOnTouch:e===b.onTouched});let K="AsyncFunction";var Z=e=>!!e&&!!e.validate&&!!(I(e.validate)&&e.validate.constructor.name===K||s(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===K)),Q=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let J=(e,t,n,i)=>{for(let r of n||Object.keys(e)){let n=p(e,r);if(n){let{_f:e,...l}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],r)&&!i)return!0;else if(e.ref&&t(e.ref,e.name)&&!i)return!0;else if(J(l,t))break}else if(s(l)&&J(l,t))break}}};function ee(e,t,n){let i=p(e,n);if(i||f(n))return{error:i,name:n};let r=n.split(".");for(;r.length;){let i=r.join("."),l=p(t,i),s=p(e,i);if(l&&!Array.isArray(l)&&n!==i)break;if(s&&s.type)return{name:i,error:s};r.pop()}return{name:n}}var et=(e,t,n)=>{let i=A(p(e,n));return g(i,"root",t[n]),g(e,n,i),e},en=e=>"string"==typeof e;function ei(e,t,n="validate"){if(en(e)||Array.isArray(e)&&e.every(en)||"boolean"==typeof e&&!e)return{type:n,message:en(e)?e:"",ref:t}}var er=e=>!s(e)||e instanceof RegExp?{value:e,message:""}:e,el=async(e,t,n,i,r,a)=>{let{ref:o,refs:u,required:d,maxLength:c,minLength:f,min:m,max:g,pattern:v,validate:b,name:w,valueAsNumber:x,mount:_}=e._f,S=p(n,w);if(!_||t.has(w))return{};let C=u?u[0]:o,E=e=>{r&&C.reportValidity&&(C.setCustomValidity("boolean"==typeof e?"":e||""),C.reportValidity())},P={},T="radio"===o.type,M="checkbox"===o.type,k=(x||"file"===o.type)&&h(o.value)&&h(S)||V(o)&&""===o.value||""===S||Array.isArray(S)&&!S.length,A=R.bind(null,w,i,P),L=(e,t,n,i=y.maxLength,r=y.minLength)=>{let l=e?t:n;P[w]={type:e?i:r,message:l,ref:o,...A(e?i:r,l)}};if(a?!Array.isArray(S)||!S.length:d&&(!(T||M)&&(k||l(S))||"boolean"==typeof S&&!S||M&&!$(u).isValid||T&&!U(u).isValid)){let{value:e,message:t}=en(d)?{value:!!d,message:d}:er(d);if(e&&(P[w]={type:y.required,message:t,ref:C,...A(y.required,t)},!i))return E(t),P}if(!k&&(!l(m)||!l(g))){let e,t,n=er(g),r=er(m);if(l(S)||isNaN(S)){let i=o.valueAsDate||new Date(S),l=e=>new Date(new Date().toDateString()+" "+e),s="time"==o.type,a="week"==o.type;"string"==typeof n.value&&S&&(e=s?l(S)>l(n.value):a?S>n.value:i>new Date(n.value)),"string"==typeof r.value&&S&&(t=s?l(S)<l(r.value):a?S<r.value:i<new Date(r.value))}else{let i=o.valueAsNumber||(S?+S:S);l(n.value)||(e=i>n.value),l(r.value)||(t=i<r.value)}if((e||t)&&(L(!!e,n.message,r.message,y.max,y.min),!i))return E(P[w].message),P}if((c||f)&&!k&&("string"==typeof S||a&&Array.isArray(S))){let e=er(c),t=er(f),n=!l(e.value)&&S.length>+e.value,r=!l(t.value)&&S.length<+t.value;if((n||r)&&(L(n,e.message,t.message),!i))return E(P[w].message),P}if(v&&!k&&"string"==typeof S){let{value:e,message:t}=er(v);if(e instanceof RegExp&&!S.match(e)&&(P[w]={type:y.pattern,message:t,ref:o,...A(y.pattern,t)},!i))return E(t),P}if(b){if(I(b)){let e=ei(await b(S,n),C);if(e&&(P[w]={...e,...A(y.validate,e.message)},!i))return E(e.message),P}else if(s(b)){let e={};for(let t in b){if(!j(e)&&!i)break;let r=ei(await b[t](S,n),C,t);r&&(e={...r,...A(t,r.message)},E(r.message),i&&(P[w]=e))}if(!j(e)&&(P[w]={ref:C,...e},!i))return P}}return E(!0),P};let es={mode:b.onSubmit,reValidateMode:b.onChange,shouldFocusError:!0},ea="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function eo(e={}){let t=i.useRef(void 0),n=i.useRef(void 0),[f,m]=i.useState({isDirty:!1,isValidating:!1,isLoading:I(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:I(e.defaultValues)?void 0:e.defaultValues});!t.current&&(t.current={...e.formControl?e.formControl:function(e={}){let t,n={...es,...e},i={submitCount:0,isDirty:!1,isReady:!1,isLoading:I(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},f={},m=(s(n.defaultValues)||s(n.values))&&d(n.values||n.defaultValues)||{},y=n.shouldUnregister?{}:d(m),w={action:!1,mount:!1,watch:!1},x={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},_=0,S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},C={...S},P={array:L(),state:L()},T=Y(n.mode),k=Y(n.reValidateMode),R=n.criteriaMode===b.all,D=async e=>{if(!n.disabled&&(S.isValid||C.isValid||e)){let e=n.resolver?j((await $()).errors):await U(f,!0);e!==i.isValid&&P.state.next({isValid:e})}},O=(e,t)=>{!n.disabled&&(S.isValidating||S.validatingFields||C.isValidating||C.validatingFields)&&((e||Array.from(x.mount)).forEac
4h(e=>{e&&(t?g(i.validatingFields,e,t):F(i.validatingFields,e))}),P.state.next({validatingFields:i.validatingFields,isValidating:!j(i.validatingFields)}))},B=(e,t,n,i)=>{let r=p(f,e);if(r){let l=p(y,e,h(n)?p(m,e):n);h(l)||i&&i.defaultChecked||t?g(y,e,t?l:q(r._f)):ei(e,l),w.mount&&D()}},W=(e,t,r,l,s)=>{let a=!1,o=!1,u={name:e};if(!n.disabled){if(!r||l){(S.isDirty||C.isDirty)&&(o=i.isDirty,i.isDirty=u.isDirty=K(),a=o!==u.isDirty);let n=E(p(m,e),t);o=!!p(i.dirtyFields,e),n?F(i.dirtyFields,e):g(i.dirtyFields,e,!0),u.dirtyFields=i.dirtyFields,a=a||(S.dirtyFields||C.dirtyFields)&&!n!==o}if(r){let t=p(i.touchedFields,e);t||(g(i.touchedFields,e,r),u.touchedFields=i.touchedFields,a=a||(S.touchedFields||C.touchedFields)&&t!==r)}a&&s&&P.state.next(u)}return a?u:{}},$=async e=>{O(e,!0);let t=await n.resolver(y,n.context,((e,t,n,i)=>{let r={};for(let n of e){let e=p(t,n);e&&g(r,n,e._f)}return{criteriaMode:n,names:[...e],fields:r,shouldUseNativeValidation:i}})(e||x.mount,f,n.criteriaMode,n.shouldUseNativeValidation));return O(e),t},G=async e=>{let{errors:t}=await $(e);if(e)for(let n of e){let e=p(t,n);e?g(i.errors,n,e):F(i.errors,n)}else i.errors=t;return t},U=async(e,t,r={valid:!0})=>{for(let l in e){let s=e[l];if(s){let{_f:e,...a}=s;if(e){let a=x.array.has(e.name),o=s._f&&Z(s._f);o&&S.validatingFields&&O([l],!0);let u=await el(s,x.disabled,y,R,n.shouldUseNativeValidation&&!t,a);if(o&&S.validatingFields&&O([l]),u[e.name]&&(r.valid=!1,t))break;t||(p(u,e.name)?a?et(i.errors,u,e.name):g(i.errors,e.name,u[e.name]):F(i.errors,e.name))}j(a)||await U(a,t,r)}}return r.valid},K=(e,t)=>!n.disabled&&(e&&t&&g(y,e,t),!E(ec(),m)),en=(e,t,n)=>M(e,x,{...w.mount?y:h(t)?m:"string"==typeof e?{[e]:t}:t},n,t),ei=(e,t,n={})=>{let i=p(f,e),r=t;if(i){let n=i._f;n&&(n.disabled||g(y,e,H(t,n)),r=V(n.ref)&&l(t)?"":t,"select-multiple"===n.ref.type?[...n.ref.options].forEach(e=>e.selected=r.includes(e.value)):n.refs?"checkbox"===n.ref.type?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(r)?!!r.find(t=>t===e.value):r===e.value)):n.refs[0]&&(n.refs[0].checked=!!r):n.refs.forEach(e=>e.checked=e.value===r):"file"===n.ref.type?n.ref.value="":(n.ref.value=r,n.ref.type||P.state.next({name:e,values:d(y)})))}(n.shouldDirty||n.shouldTouch)&&W(e,r,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&ed(e)},er=(e,t,n)=>{for(let i in t){let l=t[i],a=`${e}.${i}`,o=p(f,a);(x.array.has(e)||s(l)||o&&!o._f)&&!r(l)?er(a,l,n):ei(a,l,n)}},ea=(e,t,n={})=>{let r=p(f,e),s=x.array.has(e),a=d(t);g(y,e,a),s?(P.array.next({name:e,values:d(y)}),(S.isDirty||S.dirtyFields||C.isDirty||C.dirtyFields)&&n.shouldDirty&&P.state.next({name:e,dirtyFields:z(m,y),isDirty:K(e,a)})):!r||r._f||l(a)?ei(e,a,n):er(e,a,n),Q(e,x)&&P.state.next({...i}),P.state.next({name:w.mount?e:void 0,values:d(y)})},eo=async e=>{w.mount=!0;let l=e.target,s=l.name,o=!0,u=p(f,s),c=e=>{o=Number.isNaN(e)||r(e)&&isNaN(e.getTime())||E(e,p(y,s,e))};if(u){let r,w,N,z=l.type?q(u._f):a(e),B=e.type===v.BLUR||e.type===v.FOCUS_OUT,H=!((N=u._f).mount&&(N.required||N.min||N.max||N.maxLength||N.minLength||N.pattern||N.validate))&&!n.resolver&&!p(i.errors,s)&&!u._f.deps||(h=B,m=p(i.touchedFields,s),b=i.isSubmitted,M=k,!(A=T).isOnAll&&(!b&&A.isOnTouch?!(m||h):(b?M.isOnBlur:A.isOnBlur)?!h:(b?!M.isOnChange:!A.isOnChange)||h)),G=Q(s,x,B);g(y,s,z),B?(u._f.onBlur&&u._f.onBlur(e),t&&t(0)):u._f.onChange&&u._f.onChange(e);let X=W(s,z,B),Y=!j(X)||G;if(B||P.state.next({name:s,type:e.type,values:d(y)}),H)return(S.isValid||C.isValid)&&("onBlur"===n.mode?B&&D():B||D()),Y&&P.state.next({name:s,...G?{}:X});if(!B&&G&&P.state.next({...i}),n.resolver){let{errors:e}=await $([s]);if(c(z),o){let t=ee(i.errors,f,s),n=ee(e,f,t.name||s);r=n.error,s=n.name,w=j(e)}}else O([s],!0),r=(await el(u,x.disabled,y,R,n.shouldUseNativeValidation))[s],O([s]),c(z),o&&(r?w=!1:(S.isValid||C.isValid)&&(w=await U(f,!0)));if(o){u._f.deps&&ed(u._f.deps);var h,m,b,M,A,L=s,I=w,V=r;let e=p(i.errors,L),l=(S.isValid||C.isValid)&&"boolean"==typeof I&&i.isValid!==I;if(n.delayError&&V){let e;e=()=>{g(i.errors,L,V),P.state.next({errors:i.errors})},(t=t=>{clearTimeout(_),_=setTimeout(e,t)})(n.delayError)}else clearTimeout(_),t=null,V?g(i.errors,L,V):F(i.errors,L);if((V?!E(e,V):e)||!j(X)||l){let e={...X,...l&&"boolean"==typeof I?{isValid:I}:{},errors:i.errors,name:L};i={...i,...e},P.state.next(e)}}}},eu=(e,t)=>
4{if(p(i.errors,t)&&e.focus)return e.focus(),1},ed=async(e,t={})=>{let r,l,s=A(e);if(n.resolver){let t=await G(h(e)?e:s);r=j(t),l=e?!s.some(e=>p(t,e)):r}else e?((l=(await Promise.all(s.map(async e=>{let t=p(f,e);return await U(t&&t._f?{[e]:t}:t)}))).every(Boolean))||i.isValid)&&D():l=r=await U(f);return P.state.next({..."string"!=typeof e||(S.isValid||C.isValid)&&r!==i.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:i.errors}),t.shouldFocus&&!l&&J(f,eu,e?s:x.mount),l},ec=e=>{let t={...w.mount?y:m};return h(e)?t:"string"==typeof e?p(t,e):e.map(e=>p(t,e))},eh=(e,t)=>({invalid:!!p((t||i).errors,e),isDirty:!!p((t||i).dirtyFields,e),error:p((t||i).errors,e),isValidating:!!p(i.validatingFields,e),isTouched:!!p((t||i).touchedFields,e)}),ep=(e,t,n)=>{let r=(p(f,e,{_f:{}})._f||{}).ref,{ref:l,message:s,type:a,...o}=p(i.errors,e)||{};g(i.errors,e,{...o,...t,ref:r}),P.state.next({name:e,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},ef=e=>P.state.subscribe({next:t=>{let n,r,l;n=e.name,r=t.name,l=e.exact,(!n||!r||n===r||A(n).some(e=>e&&(l?e===r:e.startsWith(r)||r.startsWith(e))))&&((e,t,n,i)=>{n(e);let{name:r,...l}=e;return j(l)||Object.keys(l).length>=Object.keys(t).length||Object.keys(l).find(e=>t[e]===(!i||b.all))})(t,e.formState||S,e_,e.reRenderRoot)&&e.callback({values:{...y},...i,...t})}}).unsubscribe,em=(e,t={})=>{for(let r of e?A(e):x.mount)x.mount.delete(r),x.array.delete(r),t.keepValue||(F(f,r),F(y,r)),t.keepError||F(i.errors,r),t.keepDirty||F(i.dirtyFields,r),t.keepTouched||F(i.touchedFields,r),t.keepIsValidating||F(i.validatingFields,r),n.shouldUnregister||t.keepDefaultValue||F(m,r);P.state.next({values:d(y)}),P.state.next({...i,...!t.keepDirty?{}:{isDirty:K()}}),t.keepIsValid||D()},eg=({disabled:e,name:t})=>{("boolean"==typeof e&&w.mount||e||x.disabled.has(t))&&(e?x.disabled.add(t):x.disabled.delete(t))},ev=(e,t={})=>{let i=p(f,e),r="boolean"==typeof t.disabled||"boolean"==typeof n.disabled;return(g(f,e,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:e}},name:e,mount:!0,...t}}),x.mount.add(e),i)?eg({disabled:"boolean"==typeof t.disabled?t.disabled:n.disabled,name:e}):B(e,!0,t.value),{...r?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:X(t.min),max:X(t.max),minLength:X(t.minLength),maxLength:X(t.maxLength),pattern:X(t.pattern)}:{},name:e,onChange:eo,onBlur:eo,ref:r=>{if(r){let n;ev(e,t),i=p(f,e);let l=h(r.value)&&r.querySelectorAll&&r.querySelectorAll("input,select,textarea")[0]||r,s="radio"===(n=l).type||"checkbox"===n.type,a=i._f.refs||[];(s?a.find(e=>e===l):l===i._f.ref)||(g(f,e,{_f:{...i._f,...s?{refs:[...a.filter(N),l,...Array.isArray(p(m,e))?[{}]:[]],ref:{type:l.type,name:e}}:{ref:l}}}),B(e,!1,void 0,l))}else(i=p(f,e,{}))._f&&(i._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(o(x.array,e)&&w.action)&&x.unMount.add(e)}}},eb=()=>n.shouldFocusError&&J(f,eu,x.mount),ey=(e,t)=>async r=>{let l;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let s=d(y);if(P.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await $();i.errors=e,s=t}else await U(f);if(x.disabled.size)for(let e of x.disabled)g(s,e,void 0);if(F(i.errors,"root"),j(i.errors)){P.state.next({errors:{}});try{await e(s,r)}catch(e){l=e}}else t&&await t({...i.errors},r),eb(),setTimeout(eb);if(P.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:j(i.errors)&&!l,submitCount:i.submitCount+1,errors:i.errors}),l)throw l},ew=(e,t={})=>{let r=e?d(e):m,l=d(r),s=j(e),a=s?m:l;if(t.keepDefaultValues||(m=r),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...x.mount,...Object.keys(z(m,y))])))p(i.dirtyFields,e)?g(a,e,p(y,e)):ea(e,p(a,e));else{if(u&&h(e))for(let e of x.mount){let t=p(f,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(V(e)){let t=e.closest("form");if(t){t.reset();break}}}}for(let e of x.mount)ea(e,p(a,e))}y=d(a),P.array.next({values:{...a}}),P.state.next({values:{...a}})}x={mount:t.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},w.mount=!S.isValid||!!t.keepIsValid||!!t.keepDirtyValues,w.watch=!!n.shouldUnregister,P.state.next({submitCount:t.keepSubmitCount?i.submitCount:0,isDirty:!s&&(t.keepDirty?i.isDirty:!!(t.keepDefaultValues&&!E(e,m))),isSubmitted:!!t.keepIsSubmitted&&i.isSubmitted,dirtyFields:s?{}:t.keepDirtyValues?t.keepDefaultValues&&y?z(m,y):i.dirtyFields:t.keepDefaultValues&&e?z(m,e):t.keepDirty?i.dirtyFields:{},touchedFields:t.keepTouched?i.touchedFields:{},errors:t.keepErrors?i.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1})},ex=(e,t)=>ew(I(e)?e(y):e,t),e_=e=>{i={...i,...e}},eS={control:{register:ev,unregister:em,getFieldState:eh,handleSubmit:ey,setError:ep,_subscribe:ef,_runSchema:$,_getWatch:en,_getDirty:K,_setValid:D,_setFieldArray:(e,t=[],r,l,s=!0,a=!0)=>
4{if(l&&r&&!n.disabled){if(w.action=!0,a&&Array.isArray(p(f,e))){let t=r(p(f,e),l.argA,l.argB);s&&g(f,e,t)}if(a&&Array.isArray(p(i.errors,e))){let t,n=r(p(i.errors,e),l.argA,l.argB);s&&g(i.errors,e,n),c(p(t=i.errors,e)).length||F(t,e)}if((S.touchedFields||C.touchedFields)&&a&&Array.isArray(p(i.touchedFields,e))){let t=r(p(i.touchedFields,e),l.argA,l.argB);s&&g(i.touchedFields,e,t)}(S.dirtyFields||C.dirtyFields)&&(i.dirtyFields=z(m,y)),P.state.next({name:e,isDirty:K(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else g(y,e,t)},_setDisabledField:eg,_setErrors:e=>{i.errors=e,P.state.next({errors:i.errors,isValid:!1})},_getFieldArray:e=>c(p(w.mount?y:m,e,n.shouldUnregister?p(m,e,[]):[])),_reset:ew,_resetDefaultValues:()=>I(n.defaultValues)&&n.defaultValues().then(e=>{ex(e,n.resetOptions),P.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of x.unMount){let t=p(f,e);t&&(t._f.refs?t._f.refs.every(e=>!N(e)):!N(t._f.ref))&&em(e)}x.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(P.state.next({disabled:e}),J(f,(t,n)=>{let i=p(f,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},_subjects:P,_proxyFormState:S,get _fields(){return f},get _formValues(){return y},get _state(){return w},set _state(value){w=value},get _defaultValues(){return m},get _names(){return x},set _names(value){x=value},get _formState(){return i},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(w.mount=!0,C={...C,...e.formState},ef({...e,formState:C})),trigger:ed,register:ev,handleSubmit:ey,watch:(e,t)=>I(e)?P.state.subscribe({next:n=>e(en(void 0,t),n)}):en(e,t,!0),setValue:ea,getValues:ec,reset:ex,resetField:(e,t={})=>{p(f,e)&&(h(t.defaultValue)?ea(e,d(p(m,e))):(ea(e,t.defaultValue),g(m,e,d(t.defaultValue))),t.keepTouched||F(i.touchedFields,e),t.keepDirty||(F(i.dirtyFields,e),i.isDirty=t.defaultValue?K(e,d(p(m,e))):K()),!t.keepError&&(F(i.errors,e),S.isValid&&D()),P.state.next({...i}))},clearErrors:e=>{e&&A(e).forEach(e=>F(i.errors,e)),P.state.next({errors:e?i.errors:{}})},unregister:em,setError:ep,setFocus:(e,t={})=>{let n=p(f,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&(e.focus(),t.shouldSelect&&I(e.select)&&e.select())}},getFieldState:eh};return{...eS,formControl:eS}}(e),formState:f},e.formControl&&e.defaultValues&&!I(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions));let y=t.current.control;return y._options=e,ea(()=>{let e=y._subscribe({formState:y._proxyFormState,callback:()=>m({...y._formState}),reRenderRoot:!0});return m(e=>({...e,isReady:!0})),e},[y]),i.useEffect(()=>y._disableForm(e.disabled),[y,e.disabled]),i.useEffect(()=>{e.mode&&(y._options.mode=e.mode),e.reValidateMode&&(y._options.reValidateMode=e.reValidateMode),e.errors&&!j(e.errors)&&y._setErrors(e.errors)},[y,e.errors,e.mode,e.reValidateMode]),i.useEffect(()=>{e.shouldUnregister&&y._subjects.state.next({values:y._getWatch()})},[y,e.shouldUnregister]),i.useEffect(()=>{if(y._proxyFormState.isDirty){let e=y._getDirty();e!==f.isDirty&&y._subjects.state.next({isDirty:e})}},[y,f.isDirty]),i.useEffect(()=>{e.values&&!E(e.values,n.current)?(y._reset(e.values,y._options.resetOptions),n.current=e.values,m(e=>({...e}))):y._resetDefaultValues()},[y,e.values]),i.useEffect(()=>{y._state.mount||(y._setValid(),y._state.mount=!0),y._state.watch&&(y._state.watch=!1,y._subjects.state.next({...y._formState})),y._removeUnmounted()}),t.current.formState=S(f,y),t.current}},62662:(e,t,n)=>{"use strict";function i(e){return void 0===e||1===e}function r({scale:e,scaleX:t,scaleY:n}){return!i(e)||!i(t)||!i(n)}function l(e){return r(e)||s(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function s(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{HD:()=>l,vF:()=>s,vk:()=>r})},62714:(e,t,n)=>{"use strict";n.d(t,{default:()=>tR});var i,r,l=n(95155),s=n(12115),a=n(43646);let o="carousel",u="controller",d="portal",c="toolbar",h="zoom",p="loading",f="error",m="complete",g=e=>`active-slide-${e}`;g(p),g("playing"),g(f),g(m);let v="flex_center",b="no_scroll_padding",y="slide",w="slide_wrapper",x="prev",_="next",S="swipe",C="close",E="onPointerDown",P="onPointerMove",T="onPointerUp",M="onPointerLeave",k="onPointerCancel",R="onKeyDown",A="onWheel",L="icon",j="contain",I="cover",V="Unknown action type";var N=n(47650);let F="yarl__";function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function O(e){return"".concat(F).concat(e)}function z(e){return"--".concat(F).concat(e)}function B(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function W(e){return t=>B(e,t)}function $(e,t){var n;return null!=(n=null==e?void 0:e[t])?n:t}function H(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>
4{t.forEach(e=>{e()})}}function G(e,t,n){return()=>{let i=s.useContext(n);if(!i)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return i}}function U(){return"undefined"!=typeof window}function q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function X(e){return void 0===e.type||"image"===e.type}function Y(e,t){return e.imageFit===I||e.imageFit!==j&&t===I}function K(e){return"string"==typeof e?Number.parseInt(e,10):e}function Z(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=K(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function Q(e,t){return t>0?(e%t+t)%t:0}function J(e,t){return e[Q(t,e.length)]}function ee(e,t){return e.length>0?J(e,t):void 0}let et=Number(s.version.split(".")[0])>=19,en={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[C]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:j,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,closeOnEscape:!0,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function ei(e,t){return{name:e,component:t}}function er(e,t){return{module:e,children:t}}function el(e,t,n){return e.flatMap(e=>{var i;return null!=(i=function e(t,n,i){return t.module.name===n?i(t):t.children?[er(t.module,t.children.flatMap(t=>{var r;return null!=(r=e(t,n,i))?r:[]}))]:[t]}(e,t,n))?i:[]})}let es=s.createContext(null),ea=G("useA11yContext","A11yContext",es);function eo(e){let{children:t}=e,[n,i]=s.useState(!1),[r,l]=s.useState(!1),a=s.useMemo(()=>({focusWithin:n,trackFocusWithin:(e,t)=>{let n=n=>r=>{var l;r.currentTarget.contains(r.relatedTarget)||i(n),null==(l=n?e:t)||l(r)};return{onFocus:n(!0),onBlur:n(!1)}},autoPlaying:r,setAutoPlaying:l}),[n,r]);return s.createElement(es.Provider,{value:a},t)}let eu=s.createContext(null),ed=G("useDocument","DocumentContext",eu);function ec(e){let{nodeRef:t,children:n}=e,i=s.useMemo(()=>{let e=e=>{var n;return(null==(n=e||t.current)?void 0:n.ownerDocument)||document};return{getOwnerDocument:e,getOwnerWindow:t=>{var n;return(null==(n=e(t))?void 0:n.defaultView)||window}}},[t]);return s.createElement(eu.Provider,{value:i},n)}let eh=s.createContext(null),ep=G("useEvents","EventsContext",eh);function ef(e){let{children:t}=e,[n]=s.useState({});s.useEffect(()=>()=>{Object.keys(n).forEach(e=>delete n[e])},[n]);let i=s.useMemo(()=>{let e=(e,t)=>{var i;null==(i=n[e])||i.splice(0,n[e].length,...n[e].filter(e=>e!==t))};return{publish:function(){for(var e,t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];let[l,s]=i;null==(e=n[l])||e.forEach(e=>e(s))},subscribe:(t,i)=>(n[t]||(n[t]=[]),n[t].push(i),()=>e(t,i)),unsubscribe:e}},[n]);return s.createElement(eh.Provider,{value:i},t)}let em=s.createContext(null),eg=G("useLightboxProps","LightboxPropsContext",em);function ev(e){let{children:t,...n}=e;return s.createElement(em.Provider,{value:n},t)}let eb=s.createContext(null),ey=G("useLightboxState","LightboxStateContext",eb),ew=s.createContext(null),ex=G("useLightboxDispatch","LightboxDispatchContext",ew);function e_(e,t){switch(t.type){case"swipe":{let{slides:n}=e,i=(null==t?void 0:t.increment)||0,r=e.globalIndex+i,l=Q(r,n.length),s=ee(n,l);return{slides:n,currentIndex:l,globalIndex:r,currentSlide:s,animation:i||void 0!==t.duration?{increment:i,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:ee(t.slides,t.index)};return e;default:throw Error(V)}}function eS(e){let{slides:t,index:n,children:i}=e,[r,l]=s.useReducer(e_,{slides:t,currentIndex:n,globalIndex:n,currentSlide:ee(t,n)}),[a,o]=s.useState(t),[u,d]=s.useState(n);(t!==a||n!==u)&&(o(t),d(n),l({type:"update",slides:t,index:n}));let c=s.useMemo(()=>({...r,state:r,dispatch:l}),[r,l]);return s.createElement(ew.Provider,{value:l},s.createElement(eb.Provider,{value:c},i))}
4let eC=s.createContext(null),eE=G("useRTLContext","RTLContext",eC);function eP(e){let{isRTL:t,children:n}=e,i=s.useMemo(()=>({isRTL:t}),[t]);return s.createElement(eC.Provider,{value:i},n)}let eT=s.createContext(null),eM=G("useTimeouts","TimeoutsContext",eT);function ek(e){let{children:t}=e,[n]=s.useState([]);s.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let i=s.useMemo(()=>{let e=e=>{n.splice(0,n.length,...n.filter(t=>t!==e))};return{setTimeout:(t,i)=>{let r=window.setTimeout(()=>{e(r),t()},i);return n.push(r),r},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[n]);return s.createElement(eT.Provider,{value:i},t)}let eR=s.forwardRef(function(e,t){let{label:n,className:i,icon:r,renderIcon:l,onClick:a,style:o,...u}=e,{styles:d,labels:c}=eg(),h=$(c,n);return s.createElement("button",{ref:t,type:"button",title:h,"aria-label":h,className:D(O("button"),i),onClick:a,style:{...o,...d.button},...u},l?l():s.createElement(r,{className:O(L),style:d.icon}))});function eA(e,t){var n=s.createElement("g",{fill:"currentColor"},s.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t);let i=e=>s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},n);return i.displayName=e,i}let eL=eA("Close",s.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),ej=eA("Previous",s.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),eI=eA("Next",s.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eV=eA("Loading",s.createElement(s.Fragment,null,Array.from({length:8}).map((e,t,n)=>s.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:"rotate(".concat(360/n.length*t,", 12, 12)")})))),eN=eA("Error",s.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),eF=U()?s.useLayoutEffect:s.useEffect;function eD(){let[e,t]=s.useState(!1);return s.useEffect(()=>{var e,n;let i=null==(e=window.matchMedia)?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==i?void 0:i.matches);let r=e=>t(e.matches);return null==(n=null==i?void 0:i.addEventListener)||n.call(i,"change",r),()=>{var e;return null==(e=null==i?void 0:i.removeEventListener)?void 0:e.call(i,"change",r)}},[]),e}function eO(e,t){let n=s.useRef(void 0),i=s.useRef(void 0),r=eD();return eF(()=>{var l,s,a;if(e.current&&void 0!==n.current&&!r){let{keyframes:r,duration:o,easing:u,onfinish:d}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,i=0,r=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(r){let e=r[1].split(",").map(K);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],i=e[14])}return{x:t,y:n,z:i}}(e.current))||{};if(r&&o){null==(l=i.current)||l.cancel(),i.current=void 0;try{i.current=null==(a=(s=e.current).animate)?void 0:a.call(s,r,{duration:o,easing:u})}catch(e){}i.current&&(i.current.onfinish=()=>{i.current=void 0,null==d||d()})}}n.current=void 0}),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return(null==(e=i.current)?void 0:e.playState)==="running"}}}function ez(){let e=s.useRef(null),t=s.useRef(void 0),[n,i]=s.useState();return{setContainerRef:s.useCallback(n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);let r=()=>{if(n){let e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;i({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else i(void 0)};r(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(r),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eB(){let e=s.useRef(void 0),{setTimeout:t,clearTimeout:n}=eM();return s.useCallback((i,r)=>{n(e.current),e.current=t(i,r>0?r:0)},[t,n])}function eW(e){let t=s.useRef(e);return eF(()=>{t.current=e}),s.useCallback(function(){for(var e,n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];return null==(e=t.current)?void 0:e.call(t,...i)},[])}function e$(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function eH(e,t){return s.useMemo(()=>null==e&&null==t?null:n=>{e$(e,n),e$(t,n)},[e,t])}function eG(){return eE().isRTL}function eU(e,t){let n=s.useRef(0),i=eB(),r=eW(function(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];n.current=Date.now(),e(...i)});return s.useCallback(function(){for(var e=arguments.length,l=Array(e),s=0;s<e;s++)l[s]=arguments[s];i(()=>{r(...l)},t-(Date.now()-n.current))},[t,r,i])}let eq=W("slide"),eX=W("slide_image");function eY(e){var t,n,i,r,l,a,o,u;let{slide:d,offset:c,render:h,rect:v,imageFit:b,imageProps:y,onClick:w,onLoad:x,onError:_,style:S}=e,[C,E]=s.useState(p),{publish:P}=ep(),{setTimeout:T}=eM(),M=s.useRef(null);s.useEffect(()=>{0===c&&P(g(C))},[c,C,P]);let k=eW(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(E(m),T(()=>{null==x||x(e)},0))})}),R=s.useCallback(e=>{M.current=e,(null==e?void 0:e.complete)&&k(e)},[k]),A=s.useCallback(e=>{k(e.currentTarget)},[k]),j=eW(()=>{E(f),null==_||_()}),I=Y(d,b),V=(e,t)=>Number.isFinite(e)?e:t,N=V(Math.max(...(null!=(n=null==(t=d.srcSet)?void 0:t.map(e=>
4e.width))?n:[]).concat(d.width?[d.width]:[]).filter(Boolean)),(null==(i=M.current)?void 0:i.naturalWidth)||0),F=V(Math.max(...(null!=(l=null==(r=d.srcSet)?void 0:r.map(e=>e.height))?l:[]).concat(d.height?[d.height]:[]).filter(Boolean)),(null==(a=M.current)?void 0:a.naturalHeight)||0),z=null==(o=d.srcSet)?void 0:o.slice().sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),B=z&&v&&U()?"".concat(Math.round(Math.min(v&&!I&&d.width&&d.height?v.height/d.height*d.width:Number.MAX_VALUE,v.width)),"px"):void 0,{style:W,className:$,...H}=("function"==typeof y?y(d):y)||{};return s.createElement(s.Fragment,null,s.createElement("img",{ref:R,onLoad:A,onError:j,onClick:w,draggable:!1,className:D(O(eX()),I&&O(eX("cover")),C!==m&&O(eX("loading")),$),style:{...N&&F?{maxWidth:"min(".concat(N,"px, 100%)"),maxHeight:"min(".concat(F,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...S,...W},...H,alt:null!=(u=d.alt)?u:"",sizes:B,srcSet:z,src:d.src}),C!==m&&s.createElement("div",{className:O(eq("placeholder"))},C===p&&((null==h?void 0:h.iconLoading)?h.iconLoading():s.createElement(eV,{className:D(O(L),O(eq(p)))})),C===f&&((null==h?void 0:h.iconError)?h.iconError():s.createElement(eN,{className:D(O(L),O(eq(f)))}))))}let eK=s.forwardRef(function(e,t){let{className:n,children:i,onFocus:r,onBlur:l,...a}=e,o=s.useRef(null),[u,d]=s.useState(!1),{trackFocusWithin:c}=ea(),h=eW(()=>{if(o.current){let e="rtl"===window.getComputedStyle(o.current).direction;e!==u&&d(e)}});return s.useEffect(h),s.createElement(ec,{nodeRef:o},s.createElement(eP,{isRTL:u},s.createElement("div",{ref:eH(t,o),className:D(O("root"),n),...c(r,l),...a},i)))});function eZ(e,t,n,i,r){s.useEffect(()=>r?()=>{}:H(e(E,t),e(P,n),e(T,i),e(M,i),e(k,i)),[e,t,n,i,r])}!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(i||(i={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(r||(r={}));let eQ=W("container"),eJ=s.createContext(null),e0=G("useController","ControllerContext",eJ),e1=ei(u,function(e){var t;let{children:n,...l}=e,{carousel:a,animation:o,controller:u,on:c,styles:h,render:p}=l,{closeOnPullUp:f,closeOnPullDown:m,preventDefaultWheelX:g,preventDefaultWheelY:b}=u,[L,j]=s.useState(),I=ey(),V=ex(),[N,F]=s.useState(i.NONE),B=s.useRef(0),W=s.useRef(0),$=s.useRef(1),{registerSensors:G,subscribeSensors:U}=function(){let[e]=s.useState({}),t=s.useCallback((t,n)=>{var i;null==(i=e[t])||i.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:s.useMemo(()=>({onPointerDown:e=>t(E,e),onPointerMove:e=>t(P,e),onPointerUp:e=>t(T,e),onPointerLeave:e=>t(M,e),onPointerCancel:e=>t(k,e),onKeyDown:e=>t(R,e),onKeyUp:e=>t("onKeyUp",e),onWheel:e=>t(A,e)}),[t]),subscribeSensors:s.useCallback((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{let i=e[t];i&&i.splice(0,i.length,...i.filter(e=>e!==n))}),[e])}}(),{subscribe:X,publish:Y}=ep(),K=eB(),Q=eB(),J=eB(),{containerRef:ee,setContainerRef:et,containerRect:en}=ez(),ei=eH(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,i=s.useRef(null),r=eW(e=>{let i=Math.abs(e.deltaX)>Math.abs(e.deltaY);(i&&t||!i&&n||e.ctrlKey)&&e.preventDefault()});return s.useCallback(e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null==(t=i.current)||t.removeEventListener("wheel",r),i.current=e},[r])}({preventDefaultWheelX:g,preventDefaultWheelY:b}),et),er=s.useRef(null),el=eH(er,void 0),{getOwnerDocument:es}=ed(),ea=eG(),eo=e=>(ea?-1:1)*("number"==typeof e?e:1),eu=eW(()=>{var e;return null==(e=ee.current)?void 0:e.focus()}),ec=eW(()=>l),eh=eW(()=>I),ef=s.useCallback(e=>Y(x,e),[Y]),em=s.useCallback(e=>Y(_,e),[Y]),eg=s.useCallback(()=>Y(C),[Y]),ev=e=>!(a.finite&&(eo(e)>0&&0===I.currentIndex||0>eo(e)&&I.currentIndex===I.slides.length-1)),eb=e=>{var t;B.current=e,null==(t=ee.current)||t.style.setProperty(z("swipe_offset"),"".concat(Math.round(e),"px"))},ew=e=>{var t,n;W.current=e,$.current=Math.min(Math.max(q(1-(m&&e>0?e:f&&e<0?-e:0)/60*.5,2),.5),1),null==(t=ee.current)||t.style.setProperty(z("pull_offset"),"".concat(Math.round(e),"px")),null==(n=ee.current)||n.style.setProperty(z("pull_opacity"),"".concat($.current))},{prepareAnimation:e_}=eO(er,(e,t,n)=>{if(er.current&&en)return{keyframes:[{transform:"translate(0, ".concat(e.rect.y-t.y+n.y,"px)"),opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:o.easing.fade}}),eS=(e,t)=>{if(f||m){ew(e);let n=0;
4er.current&&(n=o.fade*(t?2:1),e_({rect:er.current.getBoundingClientRect(),opacity:$.current,duration:n})),J(()=>{ew(0),F(i.NONE)},n),F(i.ANIMATION),t||eg()}},{prepareAnimation:eC,isAnimationPlaying:eE}=eO(er,(e,t,n)=>{var i;if(er.current&&en&&(null==(i=I.animation)?void 0:i.duration)){let i=Z(a.spacing),r=(i.percent?i.percent*en.width/100:i.pixel)||0;return{keyframes:[{transform:"translate(".concat(eo(I.globalIndex-e.index)*(en.width+r)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:I.animation.duration,easing:I.animation.easing}}}),eP=eW(e=>{var t,n;let r=e.offset||0,l=r?o.swipe:null!=(t=o.navigation)?t:o.swipe,s=r||eE()?o.easing.swipe:o.easing.navigation,{direction:a}=e,u=null!=(n=e.count)?n:1,d=i.ANIMATION,c=l*u;if(!a){let t=null==en?void 0:en.width,n=e.duration||0,i=t?l/t*Math.abs(r):l;0!==u?(n<i?c=c/i*Math.max(n,i/5):t&&(c=l/t*(t-Math.abs(r))),a=eo(r)>0?x:_):c=l/2}let h=0;a===x?ev(eo(1))?h=-u:(d=i.NONE,c=l):a===_&&(ev(eo(-1))?h=u:(d=i.NONE,c=l)),Q(()=>{eb(0),F(i.NONE)},c=Math.round(c)),er.current&&eC({rect:er.current.getBoundingClientRect(),index:I.globalIndex}),F(d),Y(S,{type:"swipe",increment:h,duration:c,easing:s})});s.useEffect(()=>{var e,t;(null==(e=I.animation)?void 0:e.increment)&&(null==(t=I.animation)?void 0:t.duration)&&K(()=>V({type:"swipe",increment:0}),I.animation.duration)},[I.animation,V,K]);let eT=[U,ev,(null==en?void 0:en.width)||0,o.swipe,()=>F(i.SWIPE),e=>eb(e),(e,t)=>eP({offset:e,duration:t,count:1}),e=>eP({offset:e,count:0})],ek=[()=>{m&&F(i.PULL)},e=>ew(e),e=>eS(e),e=>eS(e,!0)];!function(e,t,n,i,l,a,o,u,d,c,h,p,f,m,g,v){let{disableSwipeNavigation:b,closeOnBackdropClick:x}=e,_=s.useRef(0),S=s.useRef([]),C=s.useRef(void 0),E=s.useRef(0),P=s.useRef(r.NONE),T=s.useCallback(e=>{C.current===e.pointerId&&(C.current=void 0,P.current=r.NONE);let t=S.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),M=s.useCallback(e=>{T(e),e.persist(),S.current.push(e)},[T]),k=s.useCallback(e=>S.current.find(t=>{let{pointerId:n}=t;return e.pointerId===n}),[]),R=eW(e=>{M(e)}),A=(e,t)=>h&&e>t||c&&e<-t,L=eW(e=>{let t=k(e);if(t)if(C.current===e.pointerId){let e=Date.now()-E.current,t=_.current;P.current===r.SWIPE?Math.abs(t)>.3*i||Math.abs(t)>5&&e<l?u(t,e):d(t):P.current===r.PULL&&(A(t,60)?m(t,e):g(t)),_.current=0,P.current=r.NONE}else{let{target:n}=e;x&&n instanceof HTMLElement&&n===t.target&&(n.classList.contains(O(y))||n.classList.contains(O(w)))&&v()}T(e)});eZ(t,R,eW(e=>{let t=k(e);if(t){let i=C.current===e.pointerId;if(0===e.buttons)return void(i&&0!==_.current?L(e):T(t));let l=e.clientX-t.clientX,s=e.clientY-t.clientY;if(void 0===C.current){let t=t=>{M(e),C.current=e.pointerId,E.current=Date.now(),P.current=t};Math.abs(l)>Math.abs(s)&&Math.abs(l)>30&&n(l)?b||(t(r.SWIPE),a()):Math.abs(s)>Math.abs(l)&&A(s,30)&&(t(r.PULL),p())}else i&&(P.current===r.SWIPE?(_.current=l,o(l)):P.current===r.PULL&&(_.current=s,f(s)))}}),L)}(u,...eT,f,m,...ek,eg),function(e,t,n,r,l,a,o,u,d){let c=s.useRef(0),h=s.useRef(0),p=s.useRef(void 0),f=s.useRef(void 0),m=s.useRef(0),g=s.useRef(void 0),v=s.useRef(0),{setTimeout:b,clearTimeout:y}=eM(),w=s.useCallback(()=>{p.current&&(y(p.current),p.current=void 0)},[y]),x=s.useCallback(()=>{f.current&&(y(f.current),f.current=void 0)},[y]),_=eW(()=>{e!==i.SWIPE&&(c.current=0,v.current=0,w(),x())});s.useEffect(_,[e,_]);let S=eW(e=>{f.current=void 0,c.current===e&&d(c.current)}),C=eW(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let s=e=>{m.current=e,y(g.current),g.current=e>0?b(()=>{m.current=0,g.current=void 0},300):void 0};if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current))return void s(t.deltaX);if(!n(-t.deltaX))return;if(h.current+=t.deltaX,w(),Math.abs(h.current)>30)h.current=0,s(0),v.current=Date.now(),a();else{let e=h.current;p.current=b(()=>{p.current=void 0,e===h.current&&(h.current=0)},l)}}else if(e===i.SWIPE){let e=c.current-t.deltaX;if(c.current=e=Math.min(Math.abs(e),r)*Math.sign(e),o(e),x(),Math.abs(e)>.2*r){s(t.deltaX),u(e,Date.now()-v.current);return}f.current=b(()=>S(e),2*l)}else s(t.deltaX)});s.useEffect(()=>t(A,C),[t,C])}(N,...eT);let eR=eW(()=>{u.focus&&es().querySelector(".".concat(O(d)," .").concat(O(eQ())))&&eu(
4)});s.useEffect(eR,[eR]);let eA=eW(()=>{var e;null==(e=c.view)||e.call(c,{index:I.currentIndex})});s.useEffect(eA,[I.globalIndex,eA]),s.useEffect(()=>H(X(x,e=>eP({direction:x,...e})),X(_,e=>eP({direction:_,...e})),X(S,e=>V(e))),[X,eP,V]);let eL=s.useMemo(()=>({prev:ef,next:em,close:eg,focus:eu,slideRect:en?function(e,t){let n=Z(t),i=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*i,0),height:Math.max(e.height-2*i,0)}}(en,a.padding):{width:0,height:0},containerRect:en||{width:0,height:0},subscribeSensors:U,containerRef:ee,setCarouselRef:el,toolbarWidth:L,setToolbarWidth:j}),[ef,em,eg,eu,U,en,ee,el,L,j,a.padding]);return s.useImperativeHandle(u.ref,()=>({prev:ef,next:em,close:eg,focus:eu,getLightboxProps:ec,getLightboxState:eh}),[ef,em,eg,eu,ec,eh]),s.createElement("div",{ref:ei,className:D(O(eQ()),O(v)),style:{...N===i.SWIPE?{[z("swipe_offset")]:"".concat(Math.round(B.current),"px")}:null,...N===i.PULL?{[z("pull_offset")]:"".concat(Math.round(W.current),"px"),[z("pull_opacity")]:"".concat($.current)}:null,..."none"!==u.touchAction?{[z("controller_touch_action")]:u.touchAction}:null,...h.container},tabIndex:-1,...G},en&&s.createElement(eJ.Provider,{value:eL},n,null==(t=p.controls)?void 0:t.call(p)))});function e5(e){var t,n,i,r,l;let a,{slide:o,offset:u}=e,d=s.useRef(null),{currentIndex:c,slides:h}=ey(),{slideRect:p,focus:f}=e0(),{render:m,carousel:{imageFit:g,imageProps:b},on:{click:w},styles:{slide:x},labels:_}=eg(),{getOwnerDocument:S}=ed(),C=0!==u;return s.useEffect(()=>{var e;C&&(null==(e=d.current)?void 0:e.contains(S().activeElement))&&f()},[C,f,S]),s.createElement("div",{ref:d,className:D(O(B(y,void 0)),!C&&O(B(y,"current")),O(v)),...{inert:et?C:C?"":void 0},style:x,role:"group","aria-roledescription":$(_,"Slide"),"aria-label":(t=c+u,$(_,"{index} of {total}").replace(/\{index}/g,"".concat(Q(t,h.length)+1)).replace(/\{total}/g,"".concat(h.length)))},(!(a=null==(n=m.slide)?void 0:n.call(m,{slide:o,offset:u,rect:p}))&&X(o)&&(a=s.createElement(eY,{slide:o,offset:u,render:m,rect:p,imageFit:g,imageProps:b,onClick:C?void 0:()=>null==w?void 0:w({index:c})})),a?s.createElement(s.Fragment,null,null==(i=m.slideHeader)?void 0:i.call(m,{slide:o}),(null!=(r=m.slideContainer)?r:e=>{let{children:t}=e;return t})({slide:o,children:a}),null==(l=m.slideFooter)?void 0:l.call(m,{slide:o})):null))}function e2(){let e=eg().styles.slide;return s.createElement("div",{className:O(y),style:e})}let e4=ei(o,function(e){let{carousel:t,labels:n}=e,{slides:i,currentIndex:r,globalIndex:l}=ey(),{setCarouselRef:a}=e0(),{autoPlaying:u,focusWithin:d}=ea(),c=Z(t.spacing),h=Z(t.padding),p=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(t,i,1),f=[];if(i.length>0)for(let e=r-p;e<=r+p;e+=1){let n=J(i,e),s=l-r+e,a=t.finite&&(e<0||e>i.length-1);f.push(a?{key:s}:{key:["".concat(s),X(n)?n.src:void 0].filter(Boolean).join("|"),offset:e-r,slide:n})}return s.createElement("div",{ref:a,className:D(O(B(o,void 0)),f.length>0&&O(B(o,"with_slides"))),style:{["".concat(z(B(o,"slides_count")))]:f.length,["".concat(z(B(o,"spacing_px")))]:c.pixel||0,["".concat(z(B(o,"spacing_percent")))]:c.percent||0,["".concat(z(B(o,"padding_px")))]:h.pixel||0,["".concat(z(B(o,"padding_percent")))]:h.percent||0},role:"region","aria-live":u&&!d?"off":"polite","aria-roledescription":$(n,"Carousel"),"aria-label":$(n,"Photo gallery")},f.map(e=>{let{key:t,slide:n,offset:i}=e;return n?s.createElement(e5,{key:t,slide:n,offset:i}):s.createElement(e2,{key:t})}))});function e9(){let{carousel:e}=eg(),{slides:t,currentIndex:n}=ey();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function e6(e){let{label:t,icon:n,renderIcon:i,action:r,onClick:l,disabled:a,style:o}=e;return s.createElement(eR,{label:t,icon:n,renderIcon:i,className:O("navigation_".concat(r)),disabled:a,onClick:l,style:o,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=s.useRef(!1);return eF(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:s.useCallback(()=>{n.current=!0},[]),onBlur:s.useCallback(()=>{n.current=!1},[])}}(e0().focus,a)})}let e3=ei("navigation",function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:i,iconNext:r},styles:l}=e,{prev:a,next:o,subscribeSensors:u}=e0(),{prevDisabled:d,nextDisabled:c}=e9();return!function(e){var t;let n=eG(),{publish:i}=ep(),{animation:r,controller:l}=eg(),{prevDisabled:a,nextDisabled:o}=e9(),u=(null!=(t=r.navigation)?t:r.swipe)/2,d=eU(()=>
4i(x),u),c=eU(()=>i(_),u),h=eW(e=>{switch(e.key){case"Escape":if(!l.closeOnEscape)return;i(C);break;case"ArrowLeft":(n?o:a)||(n?c:d)();break;case"ArrowRight":(n?a:o)||(n?d:c)();break;default:return}e.stopPropagation()});s.useEffect(()=>e(R,h),[e,h])}(u),s.createElement(s.Fragment,null,t?t():s.createElement(e6,{label:"Previous",action:x,icon:ej,renderIcon:i,style:l.navigationPrev,disabled:d,onClick:a}),n?n():s.createElement(e6,{label:"Next",action:_,icon:eI,renderIcon:r,style:l.navigationNext,disabled:c,onClick:o}))}),e7=O("no_scroll"),e8=O(b);function te(e,t,n){let i=window.getComputedStyle(e),r=n?"padding-left":"padding-right",l=n?i.paddingLeft:i.paddingRight,s=e.style.getPropertyValue(r);return e.style.setProperty(r,"".concat((K(l)||0)+t,"px")),()=>{s?e.style.setProperty(r,s):e.style.removeProperty(r)}}let tt=ei("no-scroll",function(e){let{noScroll:{disabled:t},children:n}=e,i=eG(),{getOwnerDocument:r,getOwnerWindow:l}=ed();return s.useEffect(()=>{if(t)return()=>{};let e=[],n=l(),{body:s,documentElement:a}=r(),o=Math.round(n.innerWidth-a.clientWidth);if(o>0){e.push(te(s,o,i));let t=s.getElementsByTagName("*");for(let r=0;r<t.length;r+=1){let l=t[r];"style"in l&&"fixed"===n.getComputedStyle(l).getPropertyValue("position")&&!l.classList.contains(e8)&&e.push(te(l,o,i))}}return s.classList.add(e7),()=>{s.classList.remove(e7),e.forEach(e=>e())}},[i,t,r,l]),s.createElement(s.Fragment,null,n)});function tn(e,t,n){let i=e.getAttribute(t);return e.setAttribute(t,n),()=>{i?e.setAttribute(t,i):e.removeAttribute(t)}}let ti=ei(d,function(e){let{portal:{root:t,container:{className:n,style:i,...r}={}},animation:l,styles:a,className:o,on:u,close:c,labels:h,children:p}=e,[f,m]=s.useState(!1),[g,v]=s.useState(!1),y=s.useRef([]),w=s.useRef(null),{setTimeout:x}=eM(),{subscribe:_}=ep(),S=eD()?0:l.fade;s.useEffect(()=>(m(!0),()=>{m(!1),v(!1)}),[]);let E=eW(()=>{y.current.forEach(e=>e()),y.current=[]}),P=eW(()=>{var e;v(!1),E(),null==(e=u.exiting)||e.call(u),x(()=>{var e;null==(e=u.exited)||e.call(u),c()},S)});s.useEffect(()=>_(C,P),[_,P]);let T=eW(e=>{var t,n,i;e.scrollTop,v(!0),null==(t=u.entering)||t.call(u);let r=null!=(i=null==(n=e.parentNode)?void 0:n.children)?i:[];for(let t=0;t<r.length;t+=1){let n=r[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(y.current.push(tn(n,"inert","")),y.current.push(tn(n,"aria-hidden","true")))}y.current.push(()=>{var e,t;null==(t=null==(e=w.current)?void 0:e.focus)||t.call(e)}),x(()=>{var e;null==(e=u.entered)||e.call(u)},S)}),M=s.useCallback(e=>{e?T(e):E()},[T,E]);return f?(0,N.createPortal)(s.createElement(eK,{ref:M,className:D(o,n,O(B(d,void 0)),O(b),g&&O(B(d,"open"))),"aria-modal":!0,role:"dialog","aria-label":$(h,"Lightbox"),style:{...l.fade!==en.animation.fade?{[z("fade_animation_duration")]:"".concat(S,"ms")}:null,...l.easing.fade!==en.animation.easing.fade?{[z("fade_animation_timing_function")]:l.easing.fade}:null,...a.root,...i},onFocus:e=>{w.current||(w.current=e.relatedTarget)},...r},p),("function"==typeof t?t():t)||document.body):null}),tr=ei("root",function(e){let{children:t}=e;return s.createElement(s.Fragment,null,t)}),tl=ei(c,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:i},styles:r}=e,{close:l,setToolbarWidth:a}=e0(),{setContainerRef:o,containerRect:u}=ez();return eF(()=>{a(null==u?void 0:u.width)},[a,null==u?void 0:u.width]),s.createElement("div",{ref:o,style:r.toolbar,className:O(B(c,void 0))},null==t?void 0:t.map(e=>e===C?n?n():s.createElement(eR,{key:C,label:"Close",icon:eL,renderIcon:i,onClick:l}):e))});function ts(e){let{carousel:t,animation:n,render:i,toolbar:r,controller:l,noScroll:a,on:o,plugins:d,slides:c,index:h,...p}=e,{animation:f,carousel:m,render:g,toolbar:v,controller:b,noScroll:y,on:w,slides:x,index:_,plugins:S,...C}=en,{config:E,augmentation:P}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=e,r=e=>{let t=[...i];for(;t.length>0;){let n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},l=(e,t)=>
4{if(""===e){i=[er(t,i)];return}i=el(i,e,e=>[er(t,[e])])},s=(e,t)=>{i=el(i,e,e=>[er(e.module,[er(t,e.children)])])},a=(e,t,n)=>{i=el(i,e,e=>{var i;return[er(e.module,[...n?[er(t)]:[],...null!=(i=e.children)?i:[],...n?[]:[er(t)]])]})},o=(e,t,n)=>{i=el(i,e,e=>[...n?[er(t)]:[],e,...n?[]:[er(t)]])},d=e=>{s(u,e)},c=(e,t)=>{i=el(i,e,e=>[er(t,e.children)])},h=e=>{i=el(i,e,e=>e.children)},p=e=>{n.push(e)};return t.forEach(e=>{e({contains:r,addParent:l,append:s,addChild:a,addSibling:o,addModule:d,replace:c,remove:h,augment:p})}),{config:i,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([er(ti,[er(tt,[er(e1,[er(e4),er(tl),er(e3)])])])],d||S),T=P({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...i}=e,{easing:r,...l}=t;return{easing:{...n,...r},...i,...l}}(f,n),carousel:{...m,...t},render:{...g,...i},toolbar:{...v,...r},controller:{...b,...l},noScroll:{...y,...a},on:{...w,...o},...C,...p});return T.open?s.createElement(ev,{...T},s.createElement(eS,{slides:c||x,index:K(h||_)},s.createElement(ek,null,s.createElement(ef,null,s.createElement(eo,null,function e(t,n){var i;return s.createElement(t.module.component,{key:t.module.name,...n},null==(i=t.children)?void 0:i.map(t=>e(t,n)))}(er(tr,E),T)))))):null}let ta={minZoom:1,maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,pinchZoomV4:!1,scrollToZoom:!1,maxZoom:8};function to(e){let{minZoom:t,...n}={...ta,...e};return{minZoom:Math.min(Math.max(t,Number.EPSILON),1),...n}}function tu(){let{zoom:e}=eg();return to(e)}function td(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function tc(e,t,n=100,i=2){return e*Math.min(1+Math.abs(t/n),i)**Math.sign(t)}let th=s.createContext(null),tp=G("useZoom","ZoomControllerContext",th);function tf({children:e}){let[t,n]=s.useState(),{slideRect:i}=e0(),{ref:r,minZoom:l}=tu(),{imageRect:a,maxZoom:o}=function(e,t){var n,i,r;let l={width:0,height:0},s={width:0,height:0},{currentSlide:a}=ey(),{imageFit:o}=eg().carousel,{maxZoomPixelRatio:u,maxZoom:d}=tu();if(e&&a){let r={...a,...t};if(X(r)){let t=Y(r,o),a=Math.max(...((null==(n=r.srcSet)?void 0:n.map(e=>e.width))||[]).concat(r.width?[r.width]:[])),d=Math.max(...((null==(i=r.srcSet)?void 0:i.map(e=>e.height))||[]).concat(r.height?[r.height]:[]));a>0&&d>0&&e.width>0&&e.height>0&&(s={width:(s=t?{width:Math.round(Math.min(a,e.width/e.height*d)),height:Math.round(Math.min(d,e.height/e.width*a))}:{width:a,height:d}).width*u,height:s.height*u},l=t?{width:Math.min(e.width,s.width,a),height:Math.min(e.height,s.height,d)}:{width:Math.round(Math.min(e.width,e.height/d*a,a)),height:Math.round(Math.min(e.height,e.width/a*d,d))})}else e.width>0&&e.height>0&&(l=t&&t.width>0&&t.height>0?{width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}:{width:e.width,height:e.height})}let c=a&&l.width?X(a)?Math.max(q(s.width/l.width,5),1):Math.max("function"==typeof d?null!=(r=d(a))?r:ta.maxZoom:d,1):1;return{imageRect:l,maxZoom:c}}(i,null==t?void 0:t.imageDimensions),{zoom:u,offsetX:d,offsetY:c,disabled:h,changeZoom:p,changeOffsets:f,zoomIn:m,zoomOut:g}=function(e,t,n){let[i,r]=s.useState(1),[l,a]=s.useState(0),[o,u]=s.useState(0),d=function(e,t,n,i){let r=s.useRef(void 0),l=s.useRef(void 0),{zoom:a}=eg().animation,o=eD(),u=eW(()=>{var s,u,d;if(null==(s=r.current)||s.cancel(),r.current=void 0,l.current&&(null==i?void 0:i.current)){try{r.current=null==(d=(u=i.current).animate)?void 0:d.call(u,[{transform:l.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:o?0:null!=a?a:500,easing:r.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}l.current=void 0,r.current&&(r.current.onfinish=()=>{r.current=void 0})}});return eF(u,[e,t,n,u]),s.useCallback(()=>{l.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,l,o,n),{currentSlide:c,globalIndex:h}=ey(),{containerRect:p,slideRect:f}=e0(),{minZoom:m,zoomInMultiplier:g}=tu(),v=c&&X(c)?c.src:void 0,b=!(null==n?void 0:n.current);eF(()=>{r(1),a(0),u(0)},[h,v]);let y=s.useCallback((t,n,r)=>
4{let s=r||i,d=l-(t||0),c=o-(n||0),h=(e.width*s-f.width)/2/s,p=(e.height*s-f.height)/2/s;a(Math.min(Math.abs(d),Math.max(h,0))*Math.sign(d)),u(Math.min(Math.abs(c),Math.max(p,0))*Math.sign(c))},[i,l,o,f,e.width,e.height]),w=s.useCallback((e,n,l,s)=>{let a=q(e+.01<t?e-.01>m?e:m:t,5);n||d(),y(l?l*(1/i-1/a):0,s?s*(1/i-1/a):0,a),r(a)},[i,m,t,y,d]),x=eW(()=>{i>1&&(i>t&&w(t,!0),y())});eF(x,[p.width,p.height,x]);let _=s.useCallback(()=>{let e=i*g;w(i<1&&e>1?1:e)},[i,g,w]),S=s.useCallback(()=>{let e=i/g;w(i>1&&e<1?1:e)},[i,g,w]);return{zoom:i,offsetX:l,offsetY:o,disabled:b,changeOffsets:y,changeZoom:w,zoomIn:_,zoomOut:S}}(a,o,null==t?void 0:t.zoomWrapperRef),{on:v}=eg(),b=eW(()=>{var e;h||null==(e=v.zoom)||e.call(v,{zoom:u})});s.useEffect(b,[u,b]),function(e,t,n,i,r,l,a,o,u){let d=s.useRef([]),c=s.useRef(0),h=s.useRef(void 0),{globalIndex:p}=ey(),{getOwnerWindow:f}=ed(),{containerRef:m,subscribeSensors:g}=e0(),{keyboardMoveDistance:v,zoomInMultiplier:b,wheelZoomDistanceFactor:y,scrollToZoom:w,doubleTapDelay:x,doubleClickDelay:_,doubleClickMaxStops:S,pinchZoomDistanceFactor:C,pinchZoomV4:E}=tu(),P=s.useCallback(e=>{if(m.current){let{pageX:t,pageY:n}=e,{scrollX:i,scrollY:r}=f(),{left:l,top:s,width:a,height:o}=m.current.getBoundingClientRect();return[t-l-i-a/2,n-s-r-o/2]}return[]},[m,f]),T=eW(t=>{let{key:n,metaKey:i,ctrlKey:s}=t,u=i||s,d=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>{d(),o(e,t)};"ArrowDown"===n?e(0,v):"ArrowUp"===n?e(0,-v):"ArrowLeft"===n?e(-v,0):"ArrowRight"===n&&e(v,0)}"+"===n||u&&"="===n?(d(),r()):"-"===n||u&&"_"===n?(d(),l()):u&&"0"===n&&(d(),a(1))}),M=eW(t=>{if((t.ctrlKey||w)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),a(tc(e,-t.deltaY,y),!0,...P(t));return}e>1&&(t.stopPropagation(),w||o(t.deltaX,t.deltaY))}),k=s.useCallback(e=>{let t=d.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),L=s.useCallback(e=>{k(e),e.persist(),d.current.push(e)},[k]),j=eW(i=>{var r;let l=d.current;if("mouse"===i.pointerType&&i.buttons>1||!(null==(r=null==u?void 0:u.current)?void 0:r.contains(i.target)))return;e>1&&i.stopPropagation();let{timeStamp:s}=i;if(0===l.length&&s-c.current<("touch"===i.pointerType?x:_)?(c.current=0,a(e>=1?e!==n?e*Math.max(n**(1/S),b):1:e!==t?e/Math.max(t**(-1/S),b):1,!1,...P(i))):c.current=s,L(i),2===l.length){let t=td(l[0],l[1]);h.current={previousDistance:t,initialDistance:Math.max(t,1),initialZoom:e}}}),I=eW(t=>{let n=d.current,i=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&h.current){t.stopPropagation(),L(t);let i=td(n[0],n[1]);a(E?h.current.initialZoom/h.current.initialDistance*i:tc(e,i-h.current.previousDistance,C),!0,...n.map(e=>P(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),h.current.previousDistance=i;return}e>1&&(t.stopPropagation(),i&&(1===n.length&&o((i.clientX-t.clientX)/e,(i.clientY-t.clientY)/e),L(t)))}),V=s.useCallback(e=>{let t=d.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(h.current=void 0),k(e)},[k]),N=s.useCallback(()=>{let e=d.current;e.splice(0,e.length),c.current=0,h.current=void 0},[]);eZ(g,j,I,V,i),s.useEffect(N,[p,N]),s.useEffect(()=>i?()=>{}:H(N,g(R,T),g(A,M)),[i,g,N,T,M])}(u,l,o,h,m,g,p,f,null==t?void 0:t.zoomWrapperRef);let y=s.useMemo(()=>({zoom:u,minZoom:l,maxZoom:o,offsetX:d,offsetY:c,disabled:h,zoomIn:m,zoomOut:g,changeZoom:p}),[u,l,o,d,c,h,m,g,p]);s.useImperativeHandle(r,()=>y,[y]);let w=s.useMemo(()=>({...y,setZoomWrapper:n}),[y,n]);return s.createElement(th.Provider,{value:w},e)}let tm=eA("ZoomIn",s.createElement(s.Fragment,null,s.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),s.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),tg=eA("ZoomOut",s.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})),tv=s.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let i=s.useRef(!1),r=s.useRef(!1),{zoom:l,minZoom:a,maxZoom:
4o,zoomIn:u,zoomOut:d,disabled:c}=tp(),{render:h}=eg(),p=c||(e?l>=o:l<=a);return s.useEffect(()=>{p&&i.current&&r.current&&t(),p||(i.current=!0)},[p,t]),s.createElement(eR,{ref:n,disabled:p,label:e?"Zoom in":"Zoom out",icon:e?tm:tg,renderIcon:e?h.iconZoomIn:h.iconZoomOut,onClick:e?u:d,onFocus:()=>{r.current=!0},onBlur:()=>{r.current=!1}})});function tb(){let e=s.useRef(null),t=s.useRef(null),{focus:n}=e0(),i=s.useCallback(e=>{var t,i;(null==(t=e.current)?void 0:t.disabled)?n():null==(i=e.current)||i.focus()},[n]),r=s.useCallback(()=>i(e),[i]),l=s.useCallback(()=>i(t),[i]);return s.createElement(s.Fragment,null,s.createElement(tv,{zoomIn:!0,ref:e,onLoseFocus:l}),s.createElement(tv,{ref:t,onLoseFocus:r}))}function ty(){let{render:e}=eg(),t=tp();return e.buttonZoom?s.createElement(s.Fragment,null,e.buttonZoom(t)):s.createElement(tb,null)}function tw({current:e,preload:t},{type:n,source:i}){switch(n){case"fetch":if(!e)return{current:i};return{current:e,preload:i};case"done":if(i===t)return{current:i};return{current:e,preload:t};default:throw Error(V)}}function tx(e){var t,n;let[{current:i,preload:r},l]=s.useReducer(tw,{}),{slide:a,rect:o,imageFit:u,render:d,interactive:c}=e,h=a.srcSet.sort((e,t)=>e.width-t.width),p=null!=(t=a.width)?t:h[h.length-1].width,f=null!=(n=a.height)?n:h[h.length-1].height,m=Y(a,u),g=Math.max(...h.map(e=>e.width)),v=Math.min((m?Math.max:Math.min)(o.width,p*(o.height/f)),g),b=(U()?null==window?void 0:window.devicePixelRatio:void 0)||1,y=eW(()=>{var e;let t=null!=(e=h.find(e=>e.width>=v*b))?e:h[h.length-1];(!i||h.findIndex(e=>e.src===i)<h.findIndex(e=>e===t))&&l({type:"fetch",source:t.src})});eF(y,[o.width,o.height,b,y]);let w=eW(e=>l({type:"done",source:e})),x={WebkitTransform:c?"initial":"translateZ(0)"};return m||Object.assign(x,o.width/o.height<p/f?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),s.createElement(s.Fragment,null,r&&r!==i&&s.createElement(eY,{key:"preload",...e,offset:void 0,slide:{...a,src:r,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...x},onLoad:()=>w(r),render:{...d,iconLoading:()=>null,iconError:()=>null}}),i&&s.createElement(eY,{key:"current",...e,slide:{...a,src:i,srcSet:void 0},style:x}))}function t_({render:e,slide:t,offset:n,rect:i}){var r,l;let[a,o]=s.useState(),u=s.useRef(null),d=X(t),{zoom:c,maxZoom:h,offsetX:p,offsetY:f,setZoomWrapper:m}=tp(),g=c>1,{carousel:b,on:y}=eg(),{currentIndex:x}=ey();eF(()=>{if(0!==n||d||!u.current)return()=>{};let e=()=>{let e=u.current;if(!e)return;let t=0,n=0;for(let i of e.children)i instanceof HTMLElement&&(t=Math.max(t,i.offsetWidth),n=Math.max(n,i.offsetHeight));o(e=>e&&e.width===t&&e.height===n?e:{width:t,height:n})};if(e(),"undefined"==typeof ResizeObserver)return()=>{};let t=new ResizeObserver(e);for(let e of u.current.children)t.observe(e);return()=>t.disconnect()},[n,d,i]),eF(()=>0===n?(m({zoomWrapperRef:u,imageDimensions:a}),()=>m(void 0)):()=>{},[n,a,m]);let _=null==(r=e.slide)?void 0:r.call(e,{slide:t,offset:n,rect:i,zoom:c,maxZoom:h});if(!_&&d){let r={slide:t,offset:n,rect:i,render:e,imageFit:b.imageFit,imageProps:b.imageProps,onClick:0===n?()=>{var e;return null==(e=y.click)?void 0:e.call(y,{index:x})}:void 0};_=((null==(l=t.srcSet)?void 0:l.length)||0)>0?s.createElement(tx,{...r,slide:t,interactive:g,rect:0===n?{width:i.width*c,height:i.height*c}:i}):s.createElement(eY,{onLoad:e=>o({width:e.naturalWidth,height:e.naturalHeight}),...r})}return _?s.createElement("div",{ref:u,className:D(O("fullsize"),O(v),O(w),g&&O("slide_wrapper_interactive")),style:0===n?{transform:`scale(${c}) translateX(${p}px) translateY(${f}px)`}:void 0},_):null}var tS=n(29122),tC=n(38361),tE=n(74791),tP=n(76521);n(58561);var tT={lightbox:"_NWmY-qYy",closeIcon:"_2Uj5Z4Gx",loaderIcon:"_teUU8zfZ",loader:"_RL7ByaDO"};let tM=[({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:i,...r})=>{let l=to(e);return{zoom:l,toolbar:function(e,t,n){if(!n)return e;let{buttons:i,...r}=e,l=i.findIndex(e=>e===t),a=s.isValidElement(n)?s.cloneElement(n,{key:t},null):n;if(l>=0){let e=[...i];return e.splice(l,1,a),{buttons:e,...r}}return{buttons:[a,...i],...r}}(t,h,s.createElement(ty,null)),render:{...n,slide:e=>{var t,i;return X(e.slide)||null!=e.slide.type&&(null==(t=l.supports)?void 0:t.includes(e.slide.type))?s.createElement(t_,{render:n,...e}):null==(i=n.slide)?void 0:i.call(n,e)}},controller:{...i,preventDefaultWheelY:l.scrollToZoom},...r}}),t(ei(h,tf))}],tk=(e,t)=>{let n=Number(e.getAttribute(t));
4return Math.max("width"===t?e.naturalWidth:e.naturalHeight,Number.isFinite(n)?n:0)},tR=e=>{let{children:t,classNames:n}=e,i=(0,s.useRef)(null),[r,o]=(0,s.useState)(null),[u,d]=(0,s.useState)(!1),c=(0,tS.useTouchDevice)(),h=(0,s.useCallback)(e=>{null===e.closest("a[href]")&&(e=>e.complete&&e.naturalWidth>0&&e.naturalHeight>0)(e)&&(i.current=e,o({alt:e.alt,height:tk(e,"height"),src:e.currentSrc||e.src,width:tk(e,"width")}),d(!0))},[]),p=(0,s.useCallback)(()=>d(!1),[]),f=(0,s.useCallback)(()=>{let e=i.current;o(null),i.current=null,(null==e?void 0:e.isConnected)&&"undefined"!=typeof window&&window.requestAnimationFrame(()=>e.focus({preventScroll:!0}))},[]);return(0,l.jsxs)(tE.T.Provider,{value:h,children:[t,(0,l.jsx)(ts,{animation:{fade:250},carousel:{finite:!0,imageFit:"contain",padding:"5%"},className:(0,a.$)(tT.lightbox,null==n?void 0:n.lightbox),close:p,labels:{Close:"Close image",Lightbox:"Image preview"},on:{exited:f},open:u,plugins:c?tM:[],slides:r?[r]:[],zoom:{scrollToZoom:!1},controller:{closeOnBackdropClick:!0,disableSwipeNavigation:!0},render:{buttonNext:()=>null,buttonPrev:()=>null,buttonZoom:()=>null,iconClose:()=>(0,l.jsx)(tP.A,{className:(0,a.$)(tT.closeIcon,null==n?void 0:n.closeIcon)}),iconLoading:()=>(0,l.jsx)("div",{"aria-label":"Loading image",className:(0,a.$)(tT.loader,null==n?void 0:n.loader),role:"status",children:(0,l.jsx)(tC.default,{className:(0,a.$)(tT.loaderIcon,null==n?void 0:n.loaderIcon),size:56,strokeWidth:2})})}})]})}},62982:(e,t,n)=>{"use strict";n.d(t,{LightTabs:()=>f});var i=n(95155),r=n(12115),l=n(43646),s=n(27677),a=n(36545),o=n(63984),u={underline:"_r9yDd9KD",label:"_3NipNQ02",rounded:"_yp820sR8",active:"_uQCO9N3w"};let d={duration:.3},c=({item:e,appearance:t,classNames:n,value:r,onClick:s,labelTypographyProps:a})=>{let d="custom"===t;return"string"==typeof e.label?(0,i.jsx)(o.A,{as:"button",color:"text_primary",fontWeight:500,variant:"system_h4",className:(0,l.$)(n?.label,{[u.rounded]:"rounded"===t&&!d,...!!n?.active&&{[n.active]:r===e.key},[u.active]:r===e.key&&!d,[u.label]:!d}),onClick:()=>s?.(e.key),...e?.labelTypographyProps??a,htmlProps:{...e?.labelTypographyProps?.htmlProps??a?.htmlProps,...e.onboarding_id?{"data-onboarding-id":e.onboarding_id}:{}},children:e.label}):e.label},h=({item:e,value:t,onClick:n,appearance:r,tabsId:s,classNames:o,labelTypographyProps:h,underlineAnimation:p})=>{let f="custom"===r,m=t===e.key&&"underlined"===r,g=!!p,v=(0,l.$)({[u.underline]:!f},o?.underline);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c,{appearance:r,classNames:o,item:e,labelTypographyProps:h,value:t,onClick:n}),m&&g?(0,i.jsx)(a.P.span,{className:v,layoutId:`${s}-underline`,transition:d}):null,m&&!g?(0,i.jsx)("span",{className:v}):null]})};n(2252);var p={container:"_t4xKBVx4",withBottomBorder:"_z0Bu67U9",rounded:"_UGO7osQ3",item:"__BBJGyPt",swiper:"_pAzohg-z",swiper__item:"_srpuVwSR",divider:"_hJOaLoFv"};let f=e=>{let{appearance:t="underlined",items:n,onClick:a,value:o,withSwiper:u=!0,classNames:d,labelTypographyProps:c,underlineAnimation:f=!1,withBottomBorder:m="underlined"===t,onboarding_id:g}=e,v=(0,r.useId)(),b=(0,r.useRef)(null),y="custom"===t;return u?(0,i.jsx)(s.RC,{freeMode:!0,"data-onboarding-id":g,initialSlide:n.findIndex(e=>o===e.key),slidesPerView:"auto",breakpoints:{0:{threshold:0},1024:{threshold:20}},className:(0,l.$)(null==d?void 0:d.swiper,{[p.swiper]:!y,[p.withBottomBorder]:m}),onBeforeInit:e=>{b.current=e},children:n.map(e=>(0,i.jsx)(s.qr,{className:(0,l.$)(p.swiper__item,null==d?void 0:d.swiper__item),onClick:()=>{(null==e?void 0:e.divider)||(e=>{if(null==b?void 0:b.current){var t,i;let r=n.findIndex(t=>e===t.key);null==b||null==(i=b.current)||null==(t=i.slideTo)||t.call(i,r)}})(e.key)},children:(null==e?void 0:e.divider)?(0,i.jsx)("div",{className:(0,l.$)(p.divider,null==d?void 0:d.divider,{[p.rounded]:"rounded"===t})}):(0,i.jsx)(h,{appearance:t,item:e,labelTypographyProps:null!=c?c:{as:"div"},tabsId:v,underlineAnimation:f,value:o,classNames:{label:null==d?void 0:d.label,underline:null==d?void 0:d.underline},onClick:a})},"".concat(v,"-").concat(e.key)))}):(0,i.jsx)("ul",{"data-onboarding-id":g,className:(0,l.$)(null==d?void 0:d.container,{[p.container]:!y,[p.rounded]:"roun
4ded"===t,[p.withBottomBorder]:m}),children:n.map(e=>(0,i.jsx)("li",{className:(0,l.$)(p.item,null==d?void 0:d.item),children:(null==e?void 0:e.divider)?(0,i.jsx)("div",{className:(0,l.$)(p.divider,null==d?void 0:d.divider)}):(0,i.jsx)(h,{appearance:t,item:e,labelTypographyProps:c,tabsId:v,underlineAnimation:f,value:o,classNames:{active:null==d?void 0:d.active,label:null==d?void 0:d.label,underline:null==d?void 0:d.underline},onClick:a})},"".concat(v,"-").concat(e.key)))})}},63284:(e,t,n)=>{"use strict";function i(e,t){-1===e.indexOf(t)&&e.push(t)}function r(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function l([...e],t,n){let i=t<0?e.length+t:t;if(i>=0&&i<e.length){let i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}n.d(t,{Ai:()=>r,Kq:()=>i,Pe:()=>l})},63984:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(95155),r=n(43646);let l={white:"var(--ui_sov1I)",black:"var(--ui_Zx_cw)",spot_bg:"var(--ui_D9Up0)",text_primary:"var(--ui_M6Xn9)",text_secondary:"var(--ui_TvSjN)",text_tertiary:"var(--ui_j5ZyY)",text_disable:"var(--ui_wwGkm)",text_inverted:"var(--ui_LU27c)",special_red:"var(--ui_9D54F)",special_orange:"var(--ui_VvV7U)",special_green:"var(--ui_5O8jP)",special_blue:"var(--ui_fZeOD)",special_blue_bg1:"var(--ui_mjEIm)",special_red_bg1:"var(--ui_69k5z)",special_red_bg2:"var(--ui_z9eGL)",special_green_bg:"var(--ui_pIWEB)",special_green_bg1:"var(--ui_TkGPw)",special_green_bg2:"var(--ui_-A-vJ)",special_orange_bg1:"var(--ui_WbK46)",special_orange_bg2:"var(--ui_wOH28)",special_purple:"var(--ui_EQmy_)",special_purple_bg1:"var(--ui_vQ7Fd)",special_orange_bg3:"var(--ui_pcsJ1)",special_green_bg3:"var(--ui_3Tw3Y)",special_red_bg3:"var(--ui_D6Aq-)",bg_hide:"var(--ui_ik88X)",neutral_10:"var(--ui_kv3-q)",neutral_20:"var(--ui_xD0qE)",neutral_25:"var(--ui_t-4bt)",neutral_30:"var(--ui_gI4_3)",neutral_40:"var(--ui_ewnuJ)",neutral_50:"var(--ui_eztCh)",neutral_60:"var(--ui_K53PW)",neutral_70:"var(--ui__jZHZ)",neutral_80:"var(--ui_TqQ2-)",neutral_90:"var(--ui_0cUtC)",neutral_100:"var(--ui_6oulP)",border_primary:"var(--ui_9KVsE)",border_secondary:"var(--ui_549oH)",border_active:"var(--ui_gK69M)",el_active_default:"var(--ui_kqpss)",el_active_hover:"var(--ui_ZeYS7)",el_active_pressed:"var(--ui_x-342)",el_active_disabled:"var(--ui_4qOTw)",el_active_color_inside:"var(--ui_J1Rws)",el_active_disabled_color_inside:"var(--ui_UZPfW)",el_inactive_default:"var(--ui_4O9zZ)",el_inactive_hover:"var(--ui_Jcw4_)",el_inactive_pressed:"var(--ui_b8GqC)",el_inactive_disabled:"var(--ui_OvNQb)",el_inactive_color_inside:"var(--ui_6-ooe)",el_inactive_disabled_color_inside:"var(--ui_LBh3_)",modal_primary:"var(--ui_EXoI4)",modal_bg:"var(--ui_gX32q)",select_default:"var(--ui_pxZ5K)",select_hover:"var(--ui_phr4i)",select_item:"var(--ui_dvbxP)",select_item_hover:"var(--ui_XE_uK)",select_border:"var(--ui_OM27B)",trade_spot_blocks:"var(--ui_IRiT9)",trade_spot_bg:"var(--ui_KSdjj)",block_bg:"var(--ui__9_43)",block_bg_cards:"var(--ui_od-37)",block_bg_cards_hover:"var(--ui_zSQMC)",block_bg_cards_item:"var(--ui_SiUCg)",block_bg_cards_hover_item:"var(--ui_yaALP)",block_btn:"var(--ui_EH1Zn)",block_btn_item:"var(--ui_QiGQb)",block_btn_hover:"var(--ui_5g0m8)",block_btn_item_hover:"var(--ui_gRKOS)",block_payform:"var(--ui_Udirl)",blog_gr:"var(--ui_Y78L_)",blog_gr_rtl:"var(--ui_Jqt_w)",block_gr:"var(--ui_3I8oe)",block_gr_rtl:"var(--ui_lVZHF)",bg_buttonUp:"var(--ui_KOIN8)",table_bg:"var(--ui_VSgER)",table_items:"var(--ui_iwBZ5)",table_hover_stroke:"var(--ui_TcBYI)",table_hover_items:"var(--ui_Quf2y)",table_action_btn:"var(--ui_OVi1g)",table_action_btn_hover:"var(--ui_Y5dkW)",table_icon_default:"var(--ui_GwS85)",table_icon_hover:"var(--ui_S14Xj)",footer_bg:"var(--ui_upZo-)",footer_btn:"var(--ui_RNm_j)",footer_btn_hover:"var(--ui_J7Yo8)",footer_tab_bar:"var(--ui_d7TKc)",footer_tab_bar_shadow:"var(--ui__fU8n)",block_shadow:"var(--ui_jZtV-)",selected_shadow:"var(--ui_7rQjs)",modal_shadow:"var(--ui_P_Szo)",cards_shadow:"var(--ui_H0sLO)",tooltip_shadow:"var(--ui_m1VOP)",toggle_shadow:"var(--ui_d03mL)",subheader_bg:"var(--ui_0_Ryu)",bg_primary:"var(--ui_zJ5e7)"};var s={typography:"_9lGj_GcP",display_large:"_pWY-3-x5",disabled__mediaQueryProps:"_0KS3eBIC",display_medium:"_kkyTU0QK",h1:"_85GAsOvU",h2:"_onUoH6gF",h3:"_gBVam8hp",h4:"_psrjW7rM",h5:"_t5dPjBwd",h6:"_r73l168u",system_h1:"_Fz1x6Prt",system_h2:"_w23u_tPm",system_h3:"_ZJJKx503",system_h4:"_-kaQWdKL",system_h5:"_FBct-4oH",system_h6:"_cIVjvbDF",button:"_NJcohvyp",ignoreMediaQuery:"_EN10cb1p",small_button:"_EUkYaNbU",link_h4:"_SIWUuxvR",link_h5:"_RUD9ZSPn",code:"_kYSLhRqb",tag:"_8JUWmCEX",ta
4pBar_menu:"_8mftm7sA",fontWeight_200:"_ffjzbUTy",fontWeight_300:"_4Qucm0QN",fontWeight_400:"_fwrDiIeZ",fontWeight_500:"_A1jQQjjL",fontWeight_600:"_MX4S4fBc",fontWeight_700:"_LuvNBg5i",textTransform_uppercase:"_49QUnf9e",textTransform_lowercase:"_NZM2JUfA",textTransform_capitalize:"_wt49OUWy",textTransform_fullWidth:"_D-clLb5r",textDecoration_underline:"_Bqxh0lh3",textDecoration_overline:"_8dzc9m0g",textDecoration_lineThrough:"_HaQNjvi0",textWrap_wrap:"_DnvyMXjH",textWrap_nowrap:"_C22VX-Wa",textWrap_balance:"_Zn3waXYU",textWrap_pretty:"_8TCI_CdZ",disabled__rtl:"_BVKkfKV_"};let a={200:s.fontWeight_200,300:s.fontWeight_300,400:s.fontWeight_400,500:s.fontWeight_500,600:s.fontWeight_600,700:s.fontWeight_700},o={capitalize:s.textTransform_capitalize,fullWidth:s.textTransform_fullWidth,lowercase:s.textTransform_lowercase,none:s.textTransform_none,uppercase:s.textTransform_uppercase},u={lineThrough:s.textDecoration_lineThrough,none:s.textDecoration_none,overline:s.textDecoration_overline,underline:s.textDecoration_underline},d={balance:s.textWrap_balance,nowrap:s.textWrap_nowrap,pretty:s.textWrap_pretty,wrap:s.textWrap_wrap},c=({as:e,textTransform:t="none",textDecoration:n="none",textWrap:c="wrap",fontWeight:h,variant:p,children:f,className:m,isIgnoreRtl:g=!1,isIgnoreMediaQuery:v=!1,htmlProps:b,onClick:y,onboarding_id:w,color:x})=>{let _=(0,r.$)(s.typography,s[p],m,{[a[h??200]]:h&&Object.prototype.hasOwnProperty.call(a,h),[o[t]]:Object.prototype.hasOwnProperty.call(o,t)&&"none"!==t,[u[n]]:Object.prototype.hasOwnProperty.call(u,n)&&"none"!==n,[d[c]]:Object.prototype.hasOwnProperty.call(d,c)&&"wrap"!==c,[s.disabled__rtl]:g,[s.disabled__mediaQueryProps]:v});return(0,i.jsx)(e||"p",{...x&&{style:{color:l[x]}},className:_,"data-onboarding-id":w,...b,onClick:y,children:f})}},64200:(e,t,n)=>{"use strict";n.d(t,{CQ:()=>r,HQ:()=>l,N:()=>u,jA:()=>c,vb:()=>a});var i=n(21109);function r(e){return e.max-e.min}function l(e,t,n){return Math.abs(e-t)<=n}function s(e,t,n,l=.5){e.origin=l,e.originPoint=(0,i.k)(t.min,t.max,e.origin),e.scale=r(n)/r(t),e.translate=(0,i.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function a(e,t,n,i){s(e.x,t.x,n.x,i?i.originX:void 0),s(e.y,t.y,n.y,i?i.originY:void 0)}function o(e,t,n){e.min=n.min+t.min,e.max=e.min+r(t)}function u(e,t,n){o(e.x,t.x,n.x),o(e.y,t.y,n.y)}function d(e,t,n){e.min=t.min-n.min,e.max=e.min+r(t)}function c(e,t,n){d(e.x,t.x,n.x),d(e.y,t.y,n.y)}},65305:(e,t,n)=>{"use strict";function i(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{w:()=>i})},65511:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});let i=new WeakMap},65967:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var i=n(95155),r=n(60760),l=n(36545);let s=e=>{let{isOpen:t,variants:n,initial:s="hidden",exit:a,transition:o,children:u,isMainMenu:d,custom:c}=e;return(0,i.jsx)(r.N,{children:(0,i.jsx)(l.P.div,{animate:t?"visible":"hidden",custom:c,exit:a,initial:s,style:{position:!t&&d?"absolute":"relative"},transition:o,variants:n,children:u})})}},66357:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var i,r=n(95155),l=n(12115),s=n(43646),a=n(63984);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var u=function(e){return l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=l.createElement("path",{fill:"currentColor",d:"M12 3.5c0-.828.675-1.512 1.494-1.388a10 10 0 1 1-11.36 8.254c.136-.817.994-1.249 1.782-.993s1.201 1.105 1.119 1.93a7 7 0 1 0 8.454-6.143C12.679 4.984 12 4.328 12 3.5"},l.createElement("animateTransform",{attributeName:"transform",attributeType:"xml",dur:"0.5s",from:"0 12 12",repeatCount:"indefinite",to:"360 12 12",type:"rotate"}))))},d={default:"_8Hdstoq9",buttonIcon:"_k30tOfRD",disabled:"_7Xz6YXjY",btn:"_iuq8t_o9",fullWidth:"_Pn5qaZJN",left:"_Vq6og58A",center:"_zCeATBXM",right:"_stUc0GGe",loading:"_WnlsMh2M",buttonText:"_q-lIA8QS",buttonSpin:"_EheLZyYT",s:"__netDAMV",m:"_SNgxIn1D",l:"_ZjpSfZfE",white:"_rIHFVBwN",special_green:"_6hajqSCf",primary:"_YDZYeF-J",special_red:"_a9BiStyk",secondary:"_UUScYmeF",tertiary:"_-Eci6V-e",stroked:"_mE25H-E_",outline:"_BEgp3PZv",outline_small:"_L83aaLq1",footer
4:"_u4sA47YR",advertisement:"_ZLnK04qB"};let c=new Set(["button","input","select","textarea"]),h=({as:e,children:t,appearance:n="primary",size:i="m",isLoading:o,disabled:h,leftIcon:p,rightIcon:f,className:m,asChild:g,align:v="center",fullWidth:b,onClick:y,onboarding_id:w,...x})=>{let _=h||o,S=e||"button",C="custom"===n,E=c.has(S)&&!g,P={className:(0,s.$)(d.btn,d[v],{[d[n]]:!C,[d[i]]:!C,[d.fullWidth]:b,[d.default]:!C,[d.loading]:o,[d.disabled]:_},m),...E?{disabled:_}:{"aria-disabled":_},...x,...w?{"data-onboarding-id":w}:{},onClick:e=>{if(_)return e.preventDefault(),void e.stopPropagation();y&&y(e)}},T=e=>(0,r.jsxs)(r.Fragment,{children:[p&&(0,r.jsx)("span",{className:d.buttonIcon,children:p}),o&&(0,r.jsx)(u,{className:d.buttonSpin}),"string"==typeof e&&e?(0,r.jsx)(a.A,{className:d.buttonText,variant:"outline_small"===n?"small_button":"button",children:e}):e,f&&(0,r.jsx)("span",{className:d.buttonIcon,children:f})]});return g&&(0,l.isValidElement)(t)?(0,l.cloneElement)(t,{...P,children:T(t.props.children)}):g?null:(0,r.jsx)(S,{...P,children:T(t)})};h.displayName="Button"},66373:(e,t,n)=>{"use strict";function i(e){return e instanceof SVGElement&&"svg"!==e.tagName}n.d(t,{x:()=>i})}
4,66802:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(63284);class r{constructor(){this.subscriptions=[]}add(e){return(0,i.Kq)(this.subscriptions,e),()=>(0,i.Ai)(this.subscriptions,e)}notify(e,t,n){let i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){let i=this.subscriptions[r];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},67670:(e,t,n)=>{"use strict";n.d(t,{$:()=>r,V:()=>l});var i=n(69147);let r=i.l,l=i.l},67730:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var i=n(24935);let r={test:(0,n(3886).$)("#"),parse:function(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:i.B.transform}},68972:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});let i="undefined"!=typeof window},69147:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});let i=e=>e},70071:(e,t,n)=>{"use strict";n.d(t,{X:()=>r,f:()=>i});let i=e=>1e3*e,r=e=>e/1e3},70554:(e,t,n)=>{"use strict";n.d(t,{I:()=>l,q:()=>r});var i=n(74492);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function l(e,t){let n=!1,l=!0,s={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=r.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,i=!1,r=!1,l=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(t){l.has(t)&&(o.schedule(t),e()),t(s)}let o={schedule:(e,r=!1,s=!1)=>{let a=s&&i?t:n;return r&&l.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),l.delete(e)},process:e=>{if(s=e,i){r=!0;return}i=!0,[t,n]=[n,t],n.clear(),t.forEach(a),i=!1,r&&(r=!1,o.process(e))}};return o}(a),e),{}),{read:u,resolveKeyframes:d,update:c,preRender:h,render:p,postRender:f}=o,m=()=>{let r=i.W.useManualTiming?s.timestamp:performance.now();n=!1,s.delta=l?1e3/60:Math.max(Math.min(r-s.timestamp,40),1),s.timestamp=r,s.isProcessing=!0,u.process(s),d.process(s),c.process(s),h.process(s),p.process(s),f.process(s),s.isProcessing=!1,n&&t&&(l=!1,e(m))};return{schedule:r.reduce((t,i)=>{let r=o[i];return t[i]=(t,i=!1,a=!1)=>(!n&&(n=!0,l=!0,s.isProcessing||e(m)),r.schedule(t,i,a)),t},{}),cancel:e=>{for(let t=0;t<r.length;t++)o[r[t]].cancel(e)},state:s,steps:o}}},70797:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});let i=(0,n(12115).createContext)({})}
4,72412:(e,t,n)=>{"use strict";n.d(t,{default:()=>h});var i=n(95155),r=n(12115),l=n(45299),s=n(84945),a=n(76492),o=n(43646),u=n(8959),d=n(84173),c={dropdown:"_87I8bSMt",menuWrapper:"_OPAOHXxr",no_mobile:"_vXEg-uep",container:"_8EHVU672",floating_overlay:"_RrsDDi-A"};let h=e=>{let{parent:t,children:n,onCloseEvent:h,onClickHandler:p,isOpenOnHover:f,maxHeight:m,width:g,maxWidth:v,isOpen:b,setIsOpen:y,className:w,offset:x,mobileTitle:_,containerClassName:S,parentClassName:C,parentWrapperClassName:E,menuContainerClassName:P,placement:T="bottom-start",mobileBottomSheet:M=!0,disabled:k=!1,noMobileContainer:R=!1,onlyMobileContainer:A=!1,mobileMenuContentClassName:L,classNames:j,onboarding_id:I}=e,V=(0,u.useMediaQuery)("laptop"),N=(0,u.useMediaQuery)("tabletS"),[F,D]=(0,r.useState)(!1),O=(0,r.useMemo)(()=>!R&&N&&M||A,[N,M,R,A]),{refs:z,floatingStyles:B,context:W}=(0,l.we)({middleware:[(0,s.cY)(x||(V?16:22)),(0,s.BN)()],onOpenChange:y,open:!k&&b,placement:T,whileElementsMounted:a.ll}),$=(0,l.kp)(W),H=(0,l.s9)(W),G=(0,l.It)(W,{role:"menu"}),U=(0,l.Bi)(),q=(0,l.iQ)(W);(0,l.in)(W);let X=(0,l.Mk)(W,{delay:{close:.3,open:.3},enabled:!!f,handleClose:(0,l.iB)()}),{getReferenceProps:Y,getFloatingProps:K}=(0,l.bv)([$,H,G,X,q]);(0,r.useEffect)(()=>{!b&&h&&h()},[b]);let Z=e=>{z.floating.current&&null===e.relatedTarget&&z.floating.current.focus()};return(0,r.useEffect)(()=>{var e,t;return null==z||null==(t=z.floating)||null==(e=t.current)?void 0:e.removeEventListener("focusout",Z)},[]),(0,r.useEffect)(()=>{if(!O){let e=()=>y(!1);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}},[O]),(0,r.useEffect)(()=>{D(!0)},[]),(0,i.jsxs)("div",{"data-onboarding-id":I,className:(0,o.$)(c.dropdown,E,null==j?void 0:j.dropdown),children:[(0,i.jsx)("div",{ref:z.setReference,...Y(),className:(0,o.$)(C,null==j?void 0:j.parent),onClick:e=>{k||(y(!b),null==p||p(e))},children:t(b)}),F&&b&&(0,i.jsxs)(l.XF,{children:[!f&&(0,i.jsx)(l.zR,{className:(0,o.$)(c.floating_overlay,null==j?void 0:j.overlay),role:"menu"}),(0,i.jsx)(l.s3,{context:W,initialFocus:z.floating,modal:O,order:["floating","content"],returnFocus:!1,children:(0,i.jsx)("div",{ref:z.setFloating,"aria-labelledby":U,style:{...B},...K(),className:(0,o.$)(S,c.container,null==j?void 0:j.container),children:(0,i.jsx)(d.default,{isMobileContainer:O,isOpen:b,maxHeight:m,maxWidth:v,menuContainerClassName:P,mobileMenuContentClassName:L,mobileTitle:_,placement:T,width:g,onCloseEvent:e=>{y(!1),null==h||h(e)},children:(0,i.jsx)("div",{className:(0,o.$)(c.menuWrapper,w,null==j?void 0:j.menuWrapper,{[c.no_mobile]:R}),children:n})})})})]})]})}},73119:(e,t,n)=>{"use strict";n.d(t,{default:()=>a});var i=n(95155),r=n(12115),l=n(43646),s={pin__wrapper:"_ZFpqXdTk",pin__input:"_iPU0Dhqu",loading:"_eS6Tp7S2",error:"_bAEh3v4H"};let a=e=>{let{pinDigits:t,setPinDigits:n,errors:a,isLoading:o,onboarding_id:u}=e,d=window.CSS.supports("(-webkit-text-security: disc)"),c=t.length,h=(0,r.useRef)([]);return(0,r.useEffect)(()=>{h.current[0].focus()},[]),(0,r.useEffect)(()=>{a&&h.current[0].focus()},[a]),(0,r.useEffect)(()=>{""===t[0]&&h.current[0].focus()},[t[0]]),(0,i.jsx)("form",{className:s.pin__wrapper,"data-onboarding-id":u,children:t.map((e,r)=>(0,i.jsx)("input",{ref:e=>{e&&(h.current[r]=e)},autoComplete:d?"off":"new-password",disabled:o,type:d?"text":"password",value:e,className:(0,l.$)(s.pin__input,{[s.error]:a,[s.loading]:o}),onChange:e=>((e,i)=>{var r;let l=t[e],s=i.trim().replace(l,"");if(s<"0"||s>"9")return;let a=[...t];a[e]=s,n(a),e<c-1&&(null==h||null==(r=h.current[e+1])||r.focus())})(r,e.target.value),onKeyDown:e=>((e,i)=>{var r,l;if("Backspace"===i.key)if(i.preventDefault(),""===t[e]){for(let i=e-1;i>=0;i--)if(t[i]){let e=[...t];return e[i]="",n(e),void(null==(r=h.current[i])||r.focus())}}else{let i=[...t];i[e]="",n(i),null==(l=h.current[e-1])||l.focus()}})(r,e)},"pin-digit-input-".concat(r+1)))})}},73334:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var i=n(19932),r=n(59210);function l(e,t){let n=i.k.now(),l=({timestamp:i})=>{let s=i-n;s>=t&&((0,r.WG)(l),e(s-t))};return r.Gt.read(l,!0),()=>(0,r.WG)(l)}},74492:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});let i={skipAnimations:!1,useManualTiming:!1}},74791:(e,t,n)=>{"use strict";n.d(t,{K:()=>l,T:()=>r});var i=n(12115);let r=(0,i.createContext)(null),l=()=>{let e=(0,i.useContext)(r);if(!e)throw Error("LightboxImage must be rendered inside LightboxProvider");return e}},74830:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let i=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||i.has(e)}},75245:(e,t,n)=>{"use strict";n.d(t,{M:()=>h});var i=n(29203),r=n(93676),l=n(14206),s=n(60990),a=n(20600),o=n(2217),u=n(33757),d=n(22397),c=n(14570);class h extends d.b{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=a.e}readValueFromInstance(e,t){if(l.f.has(t)){let e=(0,o.D)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),i=((0,r.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,u.m)(e,t)}build(e,t,n){(0,i.O)(e,t,n.transformTemplate)}
4scrapeMotionValuesFromProps(e,t,n){return(0,s.x)(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,c.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}},75523:(e,t,n)=>{"use strict";n.d(t,{useDebounceCallback:()=>r});var i=n(12115);function r(e,t){let n=(0,i.useRef)(null),r=(0,i.useRef)(e);(0,i.useEffect)(()=>{r.current=e},[e]);let l=(0,i.useCallback)(function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];null!==n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{r.current(...i)},t)},[t]);return(0,i.useEffect)(()=>()=>{null!==n.current&&clearTimeout(n.current)},[]),l}},76333:(e,t,n)=>{"use strict";n.d(t,{g:()=>l});var i=n(58492),r=n(14570);function l(e,t){var n,l;if(!e.applyWillChange)return;let s=e.getValue("willChange");if(s||(null==(n=e.props.style)?void 0:n.willChange)||(s=new i.I("auto"),e.addValue("willChange",s)),l=s,(0,r.S)(l)&&l.add)return s.add(t)}},76492:(e,t,n)=>{"use strict";n.d(t,{UE:()=>Y,ll:()=>H,rD:()=>Z,UU:()=>q,ER:()=>K,cY:()=>G,BN:()=>U,Ej:()=>X});let i=Math.min,r=Math.max,l=Math.round,s=Math.floor,a=e=>({x:e,y:e}),o={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function c(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function f(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function m(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],v=["right","left"],b=["top","bottom"],y=["bottom","top"];function w(e){let t=d(e);return o[t]+e.slice(t.length)}function x(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function _(e){let{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function S(e,t,n){let i,{reference:r,floating:l}=e,s=f(t),a=h(f(t)),o=p(a),u=d(t),m="y"===s,g=r.x+r.width/2-l.width/2,v=r.y+r.height/2-l.height/2,b=r[o]/2-l[o]/2;switch(u){case"top":i={x:g,y:r.y-l.height};break;case"bottom":i={x:g,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:v};break;case"left":i={x:r.x-l.width,y:v};break;default:i={x:r.x,y:r.y}}switch(c(t)){case"start":i[a]-=b*(n&&m?-1:1);break;case"end":i[a]+=b*(n&&m?-1:1)}return i}async function C(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:l,rects:s,elements:a,strategy:o}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=u(t,e),m=x(f),g=a[p?"floating"===h?"reference":"floating":h],v=_(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:o})),b="floating"===h?{x:i,y:r,width:s.floating.width,height:s.floating.height}:s.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),w=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},S=_(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:y,strategy:o}):b);return{top:(v.top-S.top+m.top)/w.y,bottom:(S.bottom-v.bottom+m.bottom)/w.y,left:(v.left-S.left+m.left)/w.x,right:(S.right-v.right+m.right)/w.x}}let E=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:C},o=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:c}=S(u,i,o),h=i,p=0,f={};for(let n=0;n<l.length;n++){let m=l[n];if(!m)continue;let{name:g,fn:v}=m,{x:b,y:y,data:w,reset:x}=await v({x:d,y:c,initialPlacement:i,placement:h,strategy:r,middlewareData:f,re
4cts:u,platform:a,elements:{reference:e,floating:t}});d=null!=b?b:d,c=null!=y?y:c,f[g]={...f[g],...w},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(u=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:d,y:c}=S(u,h,o)),n=-1)}return{x:d,y:c,placement:h,strategy:r,middlewareData:f}},P=new Set(["left","top"]);async function T(e,t){let{placement:n,platform:i,elements:r}=e,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),s=d(n),a=c(n),o="y"===f(n),h=P.has(s)?-1:1,p=l&&o?-1:1,m=u(t,e),{mainAxis:g,crossAxis:v,alignmentAxis:b}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof b&&(v="end"===a?-1*b:b),o?{x:v*p,y:g*h}:{x:g*h,y:v*p}}var M=n(86301);function k(e){let t=(0,M.L9)(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=(0,M.sb)(e),s=r?e.offsetWidth:n,a=r?e.offsetHeight:i,o=l(n)!==s||l(i)!==a;return o&&(n=s,i=a),{width:n,height:i,$:o}}function R(e){return(0,M.vq)(e)?e:e.contextElement}function A(e){let t=R(e);if(!(0,M.sb)(t))return a(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:s}=k(t),o=(s?l(n.width):n.width)/i,u=(s?l(n.height):n.height)/r;return o&&Number.isFinite(o)||(o=1),u&&Number.isFinite(u)||(u=1),{x:o,y:u}}let L=a(0);function j(e){let t=(0,M.zk)(e);return(0,M.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:L}function I(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=R(e),o=a(1);t&&(i?(0,M.vq)(i)&&(o=A(i)):o=A(e));let u=(void 0===(r=n)&&(r=!1),i&&(!r||i===(0,M.zk)(s))&&r)?j(s):a(0),d=(l.left+u.x)/o.x,c=(l.top+u.y)/o.y,h=l.width/o.x,p=l.height/o.y;if(s){let e=(0,M.zk)(s),t=i&&(0,M.vq)(i)?(0,M.zk)(i):i,n=e,r=(0,M._m)(n);for(;r&&i&&t!==n;){let e=A(r),t=r.getBoundingClientRect(),i=(0,M.L9)(r),l=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;d*=e.x,c*=e.y,h*=e.x,p*=e.y,d+=l,c+=s,n=(0,M.zk)(r),r=(0,M._m)(n)}}return _({width:h,height:p,x:d,y:c})}function V(e,t){let n=(0,M.CP)(e).scrollLeft;return t?t.left+n:I((0,M.ep)(e)).left+n}function N(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-V(e,n),y:n.top+t.scrollTop}}function F(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=(0,M.zk)(e),i=(0,M.ep)(e),r=n.visualViewport,l=i.clientWidth,s=i.clientHeight,a=0,o=0;if(r){l=r.width,s=r.height;let e=(0,M.Tc)();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,o=r.offsetTop)}let u=V(i);if(u<=0){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(i.clientWidth-t.clientWidth-r);s<=25&&(l-=s)}else u<=25&&(l+=u);return{width:l,height:s,x:a,y:o}}(e,n);else if("document"===t)i=function(e){let t=(0,M.ep)(e),n=(0,M.CP)(e),i=e.ownerDocument.body,l=r(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=r(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),a=-n.scrollLeft+V(e),o=-n.scrollTop;return"rtl"===(0,M.L9)(i).direction&&(a+=r(t.clientWidth,i.clientWidth)-l),{width:l,height:s,x:a,y:o}}((0,M.ep)(e));else if((0,M.vq)(t))i=function(e,t){let n=I(e,!0,"fixed"===t),i=n.top+e.clientTop,r=n.left+e.clientLeft,l=(0,M.sb)(e)?A(e):a(1),s=e.clientWidth*l.x,o=e.clientHeight*l.y;return{width:s,height:o,x:r*l.x,y:i*l.y}}(t,n);else{let n=j(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return _(i)}function D(e){return"static"===(0,M.L9)(e).position}function O(e,t){if(!(0,M.sb)(e)||"fixed"===(0,M.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,M.ep)(e)===n&&(n=n.ownerDocument.body),n}function z(e,t){let n=(0,M.zk)(e);if((0,M.Tf)(e))return n;if(!(0,M.sb)(e)){let t=(0,M.$4)(e);for(;t&&!(0,M.eu)(t);){if((0,M.vq)(t)&&!D(t))return t;t=(0,M.$4)(t)}return n}let i=O(e,t);for(;i&&(0,M.Lv)(i)&&D(i);)i=O(i,t);return i&&(0,M.eu)(i)&&D(i)&&!(0,M.sQ)(i)?n:i||(0,M.gJ)(e)||n}let B=async function(e){let t=this.getOffsetParent||z,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=(0,M.sb)(t),r=(0,M.ep)(t),l="fixed"===n,s=I(e,!0,l,t),o={scrollLeft:0,scrollTop:0},u=a(0);if(i||!i&&!l)if(("body"!==(0,M.mq)(t)||(0,M.ZU)(r))&&(o=(0,M.CP)(t)),i){let e=I(t,!0,l,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else r&&(u.x=V(r));l&&!i&&r&&(u.x=V(r));let d=!r||i||l?a(0):N(r,o);return{x:s.left+o.scrollLeft-u.x-d.x,y:s.top+o.scrollTop-u.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},W={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,l="fixed"===r,s=(0,M.ep)(i),o=!!t&&(0,M.Tf)(t.floating);if(i===s||o&&l)return n;let u={scrollLeft:0,scrollTop:0},d=a(1),c=a(0),h=(0,M.sb)(i);if((h||!h&&!l)&&(("body"!==(0,M.mq)(i)||(0,M.ZU)(s))&&(u=(0,M.CP)(i)),h)){let e=I(i);d=A(i),c.x=e.x+i.clientLeft,c.y=e.y+i.clientTop}let p=!s||h||l?a(0):N(s,u);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+c.x+p.x,y:n.y*d.y-u.scrollTop*d.y+c.y+p.y}},getDocumentElement:M.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:l,strategy:s}=e,a=[..."clippingAncestors"===n?(0,M.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,M.v9)(e,[],!1).filter(e=>(0,M.vq)(e)&&"body"!==(0,M.mq)(e)),r=null,l="fixed"===(0,M.L9)(e).position,s=l?(0,M.$4)(e):e;for(;(0,M.vq)(s)&&!(0,M.eu)(s);){let t=(0,M.L9)(s),n=(0,M.sQ)(s);n||"fixed"!==t.position||(r=null),(l?n||r:!(!n&&"static"===t.position&&r&&("absolute"===r.position||"fixed"===r.position)||(0,M.ZU)(s)&&!n&&function e(t,n){let i=(0,M.$4)(t);return!(i===n||!(0,M.vq)(i)||(0,M.eu)(i))&&("fixed"===(0,M.L9)(i).position||e(i,n))}(e,s)))?r=t:i=i.filter(e=>e!==s),s=(0,M.$4)(s)}return t.set(e,i),i}(t,this._c):[].concat(n),l],o=F(t,a[0],s),u=o.top,d=o.right,c=o.bottom,h=o.left;for(let e=1;e<a.length;e++){let n=F(t,a[e],s);u=r(n.top,u),d=i(n.right,d),c=i(n.bottom,c),h=r(n.left,h)}return{width:d-h,height:c-u,x:h,y:u}},getOffsetParent:z,getElementRects:B,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=k(e);return{width:t,height:n}},getScale:A,isElement:M.vq,isRTL:function(e){return"rtl"===(0,M.L9)(e).direction}};function $(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function H(e,t,n,l){let a;void 0===l&&(l={});let{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:h=!1}=l,p=R(e),f=o||u?[...p?(0,M.v9)(p):[],...t?(0,M.v9)(t):[]]:[];
4f.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,l=null,a=(0,M.ep)(e);function o(){var e;clearTimeout(n),null==(e=l)||e.disconnect(),l=null}return!function u(d,c){void 0===d&&(d=!1),void 0===c&&(c=1),o();let h=e.getBoundingClientRect(),{left:p,top:f,width:m,height:g}=h;if(d||t(),!m||!g)return;let v=s(f),b=s(a.clientWidth-(p+m)),y={rootMargin:-v+"px "+-b+"px "+-s(a.clientHeight-(f+g))+"px "+-s(p)+"px",threshold:r(0,i(1,c))||1},w=!0;function x(t){let i=t[0].intersectionRatio;if(i!==c){if(!w)return u();i?u(!1,i):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==i||$(h,e.getBoundingClientRect())||u(),w=!1}try{l=new IntersectionObserver(x,{...y,root:a.ownerDocument})}catch(e){l=new IntersectionObserver(x,y)}l.observe(e)}(!0),o}(p,n):null,g=-1,v=null;d&&(v=new ResizeObserver(e=>{let[i]=e;i&&i.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!h&&v.observe(p),t&&v.observe(t));let b=h?I(e):null;return h&&function t(){let i=I(e);b&&!$(b,i)&&n(),b=i,a=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,h&&cancelAnimationFrame(a)}}let G=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:l,placement:s,middlewareData:a}=t,o=await T(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+o.x,y:l+o.y,data:{...o,placement:s}}}}},U=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:l,placement:s,platform:a}=t,{mainAxis:o=!0,crossAxis:c=!1,limiter:p={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...m}=u(e,t),g={x:n,y:l},v=await a.detectOverflow(t,m),b=f(d(s)),y=h(b),w=g[y],x=g[b];if(o){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+v[e],l=w-v[t];w=r(n,i(w,l))}if(c){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",n=x+v[e],l=x-v[t];x=r(n,i(x,l))}let _=p.fn({...t,[y]:w,[b]:x});return{..._,data:{x:_.x-n,y:_.y-l,enabled:{[y]:o,[b]:c}}}}}},q=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,l,s;let{placement:a,middlewareData:o,rects:x,initialPlacement:_,platform:S,elements:C}=t,{mainAxis:E=!0,crossAxis:P=!0,fallbackPlacements:T,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:R=!0,...A}=u(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};let L=d(a),j=f(_),I=d(_)===_,V=await (null==S.isRTL?void 0:S.isRTL(C.floating)),N=T||(I||!R?[w(_)]:function(e){let t=w(e);return[m(e),t,m(t)]}(_)),F="none"!==k;!T&&F&&N.push(...function(e,t,n,i){let r=c(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?v:g;return t?g:v;case"left":case"right":return t?b:y;default:return[]}}(d(e),"start"===n,i);return r&&(l=l.map(e=>e+"-"+r),t&&(l=l.concat(l.map(m)))),l}(_,R,k,V));let D=[_,...N],O=await S.detectOverflow(t,A),z=[],B=(null==(i=o.flip)?void 0:i.overflows)||[];if(E&&z.push(O[L]),P){let e=function(e,t,n){void 0===n&&(n=!1);let i=c(e),r=h(f(e)),l=p(r),s="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=w(s)),[s,w(s)]}(a,x,V);z.push(O[e[0]],O[e[1]])}if(B=[...B,{placement:a,overflows:z}],!z.every(e=>e<=0)){let e=((null==(r=o.flip)?void 0:r.index)||0)+1,t=D[e];if(t&&("alignment"!==P||j===f(t)||B.every(e=>f(e.placement)!==j||e.overflows[0]>0)))return{data:{index:e,overflows:B},reset:{placement:t}};let n=null==(l=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(M){case"bestFit":{let e=null==(s=B.filter(e=>{if(F){let t=f(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(n=e);break}case"initialPlacement":n=_}if(a!==n)return{reset:{placement:n}}}return{}}}},X=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,l;let s,a,{placement:o,rects:h,platform:p,elements:m}=t,{apply:g=()=>{},...v}=u(e,t),b=await p.detectOverflow(t,v),y=d(o),w=c(o),x="y"===f(o),{width:_,height:S}=h.floating;"top"===y||"bottom"===y?(s=y,a=w===(await (null==p.isRTL?void 0:p.isRTL(m.floating))?"start":"end")?"left":"right"):(a=y,s="end"===w?"top":"bottom");let C=S-b.top-b.bottom,E=_-b.left-b.right,P=i(S-b[s],C),T=i(_-b[a],E),M=!t.middlewareData.shift,k=P,R=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(R=E),null!=(l=t.middlewareData.shift)&&l.enabled.y&&(k=C),M&&!w){let e=r(b.left,0),t=r(b.right,0),n=r(b.top,0),i=r(b.bottom,0);x?R=_-2*(0!==e||0!==t?e+t:r(b.left,b.right)):k=S-2*(0!==n||0!==i?n+i:r(b.top,b.bottom))}await g({...t,availableWidth:R,availableHeight:k});let A=await p.getDimensions(m.floating);return _!==A.width||S!==A.height?{reset:{rects:!0}}:{}}}},Y=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:l,placement:s,rects:a,platform:o,elements:d,middlewareData:m}=t,{element:g,padding:v=0}=u(e,t)||{};if(null==g)return{};let b=x(v),y={x:n,y:l},w=h(f(s)),_=p(w),S=await o.getDimensions(g),C="y"===w,E=C?"clientHeight":"clientWidth",P=a.reference[_]+a.reference[w]-y[w]-a.floating[_],T=y[w]-a.reference[w],M=await (null==o.getOffsetParent?void 0:o.getOffsetParent(g)),k=M?M[E]:0;k&&await (null==o.isElement?void 0:o.isElement(M))||(k=d.floating[E]||a.floating[_]);let R=k/2-S[_]/2-1,A=i(b[C?"top":"left"],R),L=i(b[C?"bottom":"right"],R),j=k-S[_]-L,I=k/2-S[_]/2+(P/2-T/2),V=r(A,i(I,j)),N=!m.arrow&&null!=c(s)&&I!==V&&a.reference[_]/2-(I<A?A:L)-S[_]/2<0,F=N?I<A?I-A:I-j:0;return{[w]:y[w]+F,data:{[w]:V,centerOffset:I-V-F,...N&&{alignmentOffset:F}},reset:N}}}),K=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:i,placement:r,rects:l,middlewareData:s}=t,{offset:a=0,mainAxis:o=!0,crossAxis:c=!0}=u(e,t),p={x:n,y:i},m=f(r),g=h(m),v=p[g],b=p[m],y=u(a,t),w="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(o){let e="y"===g?"height":"width",t=l.reference[g]-l.floating[e]+w.mainAxis,n=l.reference[g]+l.reference[e]-w.mainAxis;v<t?v=t:v>n&&(v=n)}if(c){var x,_;let e="y"===g?"width":"height",t=P.has(d(r)),n=l.reference[m]-l.floating[e]+(t&&(null==(x=s.offset)?void 0:x[m])||0)+(t?0:w.crossAxis),i=l.reference[m]+l.reference[e]+(t?0:(null==(_=s.offset)?void 0:_[m])||0)-(t?w.crossAxis:0);b<n?b=n:b>i&&(b=i)}return{[g]:v,[m]:b}}}},Z=(e,t,n)=>{let i=new Map,r={platform:W,...n},l={...r.platform,_c:i};return E(e,t,{...r,platform:l})}},76521:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i,r=n(12115);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var s=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12 5.293 6.707a1 1 0 0 1 0-1.414",clipRule:"evenodd"})))}},77769:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var i=n(95155),r=n(12115),l=n(43646);n(89257),n(42605),n(15341),n(5733);let s=(e,t=0)=>Math.floor(Number(e)*10**t)/10**t;var a=n(63984),o={sizer:"_0-IqroNc",inputWrapper:"_Rob_vrZF",limitWidth:"_YgOUkeIR",input:"_JFQSM_IG",fakeInput:"_Z-KO3BHD",hiddenInput:"_QhBrZfB2",placeholder:"_lPIbDSVC",tert
4iaryPlaceholder:"_W0RBkxJK",empty:"_fjOyBZXZ"};let u=new Set(["+","-","ArrowUp","ArrowDown"]),d=e=>{var t;let{gap:n=2,inputClassName:d,tertiaryPlaceholder:c,floatingElement:h,strictInputLimit:p=!1,initialInputWidth:f=15,onboarding_id:m,...g}=e,v=(0,r.useRef)(null),b=(0,r.useRef)(null),y=(0,r.useRef)(null),w=(0,r.useRef)(null),x=(e=>{let t=(0,r.useMemo)(()=>({listeners:new Set,width:null}),[e]);return(0,r.useEffect)(()=>{let n=e.current;if(!n)return;let i=()=>{let e=n.clientWidth;if(t.width!==e)for(let n of(t.width=e,t.listeners))n()},r=new ResizeObserver(i);return r.observe(n),i(),()=>r.disconnect()},[e,t]),(0,r.useSyncExternalStore)(e=>(t.listeners.add(e),()=>t.listeners.delete(e)),()=>t.width,()=>t.width)})(v),_=g.value||0===g.value,{step:S,min:C,max:E,autoFocus:P,value:T,placeholder:M,defaultValue:k,className:R,style:A,inputMode:L}=g,j={max:E,min:C,step:S},I=(0,r.useMemo)(()=>{var e;let t=0;return S&&S.toString().includes(".")&&(t=(null==(e=S.toString().split(".").pop())?void 0:e.length)||0),t},[T,S]),V=[k,T,""].reduce((e,t)=>null!=e?e:t);return(0,r.useEffect)(()=>{(()=>{if(!window.getComputedStyle)return;let e=y.current&&window.getComputedStyle(y.current);e&&v.current&&((e,t)=>{t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform})(e,v.current)})()},[b.current]),(0,r.useEffect)(()=>{var e;P&&(null==(e=y.current)||e.focus())},[y.current]),(0,i.jsxs)("div",{ref:b,"data-onboarding-id":m,className:(0,l.$)(R,o.inputWrapper,{[o.limitWidth]:_}),style:{"--sizerWidth":"".concat(null==(t=w.current)?void 0:t.scrollWidth,"px"),gap:_?"".concat(n,"px"):"0px",...A},onDoubleClick:()=>{y.current&&y.current.select()},onMouseDown:e=>e.preventDefault(),children:[(0,i.jsx)("input",{...g,ref:y,placeholder:"",type:"number"===g.type?"text":g.type,value:T,className:(0,l.$)(d,o.input,{[o.hiddenInput]:_&&!x}),inputMode:"number"!==g.type||L?L:"numeric",style:{boxSizing:"content-box",width:"".concat(x||f,"px")},onChange:e=>{var t;if(e.target.value&&"-"!==e.target.value){let t=Number(e.target.value);if("number"===g.type&&Number.isNaN(t)||p&&(t<Number(C)||t>Number(E)))return}null==(t=g.onChange)||t.call(g,e)},onKeyDown:e=>{var t,n,i,r,l;let a;if("number"!==g.type)return;u.has(e.key)&&e.preventDefault();let o=null==T?void 0:T.toString(),d=null==o?void 0:o.startsWith("-");"-"!==e.key||d?"+"===e.key&&d?a=null==o?void 0:o.slice(1):"ArrowUp"===e.key&&(null==y||null==(t=y.current)?void 0:t.value)?a=(({props:e,inputValue:t,decimal:n})=>{let{step:i,max:r,min:l}=e,a=String(t||"0"),o=Number(l),u=s(a,n)+Number(i||1);return void 0!==l&&u<o?o.toFixed(n):!r&&0!==r||u<=Number(r)?u.toFixed(n):a})({decimal:I,inputValue:null==y||null==(n=y.current)?void 0:n.value,props:j}):"ArrowDown"===e.key&&(null==y||null==(i=y.current)?void 0:i.value)&&(a=(({props:e,inputValue:t,decimal:n})=>{let{step:i,min:r,max:l}=e,a=String(t||"0"),o=Number(l),u=s(a,n)-Number(i||1);return void 0!==l&&u>o?o.toFixed(n):!r&&0!==r||u>=Number(r)?u.toFixed(n):a})({decimal:I,inputValue:null==y||null==(r=y.current)?void 0:r.value,props:j})):a="-".concat(T),a&&(null==(l=g.onChange)||l.call(g,{target:{value:a}}))},onInput:"number"===g.type?e=>{e.target.value=e.target.value.replace(/,/,".")}:void 0}),!x&&_&&(0,i.jsx)("span",{className:(0,l.$)(d,o.input,o.fakeInput),children:T}),(0,i.jsx)(a.A,{as:"span",fontWeight:400,variant:"system_h4",className:(0,l.$)(o.placeholder,{[o.empty]:!_,[o.tertiaryPlaceholder]:c}),htmlProps:{style:{marginInlineStart:_?"0px":"-".concat(f,"px")}},onClick:()=>{var e;return null==y||null==(e=y.current)?void 0:e.focus()},children:_?h:M}),(0,i.jsx)("div",{ref:v,className:o.sizer,children:V})]})}},77782:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let i=(e,t,n)=>n>t?t:n<e?e:n},77813:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i,r=n(12115);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var s=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:20,height:20},e),i||(i=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.693 15.768a1 1 0 0 1-.128-1.408L11.198 10 7.565 5.64a1 1 0 1 1 1.537-1.28l4.166 5a1 1 0 0 1 0 1.28l-4.166 5a1 1 0 0 1-1.409.128",clipRule:"evenodd"})))}},78450:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});let i=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()}
4,78588:(e,t,n)=>{"use strict";function i({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function r({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function l(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(t,{FY:()=>i,bS:()=>l,pA:()=>r})},78660:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var i=n(20419),r=n(19578);function l(e,t,n={}){var a;let o=(0,i.K)(e,t,"exit"===n.type?null==(a=e.presenceContext)?void 0:a.custom:void 0),{transition:u=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(u=n.transitionOverride);let d=o?()=>Promise.all((0,r.$)(e,o,n)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=u;return function(e,t,n=0,i=0,r=1,a){let o=[],u=(e.variantChildren.size-1)*i,d=1===r?(e=0)=>e*i:(e=0)=>u-e*i;return Array.from(e.variantChildren).sort(s).forEach((e,i)=>{e.notify("AnimationStart",t),o.push(l(e,t,{...a,delay:n+d(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,r+i,a,o,n)}:()=>Promise.resolve(),{when:h}=u;if(!h)return Promise.all([d(),c(n.delay)]);{let[e,t]="beforeChildren"===h?[d,c]:[c,d];return e().then(()=>t())}}function s(e,t){return e.sortNodePosition(t)}function a(e,t,n={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t))s=Promise.all(t.map(t=>l(e,t,n)));else if("string"==typeof t)s=l(e,t,n);else{let l="function"==typeof t?(0,i.K)(e,t,n.custom):t;s=Promise.all((0,r.$)(e,l,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}},78754:(e,t,n)=>{"use strict";function i(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}n.d(t,{D3:()=>a,nQ:()=>s});let r=i("dragHorizontal"),l=i("dragVertical");function s(e){let t=!1;if("y"===e)t=l();else if("x"===e)t=r();else{let e=r(),n=l();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function a(){let e=s(!0);return!e||(e(),!1)}},79280:(e,t,n)=>{"use strict";n.d(t,{$y:()=>s,E4:()=>a,Hr:()=>p,W9:()=>h});var i=n(14206),r=n(23082),l=n(45471);let s=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),a=e=>e===r.ai||e===l.px,o=(e,t)=>parseFloat(e.split(", ")[t]),u=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/u);if(r)return o(r[1],t);{let t=i.match(/^matrix\((.+)\)$/u);return t?o(t[1],e):0}},d=new Set(["x","y","z"]),c=i.U.filter(e=>!d.has(e));function h(e){let t=[];return c.forEach(n=>{let i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(+!!n.startsWith("scale")))}),t}let p={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:u(4,13),y:u(5,14)};p.translateX=p.x,p.translateY=p.y},80845:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});let i=(0,n(12115).createContext)(null)},81786:(e,t,n)=>{"use strict";n.d(t,{ge:()=>s,xU:()=>r});let i=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:i(),y:i()}),l=()=>({min:0,max:0}),s=()=>({x:l(),y:l()})},82365:(e,t,n)=>{"use strict";n.d(t,{useDebounce:()=>r});var i=n(12115);let r=(e,t)=>{let[n,r]=(0,i.useState)(e);return(0,i.useEffect)(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}},82885:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(12115);function r(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},82897:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var i=n(30234),r=n(67730),l=n(12083),s=n(24935);let a={test:e=>s.B.test(e)||r.u.test(e)||l.V.test(e),parse:e=>s.B.test(e)?s.B.parse(e):l.V.test(e)?l.V.parse(e):r.u.parse(e),transform:e=>(0,i.Kg)(e)?e:e.hasOwnProperty("red")?s.B.transform(e):l.V.transform(e)}},83945:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(69147);let r=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function l(e,t,n,l){return e===t&&n===l?i.l:i=>0===i||1===i?i:r(function(e,t,n,i,l){let s,a,o=0;do(s=r(a=t+(n-t)/2,i,l)-e)>0?n=a:t=a;while(Math.abs(s)>1e-7&&++o<12);return a}(i,0,1,e,n),t,l)}},84173:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var i=n(95155),r=n(43646),l=n(60760),s=n(36545),a=n(330),o={container:"_nXllhf2W"};let u={bottom:{closed:{opacity:0,y:"75px"},open:{opacity:1,y:0}},left:{closed:{opacity:0,x:"-75px"},open:{opacity:1,x:0}},right:{closed:{opacity:0,x:"75px"},open:{opacity:1,x:0}},top:{closed:{opacity:0,y:"-75px"},open:{opacity:1,y:0}}},d={opacity:{duration:.1},y:{damping:40,stiffness:500,type:"spring"}},c=e=>{let{children:t,isOpen:n,maxHeight:c,width:h,maxWidth:p,placement:f,onCloseEvent:m,mobileTitle:g,isMobileContainer:v=!1,menuContainerClassName:b,mobileMenuContentClassName:y}=e;return(0,i.jsx)(l.N,v?{children:n&&(0,i.jsx)(a.MobileMenuContainer,{mobileTitle:g,classNames:{optionsContent:y},onCloseEvent:m,children:t})}:{children:n&&(0,i.jsx)(s.P.div,{animate:"open",className:(0,r.$)(o.container,b),exit:"closed",initial:"closed",transition:d,variants:u[f.split("-")[0]],style:{maxHeight:c?"".concat(c,"px"):"max-content",maxWidth:p?"".concat(p,"px"):void 0,width:h?"".concat(h,"px"):void 0},children:t})})}}
4,84528:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let i={current:!1}},84945:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,ER:()=>f,Ej:()=>g,UE:()=>v,UU:()=>m,cY:()=>h,we:()=>c});var i=n(76492),r=n(12115),l=n(47650),s="undefined"!=typeof document?r.useLayoutEffect:function(){};function a(e,t){let n,i,r;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(i=n;0!=i--;)if(!a(e[i],t[i]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=n;0!=i--;)if(!({}).hasOwnProperty.call(t,r[i]))return!1;for(i=n;0!=i--;){let n=r[i];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function o(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=o(e);return Math.round(t*n)/n}function d(e){let t=r.useRef(e);return s(()=>{t.current=e}),t}function c(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:c=[],platform:h,elements:{reference:p,floating:f}={},transform:m=!0,whileElementsMounted:g,open:v}=e,[b,y]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=r.useState(c);a(w,c)||x(c);let[_,S]=r.useState(null),[C,E]=r.useState(null),P=r.useCallback(e=>{e!==R.current&&(R.current=e,S(e))},[]),T=r.useCallback(e=>{e!==A.current&&(A.current=e,E(e))},[]),M=p||_,k=f||C,R=r.useRef(null),A=r.useRef(null),L=r.useRef(b),j=null!=g,I=d(g),V=d(h),N=d(v),F=r.useCallback(()=>{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:w};V.current&&(e.platform=V.current),(0,i.rD)(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};D.current&&!a(L.current,t)&&(L.current=t,l.flushSync(()=>{y(t)}))})},[w,t,n,V,N]);s(()=>{!1===v&&L.current.isPositioned&&(L.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[v]);let D=r.useRef(!1);s(()=>(D.current=!0,()=>{D.current=!1}),[]),s(()=>{if(M&&(R.current=M),k&&(A.current=k),M&&k){if(I.current)return I.current(M,k,F);F()}},[M,k,F,I,j]);let O=r.useMemo(()=>({reference:R,floating:A,setReference:P,setFloating:T}),[P,T]),z=r.useMemo(()=>({reference:M,floating:k}),[M,k]),B=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!z.floating)return e;let t=u(z.floating,b.x),i=u(z.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+i+"px)",...o(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:i}},[n,m,z.floating,b.x,b.y]);return r.useMemo(()=>({...b,update:F,refs:O,elements:z,floatingStyles:B}),[b,F,O,z,B])}let h=(e,t)=>{let n=(0,i.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,i.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},f=(e,t)=>({fn:(0,i.ER)(e).fn,options:[e,t]}),m=(e,t)=>{let n=(0,i.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n=(0,i.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,i.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,i.UE)({element:n,padding:r}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}}},86111:(e,t,n)=>{"use strict";n.d(t,{i:()=>d});var i=n(19932),r=n(18203),l=n(84528),s=n(67670),a=n(90664);let o=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(a.f.test(e)||"0"===e)&&!e.startsWith("url("));var u=n(41232);class d{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:l=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=i.k.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:l,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,r.q)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=i.k.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:a,delay:d,onComplete:c,onUpdate:h,isGenerator:p}=this.options;if(!p&&!function(e,t,n,i){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let l=e[e.length-1],a=o(r,t),u=o(l,t);return(0,s.$)(a===u,`You are trying to animate ${t} from "${r}" to "${l}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${l} via the \`style\` property.`),!!a&&!!u&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||"spring"===n&&i)}(e,n,r,a))if(l.d.current||!d){null==h||h((0,u.X)(e,this.options,t)),null==c||c(),this.resolveFinishedProm
4ise();return}else this.options.duration=0;let f=this.initPlayback(e,t);!1!==f&&(this._resolved={keyframes:e,finalKeyframe:t,...f},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}},86301:(e,t,n)=>{"use strict";let i;function r(){return"undefined"!=typeof window}function l(e){return o(e)?(e.nodeName||"").toLowerCase():"#document"}function s(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(o(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function o(e){return!!r()&&(e instanceof Node||e instanceof s(e).Node)}function u(e){return!!r()&&(e instanceof Element||e instanceof s(e).Element)}function d(e){return!!r()&&(e instanceof HTMLElement||e instanceof s(e).HTMLElement)}function c(e){return!!r()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof s(e).ShadowRoot)}function h(e){let{overflow:t,overflowX:n,overflowY:i,display:r}=_(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&"inline"!==r&&"contents"!==r}function p(e){return/^(table|td|th)$/.test(l(e))}function f(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>C,CP:()=>S,L9:()=>_,Lv:()=>p,Ng:()=>c,Tc:()=>w,Tf:()=>f,ZU:()=>h,_m:()=>E,ep:()=>a,eu:()=>x,gJ:()=>y,mq:()=>l,sQ:()=>b,sb:()=>d,v9:()=>function e(t,n,i){var r;void 0===n&&(n=[]),void 0===i&&(i=!0);let l=function e(t){let n=C(t);return x(n)?t.ownerDocument?t.ownerDocument.body:t.body:d(n)&&h(n)?n:e(n)}(t),a=l===(null==(r=t.ownerDocument)?void 0:r.body),o=s(l);if(!a)return n.concat(l,e(l,[],i));{let t=E(o);return n.concat(o,o.visualViewport||[],h(l)?l:[],t&&i?e(t):[])}},vq:()=>u,zk:()=>s});let m=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;function b(e){let t=u(e)?_(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!w()&&(v(t.backdropFilter)||v(t.filter))||m.test(t.willChange||"")||g.test(t.contain||"")}function y(e){let t=C(e);for(;d(t)&&!x(t);){if(b(t))return t;if(f(t))break;t=C(t)}return null}function w(){return null==i&&(i="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),i}function x(e){return/^(html|body|#document)$/.test(l(e))}function _(e){return s(e).getComputedStyle(e)}function S(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function C(e){if("html"===l(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||a(e);return c(t)?t.host:t}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},87242:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});let i=e=>"string"==typeof e?e:e?.href??""},87699:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var i=n(95155),r=n(12115),l=n(43646),s=n(11941),a=n(63984),o={wrapper:"_1MUOz3ka",disabled:"_2lu8lthc",container:"_fN9uYh96",input:"_np9M8Yw1",labels:"_h9SV0Tf0",label:"_sOyQrJrh",marker:"_r0wyEKt0",startMarker:"_62xGLfe3",centerMarker:"_93_4QlWx",endMarker:"_XkNcnDF1",track:"_vD1FinWJ",fill:"_xPNK89mE",fillNegative:"_vtOO0AYY",fillPositive:"_OAKyoWII",tooltip:"_n6NMllKk",visible:"_q-I7gE7K"};let u=e=>{let{min:t=-100,max:n=100,onChange:u,minLabel:d=t,maxLabel:c=n,centerLabel:h=0,showTooltip:p=!0,showMarkers:f=!0,classNames:m,suffix:g,disabled:v,locale:b="en",value:y,inputProps:w,onboarding_id:x}=e,_=(0,s.useTextDirection)(b),[S,C]=(0,r.useState)(!1),E=(0,r.useRef)(null),P=(y-t)/(n-t)*100,T=y<0?Math.abs(P-50):0,M=y>0?Math.abs(P-50):0,k=()=>{C(!0)},R=()=>{C(!1)};return(0,i.jsxs)("div",{"data-onboarding-id":x,className:(0,l.$)(o.wrapper,{[o.disabled]:v},null==m?void 0:m.wrapper),children:[(0,i.jsxs)("div",{ref:E,className:(0,l.$)(o.container,null==m?void 0:m.container),children:[f&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,l.$)(o.marker,o.startMarker,null==m?void 0:m.marker,null==m?void 0:m.startMarker)}),(0,i.jsx)("div",{className:(0,l.$)(o.marker,o.centerMarker,null==m?void 0:m.marker,null==m?void 0:m.centerMarker)}),(0,i.jsx)("div",{className:(0,l.$)(o.marker,o.endMarker,null==m?void 0:m.marker,null==m?void 0:m.endMarker)})]}),(0,i.jsx)("div",{className:(0,l.$)(o.track,null==m?void 0:m.track)}),y<0&&(0,i.jsx)("div",{className:(0,l.$)(o.fill,o.fillNegative,null==m?void 0:m.fill),style:{width:"".concat(T,"%")}}),y>0&&(0,i.jsx)("div",{className:(0,l.$)(o.fill,o.fillPositive,null==m?void 0:m.fill),style:{width:"".concat(M,"%")}
4}),(0,i.jsx)("input",{"aria-label":"Range slider",className:(0,l.$)(o.input,null==m?void 0:m.input),max:n,min:t,type:"range",value:y,onChange:e=>{let t=Number(e.target.value);null==u||u(t)},onMouseDown:k,onMouseUp:R,onTouchEnd:R,onTouchStart:k,...w}),p&&(0,i.jsxs)("div",{style:{left:"".concat("rtl"===_?100-P:P,"%")},className:(0,l.$)(o.tooltip,{[o.visible]:S},null==m?void 0:m.tooltip),children:[y,g]})]}),(0,i.jsxs)("div",{className:(0,l.$)(o.labels,null==m?void 0:m.labels),children:[(0,i.jsxs)(a.A,{className:(0,l.$)(o.label,null==m?void 0:m.label),fontWeight:400,variant:"system_h6",children:[d,g]}),(0,i.jsx)(a.A,{className:(0,l.$)(o.label,null==m?void 0:m.label),fontWeight:400,variant:"system_h6",children:h}),(0,i.jsxs)(a.A,{className:(0,l.$)(o.label,null==m?void 0:m.label),fontWeight:400,variant:"system_h6",children:[c,g]})]})]})}},88485:(e,t,n)=>{"use strict";n.d(t,{AnimatedFrames:()=>a});var i=n(95155),r=n(36545),l=n(8187);let s={active:e=>{let{height:t}=e;return{height:t,opacity:1,overflow:"hidden",x:0}}},a=e=>{let{children:t}=e,[n,{height:a}]=(0,l.A)();return(0,i.jsx)(r.P.div,{animate:"active",custom:{height:a},style:{position:"relative",width:"100%"},transition:{duration:.1},variants:s,children:(0,i.jsx)("div",{ref:n,children:t})})}},89257:(e,t,n)=>{"use strict";n.r(t),n(95155),n(12115).Component},89976:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var i=n(23082),r=n(45471);let l={...i.ai,transform:Math.round},s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:i.hs,scaleX:i.hs,scaleY:i.hs,scaleZ:i.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:i.X4,originX:r.gQ,originY:r.gQ,originZ:r.px,zIndex:l,backgroundPositionX:r.px,backgroundPositionY:r.px,fillOpacity:i.X4,strokeOpacity:i.X4,numOctaves:l}},90537:(e,t,n)=>{"use strict";n.d(t,{useClickInside:()=>r});var i=n(12115);function r(e,t){(0,i.useEffect)(()=>{let n=n=>{let i=n.target;if(e.current&&e.current.contains(i)){let r=i.closest("button");r&&e.current.contains(r)&&t(n)}};return document.addEventListener("click",n,!0),()=>{document.removeEventListener("click",n,!0)}},[e,t])}},90664:(e,t,n)=>{"use strict";n.d(t,{V:()=>o,f:()=>h});var i=n(82897),r=n(30234);let l="number",s="color",a=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function o(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[],u=0,d=t.replace(a,e=>(i.y.test(e)?(r.color.push(u),o.push(s),n.push(i.y.parse(e))):e.startsWith("var(")?(r.var.push(u),o.push("var"),n.push(e)):(r.number.push(u),o.push(l),n.push(parseFloat(e))),++u,"${}")).split("${}");return{values:n,split:d,indexes:r,types:o}}function u(e){return o(e).values}function d(e){let{split:t,types:n}=o(e),a=t.length;return e=>{let o="";for(let u=0;u<a;u++)if(o+=t[u],void 0!==e[u]){let t=n[u];t===l?o+=(0,r.aj)(e[u]):t===s?o+=i.y.transform(e[u]):o+=e[u]}return o}}let c=e=>"number"==typeof e?0:e,h={test:function(e){var t,n;return isNaN(e)&&(0,r.Kg)(e)&&((null==(t=e.match(r.SY))?void 0:t.length)||0)+((null==(n=e.match(r.ne))?void 0:n.length)||0)>0},parse:u,createTransformer:d,getAnimatableNone:function(e){let t=u(e);return d(e)(t.map(c))}}},90869:(e,t,n)=>{"use strict";n.d(t,{L:()=>i});let i=(0,n(12115).createContext)({})},91256:(e,t,n)=>{"use strict";n.d(t,{useCopyToClipboard:()=>i});let i=(e,t,n)=>{var i;let r="undefined"==typeof window?void 0:window.navigator,l=!!(null==r||null==(i=r.clipboard)?void 0:i.writeText);
4return[async i=>{var s,a;let o=null!=(a=null!=i?i:"string"==typeof e?e:null==(s=e.current)?void 0:s.textContent)?a:"";l&&(await (null==r?void 0:r.clipboard.writeText(null!=n?n:o)),null==t||t())},l]}},92295:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});let i=new Set(["opacity","clipPath","filter","transform"])},93095:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});let i=e=>"string"==typeof e&&"svg"===e.toLowerCase()},93676:(e,t,n)=>{"use strict";n.d(t,{j:()=>r,p:()=>s});let i=e=>t=>"string"==typeof t&&t.startsWith(e),r=i("--"),l=i("var(--"),s=e=>!!l(e)&&a.test(e.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},94038:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var i=n(95155),r=n(45299),l=n(43646),s=n(60760),a=n(36545),o=n(63984),u=n(76521),d={overlay:"_ArYpFdlY",backdrop:"_dI4XqY5m",wrapper:"_sIS1F0TH",header:"_WhZylLVx",header_empty:"_6QnSOrpJ",header_custom:"_ffFf4ja2",icon:"_gNy0-Rqe",body:"_7knVBpAY"};let c=e=>{let{title:t,onClose:n,children:c,isActive:h,classNames:p,setIsActive:f,maxWidth:m,onboarding_id:g}=e,{refs:v,context:b}=(0,r.we)({onOpenChange:f,open:h}),y=(0,r.kp)(b,{enabled:!1}),w=(0,r.It)(b,{role:"dialog"}),x=(0,r.iQ)(b),_=(0,r.s9)(b,{ancestorScroll:!1,escapeKey:!0,outsidePressEvent:"pointerdown",referencePress:!1}),{getFloatingProps:S}=(0,r.bv)([y,_,w,x]);return(0,i.jsx)(s.N,{children:h&&(0,i.jsx)(r.XF,{children:(0,i.jsx)(r.zR,{lockScroll:!0,className:(0,l.$)(d.overlay,null==p?void 0:p.overlay),children:(0,i.jsx)(r.s3,{context:b,children:(0,i.jsx)(a.P.div,{animate:{opacity:1},className:(0,l.$)(d.backdrop,null==p?void 0:p.backdrop),exit:{opacity:0},initial:{opacity:0}
4,children:(0,i.jsxs)(a.P.div,{...S(),ref:v.setFloating,"aria-modal":!0,animate:{opacity:1,y:0},className:(0,l.$)(d.wrapper,null==p?void 0:p.wrapper),"data-onboarding-id":g,exit:{opacity:0,y:50},id:"modal",initial:{opacity:0,y:50},role:"dialog",transition:{duration:.3,type:"spring"},style:{"--no-hash-modal_max_width":"".concat(null!=m?m:484,"px")},children:[(0,i.jsxs)("div",{className:(0,l.$)(d.header,{[d.header_empty]:!t,[d.header_custom]:"string"!=typeof t},null==p?void 0:p.header),children:["string"==typeof t?(0,i.jsx)(o.A,{as:"h2",className:(0,l.$)(null==p?void 0:p.title),fontWeight:600,variant:"system_h3",children:t}):t,(0,i.jsx)("button",{className:(0,l.$)(d.icon,null==p?void 0:p.icon),type:"button",onClick:n,children:(0,i.jsx)(u.A,{})})]}),(0,i.jsx)("div",{className:(0,l.$)(d.body,null==p?void 0:p.body),children:c})]})})})})})})}},94198:(e,t,n)=>{"use strict";function i(e){return[e("x"),e("y")]}n.d(t,{X:()=>i})},94344:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(15315);function r(e,t,n){let r=Math.max(t-5,0);return(0,i.f)(n-e(r),t-r)}},94675:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});let i=(0,n(24517).p)(()=>void 0!==window.ScrollTimeline)},95083:(e,t,n)=>{"use strict";n.d(t,{IconWrapper:()=>s});var i=n(95155),r=n(43646),l={icon_wrapper:"_0M6iBQyj",ghost:"_e8O_0Dal",small:"_NBkslqS7",medium:"_wgbsCRdq",big:"_e1zHX5t9",very_big:"_l8M3Wmfb",extra_big:"_2NQ01Ywj",primary:"_12sNXPG7",inverted:"_B_9-GbhY",table:"_R54-1fi8",card:"_JNtDFBlI",neutral_20:"_3YkYNi1j",outlined:"_AGbAEcHC",stroked:"_4QaYWhka",footer:"_GKjEk654",advertisement:"_u0h9p__g",header:"_xmqAb3Kk",select:"_C7WK8bd7",success:"_uBaelcpF",action:"_aEGTQ9Iv"};let s=e=>{let{children:t,appearance:n="primary",size:s="medium",className:a,onClick:o}=e;return(0,i.jsx)("div",{className:(0,r.$)(l.icon_wrapper,l[s],l[n],a,"select",{[l.action]:o}),onClick:e=>null==o?void 0:o(e),children:t})}},95190:(e,t,n)=>{"use strict";n.d(t,{Sz:()=>s,ZZ:()=>o,dg:()=>a});var i=n(83945),r=n(567),l=n(16498);let s=(0,i.A)(.33,1.53,.69,.99),a=(0,l.G)(s),o=(0,r.V)(a)},95233:(e,t,n)=>{"use strict";n.d(t,{a6:()=>r,am:()=>s,vT:()=>l});var i=n(83945);let r=(0,i.A)(.42,0,1,1),l=(0,i.A)(0,0,.58,1),s=(0,i.A)(.42,0,.58,1)},95902:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var i=n(34379),r=n(14570);function l(e){let t=(0,r.S)(e)?e.get():e;return(0,i.B)(t)?t.toValue():t}},96147:(e,t,n)=>{"use strict";n.d(t,{OU:()=>u,Ql:()=>d,Ww:()=>h,hq:()=>l,o4:()=>o});var i=n(21109),r=n(62662);function l(e,t,n){return n+t*(e-n)}function s(e,t,n,i,r){return void 0!==r&&(e=i+r*(e-i)),i+n*(e-i)+t}function a(e,t=0,n=1,i,r){e.min=s(e.min,t,n,i,r),e.max=s(e.max,t,n,i,r)}function o(e,{x:t,y:n}){a(e.x,t.translate,t.scale,t.originPoint),a(e.y,n.translate,n.scale,n.originPoint)}function u(e,t,n,i=!1){let l,s,a=n.length;if(a){t.x=t.y=1;for(let u=0;u<a;u++){s=(l=n[u]).projectionDelta;let{visualElement:a}=l.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(i&&l.options.layoutScroll&&l.scroll&&l!==l.root&&h(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,o(e,s)),i&&(0,r.HD)(l.latestValues)&&h(e,l.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function d(e,t){e.min=e.min+t,e.max=e.max+t}function c(e,t,n,r,l=.5){let s=(0,i.k)(e.min,e.max,l);a(e,t,n,s,r)}function h(e,t){c(e.x,t.x,t.scaleX,t.scale,t.originX),c(e.y,t.y,t.scaleY,t.scale,t.originY)}},96165:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i,r=n(12115);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var s=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),i||(i=r.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M7 4a1 1 0 0 1 2 0v4a1 1 0 1 1-2 0zm.987 7a1 1 0 1 1 0 2h-.014a1 1 0 1 1 0-2z",clipRule:"evenodd"})))}},96185:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(46395);function r(e){let t=[0];return(0,i.f)(t,e.length-1),t}},96210:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var i=n(95155),r=n(12115),l=n(43646),s=n(72412),a=n(18244),o=n(63984),u=n(42306),d={container:"_L9RasB2M",container_opened:"_D1oQE0qu",icon:"_LcIVEKIL",icon_opened:"_I92Wqn5c",dropdown:"_S3Oy9W2K",dropdownMenuContainer:"_lDqDBm1M",list:"_pECLMYft",list__item:"_AsbMNEYv",list__item_active:"_vFTqfSOR"};let c=e=>{let{itemsPerPage:t,handleChangeItemsPerPage:n,counts:c,translations:h,onboarding_id:p}=e,[f,m]=(0,r.useState)(!1);
4return(0,i.jsx)(s.default,{noMobileContainer:!0,className:d.dropdown,isOpen:f,menuContainerClassName:d.dropdownMenuContainer,offset:c.length,onboarding_id:p,placement:"top-end",setIsOpen:m,width:59,parent:()=>(0,i.jsxs)("div",{className:(0,l.$)(d.container,{[d.container_opened]:f}),children:[(0,i.jsx)(o.A,{fontWeight:400,variant:"system_h5",children:h.itemsText}),(0,i.jsx)(o.A,{fontWeight:400,variant:"system_h5",children:t}),(0,i.jsx)(a.IconButton,{appearance:"stroked",className:(0,l.$)(d.icon,{[d.icon_opened]:f}),children:(0,i.jsx)(u.A,{})})]}),onCloseEvent:()=>{m(!1)},children:(0,i.jsx)("ul",{className:d.list,children:c.map(e=>(0,i.jsx)("li",{className:(0,l.$)(d.list__item,{[d.list__item_active]:e===t}),onClick:()=>{n(e),m(!f)},children:(0,i.jsx)(o.A,{fontWeight:400,variant:"system_h4",children:e})},e))})})}},96488:(e,t,n)=>{"use strict";n.d(t,{T:()=>p});var i=n(12115),r=n(6340),l=n(80845),s=n(2735),a=n(82885),o=n(95902),u=n(2999),d=n(19253),c=n(41211),h=n(63284);let p=e=>(t,n)=>{let s=(0,i.useContext)(u.A),p=(0,i.useContext)(l.t),m=()=>(function({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:i},l,s,a,u){let p={latestValues:function(e,t,n,i,l){var s;let a={},u=[],p=i&&(null==(s=e.style)?void 0:s.willChange)===void 0,m=l(e,{});for(let e in m)a[e]=(0,o.u)(m[e]);let{initial:g,animate:v}=e,b=(0,d.e)(e),y=(0,d.O)(e);t&&y&&!b&&!1!==e.inherit&&(void 0===g&&(g=t.initial),void 0===v&&(v=t.animate));let w=!!n&&!1===n.initial,x=(w=w||!1===g)?v:g;return x&&"boolean"!=typeof x&&!(0,r.N)(x)&&f(e,x,(e,t)=>{for(let t in e){let n=e[t];if(Array.isArray(n)){let e=w?n.length-1:0;n=n[e]}null!==n&&(a[t]=n)}for(let e in t)a[e]=t[e]}),p&&(v&&!1!==g&&!(0,r.N)(v)&&f(e,v,e=>{for(let t in e){let e=(0,c.I)(t);e&&(0,h.Kq)(u,e)}}),u.length&&(a.willChange=u.join(","))),a}(l,s,a,!u&&e,t),renderState:n()};return i&&(p.mount=e=>i(l,e,p)),p})(e,t,s,p,n);return n?m():(0,a.M)(m)};function f(e,t,n){let i=Array.isArray(t)?t:[t];for(let t=0;t<i.length;t++){let r=(0,s.a)(e,i[t]);if(r){let{transitionEnd:e,transition:t,...i}=r;n(i,e)}}}},96927:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});let i=(e,t="en")=>{let n="en"===t||!t,{before:i,after:r}=(e=>{let t=e.split("/").slice(3).join("/"),n=t?.length?e.split(t)[0]:e;return{after:t?.length?e.slice(Math.max(0,e.lastIndexOf(t))):"",before:n}})(e);return(n||i.endsWith("/")?i:`${i}/`)+(n?"":t)+(r&&!n?`/${r}`:r)}},97007:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});let i=(e,t)=>n=>t(e(n)),r=(...e)=>e.reduce(i)},97494:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(12115);let r=n(68972).B?i.useLayoutEffect:i.useEffect},97846:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});var i=n(67670),r=n(77782),l=n(97007),s=n(18210),a=n(69147),o=n(47437);function u(e,t,{clamp:n=!0,ease:d,mixer:c}={}){let h=e.length;if((0,i.V)(h===t.length,"Both input and output ranges must be the same length"),1===h)return()=>t[0];if(2===h&&e[0]===e[1])return()=>t[1];e[0]>e[h-1]&&(e=[...e].reverse(),t=[...t].reverse());let p=function(e,t,n){let i=[],r=n||o.j,s=e.length-1;for(let n=0;n<s;n++){let s=r(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||a.l:t;s=(0,l.F)(e,s)}i.push(s)}return i}(t,d,c),f=p.length,m=t=>{let n=0;if(f>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let i=(0,s.q)(e[n],e[n+1],t);return p[n](i)};return n?t=>m((0,r.q)(e[0],e[h-1],t)):m}},97914:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var i=n(29203),r=n(45471);function l(e,t,n){return"string"==typeof e?e:r.px.transform(t+n*e)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function o(e,{attrX:t,attrY:n,attrScale:o,originX:u,originY:d,pathLength:c,pathSpacing:h=1,pathOffset:p=0,...f},m,g){if((0,i.O)(e,f,g),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:v,style:b,dimensions:y}=e;v.transform&&(y&&(b.transform=v.transform),delete v.transform),y&&(void 0!==u||void 0!==d||b.transform)&&(b.transformOrigin=function(e,t,n){let i=l(t,e.x,e.width),r=l(n,e.y,e.height);return`${i} ${r}`}(y,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==t&&(v.x=t),void 0!==n&&(v.y=n),void 0!==o&&(v.scale=o),void 0!==c&&function(e,t,n=1,i=0,l=!0){e.pathLength=1;let o=l?s:a;e[o.offset]=r.px.transform(-i);let u=r.px.transform(t),d=r.px.transform(n);e[o.array]=`${u} ${d}`}(v,c,h,p,!1)}}
4,98312:(e,t,n)=>{"use strict";n.d(t,{U:()=>i,_:()=>r});let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...i]},99221:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var i,r=n(95155),l=n(12115),s=n(43646),a=n(91256);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var u=function(e){return l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),i||(i=l.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18.462 10h-6.923c-.85 0-1.539.689-1.539 1.539v6.923c0 .85.689 1.538 1.539 1.538h6.923c.85 0 1.538-.689 1.538-1.538v-6.923c0-.85-.689-1.539-1.538-1.539M6.308 14h-.77A1.54 1.54 0 0 1 4 12.461V5.538A1.54 1.54 0 0 1 5.538 4h6.923A1.54 1.54 0 0 1 14 5.538v.77"})))},d={share_block__copy:"_rfZzXy_W",copy__icon:"_BfJ-kOzS",copy__text:"_tfGbVGVy"};let c=e=>{let{children:t,onCopy:n,classNames:i,onboarding_id:o}=e,c=(0,l.useRef)(null),[h,p]=(0,a.useCopyToClipboard)(c,n);return(0,r.jsxs)("div",{className:(0,s.$)(d.share_block__copy,null==i?void 0:i.shareBlockCopy),"data-onboarding-id":o,onClick:()=>h(),children:[(0,r.jsx)("span",{ref:c,className:(0,s.$)(d.copy__text,null==i?void 0:i.copyText),children:t}),p&&(0,r.jsx)("div",{className:(0,s.$)(d.copy__icon,null==i?void 0:i.copyIcon),children:(0,r.jsx)(u,{})})]})}},99776:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,J:()=>s});var i=n(74830);let r=e=>!(0,i.S)(e);function l(e){e&&(r=t=>t.startsWith("on")?!(0,i.S)(t):e(t))}try{l(require("@emotion/is-prop-valid").default)}catch(e){}function s(e,t,n){let l={};for(let s in e)("values"!==s||"object"!=typeof e.values)&&(r(s)||!0===n&&(0,i.S)(s)||!t&&!(0,i.S)(s)||e.draggable&&s.startsWith("onDrag"))&&(l[s]=e[s]);return l}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.