1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8034],{78034:(e,n,t)=>{t.d(n,{A:()=>K});var r,o,a=t(31995),c=t(14435),i="right-scroll-bar-position",u="width-before-scroll-bar";function l(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}var d="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,s=new WeakMap;function f(e){return e}var h=function(e){void 0===e&&(e={});var n,t,r,o,c=(n=null,void 0===t&&(t=f),r=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var n=t(e,o);return r.push(n),function(){r=r.filter(function(e){return e!==n})}},assignSyncMedium:function(e){for(o=!0;r.length;){var n=r;r=[],n.forEach(e)}r={push:function(n){return e(n)},filter:function(){return r}}},assignMedium:function(e){o=!0;var n=[];if(r.length){var t=r;r=[],t.forEach(e),n=r}var a=function(){var t=n;n=[],t.forEach(e)},c=function(){return Promise.resolve().then(a)};c(),r={push:function(e){n.push(e),c()},filter:function(e){return n=n.filter(e),r}}}});return c.options=(0,a.Cl)({async:!0,ssr:!1},e),c}(),v=function(){},m=c.forwardRef(function(e,n){var t,r,o,i,u=c.useRef(null),f=c.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),m=f[0],p=f[1],g=e.forwardProps,w=e.children,b=e.className,y=e.removeScrollBar,E=e.enabled,C=e.shards,S=e.sideCar,k=e.noIsolation,R=e.inert,M=e.allowPinchZoom,T=e.as,L=e.gapMode,N=(0,a.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=(t=[u,n],r=function(e){return t.forEach(function(n){return l(n,e)})},(o=(0,c.useState)(function(){return{value:null,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,i=o.facade,d(function(){var e=s.get(i);if(e){var n=new Set(e),r=new Set(t),o=i.current;n.forEach(function(e){r.has(e)||l(e,null)}),r.forEach(function(e){n.has(e)||l(e,o)})}s.set(i,t)},[t]),i),P=(0,a.Cl)((0,a.Cl)({},N),m);return c.createElement(c.Fragment,null,E&&c.createElement(S,{sideCar:h,removeScrollBar:y,shards:C,noIsolation:k,inert:R,setCallbacks:p,allowPinchZoom:!!M,lockRef:u,gapMode:L}),g?c.cloneElement(c.Children.only(w),(0,a.Cl)((0,a.Cl)({},P),{ref:x})):c.createElement(void 0===T?"div":T,(0,a.Cl)({},P,{className:b,ref:x}
1),w))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:u,zeroRight:i};var p=function(e){var n=e.sideCar,t=(0,a.Tt)(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 c.createElement(r,(0,a.Cl)({},t))};p.isSideCarExport=!0;var g=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 a,c;(a=n).styleSheet?a.styleSheet.cssText=r:a.appendChild(document.createTextNode(r)),c=n,(document.head||document.getElementsByTagName("head")[0]).appendChild(c)}e++},remove:function(){--e||!n||(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},w=function(){var e=g();return function(n,t){c.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},b=function(){var e=w();return function(n){return e(n.styles,n.dynamic),null}},y={left:0,top:0,right:0,gap:0},E=function(e){return parseInt(e||"",10)||0},C=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[E(t),E(r),E(o)]},S=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return y;var n=C(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])}},k=b(),R="data-scroll-locked",M=function(e,n,t,r){var o=e.left,a=e.top,c=e.right,l=e.gap;return void 0===t&&(t="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(R,"] {\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(a,"px;\n padding-right: ").concat(c,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===t&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(i," .").concat(i," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},T=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},L=function(){c.useEffect(function(){return document.body.setAttribute(R,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},N=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var a=c.useMemo(function(){return S(o)},[o]);return c.createElement(k,{styles:M(a,!n,o,t?"":"!important")})},x=!1;if("undefined"!=typeof window)try{var P=Object.defineProperty({},"passive",{get:function(){return x=!0,!0}});window.addEventListener("test",P,P),window.removeEventListener("test",P,P)}catch(e){x=!1}var B=!!x&&{passive:!1},A=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])},W=function(e,n){var t=n.ownerDocument,r=n;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),X(e,r)){var o=I(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==t.body);return!1},X=function(e,n){return"v"===e?A(n,"overflowY"):A(n,"overflowX")},I=function(e,n){return"v"===e?[n.scrollTop,n.scrollHeight,n.clientHeight]:[n.scrollLeft,n.scrollWidth,n.clientWidth]},Y=function(e,n,t,r,o){var a,c=(a=window.getComputedStyle(n).direction,"h"===e&&"rtl"===a?-1:1),i=c*r,u=t.target,l=n.contains(u),d=!1,s=i>0,f=0,h=0;do{var v=I(e,u),m=v[0],p=v[1]-v[2]-c*m;(m||p)&&X(e,u)&&(f+=p,h+=m),u=u instanceof ShadowRoot?u.host:u.parentNode}while(!l&&u!==document.body||l&&(n.contains(u)||n===u));return s&&(o&&1>Math.abs(f)||!o&&i>f)?d=!0:!s&&(o&&1>Math.abs(h)||!o&&-i>h)&&(d=!0),d},Z=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},_=function(e){return[e.deltaX,e.deltaY]},D=function(e){return e&&"current"in e?e.current:e},F=0,j=[];let z=(r=function(e){var n=c.useRef([]),t=c.useRef([0,0]),r=c.useRef(),o=c.useState(F++)[0],i=c.useState(b)[0],u=c.useRef(e);c.useEffect(function(){u.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var n=(0,a.fX)([e.lockRef.current],(e.shards||[]).map(D),!0).filter(
1Boolean);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 l=c.useCallback(function(e,n){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,a=Z(e),c=t.current,i="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],d=e.target,s=Math.abs(i)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===s&&"range"===d.type)return!1;var f=W(s,d);if(!f)return!0;if(f?o=s:(o="v"===s?"h":"v",f=W(s,d)),!f)return!1;if(!r.current&&"changedTouches"in e&&(i||l)&&(r.current=o),!o)return!0;var h=r.current||o;return Y(h,n,e,"h"===h?i:l,!0)},[]),d=c.useCallback(function(e){if(j.length&&j[j.length-1]===i){var t="deltaY"in e?_(e):Z(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,r[0]===t[0]&&r[1]===t[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(D).filter(Boolean).filter(function(n){return n.contains(e.target)});(o.length>0?l(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=c.useCallback(function(e,t,r,o){var a={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(a),setTimeout(function(){n.current=n.current.filter(function(e){return e!==a})},1)},[]),f=c.useCallback(function(e){t.current=Z(e),r.current=void 0},[]),h=c.useCallback(function(n){s(n.type,_(n),n.target,l(n,e.lockRef.current))},[]),v=c.useCallback(function(n){s(n.type,Z(n),n.target,l(n,e.lockRef.current))},[]);c.useEffect(function(){return j.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:v}),document.addEventListener("wheel",d,B),document.addEventListener("touchmove",d,B),document.addEventListener("touchstart",f,B),function(){j=j.filter(function(e){return e!==i}),document.removeEventListener("wheel",d,B),document.removeEventListener("touchmove",d,B),document.removeEventListener("touchstart",f,B)}},[]);var m=e.removeScrollBar,p=e.inert;return c.createElement(c.Fragment,null,p?c.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?c.createElement(N,{gapMode:e.gapMode}):null)},h.useMedium(r),p);var H=c.forwardRef(function(e,n){return c.createElement(m,(0,a.Cl)({},e,{ref:n,sideCar:z}))});H.classNames=m.classNames;let K=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.