PageSourceSearch

https://www.bji.com/_next/static/chunks/4251.3fd3515086866b7f.js

js bji.com collected 2026-09-27 02:29:16 UTC 44,225 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4251],{705:function(e,n,t){t.d(n,{OvN:function(){return a},Tfp:function(){return o},ego:function(){return i}});var r=t(326);function o(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(e)}function i(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(e)}function a(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(e)}},326:function(e,n,t){t.d(n,{w_:function(){return c}});var r=t(5271),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=function(){return(a=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},u=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>n.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};function c(e){return function(n){return r.createElement(l,a({attr:a({},e.attr)},n),function e(n){return n&&n.map(function(n,t){return r.createElement(n.tag,a({key:t},n.attr),e(n.child))})}(e.child))}}function l(e){var n=function(n){var t,o=e.attr,i=e.size,c=e.title,l=u(e,["attr","size","title"]),s=i||n.size||"1em";return n.className&&(t=n.className),e.className&&(t=(t?t+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,l,{className:t,style:a(a({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),c&&r.createElement("title",null,c),e.children)};return void 0!==i?r.createElement(i.Consumer,null,function(e){return n(e)}):n(o)}},6175:function(e,n,t){t.d(n,{q:function(){return i}});var r=t(1136),o=t(5271);function i(e={}){let{onClose:n,onOpen:t,isOpen:i,id:a}=e,u=(0,r.W)(t),c=(0,r.W)(n),[l,s]=(0,o.useState)(e.defaultIsOpen||!1),d=void 0!==i?i:l,f=void 0!==i,v=(0,o.useId)(),m=a??`disclosure-${v}`,p=(0,o.useCallback)(()=>{f||s(!1),c?.()},[f,c]),h=(0,o.useCallback)(()=>{f||s(!0),u?.()},[f,u]),b=(0,o.useCallback)(()=>{d?p():h()},[d,h,p]);return{isOpen:d,onOpen:h,onClose:p,onToggle:b,isControlled:f,getButtonProps:function(e={}){return{...e,"aria-expanded":d,"aria-controls":m,onClick(n){e.onClick?.(n),b()}}},getDisclosureProps:function(e={}){return{...e,hidden:!d,id:m}}}}},9991:function(e,n,t){t.d(n,{z:function(){return y}});var r=t(2676),o=t(8483),i=t(1902);let a=e=>e?"":void 0;var u=t(5558),c=t(5271),l=t(4242);let[s,d]=(0,l.k)({strict:!1,name:"ButtonGroupContext"});var f=t(1816);function v(e){let{children:n,className:t,...o}=e,i=(0,c.isValidElement)(n)?(0,c.cloneElement)(n,{"aria-hidden":!0,focusable:!1}):n,a=(0,u.cx)("chakra-button__icon",t);return(0,r.jsx)(f.m.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:a,children:i})}v.displayName="ButtonIcon";var m=t(4719),p=t(9501);function h(e){let{label:n,placement:t,spacing:o="0.5rem",children:i=(0,r.jsx)(p.$,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:l,...s}=e,d=(0,u.cx)("chakra-button__spinner",a),v="start"===t?"marginEnd":"marginStart",h=(0,c.useMemo)(()=>(0,m.k0)({display:"flex",alignItems:"center",position:n?"relative":"absolute",[v]:n?o:0,fontSize:"1em",lineHeight:"normal",...l}),[l,n,v,o]);return(0,r.jsx)(f.m.div,{className:d,...s,__css:h,children:i})}h.displayName="ButtonSpinner";var b=t(4553),g=t(6925);let y=(0,b.G)((e,n)=>{let t=d(),l=(0,g.m)("Button",{...t,...e}),{isDisabled:s=t?.isDisabled,isLoading:v,isActive:m,children:p,leftIcon:b,rightIcon:y,loadingText:w,iconS
1pacing:E="0.5rem",type:k,spinner:N,spinnerPlacement:C="start",className:S,as:M,shouldWrapChildren:O,..._}=(0,i.L)(e),j=(0,c.useMemo)(()=>{let e={...l?._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...l,...!!t&&{_focus:e}}},[l,t]),{ref:A,type:T}=function(e){let[n,t]=(0,c.useState)(!e),r=(0,c.useCallback)(e=>{e&&t("BUTTON"===e.tagName)},[]);return{ref:r,type:n?"button":void 0}}(M),R={rightIcon:y,leftIcon:b,iconSpacing:E,children:p,shouldWrapChildren:O};return(0,r.jsxs)(f.m.button,{disabled:s||v,ref:(0,o.qq)(n,A),as:M,type:k??T,"data-active":a(m),"data-loading":a(v),__css:j,className:(0,u.cx)("chakra-button",S),..._,children:[v&&"start"===C&&(0,r.jsx)(h,{className:"chakra-button__spinner--start",label:w,placement:"start",spacing:E,children:N}),v?w||(0,r.jsx)(f.m.span,{opacity:0,children:(0,r.jsx)(x,{...R})}):(0,r.jsx)(x,{...R}),v&&"end"===C&&(0,r.jsx)(h,{className:"chakra-button__spinner--end",label:w,placement:"end",spacing:E,children:N})]})});function x(e){let{leftIcon:n,rightIcon:t,children:o,iconSpacing:i,shouldWrapChildren:a}=e;return a?(0,r.jsxs)("span",{style:{display:"contents"},children:[n&&(0,r.jsx)(v,{marginEnd:i,children:n}),o,t&&(0,r.jsx)(v,{marginStart:i,children:t})]}):(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)(v,{marginEnd:i,children:n}),o,t&&(0,r.jsx)(v,{marginStart:i,children:t})]})}y.displayName="Button"},915:function(e,n,t){t.d(n,{s:function(){return nX}});var r,o,i=t(2676),a=t(5558),u=t(8785),c=t(4734),l=t(3221),s=t(5271),d=t(5767),f="right-scroll-bar-position",v="width-before-scroll-bar";function m(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}var p="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,h=new WeakMap;function b(e,n){var t,r,o,i=(t=n||null,r=function(n){return e.forEach(function(e){return m(e,n)})}
1,(o=(0,s.useState)(function(){return{value:t,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,o.facade);return p(function(){var n=h.get(i);if(n){var t=new Set(n),r=new Set(e),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}h.set(i,e)},[e]),i}function g(e){return e}function y(e,n){void 0===n&&(n=g);var t=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(e){var o=n(e,r);return t.push(o),function(){t=t.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;t.length;){var n=t;t=[],n.forEach(e)}t={push:function(n){return e(n)},filter:function(){return t}}},assignMedium:function(e){r=!0;var n=[];if(t.length){var o=t;t=[],o.forEach(e),n=t}var i=function(){var t=n;n=[],t.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),t={push:function(e){n.push(e),a()},filter:function(e){return n=n.filter(e),t}}}}}function x(e,n){return void 0===n&&(n=g),y(e,n)}function w(e){void 0===e&&(e={});var n=y(null);return n.options=(0,d.pi)({async:!0,ssr:!1},e),n}var E=w(),k=function(){},N=s.forwardRef(function(e,n){var t=s.useRef(null),r=s.useState({onScrollCapture:k,onWheelCapture:k,onTouchMoveCapture:k}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,c=e.className,l=e.removeScrollBar,f=e.enabled,v=e.shards,m=e.sideCar,p=e.noRelative,h=e.noIsolation,g=e.inert,y=e.allowPinchZoom,x=e.as,w=e.gapMode,N=(0,d._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=b([t,n]),S=(0,d.pi)((0,d.pi)({},N),o);return s.createElement(s.Fragment,null,f&&s.createElement(m,{sideCar:E,removeScrollBar:l,shards:v,noRelative:p,noIsolation:h,inert:g,setCallbacks:i,allowPinchZoom:!!y,lockRef:t,gapMode:w}),a?s.cloneElement(s.Children.only(u),(0,d.pi)((0,d.pi)({},S),{ref:C})):s.createElement(void 0===x?"div":x,(0,d.pi)({},S,{className:c,ref:C}),u))});N.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},N.classNames={fullWidth:v,zeroRight:f};var C=function(e){var n=e.sideCar,t=(0,d._T)(e,["sideCar"]);if(!n)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,(0,d.pi)({},t))};C.isSideCarExport=!0;var S=function(){var e=0,n=null;return{add:function(r){if(0==e&&(n=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=o||t.nc;return n&&e.setAttribute("nonce",n),e}())){var i,a;(i=n).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),a=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!n||(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},M=function(){var e=S();return function(n,t){s.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},O=function(){var e=M();return function(n){return e(n.styles,n.dynamic),null}},_={left:0,top:0,right:0,gap:0},j=function(e){return parseInt(e||"",10)||0},A=function(e){var n=window.getComputedStyle(document.body),t=n["padding"===e?"paddingLeft":"marginLeft"],r=n["padding"===e?"paddingTop":"marginTop"],o=n["padding"===e?"paddingRight":"marginRight"];return[j(t),j(r),j(o)]},T=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return _;var n=A(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},R=O(),I="data-scroll-locked",P=function(e,n,t,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===t&&(t="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(I,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([n&&"position: relative ".concat(r,";"),"margin"===t&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===t&&"padding-right: ".concat(u,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(f," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(v," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(v," .").concat(v," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(I,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},F=function(){var e=parseInt(document.body.getAttribute(I)||"0",10);return isFinite(e)?e:0},L=function(){s.useEffect(function(){return document.body.setAttribute(I,(F()+1).toString()),function(){var e=F()-1;e<=0?document.body.removeAttribute(I):document.body.setAttribute(I,e.toString())}},[])},D=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=s.useMemo(function(){return T(o)},[o]);return s.createElement(R,{styles:P(i,!n,o,t?"":"!important")})},B=!1;if("undefined"!=typeof window)try{var W=Object.defineProperty({},"passive",{get:function(){return B=!0,!0}});window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch(e){B=!1}var G=!!B&&{passive:!1},q=function(e,n){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===t[n])},$=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),U(e,r)){var o=z(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},U=function(e,n){return"v"===e?q(n,"overflowY"):q(n,"overflowX")},z=function(e,n){return"v"===e?[n.scrollTop,n.scrollHeight,n.clientHeight]:[n.scrollLeft,n.scrollWidth,n.clientWidth]},Z=function(e,n,t,r,o){var i,a=(i=window.getComputedStyle(n).direction,"h"===e&&"rtl"===i?-1:1),u=a*r,c=t.target,l=n.contains(c),s=!1,d=u>0,f=0,v=0;do{if(!c)break;var m=z(e,c),p=m[0],h=m[1]-m[2]-a*p;(p||h)&&U(e,c)&&(f+=h,v+=p);var b=c.parentNode;c=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&c!==document.body||l&&(n.contains(c)||n===c));return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(v)||!o&&-u>v)&&(s=!0),s},H=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Y=function(e){return[e.deltaX,e.deltaY]},X=function(e){return e&&"current"in e?e.current:e},K=0,V=[],J=(E.useMedium(function(e){var n=s.useRef([]),t=s.useRef([0,0]),r=s.useRef(),o=s.useState(K++)[0],i=s.useState(O)[0],a=s.useRef(e);s.useEffect(function(){a.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var n=(0,d.ev)([e.lockRef.current],(e.shards||[]).map(X),!0).filter(Boolean);return n.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),n.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=s.useCallback(function(e,n){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=H(e),u=t.current,c="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=$(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=$(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var v=r.current||o;return Z(v,n,e,"h"===v?c:l,!0)},[]),c=s.useCallback(function(e){if(V.length&&V[V.length-1]===i){var t="deltaY"in e?Y(e):H(e),r=n.current.filter(function(n){var r;return n.name===e.type&&(n.target===e.target||e.target===n.shadowParent)&&(r=n.delta)[0]===t[0]&&r[1]===t[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(X).filter(Boolean).filter(function(n){return n.contains(e.target)});(o.length>0?u(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=s.useCallback(function(e,t,r,o){var i={name:e,delta:t,target:r,should:o,shadowParent:function(e){for(var n=null;null!==e;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}(r)};n.current.push(i),setTimeout(function(){n.current=n.current.filter(function(e){return e!==i})},1)},[]),f=s.useCallback(function(e){t.current=H(e),r.current=void 0},[]),v=s.useCallback(function(n){l(n.type,Y(n),n.target,u(n,e.lockRef.current))},[]),m=s.useCallback(function(n){l(n.type,H(n),n.target,u(n,e.lockRef.current))},[]);s.useEffect(function(){return V.push(i),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:m}),document.addEventListener("wheel",c,G),document.addEventListener("touchmove",c,G),document.addEventListener("touchstart",f,G),function(){V=V.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,G),document.removeEventListener("touchmove",c,G),document.removeEventListener("touchstart",f,G)}},[]);var p=e.removeScrollBar,h=e.inert;return s.createElement(s.Fragment,null,h?s.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?s.createElement(D,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}),C),Q=s.forwardRef(function(e,n){return s.createElement(N,(0,d.pi)({},e,{ref:n,sideCar:J}))});Q.classNames=N.classNames;var ee=t(9442),en=t(6283),et="data-focus-lock",er="data-focus-lock-disabled",eo={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},ei=x({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),ea=x(),eu=x(),ec=w({async:!0,ssr:"undefined"!=typeof document}),el=(0,s.createContext)(void 0),es=[],ed=(0,s.forwardRef)(function(e,n){var t,r=(0,s.use
1State)(),o=r[0],i=r[1],a=(0,s.useRef)(),u=(0,s.useRef)(!1),c=(0,s.useRef)(null),l=(0,s.useState)({})[1],d=e.children,f=e.disabled,v=void 0!==f&&f,m=e.noFocusGuards,p=void 0!==m&&m,h=e.persistentFocus,g=e.crossFrame,y=e.autoFocus,x=(e.allowTextSelection,e.group),w=e.className,E=e.whiteList,k=e.hasPositiveIndices,N=e.shards,C=void 0===N?es:N,S=e.as,M=e.lockProps,O=e.sideCar,_=e.returnFocus,j=void 0!==_&&_,A=e.focusOptions,T=e.onActivation,R=e.onDeactivation,I=(0,s.useState)({})[0],P=(0,s.useCallback)(function(e){var n=e.captureFocusRestore;if(!c.current){var t,r=null==(t=document)?void 0:t.activeElement;c.current=r,r!==document.body&&(c.current=n(r))}a.current&&T&&T(a.current),u.current=!0,l()},[T]),F=(0,s.useCallback)(function(){u.current=!1,R&&R(a.current),l()},[R]),L=(0,s.useCallback)(function(e){var n=c.current;if(n){var t=("function"==typeof n?n():n)||document.body,r="function"==typeof j?j(t):j;if(r){var o="object"==typeof r?r:void 0;c.current=null,e?Promise.resolve().then(function(){return t.focus(o)}):t.focus(o)}}},[j]),D=(0,s.useCallback)(function(e){u.current&&ei.useMedium(e)},[]),B=ea.useMedium,W=(0,s.useCallback)(function(e){a.current!==e&&(a.current=e,i(e))},[]),G=(0,en.Z)(((t={})[er]=v&&"disabled",t[et]=x,t),void 0===M?{}:M),q=!0!==p,$=b([n,W]),U=(0,s.useMemo)(function(){return{observed:a,shards:C,enabled:!v,active:u.current}},[v,u.current,C,o]);return s.createElement(s.Fragment,null,q&&[s.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:v?-1:0,style:eo}),k?s.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:v?-1:1,style:eo}):null],!v&&s.createElement(O,{id:I,sideCar:ec,observed:o,disabled:v,persistentFocus:void 0!==h&&h,crossFrame:void 0===g||g,autoFocus:void 0===y||y,whiteList:E,shards:C,onActivation:P,onDeactivation:F,returnFocus:L,focusOptions:A,noFocusGuards:p}),s.createElement(void 0===S?"div":S,(0,en.Z)({ref:$},G,{className:w,onBlur:B,onFocus:D}),s.createElement(el.Provider,{value:U},d)),q&&"tail"!==p&&s.createElement("div",{"data-focus-guard":!0,tabIndex:v?-1:0,style:eo}))});ed.propTypes={};var ef=t(1071);function ev(e){return(ev="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 em=function(e){for(var n=Array(e.length),t=0;t<e.length;++t)n[t]=e[t];return n},ep=function(e){return Array.isArray(e)?e:[e]},eh=function(e){return Array.isArray(e)?e[0]:e},eb=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=window.getComputedStyle(e,null);return!!n&&!!n.getPropertyValue&&("none"===n.getPropertyValue("display")||"hidden"===n.getPropertyValue("visibility"))},eg=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},ey=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},ex=function(e,n){var t,r=e.get(n);if(void 0!==r)return r;var o=(t=ex.bind(void 0,e),!n||ey(n)||!eb(n)&&!n.hasAttribute("inert")&&t(eg(n)));return e.set(n,o),o},ew=function(e,n){var t,r=e.get(n);if(void 0!==r)return r;var o=(t=ew.bind(void 0,e),!n||!!ey(n)||!!eC(n)&&t(eg(n)));return e.set(n,o),o},eE=function(e){return e.dataset},ek=function(e){return"INPUT"===e.tagName},eN=function(e){return ek(e)&&"radio"===e.type},eC=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},eS=function(e){var n;return Boolean(e&&(null===(n=eE(e))||void 0===n?void 0:n.focusGuard))},eM=function(e){return!eS(e)},eO=function(e){return Boolean(e)},e_=function(e,n){var t=Math.max(0,e.tabIndex),r=Math.max(0,n.tabIndex),o=t-r,i=e.index-n.index;if(o){if(!t)return 1;if(!r)return -1}return o||i},ej=function(e,n,t){return em(e).map(function(e,n){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:n,tabIndex:t&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!n||e.tabIndex>=0}).sort(e_)},eA="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",eT="".concat(eA,", [data-focus-guard]"),eR=function(e,n){return em((e.shadowRoot||e).children).reduce(function(e,t){return e.concat(t.matches(n?eT:eA)?[t]:[],eR(t))},[])},eI=function(e,n){var t;return e instanceof HTMLIFrameElement&&(null===(t=e.contentDocument)||void 0===t?void 0:t.body)?eP([e.contentDocument.body],n):[e]},eP=function(e,n){return e.reduce(function(e,t){var r,o=eR(t,n),i=(r=[]).concat.apply(r,o.map(function(e){return eI(e,n)}));return e.concat(i,t.parentNode?em(t.parentNode.querySelectorAll(eA)).filter(function(e){return e===t}):[])},[])},eF=function(e,n){return em(e).filter(function(e){return ex(n,e)}).filter(function(e){return!((ek(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},eL=function(e,n){return void 0===n&&(n=new Map),em(e).filter(function(e){return ew(n,e)})},eD=function(e,n,t){return ej(eF(eP(e,t),n),!0,t)},eB=function(e,n){return ej(eF(eP(e),n),!1)},eW=function(e,n){return e.shadowRoot?eW(e.shadowRoot,n):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,n))||em(e.children).some(function(e){var t;if(e instanceof HTMLIFrameElement){var r=null===(t=e.contentDocument)||void 0===t?void 0:t.body;return!!r&&eW(r,n)}return eW(e,n)})},eG=function(e){try{return e()}catch(e){return}},eq=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var n=e.activeElement;return n.shadowRoot?eq(n.shadowRoot):n instanceof HTMLIFrameElement&&eG(function(){return n.contentWindow.document})?eq(n.contentWindow.document):n}},e$=function(e){void 0===e&&(e=document);var n=eq(e);return!!n&&em(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return eW(e,n)})},eU=function(e){for(var n=new Set,t=e.length,r=0;r<t;r+=1)for(var o=r+1;o<t;o+=1){var i=e[r].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&n.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&n.add(r)}return e.filter(function(e,t){return!n.has(t)})},ez=function(e){return e.parentNode?ez(e.parentNode):e}
1,eZ=function(e){return ep(e).filter(Boolean).reduce(function(e,n){var t=n.getAttribute(et);return e.push.apply(e,t?eU(em(ez(n).querySelectorAll("[".concat(et,'="').concat(t,'"]:not([').concat(er,'="disabled"])')))):[n]),e},[])},eH=function(e,n){return void 0===n&&(n=eq(eh(e).ownerDocument)),!!n&&(!n.dataset||!n.dataset.focusGuard)&&eZ(e).some(function(e){var t;return eW(e,n)||(t=n,Boolean(em(e.querySelectorAll("iframe")).some(function(e){return e===t})))})},eY=function(e,n){e&&("focus"in e&&e.focus(n),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},eX=function(e,n){return eN(e)&&e.name&&n.filter(eN).filter(function(n){return n.name===e.name}).filter(function(e){return e.checked})[0]||e},eK=function(e){var n=new Set;return e.forEach(function(t){return n.add(eX(t,e))}),e.filter(function(e){return n.has(e)})},eV=function(e){return e[0]&&e.length>1?eX(e[0],e):e[0]},eJ=function(e,n){return e.indexOf(eX(n,e))},eQ="NEW_FOCUS",e0=function(e,n,t,r,o){var i=e.length,a=e[0],u=e[i-1],c=eS(r);if(!(r&&e.indexOf(r)>=0)){var l=void 0!==r?t.indexOf(r):-1,s=o?t.indexOf(o):l,d=o?e.indexOf(o):-1;if(-1===l)return -1!==d?d:eQ;if(-1===d)return eQ;var f=l-s,v=t.indexOf(a),m=t.indexOf(u),p=eK(t),h=void 0!==r?p.indexOf(r):-1,b=o?p.indexOf(o):h,g=p.filter(function(e){return e.tabIndex>=0}),y=void 0!==r?g.indexOf(r):-1,x=o?g.indexOf(o):y;if(!f&&d>=0||0===n.length)return d;var w=eJ(e,n[0]),E=eJ(e,n[n.length-1]);if(l<=v&&c&&Math.abs(f)>1)return E;if(l>=m&&c&&Math.abs(f)>1)return w;if(f&&Math.abs(y>=0&&x>=0?x-y:b-h)>1)return d;if(l<=v)return E;if(l>m)return w;if(f)return Math.abs(f)>1?d:(i+d+f)%i}},e1=function(e,n,t){var r=eL(e.map(function(e){return e.node}).filter(function(e){var n,r=null===(n=eE(e))||void 0===n?void 0:n.autofocus;return e.autofocus||void 0!==r&&"false"!==r||t.indexOf(e)>=0}));return r&&r.length?eV(r):eV(eL(n))},e5=function(e,n){return void 0===n&&(n=[]),n.push(e),e.parentNode&&e5(e.parentNode.host||e.parentNode,n),n},e2=function(e,n){for(var t=e5(e),r=e5(n),o=0;o<t.length;o+=1){var i=t[o];if(r.indexOf(i)>=0)return i}return!1},e4=function(e,n,t){var r=ep(e),o=ep(n),i=r[0],a=!1;
1return o.filter(Boolean).forEach(function(e){a=e2(a||e,e)||a,t.filter(Boolean).forEach(function(e){var n=e2(i,e);n&&(a=!a||eW(n,a)?n:e2(n,a))})}),a},e6=function(e,n){return e.reduce(function(e,t){return e.concat(eF(em(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return eP([e])}).reduce(function(e,n){return e.concat(n)},[]),n))},[])},e7=function(e,n){var t=new Map;return n.forEach(function(e){return t.set(e.node,e)}),e.map(function(e){return t.get(e)}).filter(eO)},e3=function(e,n){var t=eq(ep(e).length>0?document:eh(e).ownerDocument),r=eZ(e).filter(eM),o=e4(t||e,e,r),i=new Map,a=eB(r,i),u=a.filter(function(e){return eM(e.node)});if(u[0]){var c=eB([o],i).map(function(e){return e.node}),l=e7(c,u),s=l.map(function(e){return e.node}),d=l.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=e0(s,d,c,t,n);if(f===eQ){var v=e1(a,d,e6(r,i))||e1(a,s,e6(r,i));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:l[f]}},e8=0,e9=!1,ne=function(e,n,t){void 0===t&&(t={});var r=e3(e,n);if(!e9&&r){if(e8>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),e9=!0,setTimeout(function(){e9=!1},1);return}
1e8++,eY(r.node,t.focusOptions),e8--}};function nn(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var n=e?new WeakRef(e):null;return function(){return(null==n?void 0:n.deref())||null}}var nt=function(e){if(!e)return null;for(var n=[],t=e;t&&t!==document.body;)n.push({current:nn(t),parent:nn(t.parentElement),left:nn(t.previousElementSibling),right:nn(t.nextElementSibling)}),t=t.parentElement;return{element:nn(e),stack:n,ownerDocument:e.ownerDocument}},nr=function(e){if(e)for(var n,t,r,o,i,a=e.stack,u=e.ownerDocument,c=new Map,l=0;l<a.length;l++){var s=a[l],d=null===(n=s.parent)||void 0===n?void 0:n.call(s);if(d&&u.contains(d)){for(var f=null===(t=s.left)||void 0===t?void 0:t.call(s),v=s.current(),m=d.contains(v)?v:void 0,p=null===(r=s.right)||void 0===r?void 0:r.call(s),h=eD([d],c),b=null!==(i=null!==(o=null!=m?m:null==f?void 0:f.nextElementSibling)&&void 0!==o?o:p)&&void 0!==i?i:f;b;){for(var g=0;g<h.length;g++){var y=h[g];if(null==b?void 0:b.contains(y.node))return y.node}b=b.nextElementSibling}if(h.length)return h[0].node}}},no=function(e){var n=nt(e);return function(){return nr(n)}},ni=function(e){var n=eZ(e).filter(eM),t=ej(eP([e4(e,e,n)],!0),!0,!0),r=eP(n,!1);return t.map(function(e){var n=e.node;return{node:n,index:e.index,lockItem:r.indexOf(n)>=0,guard:eS(n)}})},na=function(e,n,t){if(!e||!n)return console.error("no element or scope given"),{};var r=ep(n);if(r.every(function(n){return!eW(n,e)}))return console.error("Active element is not contained in the scope"),{};var o=t?eD(r,new Map):eB(r,new Map),i=o.findIndex(function(n){return n.node===e});if(-1!==i)return{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}},nu=function(e,n){var t=n?eD(ep(e),new Map):eB(ep(e),new Map);return{first:t[0],last:t[t.length-1]}},nc=function(e,n,t){void 0===n&&(n={});var r,o=(r=n,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),i=na(e,o.scope,o.onlyTabbable);if(i){var a=t(i,o.cycle);a&&eY(a.node,o.focusOptions)}},nl=function(e,n,t){var r,o=nu(e,null===(r=n.onlyTabbable)||void 0===r||r)[t];o&&eY(o.node,n.focusOptions)};function ns(e){setTimeout(e,1)}var nd=function(e){return e&&"current"in e?e.current:e},nf=function(){return document&&document.activeElement===document.body},nv=null,nm=null,np=function(){return null},nh=null,nb=!1,ng=!1,ny=function(){return!0}
1,nx=function(e,n){nh={observerNode:e,portaledElement:n}};function nw(e,n,t,r){var o=null,i=e;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else if(a.lockItem){if(i!==e)return;o=null}else break}while((i+=t)!==n);o&&(o.node.tabIndex=0)}var nE=function(e){return eB(e,new Map)},nk=function(){var e=!1;if(nv){var n=nv,t=n.observed,r=n.persistentFocus,o=n.autoFocus,i=n.shards,a=n.crossFrame,u=n.focusOptions,c=n.noFocusGuards,l=t||nh&&nh.portaledElement;if(nf()&&nm&&nm!==document.body&&(!document.body.contains(nm)||!nE([(f=nm).parentNode]).some(function(e){return e.node===f}))){var s=np();s&&s.focus()}var d=document&&document.activeElement;if(l){var f,v=[l].concat(i.map(nd).filter(Boolean));if((!d||(nv.whiteList||ny)(d))&&(r||function(){if(!(a?Boolean(nb):"meanwhile"===nb)||!c||!nm||ng)return!1;var e=nE(v),n=e.findIndex(function(e){return e.node===nm});return 0===n||n===e.length-1}()||!(nf()||e$())||!nm&&o)&&(l&&!(eH(v)||d&&v.some(function(e){return function e(n,t,r){return t&&(t.host===n&&(!t.activeElement||r.contains(t.activeElement))||t.parentNode&&e(n,t.parentNode,r))}(d,e,e)})||nh&&nh.portaledElement===d)&&(document&&!nm&&d&&!o?(d.blur&&d.blur(),document.body.focus()):(e=ne(v,nm,{focusOptions:u}),nh={})),(nm=document&&document.activeElement)!==document.body&&(np=no(nm)),nb=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var m=document&&document.activeElement,p=ni(v),h=p.map(function(e){return e.node}).indexOf(m);h>-1&&(p.filter(function(e){var n=e.guard,t=e.node;return n&&t.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),nw(h,p.length,1,p),nw(h,-1,-1,p))}}}return e},nN=function(e){nk()&&e&&(e.stopPropagation(),e.preventDefault())},nC=function(){return ns(nk)},nS=function(){ng=!0},nM=function(){ng=!1,nb="just",ns(function(){nb="meanwhile"})},nO=function(){document.addEventListener("focusin",nN),document.addEventListener("focusout",nC),window.addEventListener("focus",nS),window.addEventListener("blur",nM)},n_=function(){document.removeEventListener("focusin",nN),document.removeEventListener("focusout",nC),window.removeEventListener("focus",nS),window.removeEventListener("blur",nM)},nj={moveFocusInside:ne,focusInside:eH,focusNextElement:function(e,n){void 0===n&&(n={}),nc(e,n,function(e,n){var t=e.next,r=e.first;return t||n&&r})},focusPrevElement:function(e,n){void 0===n&&(n={}),nc(e,n,function(e,n){var t=e.prev,r=e.last;return t||n&&r})},focusFirstElement:function(e,n){void 0===n&&(n={}),nl(e,n,"first")},focusLastElement:function(e,n){void 0===n&&(n={}),nl(e,n,"last")},captureFocusRestore:no};ei.assignSyncMedium(function(e){var n=e.target,t=e.currentTarget;t.contains(n)||nx(t,n)}),ea.assignMedium(nC),eu.assignMedium(function(e){return e(nj)});var nA=(r=function(e){var n=e.slice(-1)[0];n&&!nv&&nO();var t=nv,r=t&&n&&n.id===t.id;nv=n,!t||r||(t.onDeactivation(),e.filter(function(e){return e.id===t.id}).length||t.returnFocus(!n)),n?(nm=null,r&&t.observed===n.observed||n.onActivation(nj),nk(!0),ns(nk)):(n_(),nm=null)},function(e){var n,t,o,i,a,u=[];function c(){r(a=u.map(function(e){return e.props}).filter(function(e){return!e.disabled}))}var l=function(n){function t(){return n.apply(this,arguments)||this}(0,ef.Z)(t,n),t.peek=function(){return a};var r=t.prototype;return r.componentDidMount=function(){u.push(this),c()},r.componentDidUpdate=function(){c()},r.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),c()},r.render=function(){return s.createElement(e,this.props)},t}(s.PureComponent);return n=l,t="displayName",o="SideEffect("+(e.displayName||e.name||"Component")+")",(i=function(e,n){if("object"!=ev(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=ev(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(t,"string"),(t="symbol"==ev(i)?i:i+"")in n)?Object.defineProperty(n,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[t]=o,l})(function(){return null}),nT=(0,s.forwardRef)(function(e,n){return s.createElement(ed,(0,en.Z)({sideCar:nA,ref:n},e))}),nR=ed.propTypes||{};nR.sideCar,function(e,n){if(null!=e){var t={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==n.indexOf(r))continue;t[r]=e[r]}}}
1(nR,["sideCar"]),nT.propTypes={};var nI=t(9670);let nP=e=>e.hasAttribute("tabindex"),nF=e=>e.offsetWidth>0&&e.offsetHeight>0,nL=nT.default??nT,nD=e=>{let{initialFocusRef:n,finalFocusRef:t,contentRef:r,restoreFocus:o,children:a,isDisabled:u,autoFocus:c,persistentFocus:l,lockFocusAcrossFrames:d}=e,f=(0,s.useCallback)(()=>{if(n?.current)n.current.focus();else if(r?.current){let e=function(e){let n=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return n.unshift(e),n.filter(e=>(function(e){if(!(0,nI.Re)(e)||(0,nI.oI)(e)||(0,nI.nV)(e))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let t={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in t?t[n]():!!(0,nI.iU)(e)||nP(e)})(e)&&nF(e))}(r.current);0===e.length&&requestAnimationFrame(()=>{r.current?.focus()})}},[n,r]),v=(0,s.useCallback)(()=>{t?.current?.focus()},[t]);return(0,i.jsx)(nL,{crossFrame:d,persistentFocus:l,autoFocus:c,disabled:u,onActivation:f,onDeactivation:v,returnFocus:o&&!t,children:a})};function nB(e){let{autoFocus:n,trapFocus:t,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:u,finalFocusRef:d,returnFocusOnClose:f,preserveScrollBarGap:v,lockFocusAcrossFrames:m,isOpen:p}=(0,c.vR)(),[h,b]=(0,l.oO)();(0,s.useEffect)(()=>{!h&&b&&setTimeout(b)},[h,b]);let g=(0,ee.$)(r,p);return(0,i.jsx)(nD,{autoFocus:n,isDisabled:!t,initialFocusRef:o,finalFocusRef:d,restoreFocus:f,contentRef:r,lockFocusAcrossFrames:m,children:(0,i.jsx)(Q,{removeScrollBar:!v,allowPinchZoom:u,enabled:1===g&&a,forwardProps:!0,children:e.children})})}nD.displayName="FocusLock";var nW=t(3851),nG=t(3258),nq=t(6765);let n$={exit:{duration:.15,ease:nq.Lj.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},nU={exit:({direction:e,transition:n,transitionEnd:t,delay:r})=>{let{exit:o}=(0,nq.js)({direction:e});return{...o,transition:n?.exit??nq.p$.exit(n$.exit,r),transitionEnd:t?.exit}},enter:({direction:e,transitionEnd:n,transition:t,delay:r})=>{let{enter:o}=(0,nq.js)({direction:e});return{...o,transition:t?.enter??nq.p$.enter(n$.enter,r),transitionEnd:n?.enter}}},nz=(0,s.forwardRef)(function(e,n){let{direction:t="right",style:r,unmountOnExit:o,in:u,className:c,transition:l,transitionEnd:s,delay:d,motionProps:f,animatePresenceProps:v,...m}=e,p=(0,nq.js)({direction:t}),h=Object.assign({position:"fixed"},p.position,r),b={transitionEnd:s,transition:l,direction:t,delay:d};return(0,i.jsx)(nW.M,{...v,custom:b,children:(!o||u&&o)&&(0,i.jsx)(nG.E.div,{...m,ref:n,initial:"exit",className:(0,a.cx)("chakra-slide",c),animate:u||o?"enter":"exit",exit:"exit",custom:b,variants:nU,style:h,...f})})});nz.displayName="Slide";var nZ=t(1816),nH=t(4553);let nY=(0,nZ.m)(nz),nX=(0,nH.G)((e,n)=>{let{className:t,children:r,motionProps:o,containerProps:l,...s}=e,{getDialogProps:d,getDialogContainerProps:f,isOpen:v}=(0,c.vR)(),m=d(s,n),p=f(l),h=(0,a.cx)("chakra-modal__content",t),b=(0,c.I_)(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...b.dialog},y={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...b.dialogContainer},{placement:x}=(0,u.M$)();return(0,i.jsx)(nB,{children:(0,i.jsx)(nZ.m.div,{...p,className:"chakra-modal__content-container",__css:y,children:(0,i.jsx)(nY,{motionProps:o,direction:x,in:v,className:h,...m,__css:g,children:r})})})});nX.displayName="DrawerContent"},8785:function(e,n,t){t.d(n,{M$:function(){return c},dy:function(){return s}});var r=t(2676),o=t(4242),i=t(4734),a=t(5583);let[u,c]=(0,o.k)(),l={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function s(e){let{isOpen:n,onClose:t,placement:o="right",children:c,...s}=e,d=(0,a.F)(),f=d.components?.Drawer,v=function(e,n){if(e)return l[e]?.[n]??e}(o,d.direction);return(0,r.jsx)(u,{value:{placement:v},children:(0,r.jsx)(i.u_,{isOpen:n,onClose:t,styleConfig:f,...s,children:c})})}},3520:function(e,n,t){t.d(n,{f:function(){return l}});var r=t(2676),o=t(5558),i=t(5271),a=t(4734),u=t(4553),c=t(1816);let l=(0,u.G)((e,n)=>{let{className:t,...u}=e,{bodyId:l,setBodyMounted:s}=(0,a.vR)();(0,i.useEffect)(()=>(s(!0),()=>s(!1)),[s]);let d=(0,o.cx)("chakra-modal__body",t),f=(0,a.I_)();return(0,r.jsx)(c.m.div,{ref:n,className:d,id:l,...u,__css:f.body})});l.displayName="ModalBody"},7198:function(e,n,t){t.d(n,{o:function(){return l}});var r=t(2676),o=t(5558),i=t(5631),a=t(4734),u=t(903),c=t(4553);let l=(0,c.G)((e,n)=>{let{onClick:t,className:c,...l}=e,{onClose:s}=(0,a.vR)(),d=(0,o.cx)("chakra-modal__close-btn",c),f=(0,a.I_)();return(0,r.jsx)(u.P,{ref:n,__css:f.closeButton,className:d,onClick:(0,i.v)(t,e=>{e.stopPropagation(),s()}),...l})});l.displayName="ModalCloseButton"},3442:function(e,n,t){t.d(n,{x:function(){return s}});var r=t(2676),o=t(4719),i=t(5558),a=t(5271),u=t(4734),c=t(4553),l=t(1816);let s=(0,c.G)((e,n)=>{let{className:t,...c}=e,{headerId:s,setHeaderMounted:d}=(0,u.vR)();(0,a.useEffect)(()=>(d(!0),()=>d(!1)),[d]);let f=(0,i.cx)("chakra-modal__header",t),v=(0,u.I_)(),m=(0,o.k0)({flex:0,...v.header});return(0,r.jsx)(l.m.header,{ref:n,className:f,id:s,...c,__css:m})});s.displayName="ModalHeader"},9442:function(e,n,t){t.d(n,{$:function(){return c},m:function(){return u}});var r=t(5271),o=Object.defineProperty,i=(e,n,t)=>n in e?o(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,a=(e,n,t)=>(i(e,"symbol"!=typeof n?n+"":n,t),t);let u=new class{constructor(){a(this,"modals"),this.modals=new Set}add(e){return this.modals.add(e),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){if(!e)return!1;let n=Array.from(this.modals)[this.modals.size-1];return e===n}};function c(e,n){let[t,o]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t=e.current;if(t){if(n){let e=u.add(t);o(e)}return()=>{u.remove(t),o(0)}}},[n,e]),t}},6985:function(e,n,t){t.d(n,{Z:function(){return p}});var r=t(2676),o=t(5558),i=t(3258),a=t(4734),u=t(3851),c=t(5271),l=t(6765);let s={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:n,delay:t}={})=>({opacity:1,transition:e?.enter??l.p$.enter(l.Sh.enter,t),transitionEnd:n?.enter}),exit:({transition:e,transitionEnd:n,delay:t}={})=>({opacity:0,transition:e?.exit??l.p$.exit(l.Sh.exit,t),transitionEnd:n?.exit})}},d=(0,c.forwardRef)(function(e,n){let{unmountOnExit:t,in:a,className:c,transition:l,transitionEnd:d,delay:f,animatePresenceProps:v,...m}=e,p={transition:l,transitionEnd:d,delay:f};return(0,r.jsx)(u.M,{...v,custom:p,children:(!t||a&&t)&&(0,r.jsx)(i.E.div,{ref:n,className:(0,o.cx
1)("chakra-fade",c),custom:p,...s,animate:a||t?"enter":"exit",...m})})});d.displayName="Fade";var f=t(1816),v=t(4553);let m=(0,f.m)(i.E.div),p=(0,v.G)((e,n)=>{let{className:t,transition:i,motionProps:u,...c}=e,l=(0,o.cx)("chakra-modal__overlay",t),d=(0,a.I_)(),f={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...d.overlay},{motionPreset:v}=(0,a.vR)();return(0,r.jsx)(m,{...u||("none"===v?{}:s),__css:f,ref:n,className:l,...c})});p.displayName="ModalOverlay"},4734:function(e,n,t){t.d(n,{u_:function(){return k},vR:function(){return E},I_:function(){return x}});var r=t(2676),o=t(4242),i=t(3851),a=t(8483),u=t(5631),c=new WeakMap,l=new WeakMap,s={},d=0,f=function(e){return e&&(e.host||f(e.parentNode))},v=function(e,n,t,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(n.contains(e))return e;var t=f(e);return t&&n.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",n,". Doing nothing"),null)}).filter(function(e){return Boolean(e)});s[t]||(s[t]=new WeakMap);var i=s[t],a=[],u=new Set,v=new Set(o),m=function(e){!e||u.has(e)||(u.add(e),m(e.parentNode))};o.forEach(m);var p=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))p(e);else try{var n=e.getAttribute(r),o=null!==n&&"false"!==n,s=(c.get(e)||0)+1,d=(i.get(e)||0)+1;c.set(e,s),i.set(e,d),a.push(e),1===s&&o&&l.set(e,!0),1===d&&e.setAttribute(t,"true"),o||e.setAttribute(r,"true")}catch(n){console.error("aria-hidden: cannot operate on ",e,n)}})};return p(n),u.clear(),d++,function(){a.forEach(function(e){var n=c.get(e)-1,o=i.get(e)-1;c.set(e,n),i.set(e,o),n||(l.has(e)||e.removeAttribute(r),l.delete(e)),o||e.removeAttribute(t)}),--d||(c=new WeakMap,c=new WeakMap,l=new WeakMap,s={})}},m=function(e,n,t){void 0===t&&(t="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=n||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),v(r,o,t,"aria-hidden")):function(){return null}},p=t(5271),h=t(9442),b=t(9179),g=t(6925);let[y,x]=(0,o.k)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[w,E]=(0,o.k)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),k=e=>{let n={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames??!0},{portalProps:t,children:o,autoFocus:c,trapFocus:l,initialFocusRef:s,finalFocusRef:d,returnFocusOnClose:f,blockScrollOnMount:v,allowPinchZoom:x,preserveScrollBarGap:E,motionPreset:k,lockFocusAcrossFrames:N,animatePresenceProps:C,onCloseComplete:S}=n,M=(0,g.j)("Modal",n),O=function(e){let{isOpen:n,onClose:t,id:r,closeOnOverlayClick:o=!0,closeOnEsc:i=!0,useInert:c=!0,onOverlayClick:l,onEsc:s}=e,d=(0,p.useRef)(null),f=(0,p.useRef)(null),[v,b,g]=function(e,...n){let t=(0,p.useId)(),r=e||t;return(0,p.useMemo)(()=>n.map(e=>`${e}-${r}`),[r,n])}(r,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,n){let t=e.current;(0,p.useEffect)(()=>{if(e.current&&n)return m(e.current)},[n,e,t])}(d,n&&c);let y=(0,h.$)(d,n),x=(0,p.useRef)(null),w=(0,p.useCallback)(e=>{x.current=e.target},[]),E=(0,p.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),i&&t?.(),s?.())},[i,t,s]),[k,N]=(0,p.useState)(!1),[C,S]=(0,p.useState)(!1),M=(0,p.useCallback)((e={},n=null)=>({role:"dialog",...e,ref:(0,a.lq)(n,d),id:v,tabIndex:-1,"aria-modal":!0,"aria-labelledby":k?b:void 0,"aria-describedby":C?g:void 0,onClick:(0,u.v)(e.onClick,e=>e.stopPropagation())}),[g,C,v,b,k]),O=(0,p.useCallback)(e=>{e.stopPropagation(),x.current===e.target&&h.m.isTopModal(d.current)&&(o&&t?.(),l?.())},[t,o,l]),_=(0,p.useCallback)((e={},n=null)=>({...e,ref:(0,a.lq)(n,f),onClick:(0,u.v)(e.onClick,O),onKeyDown:(0,u.v)(e.onKeyDown,E),onMouseDown:(0,u.v)(e.onMouseDown,w)}),[E,w,O]);return{isOpen:n,onClose:t,headerId:b,bodyId:g,setBodyMounted:S,setHeaderMounted:N,dialogRef:d,overlayRef:f,getDialogProps:M,getDialogContainerProps:_,index:y}}(n),_={...O,autoFocus:c,trapFocus:l,initialFocusRef:s,finalFocusRef:d,returnFocusOnClose
1:f,blockScrollOnMount:v,allowPinchZoom:x,preserveScrollBarGap:E,motionPreset:k,lockFocusAcrossFrames:N};return(0,r.jsx)(w,{value:_,children:(0,r.jsx)(y,{value:M,children:(0,r.jsx)(i.M,{...C,onExitComplete:S,children:_.isOpen&&(0,r.jsx)(b.h,{...t,children:o})})})})};k.displayName="Modal"},3657:function(e,n,t){t.d(n,{U:function(){return a}});var r=t(2676),o=t(6448),i=t(4553);let a=(0,i.G)((e,n)=>(0,r.jsx)(o.K,{align:"center",...e,direction:"row",ref:n}));a.displayName="HStack"}}]);

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.