PageSourceSearch

https://www.bestbuy.com/~assets/bby/_com/bestbuy/homepage/_next/static/chunks/2819-48045d7d19002bee.js

js bestbuy.com collected 2026-09-24 09:06:24 UTC 93,307 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2819],{3442:(e,t,r)=>{var n=r(6243);e.exports=function(){return n.Date.now()}},7058:(e,t,r)=>{"use strict";r.d(t,{UE:()=>_,RK:()=>R,ll:()=>I,rD:()=>z,__:()=>k,UU:()=>C,jD:()=>A,mG:()=>F,ER:()=>M,cY:()=>T,iD:()=>N,BN:()=>L,Ej:()=>D});var n=r(29384);function o(e,t,r){let o,{reference:l,floating:i}=e,a=(0,n.TV)(t),s=(0,n.Dz)(t),u=(0,n.sq)(s),c=(0,n.C0)(t),f=l.x+l.width/2-i.width/2,d=l.y+l.height/2-i.height/2,m=l[u]/2-i[u]/2;switch(c){case"top":o={x:f,y:l.y-i.height};break;case"bottom":o={x:f,y:l.y+l.height};break;case"right":o={x:l.x+l.width,y:d};break;case"left":o={x:l.x-i.width,y:d};break;default:o={x:l.x,y:l.y}}let p=(0,n.Sg)(t);return p&&(o[s]+=m*("end"===p?1:-1)*(r&&"y"===a?-1:1)),o}async function l(e,t){var r;void 0===t&&(t={});let{x:o,y:l,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=(0,n._3)(t,e),y=(0,n.nI)(p),b=s[m?"floating"===d?"reference":"floating":d],v=(0,n.B1)(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(b)))||r?b:b.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:u})),h="floating"===d?{x:o,y:l,width:a.floating.width,height:a.floating.height}:a.reference,g=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await (null==i.isElement?void 0:i.isElement(g))&&await (null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},O=(0,n.B1)(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:h,offsetParent:g,strategy:u}):h);return{top:(v.top-O.top+y.top)/w.y,bottom:(O.bottom-v.bottom+y.bottom)/w.y,left:(v.left-O.left+y.left)/w.x,right:(O.right-v.right+y.right)/w.x}}let i=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,u=s.detectOverflow?s:{...s,detectOverflow:l},c=await (null==s.isRTL?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:m}=o(f,n,c),p=n,y=0,b={};for(let r=0;r<a.length;r++){let l=a[r];if(!l)continue;let{name:v,fn:h}=l,{x:g,y:w,data:O,reset:x}=await h({x:d,y:m,initialPlacement:n,placement:p,strategy:i,middlewareData:b,rects:f,platform:u,elements:{reference:e,floating:t}});d=null!=g?g:d,m=null!=w?w:m,b[v]={...b[v],...O},x&&y<50&&(y++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(f=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:d,y:m}=o(f,p,c)),r=-1)}return{x:d,y:m,placement:p,strategy:i,middlewareData:b}};function a(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s(e){return n.r_.some(t=>e[t]>=0)}function u(e){let t=(0,n.jk)(...e.map(e=>e.left)),r=(0,n.jk)(...e.map(e=>e.top));return{x:t,y:r,width:(0,n.T9)(...e.map(e=>e.right))-t,height:(0,n.T9)(...e.map(e=>e.bottom))-r}}let c=new Set(["left","top"]);async function f(e,t){let{placement:r,platform:o,elements:l}=e,i=await (null==o.isRTL?void 0:o.isRTL(l.floating)),a=(0,n.C0)(r),s=(0,n.Sg)(r),u="y"===(0,n.TV)(r),f=c.has(a)?-1:1,d=i&&u?-1:1,m=(0,n._3)(t,e),{mainAxis:p,crossAxis:y,alignmentAxis:b}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&"number"==typeof b&&(y="end"===s?-1*b:b),u?{x:y*d,y:p*f}:{x:p*f,y:y*d}}var d=r(79306);function m(e){let t=(0,d.L9)(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,l=(0,d.sb)(e),i=l?e.offsetWidth:r,a=l?e.offsetHeight:o,s=(0,n.LI)(r)!==i||(0,n.LI)(o)!==a;return s&&(r=i,o=a),{width:r,height:o,$:s}}function p(e){return(0,d.vq)(e)?e:e.contextElement}function y(e){let t=p(e);if(!(0,d.sb)(t))return(0,n.Jx)(1);let r=t.getBoundingClientRect(),{width:o,height:l,$:i}=m(t),a=(i?(0,n.LI)(r.width):r.width)/o,s=(i?(0,n.LI)(r.height):r.height)/l;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let b=(0,n.Jx)(0);function v(e){let t=(0,d.zk)(e);
vendor: 5,333 bytes, line 1
1return(0,d.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:b}function h(e,t,r,o){var l;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=p(e),s=(0,n.Jx)(1);t&&(o?(0,d.vq)(o)&&(s=y(o)):s=y(e));let u=(void 0===(l=r)&&(l=!1),o&&l&&o===(0,d.zk)(a))?v(a):(0,n.Jx)(0),c=(i.left+u.x)/s.x,f=(i.top+u.y)/s.y,m=i.width/s.x,b=i.height/s.y;if(a&&o){let e=(0,d.zk)(a),t=(0,d.vq)(o)?(0,d.zk)(o):o,r=e,n=(0,d._m)(r);for(;n&&t!==r;){let e=y(n),t=n.getBoundingClientRect(),o=(0,d.L9)(n),l=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;c*=e.x,f*=e.y,m*=e.x,b*=e.y,c+=l,f+=i,r=(0,d.zk)(n),n=(0,d._m)(r)}}return(0,n.B1)({width:m,height:b,x:c,y:f})}function g(e,t){let r=(0,d.CP)(e).scrollLeft;return t?t.left+r:h((0,d.ep)(e)).left+r}function w(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-g(e,r),y:r.top+t.scrollTop}}function O(e,t,r){var o;let l;if("viewport"===t||"layoutViewport"===t)l=function(e,t,r){void 0===r&&(r="viewport");let n="layoutViewport"===r,o=(0,d.zk)(e),l=(0,d.ep)(e),i=o.visualViewport,a=l.clientWidth,s=l.clientHeight,u=0,c=0;if(i){let e=!(0,d.Tc)()||"fixed"===t;n?e||(u=-i.offsetLeft,c=-i.offsetTop):(a=i.width,s=i.height,e&&(u=i.offsetLeft,c=i.offsetTop))}if(0>=g(l)){let e=l.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(l.clientWidth-t.clientWidth-n),i="stable both-edges"===getComputedStyle(l).scrollbarGutter?o/2:o;i<=25&&(a-=i)}return{width:a,height:s,x:u,y:c}}(e,r,t);else if("document"===t){let t,r,i,a,s,u;o=(0,d.ep)(e),t=(0,d.CP)(o),r=o.ownerDocument.body,i=(0,n.T9)(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),a=(0,n.T9)(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight),s=-t.scrollLeft+g(o),u=-t.scrollTop,"rtl"===(0,d.L9)(r).direction&&(s+=(0,n.T9)(o.clientWidth,r.clientWidth)-i),l={width:i,height:a,x:s,y:u}}else if((0,d.vq)(t)){let e,n,o,i,a,s;n=(e=h(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,i=y(t),a=t.clientWidth*i.x,s=t.clientHeight*i.y,l={width:a,height:s,x:o*i.x,y:n*i.y}}else{let r=v(e);l={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return(0,n.B1)(l)}function x(e){return"static"===(0,d.L9)(e).position}function S(e,t){if(!(0,d.sb)(e)||"fixed"===(0,d.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,d.ep)(e)===r&&(r=r.ownerDocument.body),r}function j(e,t){let r=(0,d.zk)(e);if((0,d.Tf)(e))return r;if(!(0,d.sb)(e)){let t=(0,d.$4)(e);for(;t&&!(0,d.eu)(t);){if((0,d.vq)(t)&&!x(t))return t;t=(0,d.$4)(t)}return r}let n=S(e,t);for(;n&&(0,d.Lv)(n)&&x(n);)n=S(n,t);return n&&(0,d.eu)(n)&&x(n)&&!(0,d.sQ)(n)?r:n||(0,d.gJ)(e)||r}let P=async function(e){let t=this.getOffsetParent||j,r=this.getDimensions,o=await r(e.floating);return{reference:function(e,t,r){let o=(0,d.sb)(t),l=(0,d.ep)(t),i="fixed"===r,a=h(e,!0,i,t),s={scrollLeft:0,scrollTop:0},u=(0,n.Jx)(0);if((o||!i)&&(("body"!==(0,d.mq)(t)||(0,d.ZU)(l))&&(s=(0,d.CP)(t)),o)){let e=h(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}!o&&l&&(u.x=g(l));let c=!l||o||i?(0,n.Jx)(0):w(l,s);return{x:a.left+s.scrollLeft-u.x-c.x,y:a.top+s.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},N={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:l}=e,i="fixed"===l,a=(0,d.ep)(o),s=!!t&&(0,d.Tf)(t.floating);if(o===a||s&&i)return r;let u={scrollLeft:0,scrollTop:0},c=(0,n.Jx)(1),f=(0,n.Jx)(0),m=(0,d.sb)(o);if((m||!i)&&(("body"!==(0,d.mq)(o)||(0,d.ZU)(a))&&(u=(0,d.CP)(o)),m)){let e=h(o);c=y(o),f.x=e.x+o.clientLeft,f.y=e.y+o.clientTop}let p=!a||m||i?(0,n.Jx)(0):w(a,u);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+f.x+p.x,y:r.y*c.y-u.scrollTop*c.y+f.y+p.y}},getDocumentElement:d.ep,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:l}=e,i=[..."clippingAncestors"===r?(0,d.Tf)(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=(0,d.v9)(e,[],!1).filter(e=>(0,d.vq)(e)&&"body"!==(0,d.mq)(e)),o=null,l="fixed"===(0,d.L9)(e).position,i=l?(0,d.$4)(e):e;for(;(0,d.vq)(i)&&!(0,d.eu)(i);){let e=(0,d.L9)(i),t=(0,d.sQ)(i),r=o?o.position:l?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?o=e:n=n.filter(e=>e!==i),i=(0,d.$4)(i)}return t.set(e,n),n}(t,this._c):[].concat(r),o],a=O(t,i[0],l),s=a.top,u=a.right,c=a.bottom,f=a.left;for(let e=1;e<i.length;e++){let r=O(t,i[e],l);s=(0,n.T9)(r.top,s),u=(0,n.jk)(r.right,u),c=(0,n.jk)(r.bottom,c),f=(0,n.T9)(r.left,f)}return{width:u-f,height:c-s,x:f,y:s}},getOffsetParent:j,getElementRects:P,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:r}=m(e);return{width:t,height:r}},getScale:y,isElement:d.vq,isRTL:function(e){return"rtl"===(0,d.L9)(e).direction}};function E(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function I(e,t,r,o){let l;void 0===o&&(o={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,f=p(e),m=i||a?[...f?(0,d.v9)(f):[],...t?(0,d.v9)(t):[]]:[];
1m.forEach(e=>{i&&e.addEventListener("scroll",r),a&&e.addEventListener("resize",r)});let y=f&&u?function(e,t,r){let o,l=null,i=(0,d.ep)(e);function a(){var e;clearTimeout(o),null==(e=l)||e.disconnect(),l=null}function s(r,u){void 0===r&&(r=!1),void 0===u&&(u=1),a();let c=e.getBoundingClientRect(),{left:f,top:d,width:m,height:p}=c;if(r||t(),!m||!p)return;let y={rootMargin:-(0,n.RI)(d)+"px "+-(0,n.RI)(i.clientWidth-(f+m))+"px "+-(0,n.RI)(i.clientHeight-(d+p))+"px "+-(0,n.RI)(f)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,u))||1},b=!0;function v(t){let r=t[0].intersectionRatio;if(!E(c,e.getBoundingClientRect()))return s();if(r!==u){if(!b)return s();r?s(!1,r):o=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{l=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch(e){l=new IntersectionObserver(v,y)}l.observe(e)}let u=(0,d.zk)(e),c=()=>s(r);return u.addEventListener("resize",c),s(!0),()=>{u.removeEventListener("resize",c),a()}}(f,r,a):null,b=-1,v=null;s&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),f&&!c&&v.observe(f),t&&v.observe(t));let g=c?h(e):null;return c&&function t(){let n=h(e);g&&!E(g,n)&&r(),g=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;m.forEach(e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==y||y(),null==(e=v)||e.disconnect(),v=null,c&&cancelAnimationFrame(l)}}let k=l,T=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:l,placement:i,middlewareData:a}=t,s=await f(t,e);return i===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:l+s.y,data:{...s,placement:i}}}}},R=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,l,i;let{rects:a,middlewareData:s,placement:u,platform:c,elements:f}=t,{crossAxis:d=!1,alignment:m,allowedPlacements:p=n.DD,autoAlignment:y=!0,...b}=(0,n._3)(e,t),v=void 0!==m||p===n.DD?((i=m||null)?[...p.filter(e=>(0,n.Sg)(e)===i),...p.filter(e=>(0,n.Sg)(e)!==i)]:p.filter(e=>(0,n.C0)(e)===e)).filter(e=>!i||(0,n.Sg)(e)===i||!!y&&(0,n.aD)(e)!==e):p,h=(null==(r=s.autoPlacement)?void 0:r.index)||0,g=v[h];if(null==g)return{};if(u!==g)return{reset:{placement:v[0]}};let w=await c.detectOverflow(t,b),O=(0,n.w7)(g,a,await (null==c.isRTL?void 0:c.isRTL(f.floating))),x=[w[(0,n.C0)(g)],w[O[0]],w[O[1]]],S=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:g,overflows:x}],j=v[h+1];if(j)return{data:{index:h+1,overflows:S},reset:{placement:j}};let P=S.map(e=>{let t=(0,n.Sg)(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),N=(null==(l=P.filter(e=>e[2].slice(0,(0,n.Sg)(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||P[0][0];return N!==u?{data:{index:h+1,overflows:S},reset:{placement:N}}:{}}}},L=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:l,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=(0,n._3)(e,t),f={x:r,y:o},d=await i.detectOverflow(t,c),m=(0,n.TV)(l),p=(0,n.PG)(m),y=f[p],b=f[m],v=(e,t)=>(0,n.qE)(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);a&&(y=v(p,y)),s&&(b=v(m,b));let h=u.fn({...t,[p]:y,[m]:b});return{...h,data:{x:h.x-r,y:h.y-o,enabled:{[p]:a,[m]:s}}}}}},C=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o,l,i,a;let{placement:s,middlewareData:u,rects:c,initialPlacement:f,platform:d,elements:m}=t,{mainAxis:p=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...w}=(0,n._3)(e,t);if(null!=(r=u.arrow)&&r.alignmentOffset)return{};let O=(0,n.C0)(s),x=(0,n.TV)(f),S=(0,n.C0)(f)===f,j=await (null==d.isRTL?void 0:d.isRTL(m.floating)),P=b||(S||!g?[(0,n.bV)(f)]:(0,n.WJ)(f)),N="none"!==h;!b&&N&&P.push(...(0,n.lP)(f,g,h,j));let E=[f,...P],I=await d.detectOverflow(t,w),k=[],T=(null==(o=u.flip)?void 0:o.overflows)||[];if(p&&k.push(I[O]),y){let e=(0,n.w7)(s,c,j);k.push(I[e[0]],I[e[1]])}if(T=[...T,{placement:s,overflows:k}],!k.every(e=>e<=0)){let e=((null==(l=u.flip)?void 0:l.index)||0)+1,t=E[e];if(t&&("alignment"!==y||x===(0,n.TV)(t)||T.every(e=>(0,n.TV)(e.placement)!==x||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let r=null==(i=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(v){case"bestFit":{let e=null==(a=T.filter(e=>{if(N){let t=(0,n.TV)(e.placement);return t===x||"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:a[0];e&&(r=e);break}case"initialPlacement":r=f}if(s!==r)return{reset:{placement:r}}}return{}}}},D=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,o,{placement:l,rects:i,platform:a,elements:s}=t,{apply:u=()=>{},...c}=(0,n._3)(e,t),f=await a.detectOverflow(t,c),d=(0,n.C0)(l),m=(0,n.Sg)(l),p="y"===(0,n.TV)(l),{width:y,height:b}=i.floating;"top"===d||"bottom"===d?(r=d,o=m===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(o=d,r="end"===m?"top":"bottom");let v=b-f.top-f.bottom,h=y-f.left-f.right,g=(0,n.jk)(b-f[r],v),w=(0,n.jk)(y-f[o],h),O=t.middlewareData.shift,x=!O,S=g,j=w;null!=O&&O.enabled.x&&(j=h),null!=O&&O.enabled.y&&(S=v),x&&!m&&(p?j=y-2*(0,n.T9)(f.left,f.right):S=b-2*(0,n.T9)(f.top,f.bottom)),await u({...t,availableWidth:j,availableHeight:S});let P=await a.getDimensions(s.floating);return y!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}},A=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:o}=t,{strategy:l="referenceHidden",...i}=(0,n._3)(e,t);switch(l){case"referenceHidden":{let e=a(await o.detectOverflow(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:s(e)}}}case"escaped":{let e=a(await o.detectOverflow(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:s(e)}}}default:return{}}}}},_=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:l,rects:i,platform:a,elements:s,middlewareData:u}=t,{element:c,padding:f=0}=(0,n._3)(e,t)||{};if(null==c)return{};let d=(0,n.nI)(f),m={x:r,y:o},p=(0,n.Dz)(l),y=(0,n.sq)(p),b=await a.getDimensions(c),v="y"===p,h=v?"clientHeight":"clientWidth",g=i.reference[y]+i.reference[p]-m[p]-i.floating[y],w=m[p]-i.reference[p],O=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),x=O?O[h]:0;x&&await (null==a.isElement?void 0:a.isElement(O))||(x=s.floating[h]||i.floating[y]);let S=x/2-b[y]/2-1,j=(0,n.jk)(d[v?"top":"left"],S),P=(0,n.jk)(d[v?"bottom":"right"],S),N=x-b[y]-P,E=x/2-b[y]/2+(g/2-w/2),I=(0,n.qE)(j,E,N),k=!u.arrow&&null!=(0,n.Sg)(l)&&E!==I&&i.reference[y]/2-(E<j?j:P)-b[y]/2<0,T=k?E<j?E-j:E-N:0;return{[p]:m[p]+T,data:{[p]:I,centerOffset:E-I-T,...k&&{alignmentOffset:T}},reset:k}}}),F=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:r,elements:o,rects:l,platform:i,strategy:a}=t,{padding:s=2,x:c,y:f}=(0,n._3)(e,t),d=Array.from(await (null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]);if(!d.length)return{};let m=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),r=[],o=null;for(let e=0;e<t.length;e++){let n=t[e];!o||n.y-o.y>o.height/2?r.push([n]):r[r.length-1].push(n),o=n}return r.map(e=>(0,n.B1)(u(e)))}(d),p=(0,n.B1)(u(d)),y=(0,n.nI)(s),b=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&(m[0].left>m[1].right||m[1].left>m[0].right)&&null!=c&&null!=f)return m.find(e=>c>e.left-y.left&&c<e.right+y.right&&f>e.top-y.top&&f<e.bottom+y.bottom)||p;if(m.length>=2){if("y"===(0,n.TV)(r)){let e=m[0],t=m[m.length-1],o="top"===(0,n.C0)(r),l=e.top,i=t.bottom,a=o?e.left:t.left,s=o?e.right:t.right;return(0,n.B1)({x:a,y:l,width:s-a,height:i-l})}let e="left"===(0,n.C0)(r),t=(0,n.T9)(...m.map(e=>e.right)),o=(0,n.jk)(...m.map(e=>e.left)),l=m.filter(r=>e?r.left===o:r.right===t),i=l[0].top,a=l[l.length-1].bottom;return(0,n.B1)({x:o,y:i,width:t-o,height:a-i})}return p}},floating:o.floating,strategy:a});return l.reference.x!==b.reference.x||l.reference.y!==b.reference.y||l.reference.width!==b.reference.width||l.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},M=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,o,l,i;let{x:a,y:s,placement:u,rects:f,middlewareData:d}=t,{offset:m=0,mainAxis:p=!0,crossAxis:y=!0}=(0,n._3)(e,t),b={x:a,y:s},v=(0,n.TV)(u),h=(0,n.PG)(v),g=b[h],w=b[v],O=(0,n._3)(m,t),x="number"==typeof O?{mainAxis:O,crossAxis:0}:{mainAxis:null!=(r=O.mainAxis)?r:0,crossAxis:null!=(o=O.crossAxis)?o:0};if(p){let e="y"===h?"height":"width",t=f.reference[h]-f.floating[e]+x.mainAxis,r=f.reference[h]+f.reference[e]-x.mainAxis;g<t?g=t:g>r&&(g=r)}if(y){let e="y"===h?"width":"height",t=c.has((0,n.C0)(u)),r=f.reference[v]-f.floating[e]+(t&&(null==(l=d.offset)?void 0:l[v])||0)+(t?0:x.crossAxis),o=f.reference[v]+f.reference[e]+(t?0:(null==(i=d.offset)?void 0:i[v])||0)-(t?x.crossAxis:0);w<r?w=r:w>o&&(w=o)}return{[h]:g,[v]:w}}}},z=(e,t,r)=>{let n=new Map,o=null!=r?r:{},l={...N,...o.platform,_c:n};return i(e,t,{...o,platform:l})}},7981:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});var n=function(){}},9556:(e,t,r)=>{var n=r(70161),o=r(14845),l=r(57288);e.exports=function(e){return e&&e.length?n(e,l,o):void 0}},9592:(e,t,r)=>{"use strict";r.d(t,{B:()=>d});var n=r(7620),o=r(88897),l=r(17523),i=r(54568);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=["customProps"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var f=function(e){var t,r,n=e.customProps,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,s);return(0,i.jsx)(l.s,c(c(c({"data-brix-component-name":"Stack","data-brix-version":"1.87.6"},a),"web"===o.Platform.OS?null==n||null==(t=n.web)?void 0:t.root:null==n||null==(r=n.native)?void 0:r.root),{},{direction:"column"}))},d=n.forwardRef(function(e,t){return f(c(c({},e),{},{ref:t}))});d.displayName="Stack"},14845:e=>{e.exports=function(e,t){return e>t}},23808:e=>{e.exports=function(e){return e&&e.length?e[0]:void 0}},26839:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextInput:()=>V});var n=r(77707),o=r.n(n),l=r(84825),i=r.n(l),a=r(54930),s=r.n(a),u=r(76771),c=r.n(u),f=r(63327),d=r.n(f),m=r(7620),p=r(41383),y=r(24019),b=r(88897),v=r(44400),h=r(32894),g=r(7370),w=r(53837),O=r(6291),x=r(52957),S=r(54568);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var P=["icon"];function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===j(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var I=function(e){var t=e.icon,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,P);return(0,S.jsx)(x.S,E(E({},r),{},{children:t}))},k=(0,r(54437).E)({global:{container:{className:["items-center","bg-comp-surface-default","border-comp-outline-default","border-xs","border-solid","rounded-lg","w-full"],style:{paddingVertical:1}},"sm-container":{className:["min-h-400","px-150"]},"md-container":{className:["min-h-500","px-150"]},"lg-container":{className:["min-h-600","px-200"]},"sm-focus":{style:{paddingLeft:11,paddingRight:11,paddingVertical:0}},"md-focus":{style:{paddingLeft:11,paddingRight:11,paddingVertical:0}},"lg-focus":{style:{paddingLeft:15,paddingRight:15,paddingVertical:0}},startIcon:{className:["mr-100"]},endIcon:{className:["ml-100"]},"sm-icon":{className:["h-icon-sm","w-icon-sm"]},"md-icon":{className:["h-icon-md","w-icon-md"]},"lg-icon":{className:["h-icon-md","w-icon-md"]}
1,input:{className:["grow","text-default"]},hovered:{className:["border-comp-outline-primary-hover"]},pressed:{className:["border-comp-outline-primary-pressed","border-xs"]},focused:{className:["border-comp-outline-primary"]},focusedBorder:{className:["border-sm"]},error:{className:["border-comp-outline-danger"]},disabled:{className:["opacity-disabled"]},readOnly:{className:["bg-comp-surface-info","border-comp-outline-default-subdued"]},readOnlyInput:{className:["text-default-muted"]},"sm-text":{className:["text-style-body-sm-400"]},"md-text":{className:["text-style-body-md-400"]},"lg-text":{className:["text-style-body-md-400"]}}},{global:{container:{className:["flex","box-border"]},input:{className:["outline-none","border-none","box-border","h-full","bg-transparent"]},uneditableInput:{css:{caretColor:"transparent"}}}}),T=["sm","md","lg"];function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var L=["className","customProps","defaultValue","disabled","endIcon","hasError","inputMode","onChange","readOnly","returnKeyHint","secureText","size","startIcon","onInput","style","testID","maxLength","ref","value"],C=["isFocused","isHovered","isPressed"];function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!==R(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===R(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],s=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,t)||F(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){if(e){if("string"==typeof e)return M(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M(e,t)}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function z(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var H=function(e){var t,r,n,l,a,u,f,x,j,P,N,E,R,D,H,V,U=e.className,B=e.customProps,G=e.defaultValue,W=void 0===G?"":G,q=e.disabled,Q=void 0!==q&&q,$=e.endIcon,J=e.hasError,K=e.inputMode,Y=void 0===K?"text":K,Z=e.onChange,X=void 0===Z?s():Z,ee=e.readOnly,et=void 0!==ee&&ee,er=e.returnKeyHint,en=e.secureText,eo=e.size,el=void 0===eo?"md":eo,ei=e.startIcon,ea=e.onInput,es=void 0===ea?s():ea,eu=e.style,ec=e.testID,ef=e.maxLength,ed=e.ref,em=e.value,ep=z(e,L),ey=_((0,m.useState)(W),2),eb=ey[0],ev=ey[1],eh=_((0,m.useState)(W),2),eg=eh[0],ew=eh[1],eO=(0,w.useUIStates)("web",d()(null==B||null==(r=B.web)?void 0:r.root,w.protectedHandlers)),ex=eO.isFocused,eS=eO.isHovered,ej=eO.isPressed,eP=z(eO,C),eN=i()(em)?eb:em,eE=o()(T,el)?el:"md",eI=(0,O.s)("sm-inset");switch(Y){case"decimal":H="number",V="decimal";break;case"phone":H="tel",V="tel";break;case"number":H=Y,V="numeric";break;default:H=Y,V=Y}
1H=void 0!==en&&en?"password":H,(0,p.useUpdateEffect)(function(){X(new h.o({detail:{previousValue:eg,value:eb}})),ew(eN)},[eb]);var ek=!et&&!Q,eT=m.useRef(null);return(0,S.jsxs)(g.TouchableView,A(A(A({"data-brix-component-name":"TextInput","data-brix-version":"1.87.6",className:(0,y.Q)(k.global.container.className,k.global["".concat(eE,"-container")].className,U,et?k.global.readOnly.className:Q?k.global.disabled.className:ej?k.global.pressed.className:eS?k.global.hovered.className:ex&&ej?k.global.pressed.className:ex&&eS?k.global.hovered.className:ex?k.global.focused.className:null,ex&&ek&&k.global.focusedBorder.className,void 0!==J&&J&&k.global.error.className,null==B||null==(n=B.web)||null==(n=n.root)?void 0:n.className),onPress:function(){if(ek){var e,t,r;null==B||null==(e=B.web)||null==(e=e.root)||null==(t=e.onClick)||t.call(e),null==eT||null==(r=eT.current)||r.focus()}},ref:ed,style:[k.global.container.style,eu,ex&&ek&&k.global["".concat(eE,"-focus")].style,!et&&eI,null==B||null==(l=B.web)||null==(l=l.root)?void 0:l.style],testID:ec},eP),c()(null==B||null==(a=B.web)?void 0:a.root,["className","style","onClick"].concat(function(e){if(Array.isArray(e))return M(e)}(t=w.protectedHandlers)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||F(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))),{},{children:[!i()(ei)&&(0,S.jsx)(I,A(A({className:(0,y.Q)(k.global["".concat(eE,"-icon")].className,k.global.startIcon.className,null==B||null==(u=B.web)||null==(u=u.startIcon)?void 0:u.className),icon:ei,style:[null==B||null==(f=B.web)||null==(f=f.startIcon)?void 0:f.style]},i()(ec)?{}:{testID:"".concat(ec,"-start-icon-container")}),c()(null==B||null==(x=B.web)?void 0:x.startIcon,["className","style"]))),(0,b.createElement)("input",A(A(A(A({},Q?{disabled:!0}:et?{"aria-disabled":!0}:{}),{},{autoComplete:"on",className:(0,y.Q)(k.global.input.className,k.global["".concat(eE,"-text")].className,et&&k.global.readOnlyInput.className,null==B||null==(j=B.web)||null==(j=j.input)?void 0:j.className),enterKeyHint:er,inputMode:V,type:H,maxLength:ef,onInput:function(e){var t=e.nativeEvent.data,r=e.target.value;""===r&&null!==t&&(r=eb+t),"numeric"===V&&!i()(ef)&&r.length>ef&&(r=r.slice(0,ef));var n=new v.C({sourceEvent:e,detail:{value:eb,nextValue:r}});es(n),!n.defaultPrevented&&i()(em)&&(""!==e.target.value||null===t)&&ev(r)},ref:eT,readOnly:et,style:[!ek&&k.global.uneditableInput.css,null==B||null==(P=B.web)||null==(P=P.input)?void 0:P.style]},i()(ec)?{}:{testID:"".concat(ec,"-input")}),{},{value:eN},ep),c()(null==B||null==(N=B.web)?void 0:N.input,["className","style","ref"]))),!i()($)&&(0,S.jsx)(I,A(A({className:(0,y.Q)(k.global["".concat(eE,"-icon")].className,k.global.endIcon.className,null==B||null==(E=B.web)||null==(E=E.endIcon)?void 0:E.className),icon:$,style:[null==B||null==(R=B.web)||null==(R=R.endIcon)?void 0:R.style]},i()(ec)?{}:{testID:"".concat(ec,"-end-icon")}),c()(null==B||null==(D=B.web)?void 0:D.endIcon,["className","style"])))]}))},V=m.forwardRef(function(e,t){return H(A(A({},e),{},{ref:t}))});V.displayName="TextInput"},29384:(e,t,r)=>{"use strict";r.d(t,{B1:()=>k,C0:()=>m,DD:()=>o,Dz:()=>h,Jx:()=>u,LI:()=>a,PG:()=>y,RI:()=>s,Sg:()=>p,T9:()=>i,TV:()=>v,WJ:()=>w,_3:()=>d,aD:()=>O,bV:()=>E,jk:()=>l,lP:()=>N,nI:()=>I,qE:()=>f,r_:()=>n,sq:()=>b,w7:()=>g});let n=["top","right","bottom","left"],o=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),l=Math.min,i=Math.max,a=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function f(e,t,r){return i(e,l(t,r))}function d(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function y(e){return"x"===e?"y":"x"}function b(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function h(e){return y(v(e))}function g(e,t,r){void 0===r&&(r=!1);let n=p(e),o=h(e),l=b(o),i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=E(i)),[i,E(i)]}function w(e){let t=E(e);return[O(e),t,O(t)]}function O(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let x=["left","right"],S=["right","left"],j=["top","bottom"],P=["bottom","top"];function N(e,t,r,n){let o=p(e),l=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?S:x;return t?x:S;case"left":case"right":return t?j:P;default:return[]}}(m(e),"start"===r,n);return o&&(l=l.map(e=>e+"-"+o),t&&(l=l.concat(l.map(O)))),l}function E(e){let t=m(e);return c[t]+e.slice(t.length)}function I(e){var t,r,n,o;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(o=e.left)?o:0}:{top:e,right:e,bottom:e,left:e}}function k(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}},31138:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},32894:(e,t,r)=>{"use strict";r.d(t,{o:()=>u});var n=r(33588);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}
1function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(e){var r,n;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return r=t,n=["change",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=i(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e)],r=a(r),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,!function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?r.apply(this,n):Reflect.construct(r,n||[],a(this).constructor))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(n.e)},36026:(e,t,r)=>{var n=r(31138),o=r(19374);e.exports=function(e,t){return null!=e&&o(e,t,n)}},37960:(e,t,r)=>{var n=r(95979),o=r(9588),l=r(52958);e.exports=function(e){return function(t,r,i){var a=Object(t);if(!o(t)){var s=n(r,3);t=l(t),r=function(e){return s(a[e],e,a)}}var u=e(t,r,i);return u>-1?a[s?t[u]:u]:void 0}}},41383:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useBoolean:()=>o,useClickAnyWhere:()=>l,useCopyToClipboard:()=>i,useCountdown:()=>a,useCounter:()=>s,useDarkMode:()=>u,useDebounce:()=>c,useDocumentTitle:()=>f,useEffectOnce:()=>d,useElementSize:()=>m,useEventCallback:()=>p,useEventListener:()=>y,useFetch:()=>b,useHover:()=>v,useImageOnLoad:()=>h,useIntersectionObserver:()=>g,useInterval:()=>w,useIsClient:()=>O,useIsFirstRender:()=>x,useIsMounted:()=>S,useIsomorphicLayoutEffect:()=>j,useLocalStorage:()=>P,useLockedBody:()=>N,useMap:()=>E,useMediaQuery:()=>I,useOnClickOutside:()=>k,useReadLocalStorage:()=>T,useScreen:()=>R,useScript:()=>C,useSessionStorage:()=>D,useSsr:()=>A,useStep:()=>_,useTernaryDarkMode:()=>F,useTimeout:()=>M,useToggle:()=>z,useUpdateEffect:()=>H,useWindowSize:()=>V});var n=r(7620);let o=function(e){let[t,r]=(0,n.useState)(!!e),o=(0,n.useCallback)(()=>r(!0),[]),l=(0,n.useCallback)(()=>r(!1),[]),i=(0,n.useCallback)(()=>r(e=>!e),[]);return{value:t,setValue:r,setTrue:o,setFalse:l,toggle:i}},l=function(e){y("click",t=>{e(t)})},i=function(){let[e,t]=(0,n.useState)(null);return[e,e=>{var r,n,o,l;return r=this,n=void 0,o=void 0,l=function*(){if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return yield navigator.clipboard.writeText(e),t(e),!0}catch(e){return console.warn("Copy failed",e),t(null),!1}},new(o||(o=Promise))(function(e,t){function i(e){try{s(l.next(e))}catch(e){t(e)}}function a(e){try{s(l.throw(e))}catch(e){t(e)}}function s(t){var r;t.done?e(t.value):((r=t.value)instanceof o?r:new o(function(e){e(r)})).then(i,a)}s((l=l.apply(r,n||[])).next())})}]},a=function(e){let t,r,l,i,a=!1;"seconds"in e?(console.warn("[useCountdown:DEPRECATED] new interface is already available (see https://usehooks-ts.com/react-hook/use-countdown), the old version will retire on usehooks-ts@3."),a=!0,t=e.seconds,r=e.interval,l=e.isIncrement):{countStart:t,intervalMs:r,isIncrement:l,countStop:i}=e,r=null!=r?r:1e3,l=null!=l&&l,i=null!=i?i:0;let{count:u,increment:c,decrement:f,reset:d}=s(t),{value:m,setTrue:p,setFalse:y}=o(!1),b=()=>{y(),d()};return w((0,n.useCallback)(()=>{u===i?y():l?c():f()},[u,i,f,c,l,y]),m?r:null),a?[u,{start:p,stop:y,reset:b}]:[u,{startCountdown:p,stopCountdown:y,resetCountdown:b}]}
1,s=function(e){let[t,r]=(0,n.useState)(e||0);return{count:t,increment:()=>r(e=>e+1),decrement:()=>r(e=>e-1),reset:()=>r(e||0),setCount:r}},u=function(e){var t;let r=I("(prefers-color-scheme: dark)"),[n,o]=P("usehooks-ts-dark-mode",null!=(t=null!=e?e:r)&&t);return H(()=>{o(r)},[r]),{isDarkMode:n,toggle:()=>o(e=>!e),enable:()=>o(!0),disable:()=>o(!1)}},c=function(e,t){let[r,o]=(0,n.useState)(e);return(0,n.useEffect)(()=>{let r=setTimeout(()=>o(e),t||500);return()=>{clearTimeout(r)}},[e,t]),r},f=function(e){j(()=>{window.document.title=e},[e])},d=function(e){(0,n.useEffect)(e,[])},m=function(){let[e,t]=(0,n.useState)(null),[r,o]=(0,n.useState)({width:0,height:0}),l=(0,n.useCallback)(()=>{o({width:(null==e?void 0:e.offsetWidth)||0,height:(null==e?void 0:e.offsetHeight)||0})},[null==e?void 0:e.offsetHeight,null==e?void 0:e.offsetWidth]);return y("resize",l),j(()=>{l()},[null==e?void 0:e.offsetHeight,null==e?void 0:e.offsetWidth]),[t,r]};function p(e){let t=(0,n.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")});return j(()=>{t.current=e},[e]),(0,n.useCallback)((...e)=>t.current(...e),[t])}let y=function(e,t,r,o){let l=(0,n.useRef)(t);j(()=>{l.current=t},[t]),(0,n.useEffect)(()=>{var t;let n=null!=(t=null==r?void 0:r.current)?t:window;if(!(n&&n.addEventListener))return;let i=e=>l.current(e);return n.addEventListener(e,i,o),()=>{n.removeEventListener(e,i,o)}},[e,r,o])},b=function(e,t){let r=(0,n.useRef)({}),o=(0,n.useRef)(!1),l={error:void 0,data:void 0},[i,a]=(0,n.useReducer)((e,t)=>{switch(t.type){case"loading":return Object.assign({},l);case"fetched":return Object.assign(Object.assign({},l),{data:t.payload});case"error":return Object.assign(Object.assign({},l),{error:t.payload});default:return e}},l);return(0,n.useEffect)(()=>{if(e){var n,l,i,s;return o.current=!1,n=this,l=void 0,i=void 0,s=function*(){if(a({type:"loading"}),r.current[e])return void a({type:"fetched",payload:r.current[e]});try{let n=yield fetch(e,t);if(!n.ok)throw Error(n.statusText);let l=yield n.json();if(r.current[e]=l,o.current)return;a({type:"fetched",payload:l})}catch(e){if(o.current)return;a({type:"error",payload:e})}},new(i||(i=Promise))(function(e,t){function r(e){try{a(s.next(e))}catch(e){t(e)}}function o(e){try{a(s.throw(e))}catch(e){t(e)}}function a(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,o)}a((s=s.apply(n,l||[])).next())}),()=>{o.current=!0}}},[e]),i},v=function(e){let[t,r]=(0,n.useState)(!1);return y("mouseenter",()=>r(!0),e),y("mouseleave",()=>r(!1),e),t},h=function(){let[e,t]=(0,n.useState)(!1);return{handleImageOnLoad:()=>{t(!0)},css:{thumbnail:{visibility:e?"hidden":"visible",filter:"blur(8px)",transition:"visibility 0ms ease-out 500ms"},fullSize:{opacity:+!!e,transition:"opacity 500ms ease-in 0ms"}}}},g=function(e,{threshold:t=0,root:r=null,rootMargin:o="0%",freezeOnceVisible:l=!1}){let[i,a]=(0,n.useState)(),s=(null==i?void 0:i.isIntersecting)&&l,u=([e])=>{a(e)};return(0,n.useEffect)(()=>{let n=null==e?void 0:e.current;if(!window.IntersectionObserver||s||!n)return;let l=new IntersectionObserver(u,{threshold:t,root:r,rootMargin:o});return l.observe(n),()=>l.disconnect()},[null==e?void 0:e.current,JSON.stringify(t),r,o,s]),i},w=function(e,t){let r=(0,n.useRef)(e);j(()=>{r.current=e},[e]),(0,n.useEffect)(()=>{if(!t&&0!==t)return;let e=setInterval(()=>r.current(),t);return()=>clearInterval(e)},[t])},O=function(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(!0)},[]),e},x=function(){let e=(0,n.useRef)(!0);return e.current?(e.current=!1,!0):e.current},S=function(){let e=(0,n.useRef)(!1);return(0,n.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),(0,n.useCallback)(()=>e.current,[])},j="u">typeof window?n.useLayoutEffect:n.useEffect,P=function(e,t){let r=(0,n.useCallback)(()=>{if("u"<typeof window)return t;try{let r=window.localStorage.getItem(e);return r?function(e){try{return"undefined"===e?void 0:JSON.parse(null!=e?e:"")}catch(t){console.log("parsing error on",{value:e});return}}(r):t}catch(r){return console.warn(`Error reading localStorage key “${e}”:`,r),t}}
1,[t,e]),[o,l]=(0,n.useState)(r),i=p(t=>{"u"<typeof window&&console.warn(`Tried setting localStorage key “${e}” even though environment is not a client`);try{let r=t instanceof Function?t(o):t;window.localStorage.setItem(e,JSON.stringify(r)),l(r),window.dispatchEvent(new Event("local-storage"))}catch(t){console.warn(`Error setting localStorage key “${e}”:`,t)}});(0,n.useEffect)(()=>{l(r())},[]);let a=(0,n.useCallback)(t=>{null!=t&&t.key&&t.key!==e||l(r())},[e,r]);return y("storage",a),y("local-storage",a),[o,i]},N=function(e=!1,t="___gatsby"){let[r,o]=(0,n.useState)(e);return j(()=>{if(!r)return;let e=document.body.style.overflow,n=document.body.style.paddingRight;document.body.style.overflow="hidden";let o=document.getElementById(t),l=o?o.offsetWidth-o.scrollWidth:0;return l&&(document.body.style.paddingRight=`${l}px`),()=>{document.body.style.overflow=e,l&&(document.body.style.paddingRight=n)}},[r]),(0,n.useEffect)(()=>{r!==e&&o(e)},[e]),[r,o]},E=function(e=new Map){let[t,r]=(0,n.useState)(new Map(e));return[t,{set:(0,n.useCallback)((e,t)=>{r(r=>{let n=new Map(r);return n.set(e,t),n})},[]),setAll:(0,n.useCallback)(e=>{r(()=>new Map(e))},[]),remove:(0,n.useCallback)(e=>{r(t=>{let r=new Map(t);return r.delete(e),r})},[]),reset:(0,n.useCallback)(()=>{r(()=>new Map)},[])}]},I=function(e){let t=e=>"u">typeof window&&window.matchMedia(e).matches,[r,o]=(0,n.useState)(t(e));function l(){o(t(e))}return(0,n.useEffect)(()=>{let t=window.matchMedia(e);return l(),t.addListener?t.addListener(l):t.addEventListener("change",l),()=>{t.removeListener?t.removeListener(l):t.removeEventListener("change",l)}},[e]),r},k=function(e,t,r="mousedown"){y(r,r=>{let n=null==e?void 0:e.current;!n||n.contains(r.target)||t(r)})},T=function(e){let t=(0,n.useCallback)(()=>{if("u"<typeof window)return null;try{let t=window.localStorage.getItem(e);return t?JSON.parse(t):null}catch(t){return console.warn(`Error reading localStorage key “${e}”:`,t),null}},[e]),[r,o]=(0,n.useState)(t);(0,n.useEffect)(()=>{o(t())},[]);let l=(0,n.useCallback)(r=>{null!=r&&r.key&&r.key!==e||o(t())},[e,t]);return y("storage",l),y("local-storage",l),r},R=function(){let e=()=>{if("u">typeof window&&window.screen)return window.screen},[t,r]=(0,n.useState)(e());function o(){r(e())}return y("resize",o),j(()=>{o()},[]),t},L={},C=function(e,t){let[r,o]=(0,n.useState)(()=>{var r;return!e||(null==t?void 0:t.shouldPreventLoad)?"idle":"u"<typeof window?"loading":null!=(r=L[e])?r:"loading"});return(0,n.useEffect)(()=>{var r,n;let l,i;if(!e||(null==t?void 0:t.shouldPreventLoad))return;let a=L[e];if("ready"===a||"error"===a)return void o(a);let s=(i=null==(l=document.querySelector(`script[src="${e}"]`))?void 0:l.getAttribute("data-status"),{node:l,status:i}),u=s.node;if(u)o(null!=(n=null!=(r=s.status)?r:a)?n:"loading");else{(u=document.createElement("script")).src=e,u.async=!0,u.setAttribute("data-status","loading"),document.body.appendChild(u);let t=e=>{let t="load"===e.type?"ready":"error";null==u||u.setAttribute("data-status",t)};u.addEventListener("load",t),u.addEventListener("error",t)}let c=t=>{let r="load"===t.type?"ready":"error";o(r),L[e]=r};return u.addEventListener("load",c),u.addEventListener("error",c),()=>{u&&(u.removeEventListener("load",c),u.removeEventListener("error",c)),u&&(null==t?void 0:t.removeOnUnmount)&&u.remove()}},[e,null==t?void 0:t.shouldPreventLoad,null==t?void 0:t.removeOnUnmount]),r},D=function(e,t){let r=(0,n.useCallback)(()=>{if("u"<typeof window)return t;try{let r=window.sessionStorage.getItem(e);return r?function(e){try{return"undefined"===e?void 0:JSON.parse(null!=e?e:"")}catch(t){console.log("parsing error on",{value:e});return}}(r):t}catch(r){return console.warn(`Error reading sessionStorage key “${e}”:`,r),t}}
1,[t,e]),[o,l]=(0,n.useState)(r),i=p(t=>{"u"<typeof window&&console.warn(`Tried setting sessionStorage key “${e}” even though environment is not a client`);try{let r=t instanceof Function?t(o):t;window.sessionStorage.setItem(e,JSON.stringify(r)),l(r),window.dispatchEvent(new Event("session-storage"))}catch(t){console.warn(`Error setting sessionStorage key “${e}”:`,t)}});(0,n.useEffect)(()=>{l(r())},[]);let a=(0,n.useCallback)(t=>{null!=t&&t.key&&t.key!==e||l(r())},[e,r]);return y("storage",a),y("session-storage",a),[o,i]},A=function(){let e="u">typeof window&&window.document&&window.document.documentElement;return{isBrowser:e,isServer:!e}},_=function(e){let[t,r]=(0,n.useState)(1),o=(0,n.useMemo)(()=>t+1<=e,[t,e]),l=(0,n.useMemo)(()=>t-1>=1,[t]),i=(0,n.useCallback)(n=>{let o=n instanceof Function?n(t):n;if(o>=1&&o<=e)return void r(o);throw Error("Step not valid")},[e,t]),a=(0,n.useCallback)(()=>{o&&r(e=>e+1)},[o]);return[t,{goToNextStep:a,goToPrevStep:(0,n.useCallback)(()=>{l&&r(e=>e-1)},[l]),canGoToNextStep:o,canGoToPrevStep:l,setStep:i,reset:(0,n.useCallback)(()=>{r(1)},[])}]},F=function(){let e=I("(prefers-color-scheme: dark)"),[t,r]=P("usehooks-ts-ternary-dark-mode","system"),[o,l]=(0,n.use
1State)(e);return H(()=>{"system"===t&&l(e)},[e]),(0,n.useEffect)(()=>{switch(t){case"light":l(!1);break;case"system":l(e);break;case"dark":l(!0)}},[t,e]),{isDarkMode:o,ternaryDarkMode:t,setTernaryDarkMode:r,toggleTernaryDarkMode:function(){let e={light:"system",system:"dark",dark:"light"};r(t=>e[t])}}},M=function(e,t){let r=(0,n.useRef)(e);j(()=>{r.current=e},[e]),(0,n.useEffect)(()=>{if(!t&&0!==t)return;let e=setTimeout(()=>r.current(),t);return()=>clearTimeout(e)},[t])},z=function(e){let[t,r]=(0,n.useState)(!!e);return[t,(0,n.useCallback)(()=>r(e=>!e),[]),r]},H=function(e,t){let r=x();(0,n.useEffect)(()=>{if(!r)return e()},t)},V=function(){let[e,t]=(0,n.useState)({width:0,height:0}),r=()=>{t({width:window.innerWidth,height:window.innerHeight})};return y("resize",r),j(()=>{r()},[]),e}},42927:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useFloating:()=>O});var n=r(80374),o=r(79152),l=r(7058),i=r(5022),a=r.n(i),s=r(72846),u=r.n(s),c=r(36026),f=r.n(c),d=r(23808),m=r.n(d),p=r(7620),y=r(42521),b=r(76521);function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],s=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,t)||h(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var w={name:"refGuard",fn:function(e){var t=e.rects,r=function(e){return e.width>0&&e.height>0};return{data:{floating:r(t.floating),reference:r(t.reference)}}}},O=function(e){var t=e.elements,r=e.middleware,i=void 0===r?[(0,n.cY)((0,b.v)(y.LU0.size.ramp["100"].value)),(0,n.UU)()]:r,s=e.placement,c=v((0,p.useState)(u()(t,["floating","current"],null)),2),d=c[0],O=c[1],x=v((0,p.useState)(u()(t,["reference","current"],null)),2),S=x[0],j=x[1];(0,p.useEffect)(function(){O(u()(t,["floating","current"],null)),j(u()(t,["reference","current"],null))},[t]);var P=(0,o.we)({elements:{floating:d,reference:S},middleware:[].concat(function(e){if(Array.isArray(e))return g(e)}(i)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||h(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[w]),placement:m()(a()(void 0===s?"bottom-start":s)),whileElementsMounted:l.ll}),N=P.floatingStyles,E=P.middlewareData,I=P.placement,k=P.update,T=u()(E,["refGuard","floating"],!1)&&u()(E,["refGuard","reference"],!1)&&f()(N,"transform");return{shouldRender:T,floatingStyles:T?N:{position:"absolute"},middlewareData:E,placement:I,update:k}}},44400:(e,t,r)=>{"use strict";r.d(t,{C:()=>u});var n=r(33588);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}
1function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(e){var r,n;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return r=t,n=["input",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=i(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({cancelable:!0},e)],r=a(r),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,!function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?r.apply(this,n):Reflect.construct(r,n||[],a(this).constructor))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(n.e)},46358:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Menu:()=>X});var n=r(5022),o=r.n(n),l=r(72846),i=r.n(l),a=r(77707),s=r.n(a),u=r(84825),c=r.n(u),f=r(16396),d=r.n(f),m=r(4406),p=r.n(m),y=r(54930),b=r.n(y),v=r(76771),h=r.n(v),g=r(7620),w=r(24019),O=r(88897),x=r(33588),S=r(9592),j=r(6291),P=r(7981).l,N=r(43234),E=r(83193),I=r(7370),k=r(53837),T=r(64796),R=r(52957),L=r(54437),C=(0,L.E)({global:{container:{className:["bg-comp-surface-default","self-start","py-50","px-0","rounded-lg","border-comp-outline-default-muted","items-stretch","border-solid","border-xs","z-210","relative"],style:{maxHeight:300}},containerGrow:{className:["w-full"]},menuItem:{className:["flex","flex-row","items-center","my-50","p-100"]},menuItemLabel:{className:["px-100"]},menuItemHovered:{className:["bg-comp-surface-default-hover"]},menuItemPressed:{className:["bg-comp-surface-default-pressed"]},selected:{className:["w-200","h-200","shrink-0"]},disabled:{className:"opacity-disabled"}}},{global:{container:{className:["inline-flex"],css:{listStyle:"none"}},containerGrow:{className:["flex"]},menuItem:{css:{cursor:"pointer"}},disabledCursor:{css:{cursor:"default"}}}}),D=(0,L.E)({global:{itemFocus:{className:["bg-primary-highlight"]},textItemFocus:{className:["text-default-on-emphasis"]}}},{global:{outer:{className:["overflow-x-hidden","overflow-y-auto","shrink","grow","flex","flex-col"]},inner:{className:["items-stretch","bg-comp-surface-transparent","border-none","box-border","flex","basis-auto","flex-col","shrink-0","list-none","m-0","min-h-0","min-w-0","p-0","relative","no-underline","z-0"]}}}),A=r(54568);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var F=["className","customProps","disabled","isFocused","label","onHoverIn","onHoverOut","onPress","selected","style"],M=["isPressed","onHoverIn","onHoverOut","isHovered"];function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?z(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!==_(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var U=(0,N.I)(T.az),B=function(e){var t,r,n,o,l,i=e.className,a=e.customProps,s=e.disabled,u=e.isFocused,f=e.label,d=e.onHoverIn,m=e.onHoverOut,y=e.onPress,v=void 0===y?b():y,g=e.selected,x=e.style,S=V(e,F),j=(0,k.useUIStates)(),P=j.isPressed,N=j.onHoverIn,T=j.onHoverOut,L=j.isHovered,_=V(j,M),z="web"===O.Platform.OS?null==a?void 0:a.web:null==a?void 0:a.native,B=p()({},{web:{root:{"aria-selected":g,role:"menuitemcheckbox",tabIndex:-1,style:H(H({},C.global.menuItem.css),s&&(null==(t=C.global.disabledCursor)?void 0:t.css))}}},null==z?void 0:z.root);return(0,A.jsxs)(I.TouchableView,H(H(H(H({accessibilityRole:"menuitem",accessibilityState:{selected:g,disabled:s},disabled:s,onHoverIn:function(e){d(e),c()(N)||N(e)},onHoverOut:function(e){m(e),c()(T)||T(e)},onPress:function(e){s||v(e)}},h()(_,["isFocused"])),{},{className:(0,w.Q)(i,C.global.menuItem.className,null==z||null==(r=z.root)?void 0:r.className,u&&D.global.itemFocus.className,L&&C.global.menuItemHovered.className,P&&C.global.menuItemPressed.className),customProps:B,style:[x,null==z||null==(n=z.root)?void 0:n.style],UNSAFE_asComponent:{web:"li"}},S),h()(null==z?void 0:z.root,["className","style","ref"])),{},{children:[(0,A.jsx)(R.S,H(H({className:(0,w.Q)(C.global.selected.className),customProps:p()({},{web:{root:{"aria-hidden":!0}}},null==z||null==(o=z.icon)?void 0:o.customProps)},h()(null==z?void 0:z.icon,"customProps")),{},{children:g&&(0,A.jsx)(U,{className:"fill-default"})})),(0,A.jsx)(E.E,H(H({className:(0,w.Q)(C.global.menuItemLabel.className,u&&!L&&D.global.textItemFocus.className,null==z||null==(l=z.label)?void 0:l.className)},h()(null==z?void 0:z.label,"className")),{},{children:f}))]}))},G=g.forwardRef(function(e,t){return B(H(H({},e),{},{ref:t}))});G.displayName="MenuItem";var W=function(e){var t=e.children;return(0,A.jsx)(R.S,{className:(0,w.Q)(D.global.outer.className),children:(0,A.jsx)(R.S,{className:(0,w.Q)(D.global.inner.className),children:t})})};function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Q=["className","customProps","disabled","grow","id","initialFocus","items","onPress","onBlur","onFocus","selected","style","testID"];function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!==q(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==q(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===q(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,l,i,a=[],s=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Y(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Z=function(e){var t,r,n,l,a,u,f=e.className,m=e.customProps,y=e.disabled,v=void 0!==y&&y,N=e.grow,E=e.id,I=e.initialFocus,k=e.items,T=e.onPress,R=void 0===T?b():T,L=e.onBlur,D=void 0===L?b():L,_=e.onFocus,F=void 0===_?b():_,M=e.selected,z=void 0===M?[]:M,H=e.style,V=e.testID,U=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Q),B=(0,g.useId)(),q=E||B,$=(0,g.useRef)(!1),Y=K((0,g.useState)(void 0===I?-1:I),2),Z=Y[0],X=Y[1],ee=K((0,g.useState)(d()(k,function(e){return(0,g.createRef)()})),2),et=ee[0];ee[1];var er=(0,j.s)("md-default");(0,g.useEffect)(function(){var e,t=null==(e=et[Z])?void 0:e.current;c()(t)||c()(t.scrollIntoView)||t.scrollIntoView({block:"nearest"})},[et,Z]);var en=function(){Z<k.length-1&&X(Z+1)},eo=function(){Z>0&&X(Z-1)},el=function(e,t){R(new x.e("press",{sourceEvent:e,detail:{value:t}})),P()},ei="web"===O.Platform.OS?null==m?void 0:m.web:null==m?void 0:m.native,ea=function(e,t,r){var n=null!=t?t:e,l=s()(o()(z),n);return(0,A.jsx)(G,J(J({disabled:v,id:"".concat(q,"-item-").concat(r),isFocused:r===Z,label:e,onHoverIn:function(){X(r)},onHoverOut:function(){Z===r&&X(-1)},onPress:function(e){i()(ei,["menuItem","onPress"],b())(e),el(e,n)},ref:et[r],selected:l},c()(V)?{}:{testID:"".concat(V,"-item-").concat(r)}),h()(null==ei?void 0:ei.menuItem,"onPress")),"".concat(V||"menu","-item-").concat(r))};return(0,A.jsx)(S.B,J(J(J({"data-brix-component-name":"Menu","data-brix-version":"1.87.6",accessibilityRole:"menu",accessible:"web"===O.Platform.OS,className:(0,w.Q)(C.global.container.className,f,void 0!==N&&N&&C.global.containerGrow.className,v&&C.global.disabled.className,null==ei||null==(t=ei.root)?void 0:t.className),customProps:p()({},{web:{root:{onFocus:function(){$.current=!0},style:[C.global.container.css,C.global.container.style,H,er,null==ei||null==(r=ei.root)?void 0:r.style]}},native:{root:{customProps:{native:{root:{customProps:{native:{root:{needsOffscreenAlphaCompositing:v}}}}}},style:[C.global.container.style,H,er,null==ei||null==(n=ei.root)?void 0:n.style]}}},null==ei||null==(l=ei.root)?void 0:l.customProps),expand:!1,id:q,onBlur:function(e){$.current=!1,setTimeout(function(){!$.current&&(D(e),P(),e.isDefaultPrevented||X(-1))},150)},onFocus:F,onKeyDown:function(e){var t,r;switch(null==m||null==(t=m.web)||null==(t=t.root)||null==(r=t.onKeyDown)||r.call(t,e),e.key){case"Home":return X(0);case"End":return X(k.length-1);case"ArrowDown":case"ArrowRight":return e.preventDefault(),en();case"ArrowUp":case"ArrowLeft":return e.preventDefault(),eo();case"Enter":case" ":var n=k[Z];return c()(n)||el(e,i()(n,"value",n.label)),e.stopPropagation(),e.preventDefault();default:return e.preventDefault()}}
1,style:[C.global.container.style,H,null==ei||null==(a=ei.root)?void 0:a.style],testID:V},U),{},{UNSAFE_asComponent:J({web:"menu"},null==ei||null==(u=ei.root)?void 0:u.UNSAFE_asComponent)},h()(null==ei?void 0:ei.root,["className","customProps","style","UNSAFE_asComponent","onKeyDown"])),{},{children:(0,A.jsx)(W,{children:d()(k,function(e,t){return ea(e.label,e.value,t)})})}))},X=g.forwardRef(function(e,t){return Z(J(J({},e),{},{ref:t}))});X.displayName="Menu"},50065:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Select:()=>J});var n=r(69397),o=r.n(n),l=r(95359),i=r.n(l),a=r(72846),s=r.n(a),u=r(77707),c=r.n(u),f=r(84825),d=r.n(f),m=r(9556),p=r.n(m),y=r(4406),b=r.n(y),v=r(54930),h=r.n(v),g=r(76771),w=r.n(g),O=r(7620),x=r(41383),S=r(43234),j=r(24019),P=r(88897),N=r(33588),E=r(44400),I=r(46358),k=r(48356),T=r(83193),R=r(7370),L=r(42927),C=r(53837),D=r(50523),A=r(64796),_=r(52957),F=r(54568),M=O.forwardRef(function(){return(0,F.jsx)(F.Fragment,{})});M.displayName="FocusShim";var z=(0,r(54437).E)({global:{container:{className:["relative"]},"container-size-sm":{className:["min-h-400"]},"container-size-md":{className:["min-h-500"]},"container-size-lg":{className:["min-h-600"]},selectionUnGrow:{className:[]},selectionFrame:{className:["w-full","bg-comp-surface-default","border-xs","rounded-lg","border-comp-outline-default","border-solid","items-center"]},selectionContents:{className:["justify-between","items-center"],style:{paddingHorizontal:1,paddingVertical:1}},selectionContentsFocused:{style:{paddingHorizontal:0,paddingVertical:0}},smallHeight:{style:{minHeight:14}},smallGrow:{style:{alignItems:"flex-start"}},"size-sm":{className:["py-50","px-150"]},"size-md":{className:["py-50","px-150"]},"size-lg":{className:["py-100","px-200"]},disabled:{className:["opacity-disabled"]},hasError:{className:["border-comp-outline-danger"]},readOnly:{className:["bg-comp-surface-info","border-comp-outline-default-subdued"]},alignChildren:{className:["flex","items-center"]},labelTruncate:{className:["line-clamp-1"]},labelPad:{className:["pr-100"]},labelGrow:{className:["grow"],style:{overflow:"hidden",flex:1}},arrow:{className:["grow-0","shrink-0"]},"arrow-lg":{className:["h-icon-md","w-icon-md","basis-300"]},"arrow-md":{className:["h-icon-md","w-icon-md","basis-300"]},"arrow-sm":{className:["h-icon-sm","w-icon-sm","basis-200"]},arrowIcon:{className:["fill-default"]},iconReadOnly:{className:["opacity-disabled"]},labelReadOnly:{className:["text-default-muted"]},menuContainer:{className:["left-0","right-0","z-210"]},menu:{className:["m-0"]},menuFloatingNotReady:{style:{position:"absolute",opacity:0}},hover:{className:["border-comp-outline-primary-hover"]},pressed:{className:["border-comp-outline-primary-pressed"]},focused:{className:["border-comp-outline-primary","border-sm"]},textInput:{style:{}}}},{global:{arrow:{className:["pointer-events-none"]},containerGrow:{className:["inline-flex","w-full"]},containerUnGrow:{className:["inline-flex","max-w-full"]},selectionFrame:{className:["flex","box-border"],css:{minWidth:"min-content"}},selectionUnGrow:{className:["flex","items-center"]},selectionContents:{className:["w-full"]},labelGrow:{css:{textOverflow:"ellipsis",whiteSpace:"nowrap"}},labelTruncate:{css:{wordBreak:"break-all"}},textInput:{className:["w-auto"]},inputField:{css:{cursor:"auto"}}}});function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var V=["className","customProps","defaultValue","disabled","grow","hasError","id","nativeSafeArea","onChange","onInput","options","placeholder","readOnly","size","style","testID","value"],U=["isFocused","isHovered","isPressed"];function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?B(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!==H(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==H(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===H(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function q(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Q=(0,S.I)(A.aY),$=function(e){var t,r,n,l,a,u,f,m,y,v,g,S=e.className,A=e.customProps,H=e.defaultValue,B=e.disabled,$=void 0!==B&&B,J=e.grow,K=void 0!==J&&J,Y=e.hasError,Z=e.id,X=e.nativeSafeArea,ee=e.onChange,et=void 0===ee?h():ee,er=e.onInput,en=void 0===er?h():er,eo=e.options,el=void 0===eo?[]:eo,ei=e.placeholder,ea=e.readOnly,es=void 0!==ea&&ea,eu=e.size,ec=void 0===eu?"lg":eu,ef=e.style,ed=e.testID,em=e.value,ep=q(e,V),ey=(0,O.useId)(),eb=Z||ey,ev=!$&&!es,eh=(0,O.useRef)(null),eg=(0,O.useRef)(null),ew=(0,O.useRef)(null),eO=(0,O.useRef)(null),ex=(0,L.useFloating)({elements:{reference:eg,floating:ew},nativeSafeArea:X}),eS=ex.floatingStyles,ej=ex.shouldRender,eP=ex.update,eN=function(e){if(Array.isArray(e))return e}(t=(0,O.useState)({selectValue:d()(em)?H:em,isMenuOpen:!1}))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,l,i=[],a=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(a=(r=o.call(t)).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(e){s=!0,n=e}finally{try{if(!a&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(t)||function(e){if(e){if("string"==typeof e)return W(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return W(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),eE=eN[0],eI=eN[1],ek=eE.selectValue,eT=eE.isMenuOpen,eR=(0,O.useRef)(d()(em)?H:em),eL=(0,O.useRef)(null),eC=c()(["sm","md","lg"],ec)?ec:"lg",eD=(0,C.useUIStates)(),eA=eD.isFocused,e_=eD.isHovered,eF=eD.isPressed,eM=q(eD,U);(0,O.useEffect)(function(){var e;return eT&&(e=setTimeout(function(){if("web"===P.Platform.OS)(0,D.k)(eh);else{var e;null==(e=eO.current)||e.focus()}},150)),function(){clearTimeout(e)}},[eT]),(0,x.useUpdateEffect)(function(){eT&&"web"!==P.Platform.OS&&P.AccessibilityInfo.announceForAccessibility("Expanded")},[eT]),(0,x.useUpdateEffect)(function(){d()(ek)||ek!==eR.current&&(et(new N.e("change",{detail:{nextValue:ek,value:eR.current}})),eR.current=ek)},[ek]),(0,x.useUpdateEffect)(function(){eI(function(e){return G(G({},e),d()(em)?{}:{selectValue:em})})},[em]);var ez=function(e){var t=o()(el,function(t){return e===t.value||e===t.label});return s()(t,"label","")},eH=d()(em)?d()(ek)?void 0===ei?"Select...":ei:ez(ek):ez(em),eV=function(){eL.current=setTimeout(function(){eI(function(e){return G(G({},e),{},{isMenuOpen:!1})})},150)},eU=function(){return i()(el,function(e){return ek===e.value||ek===e.label})},eB="web"===P.Platform.OS?null==A?void 0:A.web:null==A?void 0:A.native,eG=b()({},null==eB?void 0:eB.icon,"web"===P.Platform.OS?{className:null==A||null==(r=A.web)||null==(r=r.icon)||null==(r=r.customProps)||null==(r=r.web)||null==(r=r.root)?void 0:r.className}:{}),eW=b()({},null==eB?void 0:eB.menu,{customProps:{web:{root:{role:"listbox",onKeyDown:function(e){"Escape"===e.key&&eI(function(e){return G(G({},e),{},{isMenuOpen:!1})})}},menuItem:{customProps:{web:{root:{customProps:{web:{root:{role:"option"}}}}}}}}}});return(0,F.jsxs)(_.S,G(G(G({"data-brix-component-name":"Select","data-brix-version":"1.87.6",className:(0,j.Q)(z.global.container.className,S,$&&z.global.disabled.className,K&&z.global.containerGrow.className,!K&&z.global.containerUnGrow.className,null==eB||null==(n=eB.root)?void 0:n.className),customProps:b()({},{native:{root:{needsOffscreenAlphaCompositing:$}}},null==eB||null==(l=eB.root)?void 0:l.customProps),id:eb,style:[ef,null==eB||null==(a=eB.root)?void 0:a.style],testID:ed},ep),w()(null==eB?void 0:eB.root,["className","style","customProps"])),{},{children:[(0,F.jsxs)(R.TouchableView,G(G(G({accessibilityRole:"combobox",accessibilityState:G({expanded:eT},ev?{}:{disabled:!0}),className:(0,j.Q)(z.global["container-size-".concat(eC)].className,z.global.selectionFrame.className,!K&&z.global.selectionUnGrow.className,eA&&z.global.focused.className,e_&&z.global.hover.className,eF&&z.global.pressed.className,es&&z.global.readOnly.className,void 0!==Y&&Y&&z.global.hasError.className,null==eB||null==(u=eB.button)?void 0:u.className),customProps:b()({},{web:{root:G(G({"aria-haspopup":"listbox"},eT?{"aria-controls":"".concat(eb,"-select-menu"),"aria-activedescendant":eU()>-1?"".concat(eb,"-select-menu-item-").concat(eU()):void 0}:{}),{},{onKeyDown:function(e){" "===e.key&&(e.preventDefault(),e.stopPropagation())}
1,tabIndex:0,style:[z.global.selectionFrame.css],title:eH})}},null==eB||null==(f=eB.button)?void 0:f.customProps),id:"".concat(eb,"-select-button"),onPress:ev?function(){var e=null;"web"===P.Platform.OS?eI(function(e){return G(G({},e),{},{isMenuOpen:!eT})}):(eT&&P.AccessibilityInfo.announceForAccessibility("Collapsed"),e=setTimeout(function(){eI(function(e){return G(G({},e),{},{isMenuOpen:!eT})})},150)),eL.current=e}:h(),ref:eg,style:[eA?z.global.selectionContentsFocused.style:z.global.selectionContents.style,null==eB||null==(m=eB.button)?void 0:m.style],testID:d()(ed)?"":"".concat(ed,"-select-button"),UNSAFE_asComponent:{web:"button"}},ev?eM:{}),w()(null==eB?void 0:eB.button,["customProps","className","style"])),{},{children:[(0,F.jsx)(M,{onBlur:eV,ref:eO}),(0,F.jsxs)(k.f,{className:(0,j.Q)(z.global.selectionContents.className,z.global["size-".concat(eC)].className),expand:!1,style:K&&"sm"===eC&&z.global.smallGrow.style,children:[(0,F.jsx)(_.S,{accessible:!1,className:(0,j.Q)(z.global.alignChildren.className,K?z.global.labelGrow.className:z.global.labelPad.className),style:G({},K?z.global.labelGrow.style:{}),children:(0,F.jsx)(T.E,G(G({className:(0,j.Q)(z.global.labelTruncate.className,es&&z.global.labelReadOnly.className,null==eB||null==(y=eB.label)?void 0:y.className),customProps:b()({},{web:{root:{style:G({},null==(v=z.global.labelTruncate)?void 0:v.css)}}},null==eB||null==(g=eB.label)?void 0:g.customProps),size:"sm"===eC?"sm":"md",testID:d()(ed)?"":"".concat(ed,"-select-text")},w()(null==eB?void 0:eB.label,["className","customProps"])),{},{children:eH}))}),(0,F.jsx)(_.S,{className:(0,j.Q)(z.global.arrow.className,z.global["arrow-".concat(eC)].className),testID:d()(ed)?"":"".concat(ed,"-select-arrow"),children:(0,F.jsx)(Q,G({className:(0,j.Q)(z.global.arrowIcon.className,es&&z.global.iconReadOnly.className,eG.className)},w()(eG,["className"])))})]})]})),eT&&(0,F.jsx)(_.S,{className:(0,j.Q)(z.global.menuContainer.className),customProps:{native:{root:{onLayout:eP}}},ref:ew,style:ej?eS:z.global.menuFloatingNotReady.style,children:(0,F.jsx)(I.Menu,G({className:(0,j.Q)(z.global.menu.className),grow:!0,id:"".concat(eb,"-select-menu"),initialFocus:p()([0,eU()]),items:el,onBlur:eV,onPress:function(e){var t,r=(null==(t=e.detail)?void 0:t.value)||"",n=new E.C({sourceEvent:e.sourceEvent,detail
1:{nextValue:r,value:ek}});en(n),eI(function(e){return G(G({},e),{},{isMenuOpen:!1},!n.defaultPrevented&&d()(em)?{selectValue:r}:{})}),"web"===P.Platform.OS&&(eL.current=setTimeout(function(){var e;null==(e=eg.current)||e.focus()},150))},ref:eh,selected:ek,testID:d()(ed)?"":"".concat(ed,"-select-menu")},eW))})]}))},J=(0,O.forwardRef)(function(e,t){return $(G(G({},e),{},{ref:t}))});J.displayName="Select"},50523:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(72846),o=r.n(n),l=r(84825),i=r.n(l),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=o()(e,["current"]);if(!i()(r))try{r.focus()}catch(e){console.warn("".concat(t," warning: Your element is not focusable, which may indicate an accessibility problem.")),console.warn(e)}}},69397:(e,t,r)=>{e.exports=r(37960)(r(95359))},70161:(e,t,r)=>{var n=r(60054);e.exports=function(e,t,r){for(var o=-1,l=e.length;++o<l;){var i=e[o],a=t(i);if(null!=a&&(void 0===s?a==a&&!n(a):r(a,s)))var s=a,u=i}return u}},79306:(e,t,r)=>{"use strict";let n;function o(){return"u">typeof window}function l(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!o()&&(e instanceof Node||e instanceof i(e).Node)}function u(e){return!!o()&&(e instanceof Element||e instanceof i(e).Element)}function c(e){return!!o()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function f(e){return!(!o()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function d(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=x(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function m(e){return/^(table|td|th)$/.test(l(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}r.d(t,{$4:()=>j,CP:()=>S,L9:()=>x,Lv:()=>m,Ng:()=>f,Tc:()=>w,Tf:()=>p,ZU:()=>d,_m:()=>P,ep:()=>a,eu:()=>O,gJ:()=>g,mq:()=>l,sQ:()=>h,sb:()=>c,v9:()=>function e(t,r,n){var o;void 0===r&&(r=[]),void 0===n&&(n=!0);let l=function e(t){let r=j(t);return O(r)?(t.ownerDocument||t).body:c(r)&&d(r)?r:e(r)}(t),a=l===(null==(o=t.ownerDocument)?void 0:o.body),s=i(l);if(!a)return r.concat(l,e(l,[],n));{let t=P(s);return r.concat(s,s.visualViewport||[],d(l)?l:[],t&&n?e(t):[])}},vq:()=>u,zk:()=>i});let y=/transform|translate|scale|rotate|perspective|filter/,b=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;function h(e){let t=u(e)?x(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))||y.test(t.willChange||"")||b.test(t.contain||"")}function g(e){let t=j(e);for(;c(t)&&!O(t);){if(h(t))return t;if(p(t))break;t=j(t)}return null}function w(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function O(e){return/^(html|body|#document)$/.test(l(e))}function x(e){return i(e).getComputedStyle(e)}function S(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function j(e){if("html"===l(e))return e;let t=e.assignedSlot||e.parentNode||f(e)&&e.host||a(e);return f(t)?t.host:t}function P(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},80374:(e,t,r)=>{"use strict";r.d(t,{BN:()=>m,ER:()=>p,Ej:()=>b,RK:()=>v,UE:()=>w,UU:()=>y,cY:()=>d,jD:()=>h,mG:()=>g,we:()=>f});var n=r(7058),o=r(7620),l=r(97509),i="u">typeof document?o.useLayoutEffect:function(){};function a(e,t){let r,n,o;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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!a(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!a(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function s(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=s(e);return Math.round(t*r)/r}function c(e){let t=o.useRef(e);return i(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:f=[],platform:d,elements:{reference:m,floating:p}={},transform:y=!0,whileElementsMounted:b,open:v}=e,[h,g]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,O]=o.useState(f);a(w,f)||O(f);let[x,S]=o.useState(null),[j,P]=o.useState(null),N=o.useCallback(e=>
1{e!==T.current&&(T.current=e,S(e))},[]),E=o.useCallback(e=>{e!==R.current&&(R.current=e,P(e))},[]),I=m||x,k=p||j,T=o.useRef(null),R=o.useRef(null),L=o.useRef(h),C=null!=b,D=c(b),A=c(d),_=c(v),F=o.useCallback(()=>{if(!T.current||!R.current)return;let e={placement:t,strategy:r,middleware:w};A.current&&(e.platform=A.current),(0,n.rD)(T.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==_.current};M.current&&!a(L.current,t)&&(L.current=t,l.flushSync(()=>{g(t)}))})},[w,t,r,A,_]);i(()=>{!1===v&&L.current.isPositioned&&(L.current.isPositioned=!1,g(e=>({...e,isPositioned:!1})))},[v]);let M=o.useRef(!1);i(()=>(M.current=!0,()=>{M.current=!1}),[]),i(()=>{if(I&&(T.current=I),k&&(R.current=k),I&&k){if(D.current)return D.current(I,k,F);F()}},[I,k,F,D,C]);let z=o.useMemo(()=>({reference:T,floating:R,setReference:N,setFloating:E}),[N,E]),H=o.useMemo(()=>({reference:I,floating:k}),[I,k]),V=o.useMemo(()=>{let e={position:r,left:0,top:0};if(!H.floating)return e;let t=u(H.floating,h.x),n=u(H.floating,h.y);return y?{...e,transform:"translate("+t+"px, "+n+"px)",...s(H.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,y,H.floating,h.x,h.y]);return o.useMemo(()=>({...h,update:F,refs:z,elements:H,floatingStyles:V}),[h,F,z,H,V])}let d=(e,t)=>{let r=(0,n.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},m=(e,t)=>{let r=(0,n.BN)(e);return{name:r.name,fn:r.fn,options:[e,t]}},p=(e,t)=>({fn:(0,n.ER)(e).fn,options:[e,t]}),y=(e,t)=>{let r=(0,n.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},b=(e,t)=>{let r=(0,n.Ej)(e);return{name:r.name,fn:r.fn,options:[e,t]}},v=(e,t)=>{let r=(0,n.RK)(e);return{name:r.name,fn:r.fn,options:[e,t]}},h=(e,t)=>{let r=(0,n.jD)(e);return{name:r.name,fn:r.fn,options:[e,t]}},g=(e,t)=>{let r=(0,n.mG)(e);return{name:r.name,fn:r.fn,options:[e,t]}},w=(e,t)=>{let r={name:"arrow",options:e,fn(t){let{element:r,padding:o}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.UE)({element:r.current,padding:o}).fn(t):{}:r?(0,n.UE)({element:r,padding:o}).fn(t):{}}};return{name:r.name,fn:r.fn,options:[e,t]}}},84565:(e,t,r)=>{var n=r(63409),o=r(3442),l=r(2601),i=Math.max,a=Math.min;e.exports=function(e,t,r){var s,u,c,f,d,m,p=0,y=!1,b=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var r=s,n=u;return s=u=void 0,p=t,f=e.apply(n,r)}function g(e){var r=e-m,n=e-p;return void 0===m||r>=t||r<0||b&&n>=c}function w(){var e,r,n,l=o();if(g(l))return O(l);d=setTimeout(w,(e=l-m,r=l-p,n=t-e,b?a(n,c-r):n))}function O(e){return(d=void 0,v&&s)?h(e):(s=u=void 0,f)}function x(){var e,r=o(),n=g(r);if(s=arguments,u=this,m=r,n){if(void 0===d)return p=e=m,d=setTimeout(w,t),y?h(e):f;if(b)return clearTimeout(d),d=setTimeout(w,t),h(m)}return void 0===d&&(d=setTimeout(w,t)),f}return t=l(t)||0,n(r)&&(y=!!r.leading,c=(b="maxWait"in r)?i(l(r.maxWait)||0,t):c,v="trailing"in r?!!r.trailing:v),x.cancel=function(){void 0!==d&&clearTimeout(d),p=0,s=m=u=d=void 0},x.flush=function(){return void 0===d?f:O(o())},x}},85858:(e,t,r)=>{var n=r(76762);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},86532:(e,t,r)=>{"use strict";r.d(t,{q:()=>p});var n,o,l=r(7620),i=r(88897),a=r(84825),s=r.n(a);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},i=l.iterator||"@@iterator",a=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(t,r,n,l){var i,a,s,u,c=Object.create((r&&r.prototype instanceof h?r:h).prototype);return o(c,"_invoke",{value:(i=t,a=n,s=new k(l||[]),u=p,function(t,r){if(u===y)throw Error("Generator is already running");if(u===b){if("throw"===t)throw r;return{value:e,done:!0}}for(s.method=t,s.arg=r;;){var n=s.delegate;if(n){var o=function t(r,n){var o=n.method,l=r.iterator[o];if(l===e)return n.delegate=null,"throw"===o&&r.iterator.return&&
vendor: 5,137 bytes, line 1
1(n.method="return",n.arg=e,t(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),v;var i=m(l,r.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[r.resultName]=a.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,v)}(n,s);if(o){if(o===v)continue;return o}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===p)throw u=b,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);u=y;var l=m(i,a,s);if("normal"===l.type){if(u=s.done?b:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:s.done}}"throw"===l.type&&(u=b,s.method="throw",s.arg=l.arg)}})}),c}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",y="executing",b="completed",v={};function h(){}function g(){}function w(){}var O={};f(O,i,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(T([])));S&&S!==r&&n.call(S,i)&&(O=S);var j=w.prototype=h.prototype=Object.create(O);function P(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function N(e,t){var r;o(this,"_invoke",{value:function(o,l){function i(){return new t(function(r,i){!function r(o,l,i,a){var s=m(e[o],e,l);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){r("next",e,i,a)},function(e){r("throw",e,i,a)}):t.resolve(f).then(function(e){c.value=e,i(c)},function(e){return r("throw",e,i,a)})}a(s.arg)}(o,l,r,i)})}return r=r?r.then(i,i):i()}})}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,l=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return l.next=l}}throw TypeError(u(t)+" is not iterable")}return g.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=f(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,f(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},P(N.prototype),f(N.prototype,a,function(){return this}),t.AsyncIterator=N,t.async=function(e,r,n,o,l){void 0===l&&(l=Promise);var i=new N(d(e,r,n,o),l);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},P(j),f(j,s,"Generator"),f(j,i,function(){return this}),f(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return a.type="throw",a.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var l=this.tryEntries.length-1;l>=0;--l){var i=this.tryEntries[l],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var l=o;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var i=l?l.completion:{};return i.type=e,i.arg=t,l?(this.method="next",this.next=l.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];
1if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,l,i){try{var a=e[l](i),s=a.value}catch(e){r(e);return}a.done?t(s):Promise.resolve(s).then(n,o)}var d=(n=c().mark(function e(t){var r,n,o;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.containerElement,n=t.direction,o=t.scrollElement,e.abrupt("return",new Promise(function(e,t){(s()(r)||s()(o))&&t(Error("useScrollIntoView: Cannot measure unresolved react refs")),e({containerSpan:"horizontal"===n?r.offsetWidth:r.offsetHeight,containerScroll:"horizontal"===n?r.scrollLeft:r.scrollTop,elementOffset:"horizontal"===n?o.offsetLeft:o.offsetTop,elementSpan:"horizontal"===n?o.offsetWidth:o.offsetHeight})}));case 1:case"end":return e.stop()}},e)}),o=function(){var e=this,t=arguments;return new Promise(function(r,o){var l=n.apply(e,t);function i(e){f(l,r,o,i,a,"next",e)}function a(e){f(l,r,o,i,a,"throw",e)}i(void 0)})},function(e){return o.apply(this,arguments)}),m=function(e,t){var r=t.xPos,n=t.yPos;e.scrollTo({top:n,left:r,behavior:"smooth"})},p=function(e){var t=e.direction,r=void 0===t?"horizontal":t,n=e.ref,o=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=(0,l.useRef)(null),s=(0,l.useRef)(0),u=o?a:n,c=(0,l.useRef)([]);return{onScrollViewScroll:function(e){s.current="horizontal"===r?e.nativeEvent.contentOffset.x:e.nativeEvent.contentOffset.y},scrollViewRef:u,scrollToElement:function(e){d({containerElement:n.current,direction:r,scrollElement:c.current[e],scrolledAmount:s.current}).then(function(e){var t=e.containerScroll,o=e.containerSpan,l=e.elementOffset,a=e.elementSpan,s="web"===i.Platform.OS?n.current:u.current;t>l&&m(s,{xPos:"horizontal"===r?l:0,yPos:"vertical"===r?l:0});var c=l+a;c>o+t&&m(s,{xPos:"horizontal"===r?c-o:0,yPos:"vertical"===r?c-o:0})})},scrollableElements:c.current}}},95359:(e,t,r)=>{var n=r(56423),o=r(95979),l=r(59596),i=Math.max;e.exports=function(e,t,r){var a=null==e?0:e.length;if(!a)return -1;var s=null==r?0:l(r);return s<0&&(s=i(a+s,0)),n(e,o(t,3),s)}}}]);
2//# sourceMappingURL=2819-48045d7d19002bee.js.map

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.