PageSourceSearch

https://www.codewithshripal.com/_next/static/chunks/7056.005daac93b13c1e8.js

js codewithshripal.com collected 2026-10-06 11:00:48 UTC 29,180 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7056],{67056:(e,t,n)=>{n.d(t,{Cf:()=>tS,LC:()=>tC});var r,o,a,i,u=n(5601),c=n(41629),l=n(33051),s=n(12115),d=["children"];function f(){return!!window.document&&!!window.document.createElement}function p(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}function v(){}var m=f()?s.useLayoutEffect:s.useEffect,h=n(47650),b=["unstable_skipInitialRender"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var y=function(e){var t,n=e.children,r=e.type,o=void 0===r?"reach-portal":r,a=e.containerRef,i=s.useRef(null),u=s.useRef(null),c=(t=(0,s.useState)(Object.create(null))[1],(0,s.useCallback)(function(){t(Object.create(null))},[]));return s.useEffect(function(){null!=a&&("object"==typeof a&&"current"in a?null==a.current&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."):console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."))},[a]),m(function(){if(i.current){var e=i.current.ownerDocument,t=(null==a?void 0:a.current)||e.body;return u.current=null==e?void 0:e.createElement(o),t.appendChild(u.current),c(),function(){u.current&&t&&t.removeChild(u.current)}}},[o,c,a]),u.current?(0,h.createPortal)(n,u.current):s.createElement("span",{ref:i})},w=function(e){var t=e.unstable_skipInitialRender,n=(0,c.A)(e,b),r=s.useState(!1),o=(0,l.A)(r,2),a=o[0],i=o[1];return(s.useEffect(function(){t&&i(!0)},[t]),t&&!a)?null:s.createElement(y,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,u.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n))};w.displayName="Portal";var E=n(42373),O="data-focus-lock",C="data-focus-lock-disabled";function S(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var P=s.useLayoutEffect,N=new WeakMap;function k(e,t){var n,r,o,a=(n=t||null,r=function(t){return e.forEach(function(e){return S(e,t)})}
1,(o=(0,s.useState)(function(){return{value:n,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 t=N.get(a);if(t){var n=new Set(t),r=new Set(e),o=a.current;n.forEach(function(e){r.has(e)||S(e,null)}),r.forEach(function(e){n.has(e)||S(e,o)})}N.set(a,e)},[e]),a}var x={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},A=n(42654);function j(e){return e}function D(e,t){void 0===t&&(t=j);var n=[],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 n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function I(e,t){return void 0===t&&(t=j),D(e,t)}function R(e){void 0===e&&(e={});var t=D(null);return t.options=(0,A.Cl)({async:!0,ssr:!1},e),t}var T=I({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),F=I(),M=I(),L=R({async:!0}),_=[],B=s.forwardRef(function(e,t){var n,r=s.useState(),o=r[0],a=r[1],i=s.useRef(),u=s.useRef(!1),c=s.useRef(null),l=e.children,d=e.disabled,f=e.noFocusGuards,p=e.persistentFocus,v=e.crossFrame,m=e.autoFocus,h=(e.allowTextSelection,e.group),b=e.className,g=e.whiteList,y=e.shards,w=void 0===y?_:y,S=e.as,P=e.lockProps,N=e.sideCar,A=e.returnFocus,j=e.onActivation,D=e.onDeactivation,I=s.useState({})[0],R=s.useCallback(function(){c.current=c.current||document&&document.activeElement,i.current&&j&&j(i.current),u.current=!0},[j]),M=s.useCallback(function(){u.current=!1,D&&D(i.current)},[D]),B=s.useCallback(function(e){var t=c.current;if(A&&t&&t.focus){var n="object"==typeof A?A:void 0;c.current=null,e?Promise.resolve().then(function(){return t.focus(n)}):t.focus(n)}},[A]),W=s.useCallback(function(e){u.current&&T.useMedium(e)},[]),U=F.useMedium,Y=s.useCallback(function(e){i.current!==e&&(i.current=e,a(e))},[]),Z=(0,E.A)(((n={})[C]=d&&"disabled",n[O]=h,n),void 0===P?{}:P),q=!0!==f,G=q&&"tail"!==f,X=k([t,Y]);return s.createElement(s.Fragment,null,q&&[s.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:x}),s.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:x})],!d&&s.createElement(N,{id:I,sideCar:L,observed:o,disabled:d,persistentFocus:p,crossFrame:v,autoFocus:m,whiteList:g,shards:w,onActivation:R,onDeactivation:M,returnFocus:B}),s.createElement(void 0===S?"div":S,(0,E.A)({ref:X},Z,{className:b,onBlur:U,onFocus:W}),l),G&&s.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:x}))});function W(e,t){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}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)}B.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Y=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Z=function(e){return Array.isArray(e)?e:[e]},q=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})}
1,G=function(e){return Z(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(O);return e.push.apply(e,n?q(Y((function e(t){return t.parentNode?e(t.parentNode):t})(t).querySelectorAll("["+O+'="'+n+'"]:not(['+C+'="disabled"])'))):[t]),e},[])},X=function(e){var t=document&&document.activeElement;return!!t&&(!t.dataset||!t.dataset.focusGuard)&&G(e).reduce(function(e,n){return e||n.contains(t)||!!Y(n.querySelectorAll("iframe")).some(function(e){return e===document.activeElement})},!1)},K=function(e){return"INPUT"===e.tagName&&"radio"===e.type},H=function(e,t){return K(e)&&e.name&&t.filter(K).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},V=function(e){var t=new Set;return e.forEach(function(n){return t.add(H(n,e))}),e.filter(function(e){return t.has(e)})},z=function(e){return e[0]&&e.length>1?H(e[0],e):e[0]},J=function(e,t){return e.length>1?e.indexOf(H(e[t],e)):t},Q=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},$=function e(t,n){var r,o=t.get(n);if(void 0!==o)return o;var a=(r=e.bind(void 0,t),!n||n===document||n&&n.nodeType===Node.DOCUMENT_NODE||!Q(n)&&r(n.parentNode&&n.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n.parentNode.host:n.parentNode));return t.set(n,a),a},ee=function(e){return!!(e&&e.dataset&&e.dataset.focusGuard)},et=function(e){return!ee(e)},en=function(e){return!!e},er="NEW_FOCUS",eo=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],u=ee(n);if(!(e.indexOf(n)>=0)){var c=t.indexOf(n),l=r?t.indexOf(r):c,s=r?e.indexOf(r):-1,d=c-l,f=t.indexOf(a),p=t.indexOf(i),v=V(t),m=v.indexOf(n)-(r?v.indexOf(r):c),h=J(e,0),b=J(e,o-1);if(-1===c||-1===s)return er;if(!d&&s>=0)return s;if(c<=f&&u&&Math.abs(d)>1)return b;if(c>=p&&u&&Math.abs(d)>1)return h;if(d&&Math.abs(m)>1)return s;if(c<=f)return b;if(c>p)return h;if(d)return Math.abs(d)>1?s:(o+s+d)%o}},ea=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return -1}return n||r},ei=function(e,t,n){return Y(e).map(function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}}).filter(function(e){return!t||e.tabIndex>=0}).sort(ea)},eu="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",ec=eu+", [data-focus-guard]",el=function(e,t){return e.reduce(function(e,n){return e.concat(Y(n.querySelectorAll(t?ec:eu)),n.parentNode?Y(n.parentNode.querySelectorAll(eu)).filter(function(e){return e===n}):[])},[])},es=function(e,t){return Y(e).filter(function(e){return $(t,e)}).filter(function(e){return!(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},ed=function(e,t,n){return ei(es(el(e,n),t),!0,n)},ef=function(e,t){return ei(es(el(e),t),!1)},ep=function e(t,n){return void 0===n&&(n=[]),n.push(t),t.parentNode&&e(t.parentNode,n),n},ev=function(e,t){for(var n=ep(e),r=ep(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},em=function(e,t,n){var r=Z(e),o=Z(t),a=r[0],i=!1;
1return o.filter(Boolean).forEach(function(e){i=ev(i||e,e)||i,n.filter(Boolean).forEach(function(e){var t=ev(a,e);t&&(i=!i||t.contains(i)?t:ev(t,i))})}),i},eh=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(en)},eb=function(e,t){var n=document&&document.activeElement,r=G(e).filter(et),o=em(n||e,e,r),a=new Map,i=ef(r,a),u=ed(r,a).filter(function(e){return et(e.node)});if(u[0]||(u=i)[0]){var c=ef([o],a).map(function(e){return e.node}),l=eh(c,u),s=l.map(function(e){return e.node}),d=eo(s,c,n,t);if(d===er){var f,p=i.map(function(e){return e.node}).filter((f=r.reduce(function(e,t){return e.concat(es(Y(t.querySelectorAll("[data-autofocus-inside]")).map(function(e){return el([e])}).reduce(function(e,t){return e.concat(t)},[]),a))},[]),function(e){return e.autofocus||e.dataset&&!!e.dataset.autofocus||f.indexOf(e)>=0}));return{node:p&&p.length?z(p):z(s)}}return void 0===d?d:l[d]}},eg=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},ey=0,ew=!1;let eE=function(e,t){var n=eb(e,t);if(!ew&&n){if(ey>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ew=!0,setTimeout(function(){ew=!1},1);return}ey++,eg(n.node),ey--}};var eO=function(e){var t=G(e).filter(et),n=em(e,e,t),r=new Map,o=ed([n],r,!0),a=ed(t,r).filter(function(e){return et(e.node)}).map(function(e){return e.node});return o.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:ee(t)}})};function eC(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var eS=null,eP=null,eN=null,ek=!1,ex=function(e,t){eN={observerNode:e,portaledElement:t}};function eA(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var ej=function(e){return e&&"current"in e?e.current:e},eD=function(){var e=!1;if(eS){var t=eS,n=t.observed,r=t.persistentFocus,o=t.autoFocus,a=t.shards,i=t.crossFrame,u=n||eN&&eN.portaledElement,c=document&&document.activeElement;if(u){var l=[u].concat(a.map(ej).filter(Boolean));if((!c||(eS.whiteList||function(){return!0})(c))&&(r||(i?!!ek:"meanwhile"===ek)||!(document&&document.activeElement===document.body||document&&Y(document.querySelectorAll("[data-no-focus-lock]")).some(function(e){return e.contains(document.activeElement)}))||!eP&&o)&&(u&&!(X(l)||eN&&eN.portaledElement===c)&&(document&&!eP&&c&&!o?(c.blur&&c.blur(),document.body.focus()):(e=eE(l,eP),eN={})),ek=!1,eP=document&&document.activeElement),document){var s=document&&document.activeElement,d=eO(l),f=d.map(function(e){return e.node}).indexOf(s);f>-1&&(d.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eA(f,d.length,1,d),eA(f,-1,-1,d))}}}return e},eI=function(e){eD()&&e&&(e.stopPropagation(),e.preventDefault())},eR=function(){return eC(eD)},eT=function(){ek="just",setTimeout(function(){ek="meanwhile"},0)},eF=function(){document.addEventListener("focusin",eI,!0),document.addEventListener("focusout",eR),window.addEventListener("blur",eT)},eM=function(){document.removeEventListener("focusin",eI,!0),document.removeEventListener("focusout",eR),window.removeEventListener("blur",eT)};T.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||ex(n,t)}),F.assignMedium(eR),M.assignMedium(function(e){return e({moveFocusInside:eE,focusInside:X})});let eL=(r=function(e){return e.filter(function(e){return!e.disabled})},o=function(e){var t=e.slice(-1)[0];t&&!eS&&eF();var n=eS,r=n&&t&&t.id===n.id;eS=t,!n||r||(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(eP=null,r&&n.observed===t.observed||t.onActivation(),eD(!0),eC(eD)):(eM(),eP=null)},function(e){var t,n,a,i,u=[];function c(){o(i=r(u.map(function(e){return e.props})))}var l=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,W(n,t),n.peek=function(){return i};var r=n.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)},n}(s.PureComponent);return t="displayName",n="SideEffect("+(e.displayName||e.name||"Component")+")",(a=function(e,t){if("object"!=U(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=U(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==U(a)?a:a+"")in l)?Object.defineProperty(l,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):l[t]=n,l})(function(){return null});var e_=s.forwardRef(function(e,t){return s.createElement(B,(0,E.A)({sideCar:eL,ref:t},e))});(B.propTypes||{}).sideCar;var eB=function(){return(eB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},eW="right-scroll-bar-position",eU="width-before-scroll-bar",eY=R(),eZ=function(){},eq=s.forwardRef(function(e,t){var n=s.useRef(null),r=s.useState({onScrollCapture:eZ,onWheelCapture:eZ,onTouchMoveCapture:eZ}),o=r[0],a=r[1],i=e.forwardProps,u=e.children,c=e.className,l=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,v=e.noIsolation,m=e.inert,h=e.allowPinchZoom,b=e.as,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=k([n,t]),w=eB({},g,o);return s.createElement(s.Fragment,null,d&&s.createElement(p,{sideCar:eY,removeScrollBar:l,shards:f,noIsolation:v,inert:m,setCallbacks:a,allowPinchZoom:!!h,lockRef:n}),i?s.cloneElement(s.Children.only(u),eB({},w,{ref:y}
1)):s.createElement(void 0===b?"div":b,eB({},w,{className:c,ref:y}),u))});eq.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eq.classNames={fullWidth:eU,zeroRight:eW};var eG=function(e){var t=e.sideCar,n=(0,A.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,(0,A.Cl)({},n))};eG.isSideCarExport=!0;var eX=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eK=function(){var e=eX();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},eH=function(){var e=eK();return function(t){return e(t.styles,t.dynamic),null}},eV=function(e){return parseInt(e||"",10)||0},ez=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eV(n),eV(r),eV(o)]},eJ=function(e){void 0===e&&(e="margin");var t=ez(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},eQ=eH(),e$="data-scroll-locked",e0=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(e$,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(eW," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(eU," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(eW," .").concat(eW," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(eU," .").concat(eU," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(e$,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},e1=function(){var e=parseInt(document.body.getAttribute(e$)||"0",10);return isFinite(e)?e:0},e2=function(){s.useEffect(function(){return document.body.setAttribute(e$,(e1()+1).toString()),function(){var e=e1()-1;e<=0?document.body.removeAttribute(e$):document.body.setAttribute(e$,e.toString())}},[])},e5=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;e2();var a=s.useMemo(function(){return eJ(o)},[o]);return s.createElement(eQ,{styles:e0(a,!t,o,n?"":"!important")})},e6=function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)},e4=function(e){var t=window.getComputedStyle(e);return"range"===e.type||"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)},e3=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),e7(e,n)){var r=e9(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},e7=function(e,t){return"v"===e?e6(t):e4(t)},e9=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},e8=function(e,t,n,r,o){var a=n.target,i=t.contains(a),u=!1,c=r>0,l=0,s=0;do{var d=e9(e,a),f=d[0],p=d[1]-d[2]-f;(f||p)&&e7(e,a)&&(l+=p,s+=f),a=a.parentNode}while(!i&&a!==document.body||i&&(t.contains(a)||t===a));return c&&(o&&0===l||!o&&r>l)?u=!0:!c&&(o&&0===s||!o&&-r>s)&&(u=!0),u},te=!1;try{var tt=Object.defineProperty({},"passive",{get:function(){return te=!0,!0}});window.addEventListener("test",tt,tt),window.removeEventListener("test",tt,tt)}catch(e){te=!1}var tn=!!te&&{passive:!1},tr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},to=function(e){return[e.deltaX,e.deltaY]},ta=function(e){return e&&"current"in e?e.current:e},ti=0,tu=[];let tc=(a=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(ti++)[0],a=s.useState(function(){return eH()})[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var t=[e.lockRef.current].concat((e.shards||[]).map(ta)).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),t.forEach(function(e){return e.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var u=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!i.current.allowPinchZoom;var o,a=tr(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-a[0],l="deltaY"in e?e.deltaY:u[1]-a[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v",f=e3(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=e3(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var p=r.current||o;return e8(p,t,e,"h"===p?c:l,!0)},[]),c=s.useCallback(function(e){if(tu.length&&tu[tu.length-1]===a){var n="deltaY"in e?to(e):tr(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(ta).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.preventDefault()}}},[]),l=s.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=s.useCallback(function(e){n.current=tr(e),r.current=void 0},[]),f=s.useCallback(function(t){l(t.type,to(t),t.target,u(t,e.lockRef.current))},[]),p=s.useCallback(function(t){l(t.type,tr(t),t.target,u(t,e.lockRef.current))},[]);s.useEffect(function(){return tu.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,tn),document.addEventListener("touchmove",c,tn),document.addEventListener("touchstart",d,tn),function(){tu=tu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,tn),document.removeEventListener("touchmove",c,tn),document.removeEventListener("touchstart",d,tn)}},[]);var v=e.removeScrollBar,m=e.inert;return s.createElement(s.Fragment,null,m?s.createElement(a,{styles:"\n  .block-interactivity-"+o+" {pointer-events: none;}\n  .allow-interactivity-"+o+" {pointer-events: all;}\n"}):null,v?s.createElement(e5,{gapMode:"margin"}):null)},eY.useMedium(a),eG);var tl=s.forwardRef(function(e,t){return s.createElement(eq,eB({},e,{ref:t,sideCar:tc}))});tl.classNames=eq.classNames;var ts=["isOpen","children"],td=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],tf=["as","isOpen"],tp=["as","onClick","onKeyDown"],tv=["allowPinchZoom","initialFocusRef","isOpen","onDismiss"];function tm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function th(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tm(Object(n),!0).forEach(function(t){(0,u.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tb=function(e,t){var n=s.createContext(t);function r(e){var t=e.children,r=(0,c.A)(e,d),o=s.useMemo(function(){return r},Object.values(r));return s.createElement(n.Provider,{value:o},t)}return n.displayName="".concat(e,"Context"),r.displayName="".concat(e,"Provider"),[r,function(r){var o=s.useContext(n);if(o)return o;if(t)return t;throw Error("".concat(r," must be rendered inside of a ").concat(e," component."))}]}("DialogContext",{isOpen:!1}),tg=(0,l.A)(tb,2),ty=tg[0],tw=tg[1];function tE(e){var t=e.isOpen,n=void 0===t||t,r=e.children,o=(0,c.A)(e,ts);return s.useEffect(function(){n?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[n]),s.createElement(w,th({"data-reach-dialog-wrapper":"","data-state":n?"open":"closed"},o),s.createElement(ty,{isOpen:n},r))}tE.displayName="unstable_DialogWrapper";var tO=s.forwardRef(function(e,t){var n=e.allowPinchZoom,r=e.as,o=e.dangerouslyBypassFocusLock,a=e.dangerouslyBypassScrollLock,i=e.initialFocusRef,u=e.onClick,l=e.onDismiss,d=void 0===l?v:l,m=e.onKeyDown,h=e.onMouseDown,b=e.unstable_lockFocusAcrossFrames,g=(0,c.A)(e,td),y=tw("DialogInner").isOpen,w=void 0!==b;s.useEffect(function(){w&&console.warn("The unstable_lockFocusAcrossFrames in @reach/dialog is deprecated. It will be removed in the next minor release.")},[w]);var E=s.useRef(null),O=s.useRef(null),C=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.useCallback)(function(e){for(var n=0;n<t.length;n++)!function(e,t){if(null!=e){if(e&&"[object Function]"==({}).toString.call(e))e(t);else try{e.current=t}catch(n){throw Error('Cannot assign value "'.concat(t,'" to ref "').concat(e,'"'))}}}(t[n],e)},t)}(O,t),S=s.useCallback(function(){i&&i.current&&i.current.focus()},[i]);return s.useEffect(function(){var e,t,n,r,o;return O.current?(e=O.current,t=[],n=[],o=e,r=f()?o?o.ownerDocument:document:null,e?(Array.prototype.forEach.call(r.querySelectorAll("body > *"),function(r){if(r!==(null===(o=e.parentNode)||void 0===o||null===(o=o.parentNode)||void 0===o?void 0:o.parentNode)){var o,a=r.getAttribute("aria-hidden");(null===a||"false"===a)&&(t.push(a),n.push(r),r.setAttribute("aria-hidden","true"))}}
1),function(){n.forEach(function(e,n){var r=t[n];null===r?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r)})}):(console.warn("A ref has not yet been attached to a dialog node when attempting to call `createAriaHider`."),v)):void 0},[]),s.createElement(e_,{autoFocus:!0,returnFocus:!0,onActivation:S,disabled:null!=o?o:!y,crossFrame:null==b||b},s.createElement(tl,{allowPinchZoom:n,enabled:null!=a?!a:y},s.createElement(void 0===r?"div":r,th(th({},g),{},{ref:C,"data-reach-dialog-inner":"","data-state":y?"open":"closed",onClick:p(u,function(e){E.current===e.target&&(e.stopPropagation(),d(e))}),onKeyDown:p(m,function(e){"Escape"===e.key&&(e.stopPropagation(),d(e))}),onMouseDown:p(h,function(e){E.current=e.target})}))))});tO.displayName="DialogInner";var tC=s.forwardRef(function(e,t){var n=e.as,r=e.isOpen,o=void 0===r||r,a=(0,c.A)(e,tf);return o?s.createElement(tE,{isOpen:o},s.createElement(tO,th({"data-reach-dialog-overlay":"",ref:t,as:void 0===n?"div":n},a))):null});tC.displayName="DialogOverlay";var tS=s.forwardRef(function(e,t){var n=e.as,r=e.onClick,o=(e.onKeyDown,(0,c.A)(e,tp)),a=tw("DialogContent").isOpen;return s.createElement(void 0===n?"div":n,th(th({"aria-modal":"true",role:"dialog",tabIndex:-1},o),{},{ref:t,"data-reach-dialog-content":"","data-state":a?"open":"closed",onClick:p(r,function(e){e.stopPropagation()})}))});tS.displayName="DialogContent",s.forwardRef(function(e,t){var n=e.allowPinchZoom,r=e.initialFocusRef,o=e.isOpen,a=e.onDismiss,i=(0,c.A)(e,tv);return s.createElement(tC,{allowPinchZoom:void 0!==n&&n,initialFocusRef:r,isOpen:o,onDismiss:void 0===a?v:a},s.createElement(tS,th({ref:t},i)))}).displayName="Dialog"},42654:(e,t,n)=>{n.d(t,{Cl:()=>r,Tt:()=>o});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}}]);

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.