vendor: 9,498 bytes, line 1
1import{e as te,g as xe}from"/build/_shared/chunk-O2ZIKJRM.js";import{b as Re}from"/build/_shared/chunk-4SNTYEYZ.js";import{C as _t,a as T}from"/build/_shared/chunk-WFNQTVCJ.js";import{a as Rt,c as xt,d as P}from"/build/_shared/chunk-G5WX4PPA.js";var Lt={};xt(Lt,{__addDisposableResource:()=>tt,__assign:()=>R,__asyncDelegator:()=>Xe,__asyncGenerator:()=>ze,__asyncValues:()=>Ye,__await:()=>k,__awaiter:()=>He,__classPrivateFieldGet:()=>$e,__classPrivateFieldIn:()=>et,__classPrivateFieldSet:()=>Je,__createBinding:()=>z,__decorate:()=>Fe,__disposeResources:()=>rt,__esDecorate:()=>Ie,__exportStar:()=>Ve,__extends:()=>Ne,__generator:()=>Ue,__importDefault:()=>Qe,__importStar:()=>qe,__makeTemplateObject:()=>Ze,__metadata:()=>Be,__param:()=>ke,__propKey:()=>De,__read:()=>ie,__rest:()=>I,__rewriteRelativeImportExtension:()=>nt,__runInitializers:()=>Le,__setFunctionName:()=>We,__spread:()=>Ke,__spreadArray:()=>X,__spreadArrays:()=>Ge,__values:()=>G,default:()=>It});function Ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ae(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function I(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Fe(e,t,r,n){var o=arguments.length,a=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function ke(e,t){return function(r,n){t(r,n,e)}}function Ie(e,t,r,n,o,a){function i(m){if(m!==void 0&&typeof m!="function")throw new TypeError("Function expected");return m}for(var c=n.kind,v=c==="getter"?"get":c==="setter"?"set":"value",l=!t&&e?n.static?e:e.prototype:null,d=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),s,h=!1,f=r.length-1;f>=0;f--){var y={};for(var u in n)y[u]=u==="access"?{}:n[u];for(var u in n.access)y.access[u]=n.access[u];y.addInitializer=function(m){if(h)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(m||null))};var p=(0,r[f])(c==="accessor"?{get:d.get,set:d.set}:d[v],y);if(c==="accessor"){if(p===void 0)continue;if(p===null||typeof p!="object")throw new TypeError("Object expected");(s=i(p.get))&&(d.get=s),(s=i(p.set))&&(d.set=s),(s=i(p.init))&&o.unshift(s)}else(s=i(p))&&(c==="field"?o.unshift(s):d[v]=s)}l&&Object.defineProperty(l,n.name,d),h=!0}function Le(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function De(e){return typeof e=="symbol"?e:"".concat(e)}function We(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Be(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function He(e,t,r,n){function o(a){return a instanceof r?a:new r(function(i){i(a)})}return new(r||(r=Promise))(function(a,i){function c(d){try{l(n.next(d))}catch(s){i(s)}}function v(d){try{l(n.throw(d))}catch(s){i(s)}}function l(d){d.done?a(d.value):o(d.value).then(c,v)}l((n=n.apply(e,t||[])).next())})}function Ue(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(d){return v([l,d])}}function v(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(r=0)),r;)try{if(n=1,o&&(a=l[0]&2?o.return:l[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,l[1])).done)return a;switch(o=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(d){l=[6,d],o=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ve(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&z(t,e,r)}function G(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ie(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(c){i={error:c}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a}function Ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ie(arguments[t]));return e}function Ge(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function X(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function ze(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,a=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",i),o[Symbol.asyncIterator]=function(){return this},o;function i(f){return function(y){return Promise.resolve(y).then(f,s)}}function c(f,y){n[f]&&(o[f]=function(u){return new Promise(function(p,m){a.push([f,u,p,m])>1||v(f,u)})},y&&(o[f]=y(o[f])))}function v(f,y){try{l(n[f](y))}catch(u){h(a[0][3],u)}}function l(f){f.value instanceof k?Promise.resolve(f.value.v).then(d,s):h(a[0][2],f)}function d(f){v("next",f)}function s(f){v("throw",f)}function h(f,y){f(y),a.shift(),a.length&&v(a[0][0],a[0][1])}}function Xe(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,a){t[o]=e[o]?function(i){return(r=!r)?{value:k(e[o](i)),done:!1}:a?a(i):i}:a}}function Ye(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof G=="function"?G(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(c,v){i=e[a](i),o(c,v,i.done,i.value)})}}function o(a,i,c,v){Promise.resolve(v).then(function(l){a({value:l,done:c})},i)}}function Ze(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function qe(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ce(e),n=0;n<r.length;n++)r[n]!=="default"&&z(t,e,r[n]);return Ft(t,e),t}function Qe(e){return e&&e.__esModule?e:{default:e}}function $e(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function Je(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r}function et(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function tt(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(a){return Promise.reject(a)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}function rt(e){function t(a){e.error=e.hasError?new kt(a,e.error,"An error was suppressed during disposal."):a,e.hasError=!0}var r,n=0;function o(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,function(i){return t(i),o()})}else n|=1}catch(i){t(i)}
1if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return o()}function nt(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,o,a,i){return n?t?".jsx":".js":o&&(!a||!i)?r:o+a+"."+i.toLowerCase()+"js"}):e}var ae,R,z,Ft,ce,kt,It,L=Rt(()=>{ae=function(e,t){return ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},ae(e,t)};R=function(){return R=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},R.apply(this,arguments)};z=Object.create?function(e,t,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};Ft=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},ce=function(e){return ce=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},ce(e)};kt=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};It={__extends:Ne,__assign:R,__rest:I,__decorate:Fe,__param:ke,__esDecorate:Ie,__runInitializers:Le,__propKey:De,__setFunctionName:We,__metadata:Be,__awaiter:He,__generator:Ue,__createBinding:z,__exportStar:Ve,__values:G,__read:ie,__spread:Ke,__spreadArrays:Ge,__spreadArray:X,__await:k,__asyncGenerator:ze,__asyncDelegator:Xe,__asyncValues:Ye,__makeTemplateOb
vendor: 5,153 bytes, line 1
1ject:Ze,__importStar:qe,__importDefault:Qe,__classPrivateFieldGet:$e,__classPrivateFieldSet:Je,__classPrivateFieldIn:et,__addDisposableResource:tt,__disposeResources:rt,__rewriteRelativeImportExtension:nt}});var O=P(T(),1);var Te=P(_t(),1),re="focusScope.autoFocusOnMount",ne="focusScope.autoFocusOnUnmount",_e={bubbles:!1,cancelable:!0},Ct="FocusScope",Ot=O.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[c,v]=O.useState(null),l=te(o),d=te(a),s=O.useRef(null),h=Re(t,u=>v(u)),f=O.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;O.useEffect(()=>{if(n){let S=function(_){if(f.paused||!c)return;let C=_.target;c.contains(C)?s.current=C:A(s.current,{select:!0})},g=function(_){if(f.paused||!c)return;let C=_.relatedTarget;C!==null&&(c.contains(C)||A(s.current,{select:!0}))},E=function(_){if(document.activeElement===document.body)for(let F of _)F.removedNodes.length>0&&A(c)};var u=S,p=g,m=E;document.addEventListener("focusin",S),document.addEventListener("focusout",g);let w=new MutationObserver(E);return c&&w.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",g),w.disconnect()}}},[n,c,f.paused]),O.useEffect(()=>{if(c){Oe.add(f);let u=document.activeElement;if(!c.contains(u)){let m=new CustomEvent(re,_e);c.addEventListener(re,l),c.dispatchEvent(m),m.defaultPrevented||(Pt(Nt(Ae(c)),{select:!0}),document.activeElement===u&&A(c))}return()=>{c.removeEventListener(re,l),setTimeout(()=>{let m=new CustomEvent(ne,_e);c.addEventListener(ne,d),c.dispatchEvent(m),m.defaultPrevented||A(u??document.body,{select:!0}),c.removeEventListener(ne,d),Oe.remove(f)},0)}}},[c,l,d,f]);let y=O.useCallback(u=>{if(!r&&!n||f.paused)return;let p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,m=document.activeElement;if(p&&m){let S=u.currentTarget,[g,E]=Tt(S);g&&E?!u.shiftKey&&m===E?(u.preventDefault(),r&&A(g,{select:!0})):u.shiftKey&&m===g&&(u.preventDefault(),r&&A(E,{select:!0})):m===S&&u.preventDefault()}},[r,n,f.paused]);return(0,Te.jsx)(xe.div,{tabIndex:-1,...i,ref:h,onKeyDown:y})});Ot.displayName=Ct;function Pt(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(A(n,{select:t}),document.activeElement!==r)return}function Tt(e){let t=Ae(e),r=Ce(t,e),n=Ce(t.reverse(),e);return[r,n]}function Ae(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Ce(e,t){for(let r of e)if(!At(r,{upTo:t}))return r}function At(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Mt(e){return e instanceof HTMLInputElement&&"select"in e}function A(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Mt(e)&&t&&e.select()}}var Oe=jt();function jt(){let e=[];return{add(t){let r=e[0];t!==r&&r?.pause(),e=Pe(e,t),e.unshift(t)},remove(t){e=Pe(e,t),e[0]?.resume()}}}function Pe(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Nt(e){return e.filter(t=>t.tagName!=="A")}var je=P(T(),1),oe=0;function pr(){je.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Me()),document.body.insertAdjacentElement("beforeend",e[1]??Me()),oe++,()=>{oe===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),oe--}},[])}function Me(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}L();var $=P(T());L();var x=P(T());var M="right-scroll-bar-position",j="width-before-scroll-bar",ue="with-scroll-bars-hidden",le="--removed-body-scroll-bar-size";function Y(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var ot=P(T());function at(e,t){var r=(0,ot.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var Z=P(T());var Dt=typeof window<"u"?Z.useLayoutEffect:Z.useEffect,ct=new WeakMap;function se(e,t){var r=at(t||null,function(n){return e.forEach(function(o){return Y(o,n)})});return Dt(function(){var n=ct.get(r);if(n){var o=new Set(n),a=new Set(e),i=r.current;o.forEach(function(c){a.has(c)||Y(c,null)}),a.forEach(function(c){o.has(c)||Y(c,i)})}ct.set(r,e)},[e]),r}L();function Wt(e){return e}function Bt(e,t){t===void 0&&(t=Wt);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(c){return c!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;
vendor: 7,826 bytes, lines 1-41
1r=[],i.forEach(a)}r={push:function(c){return a(c)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var c=r;r=[],c.forEach(a),i=r}var v=function(){var d=i;i=[],d.forEach(a)},l=function(){return Promise.resolve().then(v)};l(),r={push:function(d){i.push(d),l()},filter:function(d){return i=i.filter(d),r}}}};return o}function fe(e){e===void 0&&(e={});var t=Bt(null);return t.options=R({async:!0,ssr:!1},e),t}L();var it=P(T()),ut=function(e){var t=e.sideCar,r=I(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return it.createElement(n,R({},r))};ut.isSideCarExport=!0;function de(e,t){return e.useMedium(t),ut}var q=fe();var pe=function(){},U=x.forwardRef(function(e,t){var r=x.useRef(null),n=x.useState({onScrollCapture:pe,onWheelCapture:pe,onTouchMoveCapture:pe}),o=n[0],a=n[1],i=e.forwardProps,c=e.children,v=e.className,l=e.removeScrollBar,d=e.enabled,s=e.shards,h=e.sideCar,f=e.noIsolation,y=e.inert,u=e.allowPinchZoom,p=e.as,m=p===void 0?"div":p,S=e.gapMode,g=I(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=h,w=se([r,t]),_=R(R({},g),o);return x.createElement(x.Fragment,null,d&&x.createElement(E,{sideCar:q,removeScrollBar:l,shards:s,noIsolation:f,inert:y,setCallbacks:a,allowPinchZoom:!!u,lockRef:r,gapMode:S}),i?x.cloneElement(x.Children.only(c),R(R({},_),{ref:w})):x.createElement(m,R({},_,{className:v,ref:w}),c))});U.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};U.classNames={fullWidth:j,zeroRight:M};L();var b=P(T());var W=P(T());var ft=P(T());var lt;var st=function(){if(lt)return lt;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ht(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=st();return t&&e.setAttribute("nonce",t),e}function Ut(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Vt(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var me=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Ht())&&(Ut(t,r),Vt(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var ve=function(){var e=me();return function(t,r){ft.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}};var V=function(){var e=ve(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t};var Kt={left:0,top:0,right:0,gap:0},he=function(e){return parseInt(e||"",10)||0},Gt=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[he(r),he(n),he(o)]},ye=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Kt;var t=Gt(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}};var zt=V(),D="data-scroll-locked",Xt=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,c=e.gap;return r===void 0&&(r="margin"),` 2 .`.concat(ue,` { 3 overflow: hidden `).concat(n,`; 4 padding-right: `).concat(c,"px ").concat(n,`; 5 } 6 body[`).concat(D,`] { 7 overflow: hidden `).concat(n,`; 8 overscroll-behavior: contain; 9 `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` 10 padding-left: `.concat(o,`px; 11 padding-top: `).concat(a,`px; 12 padding-right: `).concat(i,`px; 13 margin-left:0; 14 margin-top:0; 15 margin-right: `).concat(c,"px ").concat(n,`; 16 `),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";")].filter(Boolean).join(""),` 17 } 18 19 .`).concat(M,` { 20 right: `).concat(c,"px ").concat(n,`; 21 } 22 23 .`).concat(j,` { 24 margin-right: `).concat(c,"px ").concat(n,`; 25 } 26 27 .`).concat(M," .").concat(M,` { 28 right: 0 `).concat(n,`; 29 } 30 31 .`).concat(j," .").concat(j,` { 32 margin-right: 0 `).concat(n,`; 33 } 34 35 body[`).concat(D,`] { 36 `).concat(le,": ").concat(c,`px; 37 } 38`)},dt=function(){var e=parseInt(document.body.getAttribute(D)||"0",10);return isFinite(e)?e:0},Yt=function(){W.useEffect(function(){return document.body.setAttribute(D,(dt()+1).toString()),function(){var e=dt()-1;e<=0?document.body.removeAttribute(D):document.body.setAttribute(D,e.toString())}},[])},be=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;Yt();var a=W.useMemo(function(){return ye(o)},[o]);return W.createElement(zt,{styles:Xt(a,!t,o,r?"":"!important")})};var ge=!1;if(typeof window<"u")try{K=Object.defineProperty({},"passive",{get:function(){return ge=!0,!0}}),window.addEventListener("test",K,K),window.removeEventListener("test",K,K)}catch{ge=!1}var K,N=ge?{passive:!1}:!1;var Zt=function(e){return e.tagName==="TEXTAREA"},pt=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Zt(e)&&r[t]==="visible")},qt=function(e){return pt(e,"overflowY")},Qt=function(e){return pt(e,"overflowX")},we=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=mt(e,n);if(o){var a=vt(e,n),i=a[1],c=a[2];if(i>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},$t=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Jt=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},mt=function(e,t){return e==="v"?qt(t):Qt(t)},vt=function(e,t){return e==="v"?$t(t):Jt(t)},er=function(e,t){return e==="h"&&t==="rtl"?-1:1},ht=function(e,t,r,n,o){var a=er(e,window.getComputedStyle(t).direction),i=a*n,c=r.target,v=t.contains(c),l=!1,d=i>0,s=0,h=0;do{var f=vt(e,c),y=f[0],u=f[1],p=f[2],m=u-p-a*y;(y||m)&&mt(e,c)&&(s+=m,h+=y),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!v&&c!==document.body||v&&(t.contains(c)||t===c));return(d&&(o&&Math.abs(s)<1||!o&&i>s)||!d&&(o&&Math.abs(h)<1||!o&&-i>h))&&(l=!0),l};var Q=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yt=function(e){return[e.deltaX,e.deltaY]},bt=function(e){return e&&"current"in e?e.current:e},tr=function(e,t){return e[0]===t[0]&&e[1]===t[1]},rr=function(e){return` 39 .block-interactivity-`.concat(e,` {pointer-events: none;} 40 .allow-interactivity-`).concat(e,` {pointer-events: all;} 41`)},nr=0,B=[];function gt(e){var t=b.useRef([]),r=b.useRef([0,0]),n=b.useRef(),o=b.useState(nr++)[0],a=b.useState(V)[0],i=b.useRef(e);b.useEffect(function(){i.current=e},[e]),b.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var u=X([e.lockRef.current],(e.shards||[]).map(bt),!0).filter(Boolean);return u.forEach(function(p){return p.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),u.forEach(function(p){return p.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=b.useCallback(function(u,p){if("touches"in u&&u.touches.length===2)return!i.current.allowPinchZoom;var m=Q(u),S=r.current,g="deltaX"in u?u.deltaX:S[0]-m[0],E="deltaY"in u?u.deltaY:S[1]-m[1],w,_=u.target,C=Math.abs(g)>Math.abs(E)?"h":"v";if("touches"in u&&C==="h"&&_.type==="range")return!1;var F=we(C,_);if(!F)return!0;if(F?w=C:(w=C==="v"?"h":"v",F=we(C,_)),!F)return!1;if(!n.current&&"changedTouches"in u&&(g||E)&&(n.current=w),!w)return!0;var Ee=n.current||w;return ht(Ee,p,u,Ee==="h"?g:E,!0)},[]),v=b.useCallback(function(u){var p=u;if(!(!B.length||B[B.length-1]!==a)){var m="deltaY"in p?yt(p):Q(p),S=t.current.filter(function(w){return w.name===p.type&&(w.target===p.target||p.target===w.shadowParent)&&tr(w.delta,m)})[0];if(S&&S.should){p.cancelable&&p.preventDefault();return}
vendor: 3,013 bytes, line 41
41if(!S){var g=(i.current.shards||[]).map(bt).filter(Boolean).filter(function(w){return w.contains(p.target)}),E=g.length>0?c(p,g[0]):!i.current.noIsolation;E&&p.cancelable&&p.preventDefault()}}},[]),l=b.useCallback(function(u,p,m,S){var g={name:u,delta:p,target:m,should:S,shadowParent:or(m)};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(E){return E!==g})},1)},[]),d=b.useCallback(function(u){r.current=Q(u),n.current=void 0},[]),s=b.useCallback(function(u){l(u.type,yt(u),u.target,c(u,e.lockRef.current))},[]),h=b.useCallback(function(u){l(u.type,Q(u),u.target,c(u,e.lockRef.current))},[]);b.useEffect(function(){return B.push(a),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:h}),document.addEventListener("wheel",v,N),document.addEventListener("touchmove",v,N),document.addEventListener("touchstart",d,N),function(){B=B.filter(function(u){return u!==a}),document.removeEventListener("wheel",v,N),document.removeEventListener("touchmove",v,N),document.removeEventListener("touchstart",d,N)}},[]);var f=e.removeScrollBar,y=e.inert;return b.createElement(b.Fragment,null,y?b.createElement(a,{styles:rr(o)}):null,f?b.createElement(be,{gapMode:e.gapMode}):null)}function or(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var wt=de(q,gt);var St=$.forwardRef(function(e,t){return $.createElement(U,R({},e,{ref:t,sideCar:wt}))});St.classNames=U.classNames;var ar=St;var cr=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},H=new WeakMap,J=new WeakMap,ee={},Se=0,Et=function(e){return e&&(e.host||Et(e.parentNode))},ir=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Et(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},ur=function(e,t,r,n){var o=ir(t,Array.isArray(e)?e:[e]);ee[r]||(ee[r]=new WeakMap);var a=ee[r],i=[],c=new Set,v=new Set(o),l=function(s){!s||c.has(s)||(c.add(s),l(s.parentNode))};o.forEach(l);var d=function(s){!s||v.has(s)||Array.prototype.forEach.call(s.children,function(h){if(c.has(h))d(h);else try{var f=h.getAttribute(n),y=f!==null&&f!=="false",u=(H.get(h)||0)+1,p=(a.get(h)||0)+1;H.set(h,u),a.set(h,p),i.push(h),u===1&&y&&J.set(h,!0),p===1&&h.setAttribute(r,"true"),y||h.setAttribute(n,"true")}catch(m){console.error("aria-hidden: cannot operate on ",h,m)}})};return d(t),c.clear(),Se++,function(){i.forEach(function(s){var h=H.get(s)-1,f=a.get(s)-1;H.set(s,h),a.set(s,f),h||(J.has(s)||s.removeAttribute(n),J.delete(s)),f||s.removeAttribute(r)}),Se--,Se||(H=new WeakMap,H=new WeakMap,J=new WeakMap,ee={})}},Rn=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||cr(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),ur(n,o,r,"aria-hidden")):function(){return null}};export{I as a,He as b,Lt as c,L as d,Ot as e,pr as f,ar as g,Rn as h};
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.