PageSourceSearch

https://www.knivesandtools.it/_app/_next/static/chunks/1372-5e7e6c31f09b78a4.js

js knivesandtools.it collected 2026-09-25 08:52:03 UTC 35,943 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc1025cb-98df-40a2-9992-d1b0bec4b5ba",e._sentryDebugIdIdentifier="sentry-dbid-cc1025cb-98df-40a2-9992-d1b0bec4b5ba")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1372],{9372:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(13764),i=n(862);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},24474:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(13764),i=n(50629),o=n(29817),l=n(862),a=n(95304),u=r.forwardRef((e,t)=>{var n,u;let{container:s,...c}=e,[f,d]=r.useState(!1);(0,l.N)(()=>d(!0),[]);let p=s||f&&(null==(u=globalThis)||null==(n=u.document)?void 0:n.body);return p?i.createPortal((0,a.jsx)(o.sG.div,{...c,ref:t}),p):null});u.displayName="Portal"},26794:(e,t,n)=>{n.d(t,{Oh:()=>o});var r=n(13764),i=0;function o(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:l()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:l()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function l(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},34089:(e,t,n)=>{n.d(t,{n:()=>f});var r=n(13764),i=n(72419),o=n(29817),l=n(47748),a=n(95304),u="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},f=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:f=!1,onMountAutoFocus:v,onUnmountAutoFocus:g,...y}=e,[w,b]=r.useState(null),x=(0,l.c)(v),E=(0,l.c)(g),L=r.useRef(null),R=(0,i.s)(t,e=>b(e)),A=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(f){let e=function(e){if(A.paused||!w)return;let t=e.target;w.contains(t)?L.current=t:m(L.current,{select:!0})},t=function(e){if(A.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||m(L.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(w)});return w&&n.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[f,w,A.paused]),r.useEffect(()=>{if(w){h.add(A);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(u,c);w.addEventListener(u,x),w.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(d(w).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(w))}return()=>{w.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(s,c);w.addEventListener(s,E),w.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),w.removeEventListener(s,E),h.remove(A)},0)}}},[w,x,E,A]);let C=r.useCallback(e=>{if(!n&&!f||A.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[i,o]=function(e){let t=d(e);return[p(t,e),p(t.reverse(),e)]}(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&m(o,{select:!0})):(e.preventDefault(),n&&m(i,{select:!0})):r===t&&e.preventDefault()}},[n,f,A.paused]);return(0,a.jsx)(o.sG.div,{tabIndex:-1,...y,ref:R,onKeyDown:C})});function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var h=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=v(e,t)).unshift(t)},remove(t){var n;null==(n=(e=v(e,t))[0])||n.resume()}}}();function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},41476:(e,t,n)=>{n.d(t,{qW:()=>p});var r,i=n(13764),o=n(72349),l=n(29817),a=n(72419),u=n(47748),s=n(19580),c=n(95304),f="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=i.forwardRef((e,t)=>
1{var n,p;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:b,onDismiss:x,...E}=e,L=i.useContext(d),[R,A]=i.useState(null),C=null!=(p=null==R?void 0:R.ownerDocument)?p:null==(n=globalThis)?void 0:n.document,[,S]=i.useState({}),O=(0,a.s)(t,e=>A(e)),T=Array.from(L.layers),[P]=[...L.layersWithOutsidePointerEventsDisabled].slice(-1),D=T.indexOf(P),N=R?T.indexOf(R):-1,F=L.layersWithOutsidePointerEventsDisabled.size>0,k=N>=D,W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){h("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...L.branches].some(e=>e.contains(t));k&&!n&&(null==y||y(e),null==b||b(e),e.defaultPrevented||null==x||x())},C),H=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&h("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...L.branches].some(e=>e.contains(t))&&(null==w||w(e),null==b||b(e),e.defaultPrevented||null==x||x())},C);return(0,s.U)(e=>{N===L.layers.size-1&&(null==g||g(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},C),i.useEffect(()=>{if(R)return v&&(0===L.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),L.layersWithOutsidePointerEventsDisabled.add(R)),L.layers.add(R),m(),()=>{v&&1===L.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[R,C,v,L]),i.useEffect(()=>()=>{R&&(L.layers.delete(R),L.layersWithOutsidePointerEventsDisabled.delete(R),m())},[R,L]),i.useEffect(()=>{let e=()=>S({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,c.jsx)(l.sG.div,{...E,ref:O,style:{pointerEvents:F?k?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,W.onPointerDownCapture)})});function m(){let e=new CustomEvent(f);document.dispatchEvent(e)}function h(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,l.hO)(o,a):o.dispatchEvent(a)}p.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(d),r=i.useRef(null),o=(0,a.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(l.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},44253:(e,t,n)=>{n.d(t,{Qg:()=>l,bL:()=>u});var r=n(13764),i=n(29817),o=n(95304),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=r.forwardRef((e,t)=>(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...l,...e.style}}));a.displayName="VisuallyHidden";var u=a},61153:(e,t,n)=>{let r;n.d(t,{Mz:()=>eY,i3:()=>eQ,UC:()=>e$,bL:()=>eU,Bk:()=>eN});var i=n(13764);let o=["top","right","bottom","left"],l=Math.min,a=Math.max,u=Math.round,s=Math.floor,c=e=>({x:e,y:e}
vendor: 5,747 bytes, line 1
1),f={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],b=["right","left"],x=["top","bottom"],E=["bottom","top"];function L(e){let t=p(e);return f[t]+e.slice(t.length)}function R(e){var t,n,r,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}}function A(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=h(g(t)),u=v(a),s=p(t),c=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,d=i[u]/2-o[u]/2;switch(s){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}let y=m(t);return y&&(r[a]+=d*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function S(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=d(t,e),h=R(m),v=a[p?"floating"===f?"reference":"floating":f],g=A(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),y="floating"===f?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:S},u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=C(s,r,u),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:v,fn:g}=h,{x:y,y:w,data:b,reset:x}=await g({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:s,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=w?w:f,m[v]={...m[v],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:f}=C(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:m}};function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return o.some(t=>e[t]>=0)}let D=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=m(n),u="y"===g(n),s=D.has(l)?-1:1,c=o&&u?-1:1,f=d(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),u?{x:v*c,y:h*s}:{x:h*s,y:v*c}}function F(){return"undefined"!=typeof window}function k(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function W(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function H(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!F()&&(e instanceof Node||e instanceof W(e).Node)}function M(e){return!!F()&&(e instanceof Element||e instanceof W(e).Element)}function z(e){return!!F()&&(e instanceof HTMLElement||e instanceof W(e).HTMLElement)}function I(e){return!!F()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof W(e).ShadowRoot)}function _(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function B(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let V=/transform|translate|scale|rotate|perspective|filter/,K=/paint|layout|strict|content/,G=e=>!!e&&"none"!==e;function X(e){let t=M(e)?Y(e):e;return G(t.transform)||G(t.translate)||G(t.scale)||G(t.rotate)||G(t.perspective)||!q()&&(G(t.backdropFilter)||G(t.filter))||V.test(t.willChange||"")||K.test(t.contain||"")}function q(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function U(e){return/^(html|body|#document)$/.test(k(e))}function Y(e){return W(e).getComputedStyle(e)}function $(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||I(e)&&e.host||H(e);return I(t)?t.host:t}function Z(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=Q(t);return U(n)?(t.ownerDocument||t).body:z(n)&&_(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=W(i);if(!o)return t.concat(i,Z(i,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],_(i)?i:[],e&&n?Z(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=z(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=u(n)!==o||u(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function et(e){return M(e)?e:e.contextElement}function en(e){let t=et(e);if(!z(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),l=(o?u(n.width):n.width)/r,a=(o?u(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let er=c(0);function ei(e){let t=W(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),a=c(1);t&&(r?M(r)&&(a=en(r)):a=en(e));let u=(void 0===(i=n)&&(i=!1),r&&i&&r===W(l))?ei(l):c(0),s=(o.left+u.x)/a.x,f=(o.top+u.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l&&r){let e=W(l),t=M(r)?W(r):r,n=e,i=J(n);for(;i&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=Y(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,f*=e.y,d*=e.x,p*=e.y,s+=o,f+=l,i=J(n=W(i))}}return A({width:d,height:p,x:s,y:f})}function el(e,t){let n=$(e).scrollLeft;return t?t.left+n:eo(H(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function eu(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=W(e),o=H(e),l=i.visualViewport,a=o.clientWidth,u=o.clientHeight,s=0,c=0;if(l){let e=!q()||"fixed"===t;r?e||(s=-l.offsetLeft,c=-l.offsetTop):(a=l.width,u=l.height,e&&(s=l.offsetLeft,c=l.offsetTop))}if(0>=el(o)){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(a-=l)}return{width:a,height:u,x:s,y:c}}(e,n,t);else if("document"===t)r=function(e){let t=$(e),n=e.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=a(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),o=-t.scrollLeft+el(e),l=-t.scrollTop;return"rtl"===Y(n).direction&&(o+=a(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:o,y:l}}(H(e));else if(M(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=en(e),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=ei(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(r)}function es(e){return"static"===Y(e).position}function ec(e,t){if(!z(e)||"fixed"===Y(e).position)return null;if(t)return t(e);let n=e.offsetParent;return H(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=W(e);if(B(e))return r;if(!z(e)){let t=Q(e);for(;t&&!U(t);){if(M(t)&&!es(t))return t;t=Q(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(k(n)))&&es(i);)i=ec(i,t);return i&&U(i)&&es(i)&&!X(i)?r:i||function(e){let t=Q(e);for(;z(t)&&!U(t);){if(X(t))return t;if(B(t))break;t=Q(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=z(t),i=H(t),o="fixed"===n,l=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=c(0);if((r||!o)&&(("body"!==k(t)||_(i))&&(a=$(t)),r)){let e=eo(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}!r&&i&&(u.x=el(i));let s=!i||r||o?c(0):ea(i,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=H(r),a=!!t&&B(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},s=c(1),f=c(0),d=z(r);
1if((d||!o)&&(("body"!==k(r)||_(l))&&(u=$(r)),d)){let e=eo(r);s=en(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?c(0):ea(l,u);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+f.x+p.x,y:n.y*s.y-u.scrollTop*s.y+f.y+p.y}},getDocumentElement:H,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?B(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Z(e,[],!1).filter(e=>M(e)&&"body"!==k(e)),i=null,o="fixed"===Y(e).position,l=o?Q(e):e;for(;M(l)&&!U(l);){let e=Y(l),t=X(l),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==l),l=Q(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=eu(t,o[0],i),s=u.top,c=u.right,f=u.bottom,d=u.left;for(let e=1;e<o.length;e++){let n=eu(t,o[e],i);s=a(n.top,s),c=l(n.right,c),f=l(n.bottom,f),d=a(n.left,d)}return{width:c-d,height:f-s,x:d,y:s}},getOffsetParent:ef,getElementRects:ed,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:M,isRTL:function(e){return"rtl"===Y(e).direction}};function em(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eh=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:u,elements:s,middlewareData:c}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let y=R(p),w={x:n,y:r},b=h(g(i)),x=v(b),E=await u.getDimensions(f),L="y"===b,A=L?"clientHeight":"clientWidth",C=o.reference[x]+o.reference[b]-w[b]-o.floating[x],S=w[b]-o.reference[b],O=await (null==u.getOffsetParent?void 0:u.getOffsetParent(f)),T=O?O[A]:0;T&&await (null==u.isElement?void 0:u.isElement(O))||(T=s.floating[A]||o.floating[x]);let P=T/2-E[x]/2-1,D=l(y[L?"top":"left"],P),N=l(y[L?"bottom":"right"],P),F=T-E[x]-N,k=T/2-E[x]/2+(C/2-S/2),W=a(D,l(k,F)),H=!c.arrow&&null!=m(i)&&k!==W&&o.reference[x]/2-(k<D?D:N)-E[x]/2<0,j=H?k<D?k-D:k-F:0;return{[b]:w[b]+j,data:{[b]:W,centerOffset:k-W-j,...H&&{alignmentOffset:j}},reset:H}}});var ev=n(50629),eg="undefined"!=typeof document?i.useLayoutEffect:function(){};function ey(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ey(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ey(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ew(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eb(e,t){let n=ew(e);return Math.round(t*n)/n}function ex(e){let t=i.useRef(e);return eg(()=>{t.current=e}),t}var eE=n(29817),eL=n(95304),eR=i.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eL.jsx)(eE.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eL.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eR.displayName="Arrow";var eA=n(72419),eC=n(26747),eS=n(47748),eO=n(862),eT=n(9372),eP="Popper",[eD,eN]=(0,eC.A)(eP),[eF,ek]=eD(eP),eW=e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return(0,eL.jsx)(eF,{scope:t,anchor:r,onAnchorChange:o,children:n})};eW.displayName=eP;var eH="PopperAnchor",ej=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,l=ek(eH,n),a=i.useRef(null),u=(0,eA.s)(t,a),s=i.useRef(null);return i.useEffect(()=>{let e=s.current;s.current=(null==r?void 0:r.current)||a.current,e!==s.current&&l.onAnchorChange(s.current)}),r?null:(0,eL.jsx)(eE.sG.div,{...o,ref:u})});ej.displayName=eH;var eM="PopperContent",[ez,eI]=eD(eM),e_=i.forwardRef((e,t)=>{var n,r,o,u,c,f,R,A;let{__scopePopper:C,side:S="bottom",sideOffset:F=0,align:k="center",alignOffset:j=0,arrowPadding:M=0,avoidCollisions:z=!0,collisionBoundary:I=[],collisionPadding:_=0,sticky:B="partial",hideWhenDetached:V=!1,updatePositionStrategy:K="optimized",onPlaced:G,...X}=e,q=ek(eM,C),[U,Y]=i.useState(null),$=(0,eA.s)(t,e=>Y(e)),[Q,J]=i.useState(null),ee=(0,eT.X)(Q),en=null!=(R=null==ee?void 0:ee.width)?R:0,er=null!=(A=null==ee?void 0:ee.height)?A:0,ei="number"==typeof _?_:{top:0,right:0,bottom:0,left:0,..._},el=Array.isArray(I)?I:[I],ea=el.length>0,eu={padding:ei,boundary:el.filter(eG),altBoundary:ea},{refs:es,floatingStyles:ec,placement:ef,isPositioned:ed,middlewareData:eR}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[f,d]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=i.useState(r);ey(p,r)||m(r);let[h,v]=i.useState(null),[g,y]=i.useState(null),w=i.useCallback(e=>
1{e!==L.current&&(L.current=e,v(e))},[]),b=i.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=l||h,E=a||g,L=i.useRef(null),R=i.useRef(null),A=i.useRef(f),C=null!=s,S=ex(s),T=ex(o),P=ex(c),D=i.useCallback(()=>{if(!L.current||!R.current)return;let e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),((e,t,n)=>{let r=new Map,i=null!=n?n:{},o={...ep,...i.platform,_c:r};return O(e,t,{...i,platform:o})})(L.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};N.current&&!ey(A.current,t)&&(A.current=t,ev.flushSync(()=>{d(t)}))})},[p,t,n,T,P]);eg(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let N=i.useRef(!1);eg(()=>(N.current=!0,()=>{N.current=!1}),[]),eg(()=>{if(x&&(L.current=x),E&&(R.current=E),x&&E){if(S.current)return S.current(x,E,D);D()}},[x,E,D,S,C]);let F=i.useMemo(()=>({reference:L,floating:R,setReference:w,setFloating:b}),[w,b]),k=i.useMemo(()=>({reference:x,floating:E}),[x,E]),W=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!k.floating)return e;let t=eb(k.floating,f.x),r=eb(k.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...ew(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,k.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:D,refs:F,elements:k,floatingStyles:W}),[f,D,F,k,W])}({strategy:"fixed",placement:S+("center"!==k?"-"+k:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),m=o||u?[...p?Z(p):[],...t?Z(t):[]]:[];m.forEach(e=>{o&&e.addEventListener("scroll",n),u&&e.addEventListener("resize",n)});let h=p&&f?function(e,t,n){let r,i=null,o=H(e);function u(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}function c(n,f){void 0===n&&(n=!1),void 0===f&&(f=1),u();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:v}=d;if(n||t(),!h||!v)return;let g=s(m),y=s(o.clientWidth-(p+h)),w={rootMargin:-g+"px "+-y+"px "+-s(o.clientHeight-(m+v))+"px "+-s(p)+"px",threshold:a(0,l(1,f))||1},b=!0;function x(t){let n=t[0].intersectionRatio;if(!em(d,e.getBoundingClientRect()))return c();if(n!==f){if(!b)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}b=!1}try{i=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(x,w)}i.observe(e)}let f=W(e),d=()=>c(n);return f.addEventListener("resize",d),c(!0),()=>{f.removeEventListener("resize",d),u()}}(p,n,u):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),t&&g.observe(t));let y=d?eo(e):null;return d&&function t(){let r=eo(e);y&&!em(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{o&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===K})},elements:{reference:q.anchor},middleware:[((e,t)=>{let n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,u=await N(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:l}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:F+er,alignmentAxis:j}),z&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:o}=t,{mainAxis:u=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=d(e,t),p={x:n,y:r},m=await o.detectOverflow(t,f),v=g(i),y=h(v),w=p[y],b=p[v],x=(e,t)=>a(t+m["y"===e?"top":"left"],l(t,t-m["y"===e?"bottom":"right"]));u&&(w=x(y,w)),s&&(b=x(v,b));let E=c.fn({...t,[y]:w,[v]:b});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[y]:u,[v]:s}}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:!0,crossAxis:!1,limiter:"partial"===B?((e,t)=>
1({fn:function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,r,i,o;let{x:l,y:a,placement:u,rects:s,middlewareData:c}=t,{offset:f=0,mainAxis:m=!0,crossAxis:v=!0}=d(e,t),y={x:l,y:a},w=g(u),b=h(w),x=y[b],E=y[w],L=d(f,t),R="number"==typeof L?{mainAxis:L,crossAxis:0}:{mainAxis:null!=(n=L.mainAxis)?n:0,crossAxis:null!=(r=L.crossAxis)?r:0};if(m){let e="y"===b?"height":"width",t=s.reference[b]-s.floating[e]+R.mainAxis,n=s.reference[b]+s.reference[e]-R.mainAxis;x<t?x=t:x>n&&(x=n)}if(v){let e="y"===b?"width":"height",t=D.has(p(u)),n=s.reference[w]-s.floating[e]+(t&&(null==(i=c.offset)?void 0:i[w])||0)+(t?0:R.crossAxis),r=s.reference[w]+s.reference[e]+(t?0:(null==(o=c.offset)?void 0:o[w])||0)-(t?R.crossAxis:0);E<n?E=n:E>r&&(E=r)}return{[b]:x,[w]:E}}}}(e).fn,options:[e,t]}))():void 0,...eu}),z&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:f,elements:R}=t,{mainAxis:A=!0,crossAxis:C=!0,fallbackPlacements:S,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:P=!0,...D}=d(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let N=p(a),F=g(c),k=p(c)===c,W=await (null==f.isRTL?void 0:f.isRTL(R.floating)),H=S||(k||!P?[L(c)]:function(e){let t=L(e);return[y(e),t,y(t)]}(c)),j="none"!==T;!S&&j&&H.push(...function(e,t,n,r){let i=m(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:w;return t?w:b;case"left":case"right":return t?x:E;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(c,P,T,W));let M=[c,...H],z=await f.detectOverflow(t,D),I=[],_=(null==(r=u.flip)?void 0:r.overflows)||[];if(A&&I.push(z[N]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=m(e),i=h(g(e)),o=v(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=L(l)),[l,L(l)]}(a,s,W);I.push(z[e[0]],z[e[1]])}if(_=[..._,{placement:a,overflows:I}],!I.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=M[e];if(t&&("alignment"!==C||F===g(t)||_.every(e=>g(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(o=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(O){case"bestFit":{let e=null==(l=_.filter(e=>{if(j){let t=g(e.placement);return t===F||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...eu}),((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,r,{placement:i,rects:o,platform:u,elements:s}=t,{apply:c=()=>{},...f}=d(e,t),h=await u.detectOverflow(t,f),v=p(i),y=m(i),w="y"===g(i),{width:b,height:x}=o.floating;"top"===v||"bottom"===v?(n=v,r=y===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(r=v,n="end"===y?"top":"bottom");let E=x-h.top-h.bottom,L=b-h.left-h.right,R=l(x-h[n],E),A=l(b-h[r],L),C=t.middlewareData.shift,S=!C,O=R,T=A;null!=C&&C.enabled.x&&(T=L),null!=C&&C.enabled.y&&(O=E),S&&!y&&(w?T=b-2*a(h.left,h.right):O=x-2*a(h.top,h.bottom)),await c({...t,availableWidth:T,availableHeight:O});let P=await u.getDimensions(s.floating);return b!==P.width||x!==P.height?{reset:{rects:!0}}:{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...eu,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),Q&&((e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eh({element:n.current,padding:r}).fn(t):{}:n?eh({element:n,padding:r}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}})({element:Q,padding:M}),eX({arrowWidth:en,arrowHeight:er}),V&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=d(e,t);switch(i){case"referenceHidden":{let e=T(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{let e=T(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({strategy:"referenceHidden",...eu})]}),[eC,eP]=eq(ef),eD=(0,eS.c)(G);(0,eO.N)(()=>{ed&&(null==eD||eD())},[ed,eD]);let eN=null==(n=eR.arrow)?void 0:n.x,eF=null==(r=eR.arrow)?void 0:r.y,eW=(null==(o=eR.arrow)?void 0:o.centerOffset)!==0,[eH,ej]=i.useState();return(0,eO.N)(()=>{U&&ej(window.getComputedStyle(U).zIndex)},[U]),(0,eL.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...ec,transform:ed?ec.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eH,"--radix-popper-transform-origin":[null==(u=eR.transformOrigin)?void 0:u.x,null==(c=eR.transformOrigin)?void 0:c.y].join(" "),...(null==(f=eR.hide)?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eL.jsx)(ez,{scope:C,placedSide:eC,onArrowChange:J,arrowX:eN,arrowY:eF,shouldHideArrow:eW,children:(0,eL.jsx)(eE.sG.div,{"data-side":eC,"data-align":eP,...X,ref:$,style:{...X.style,animation:ed?void 0:"none"}})})})});e_.displayName=eM;var eB="PopperArrow",eV={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eK=i.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eI(eB,n),o=eV[i.placedSide];return(0,eL.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eL.jsx)(eR,{...r,ref:t,style:{...r.style,display:"block"}})})});function eG(e){return null!==e}eK.displayName=eB;var eX=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:u,middlewareData:s}=t,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,m]=eq(a),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!=(o=null==(r=s.arrow)?void 0:r.x)?o:0)+f/2,g=(null!=(l=null==(i=s.arrow)?void 0:i.y)?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?h:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=c?h:"".concat(v,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?h:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=c?h:"".concat(g,"px")),{data:{x:y,y:w}}}});function eq(e){let[t,n="center"]=e.split("-");return[t,n]}var eU=eW,eY=ej,e$=e_,eQ=eK},72349:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement}}]);
2//# sourceMappingURL=1372-5e7e6c31f09b78a4.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.