PageSourceSearch

https://bosgauruscoffee.com/_next/static/chunks/0t7zd7jcb8r-b.js

js bosgauruscoffee.com collected 2026-10-07 09:47:49 UTC 23,667 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,334863,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080);function i(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function l(...e){return r.useCallback(s(...e),e)}function a(e,n=[]){let i=[],o=()=>{let t=i.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(n,o){let s=r.createContext(o),l=i.length;i=[...i,o];let a=n=>{let{scope:i,children:o,...a}=n,u=i?.[e]?.[l]||s,d=r.useMemo(()=>a,Object.values(a));return(0,t.jsx)(u.Provider,{value:d,children:o})};return a.displayName=n+"Provider",[a,function(t,i){let a=i?.[e]?.[l]||s,u=r.useContext(a);if(u)return u;if(void 0!==o)return o;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...n)]}function u(e){var n;let i,o=(n=e,(i=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,l,a=(o=n,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?s(t,a):a),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${n}.SlotClone`,i),l=r.forwardRef((e,n)=>{let{children:i,...s}=e,l=r.Children.toArray(i),a=l.find(c);if(a){let e=a.props.children,i=l.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(o,{...s,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(o,{...s,ref:n,children:i})});return l.displayName=`${e}.Slot`,l}"u">typeof window&&window.document&&window.document.createElement;var d=Symbol("radix.slottable");function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var f=new WeakMap;function p(e,t){var r,n;let i,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,i=r.length,(s=(o=m(n))>=0?o:i+o)<0||s>=i?-1:s);return -1===l?void 0:e[l]}function m(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],f.set(this,!0)}set(e,t){return f.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=m(e),l=s>=0?s:o+s,a=l<0||l>=o?-1:l;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!i;s<0&&l++;let d=[...this.#e],c=!1;for(let e=l;e<u;e++)if(l===e){let o=d[e];d[e]===t&&(o=d[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{c||d[e-1]!==t||(c=!0);let r=d[c?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=p(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=p(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return p(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}});var h=e.i(726330),v=e.i(774606),y=e.i(296626),w=Symbol("radix.slottable");function x(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===w}var g=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var i,o;let l,a,u,d=(o=i=`Primitive.${n}`,(l=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,l,a=(o=n,(l=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(l=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?s(t,a):a),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${o}.SlotClone`,a=l,(u=r.forwardRef((e,n)=>{let{children:i,...o}=e,s=r.Children.toArray(i),l=s.find(x);if(l){let e=l.props.children,i=s.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(a,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(a,{...o,ref:n,children:i})})).displayName=`${i}.Slot`,u),c=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?d:n,{...o,ref:r})});return c.displayName=`Primitive.${n}`,{...e,[n]:c}},{});function E(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}var b=globalThis?.document?r.useLayoutEffect:()=>{};e.i(683986);var R=r[" useInsertionEffect ".trim().toString()]||b;Symbol("RADIX:SYNC_STATE");var T=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"}),C=r.forwardRef((e,r)=>(0,t.jsx)(g.span,{...e,ref:r,style:{...T,...e.style}}));C.displayName="VisuallyHidden";var N="ToastProvider",[j,P,k]=function(e){let n=e+"CollectionProvider",[i,o]=a(n),[s,d]=i(n,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:n,children:i}=e,o=r.default.useRef(null),l=r.default.useRef(new Map).current;return(0,t.jsx)(s,{scope:n,itemMap:l,collectionRef:o,children:i})};c.displayName=n;let f=e+"CollectionSlot",p=u(f),m=r.default.forwardRef((e,r)=>{let{scope:n,children:i}=e,o=l(r,d(f,n).collectionRef);return(0,t.jsx)(p,{ref:o,children:i})});m.displayName=f;let h=e+"CollectionItemSlot",v="data-radix-collection-item",y=u(h),w=r.default.forwardRef((e,n)=>{let{scope:i,children:o,...s}=e,a=r.default.useRef(null),u=l(n,a),c=d(h,i);return r.default.useEffect(()=>(c.itemMap.set(a,{ref:a,...s}),()=>void c.itemMap.delete(a))),(0,t.jsx)(y,{...{[v]:""},ref:u,children:o})});return w.displayName=h,[{Provider:c,Slot:m,ItemSlot:w},function(t){let n=d(e+"CollectionConsumer",t);return r.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},o]}("Toast"),[S,A]=a("Toast",[k]),[D,O]=S(N),L=e=>{let{__scopeToast:n,label:i="Notification",duration:o=5e3,swipeDirection:s="right",swipeThreshold:l=50,children:a}=e,[u,d]=r.useState(null),[c,f]=r.useState(0),p=r.useRef(!1),m=r.useRef(!1);return i.trim()||console.error(`Invalid prop \`label\` supplied to \`${N}\`. Expected non-empty \`string\`.`),(0,t.jsx)(j.Provider,{scope:n,children:(0,t.jsx)(D,{scope:n,label:i,duration:o,swipeDirection:s,swipeThreshold:l,toastCount:c,viewport:u,onViewportChange:d,onToastAdd:r.useCallback(()=>f(e=>e+1),[]),onToastRemove:r.useCallback(()=>f(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m,children:a})})};L.displayName=N;var M="ToastViewport",I=["F8"],F="toast.viewportPause",$="toast.viewportResume",_=r.forwardRef((e,n
1)=>{let{__scopeToast:i,hotkey:o=I,label:s="Notifications ({hotkey})",...a}=e,u=O(M,i),d=P(i),c=r.useRef(null),f=r.useRef(null),p=r.useRef(null),m=r.useRef(null),v=l(n,m,u.onViewportChange),y=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=u.toastCount>0;r.useEffect(()=>{let e=e=>{0!==o.length&&o.every(t=>e[t]||e.code===t)&&m.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),r.useEffect(()=>{let e=c.current,t=m.current;if(w&&e&&t){let r=()=>{if(!u.isClosePausedRef.current){let e=new CustomEvent(F);t.dispatchEvent(e),u.isClosePausedRef.current=!0}},n=()=>{if(u.isClosePausedRef.current){let e=new CustomEvent($);t.dispatchEvent(e),u.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||n()},o=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",i),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",o),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",i),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",o),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[w,u.isClosePausedRef]);let x=r.useCallback(({tabbingDirection:e})=>{let t=d().map(t=>{let r=t.ref.current,n=[r,...function(e){let t=[],r=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(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===e?n:n.reverse()});return("forwards"===e?t.reverse():t).flat()},[d]);return r.useEffect(()=>{let e=m.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){let r=document.activeElement,n=t.shiftKey;if(t.target===e&&n)return void f.current?.focus();let i=x({tabbingDirection:n?"backwards":"forwards"}),o=i.findIndex(e=>e===r);en(i.slice(o+1))?t.preventDefault():n?f.current?.focus():p.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[d,x]),(0,t.jsxs)(h.Branch,{ref:c,role:"region","aria-label":s.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&(0,t.jsx)(K,{ref:f,onFocusFromOutsideViewport:()=>{en(x({tabbingDirection:"forwards"}))}}),(0,t.jsx)(j.Slot,{scope:i,children:(0,t.jsx)(g.ol,{tabIndex:-1,...a,ref:v})}),w&&(0,t.jsx)(K,{ref:p,onFocusFromOutsideViewport:()=>{en(x({tabbingDirection:"backwards"}))}})]})});_.displayName=M;var z="ToastFocusProxy",K=r.forwardRef((e,r)=>{let{__scopeToast:n,onFocusFromOutsideViewport:i,...o}=e,s=O(z,n);return(0,t.jsx)(C,{tabIndex:0,...o,ref:r,style:{position:"fixed"},onFocus:e=>{let t=e.relatedTarget;s.viewport?.contains(t)||i()}})});K.displayName=z;var V="Toast",W=r.forwardRef((e,n)=>{let{forceMount:o,open:s,defaultOpen:l,onOpenChange:a,...u}=e,[d,c]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[o,s,l]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),o=r.useRef(n),s=r.useRef(t);return R(()=>{s.current=t},[t]),r.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,i,s]}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,i])}return[u,r.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[a,e,s,l])]}({prop:s,defaultProp:l??!0,onChange:a,caller:V});return(0,t.jsx)(y.Presence,{present:o||d,children:(0,t.jsx)(X,{open:d,...u,ref:n,onClose:()=>c(!1),onPause:E(e.onPause),onResume:E(e.onResume),onSwipeStart:i(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:i(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${r}px`)}),onSwipeCancel:i(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:i(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${r}px`),c(!1)})})})});W.displayName=V;var[B,U]=S(V,{onClose(){}}),X=r.forwardRef((e,o)=>{let{__scopeToast:s,type:a="foreground",duration:u,open:d,onClose:c,onEscapeKeyDown:f,onPause:p,onResume:m,onSwipeStart:v,onSwipeMove:y,onSwipeCancel:w,onSwipeEnd:x,...b}=e,R=O(V,s),[T,C]=r.useState(null),N=l(o,e=>C(e)),P=r.useRef(null),k=r.useRef(null),S=u||R.duration,A=r.useRef(0),D=r.useRef(S),L=r.useRef(0),{onToastAdd:M,onToastRemove:I}=R,_=E(()=>{T?.contains(document.activeElement)&&R.viewport?.focus(),c()}),z=r.useCallback(e=>
1{e&&e!==1/0&&(window.clearTimeout(L.current),A.current=new Date().getTime(),L.current=window.setTimeout(_,e))},[_]);r.useEffect(()=>{let e=R.viewport;if(e){let t=()=>{z(D.current),m?.()},r=()=>{let e=new Date().getTime()-A.current;D.current=D.current-e,window.clearTimeout(L.current),p?.()};return e.addEventListener(F,r),e.addEventListener($,t),()=>{e.removeEventListener(F,r),e.removeEventListener($,t)}}},[R.viewport,S,p,m,z]),r.useEffect(()=>{d&&!R.isClosePausedRef.current&&z(S)},[d,S,R.isClosePausedRef,z]),r.useEffect(()=>(M(),()=>I()),[M,I]);let K=r.useMemo(()=>T?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{var n;if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),(n=t).nodeType===n.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,i=""===t.dataset.radixToastAnnounceExclude;if(!n)if(i){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}),r}(T):null,[T]);return R.viewport?(0,t.jsxs)(t.Fragment,{children:[K&&(0,t.jsx)(q,{__scopeToast:s,role:"status","aria-live":"foreground"===a?"assertive":"polite",children:K}),(0,t.jsx)(B,{scope:s,onClose:_,children:n.createPortal((0,t.jsx)(j.ItemSlot,{scope:s,children:(0,t.jsx)(h.Root,{asChild:!0,onEscapeKeyDown:i(f,()=>{R.isFocusedToastEscapeKeyDownRef.current||_(),R.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,t.jsx)(g.li,{tabIndex:0,"data-state":d?"open":"closed","data-swipe-direction":R.swipeDirection,...b,ref:N,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:i(e.onKeyDown,e=>{"Escape"===e.key&&(f?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(R.isFocusedToastEscapeKeyDownRef.current=!0,_()))}),onPointerDown:i(e.onPointerDown,e=>{0===e.button&&(P.current={x:e.clientX,y:e.clientY})}),onPointerMove:i(e.onPointerMove,e=>{if(!P.current)return;let t=e.clientX-P.current.x,r=e.clientY-P.current.y,n=!!k.current,i=["left","right"].includes(R.swipeDirection),o=["left","up"].includes(R.swipeDirection)?Math.min:Math.max,s=i?o(0,t):0,l=i?0:o(0,r),a="touch"===e.pointerType?10:2,u={x:s,y:l},d={originalEvent:e,delta:u};n?(k.current=u,et("toast.swipeMove",y,d,{discrete:!1})):er(u,R.swipeDirection,a)?(k.current=u,et("toast.swipeStart",v,d,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>a||Math.abs(r)>a)&&(P.current=null)}),onPointerUp:i(e.onPointerUp,e=>{let t=k.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),k.current=null,P.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};er(t,R.swipeDirection,R.swipeThreshold)?et("toast.swipeEnd",x,n,{discrete:!0}):et("toast.swipeCancel",w,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),R.viewport)})]}):null}),q=e=>{let{__scopeToast:n,children:i,...o}=e,s=O(V,n),[l,a]=r.useState(!1),[u,d]=r.useState(!1);return function(e=()=>{}){let t=E(e);b(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>a(!0)),r.useEffect(()=>{let e=window.setTimeout(()=>d(!0),1e3);return()=>window.clearTimeout(e)},[]),u?null:(0,t.jsx)(v.Portal,{asChild:!0,children:(0,t.jsx)(C,{...o,children:l&&(0,t.jsxs)(t.Fragment,{children:[s.label," ",i]})})})},H=r.forwardRef((e,r)=>{let{__scopeToast:n,...i}=e;return(0,t.jsx)(g.div,{...i,ref:r})});H.displayName="ToastTitle";var Y=r.forwardRef((e,r)=>{let{__scopeToast:n,...i}=e;return(0,t.jsx)(g.div,{...i,ref:r})});Y.displayName="ToastDescription";var Z="ToastAction",G=r.forwardRef((e,r)=>{let{altText:n,...i}=e;return n.trim()?(0,t.jsx)(ee,{altText:n,asChild:!0,children:(0,t.jsx)(Q,{...i,ref:r})}):(console.error(`Invalid prop \`altText\` supplied to \`${Z}\`. Expected non-empty \`string\`.`),null)});G.displayName=Z;var J="ToastClose",Q=r.forwardRef((e,r)=>{let{__scopeToast:n,...o}=e,s=U(J,n);return(0,t.jsx)(ee,{asChild:!0,children:(0,t.jsx)(g.button,{type:"button",...o,ref:r,onClick:i(e.onClick,s.onClose)})})});Q.displayName=J;var ee=r.forwardRef((e,r)=>{let{__scopeToast:n,altText:i,...o}=e;return(0,t.jsx)(g.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":i||void 0,...o,ref:r})});function et(e,t,r,{discrete:i}){let o=r.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});if(t&&o.addEventListener(e,t,{once:!0}),i)o&&n.flushSync(()=>o.dispatchEvent(s));else o.dispatchEvent(s)}var er=(e,t,r=0)=>{let n=Math.abs(e.x),i=Math.abs(e.y),o=n>i;return"left"===t||"right"===t?o&&n>r:!o&&i>r};function en(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var ei=e.i(225913),eo=e.i(37727),es=e.i(647163);let el=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(_,{ref:n,className:(0,es.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...r}));el.displayName=_.displayName;let ea=(0,ei.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),eu=r.forwardRef(({className:e,variant:r,...n},i)=>(0,t.jsx)(W,{ref:i,className:(0,es.cn)(ea({variant:r}),e),...n}));eu.displayName=W.displayName,r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(G,{ref:n,className:(0,es.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...r})).displayName=G.displayName;let ed=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(Q,{ref:n,className:(0,es.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground
1/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...r,children:(0,t.jsx)(eo.X,{className:"h-4 w-4"})}));ed.displayName=Q.displayName;let ec=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(H,{ref:n,className:(0,es.cn)("text-sm font-semibold",e),...r}));ec.displayName=H.displayName;let ef=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(Y,{ref:n,className:(0,es.cn)("text-sm opacity-90",e),...r}));ef.displayName=Y.displayName;var ep=e.i(120682);e.s(["Toaster",0,function(){let{toasts:e}=(0,ep.useToast)();return(0,t.jsxs)(L,{children:[e.map(({id:e,title:r,description:n,action:i,...o})=>(0,t.jsxs)(eu,{...o,children:[(0,t.jsxs)("div",{className:"grid gap-1",children:[r&&(0,t.jsx)(ec,{children:r}),n&&(0,t.jsx)(ef,{children:n})]}),i,(0,t.jsx)(ed,{})]},e)),(0,t.jsx)(el,{})]})}],334863)}]);

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.