PageSourceSearch

https://book.andoliving.com/_next/static/chunks/9483-9f38216dba2a6ead.js

js andoliving.com collected 2026-10-04 13:29:17 UTC 34,885 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9483],{23541:function(e,t,n){n.d(t,{Ry:function(){return hideOthers}});var r=new WeakMap,o=new WeakMap,a={},i=0,unwrapHost=function(e){return e&&(e.host||unwrapHost(e.parentNode))},applyAttributeToOthers=function(e,t,n,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=unwrapHost(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var l=a[n],s=[],d=new Set,f=new Set(c),keep=function(e){!e||d.has(e)||(d.add(e),keep(e.parentNode))};c.forEach(keep);var deep=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))deep(e);else try{var t=e.getAttribute(u),a=null!==t&&"false"!==t,i=(r.get(e)||0)+1,c=(l.get(e)||0)+1;r.set(e,i),l.set(e,c),s.push(e),1===i&&a&&o.set(e,!0),1===c&&e.setAttribute(n,"true"),a||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return deep(t),d.clear(),i++,function(){s.forEach(function(e){var t=r.get(e)-1,a=l.get(e)-1;r.set(e,t),l.set(e,a),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),a||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,a={})}},hideOthers=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),applyAttributeToOthers(r,o,n,"aria-hidden")):function(){return null}}},86893:function(e,t,n){n.d(t,{AlO:function(){return FiExternalLink},C3L:function(){return FiCopy},JID:function(){return FiInstagram},Nte:function(){return FiEdit3},OvN:function(){return FiPlus},PMT:function(){return FiShare2},jRj:function(){return FiSearch}});var r=n(88357);function FiCopy(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}}]})(e)}function FiEdit3(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 20h9"}},{tag:"path",attr:{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"}}]})(e)}function FiExternalLink(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}},{tag:"polyline",attr:{points:"15 3 21 3 21 9"}},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"}}]})(e)}function FiInstagram(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}},{tag:"path",attr:{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}},{tag:"line",attr:{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"}}]})(e)}function FiPlus(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(e)}function FiSearch(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(e)}function FiShare2(e){return(0,r.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"18",cy:"5",r:"3"}},{tag:"circle",attr:{cx:"6",cy:"12",r:"3"}},{tag:"circle",attr:{cx:"18",cy:"19",r:"3"}},{tag:"line",attr:{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}},{tag:"line",attr:{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"}}]})(e)}},6223:function(e,t,n){n.d(t,{Z:function(){return N}});var r,o,a,i,u,c,__assign=function(){return(__assign=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 __rest(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}"function"==typeof SuppressedError&&SuppressedError;var l=n(67294),s="right-scroll-bar-position",d="width-before-scroll-bar";function assignRef(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var f="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,p=new WeakMap,m=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),a=[],i=!1,u={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,i);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var n=a;
1a=[],n.forEach(e),t=a}var executeQueue=function(){var n=t;t=[],n.forEach(e)},cycle=function(){return Promise.resolve().then(executeQueue)};cycle(),a={push:function(e){t.push(e),cycle()},filter:function(e){return t=t.filter(e),a}}}}).options=__assign({async:!0,ssr:!1},r),u),nothing=function(){},v=l.forwardRef(function(e,t){var n,r,o,a,i=l.useRef(null),u=l.useState({onScrollCapture:nothing,onWheelCapture:nothing,onTouchMoveCapture:nothing}),c=u[0],s=u[1],d=e.forwardProps,v=e.children,h=e.className,g=e.removeScrollBar,y=e.enabled,b=e.shards,E=e.sideCar,w=e.noIsolation,C=e.inert,S=e.allowPinchZoom,x=e.as,k=void 0===x?"div":x,N=e.gapMode,D=__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[i,t],r=function(e){return n.forEach(function(t){return assignRef(t,e)})},(o=(0,l.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,a=o.facade,f(function(){var e=p.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||assignRef(e,null)}),r.forEach(function(e){t.has(e)||assignRef(e,o)})}p.set(a,n)},[n]),a),P=__assign(__assign({},D),c);return l.createElement(l.Fragment,null,y&&l.createElement(E,{sideCar:m,removeScrollBar:g,shards:b,noIsolation:w,inert:C,setCallbacks:s,allowPinchZoom:!!S,lockRef:i,gapMode:N}),d?l.cloneElement(l.Children.only(v),__assign(__assign({},P),{ref:R})):l.createElement(k,__assign({},P,{className:h,ref:R}),v))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:d,zeroRight:s};var SideCar=function(e){var t=e.sideCar,n=__rest(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 l.createElement(r,__assign({},n))};SideCar.isSideCarExport=!0;var stylesheetSingleton=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=c||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)}}},styleHookSingleton=function(){var e=stylesheetSingleton();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},styleSingleton=function(){var e=styleHookSingleton();return function(t){return e(t.styles,t.dynamic),null}},h={left:0,top:0,right:0,gap:0},parse=function(e){return parseInt(e||"",10)||0},getOffset=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[parse(n),parse(r),parse(o)]},getGapWidth=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return h;var t=getOffset(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])}},g=styleSingleton(),y="data-scroll-locked",getStyles=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(y,"] {\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(s," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(d," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(s," .").concat(s," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(y,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},getCurrentUseCounter=function(){var e=parseInt(document.body.getAttribute(y)||"0",10);return isFinite(e)?e:0},useLockAttribute=function(){l.useEffect(function(){return document.body.setAttribute(y,(getCurrentUseCounter()+1).toString()),function(){var e=getCurrentUseCounter()-1;e<=0?document.body.removeAttribute(y):document.body.setAttribute(y,e.toString())}},[])},RemoveScrollBar=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;useLockAttribute();var a=l.useMemo(function(){return getGapWidth(o)},[o]);return l.createElement(g,{styles:getStyles(a,!t,o,n?"":"!important")})},b=!1;if("undefined"!=typeof window)try{var E=Object.defineProperty({},"passive",{get:function(){return b=!0,!0}});window.addEventListener("test",E,E),window.removeEventListener("test",E,E)}catch(e){b=!1}var w=!!b&&{passive:!1},elementCanBeScrolled=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},locationCouldBeScrolled=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),elementCouldBeScrolled(e,r)){var o=getScrollVariables(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},elementCouldBeScrolled=function(e,t){return"v"===e?elementCanBeScrolled(t,"overflowY"):elementCanBeScrolled(t,"overflowX")},getScrollVariables=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},handleScroll=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,c=n.target,l=t.contains(c),s=!1,d=u>0,f=0,p=0;do{var m=getScrollVariables(e,c),v=m[0],h=m[1]-m[2]-i*v;(v||h)&&elementCouldBeScrolled(e,c)&&(f+=h,p+=v),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-u>p)&&(s=!0),s},getTouchXY=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},getDeltaXY=function(e){return[e.deltaX,e.deltaY]},extractRef=function(e){return e&&"current"in e?e.current:e},C=0,S=[],x=(m.useMedium(function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(C++)[0],a=l.useState(styleSingleton)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(extractRef),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=getTouchXY(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";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=locationCouldBeScrolled(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=locationCouldBeScrolled(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 handleScroll(p,t,e,"h"===p?c:l,!0)},[]),c=l.useCallback(function(e){if(S.length&&S[S.length-1]===a){var n="deltaY"in e?getDeltaXY(e):getTouchXY(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(extractRef).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=l.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=l.useCallback(function(e){n.current=getTouchXY(e),r.current=void 0},[]),f=l.useCallback(function(t){s(t.type,getDeltaXY(t),t.target,u(t,e.lockRef.current))},[]),p=l.useCallback(function(t){s(t.type,getTouchXY(t),t.target,u(t,e.lockRef.current))},[]);l.useEffect(function(){return S.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,w),document.addEventListener("touchmove",c,w),document.addEventListener("touchstart",d,w),function(){S=S.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,w),document.removeEventListener("touchmove",c,w),document.removeEventListener("touchstart",d,w)}},[]);var m=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?l.createElement(RemoveScrollBar,{gapMode:e.gapMode}):null)}),SideCar),k=l.forwardRef(function(e,t){return l.createElement(v,__assign({},e,{ref:t,sideCar:x}))});k.classNames=v.classNames;var N=k},36206:function(e,t,n){n.d(t,{M:function(){return composeEventHandlers}});function composeEventHandlers(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},25360:function(e,t,n){n.d(t,{b:function(){return createContextScope},k:function(){return createContext2}});var r=n(67294),o=n(85893);function createContext2(e,t){let n=r.createContext(t),Provider=e=>{let{children:t,...a}=e,i=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(n.Provider,{value:i,children:t})};return Provider.displayName=e+"Provider",[Provider,function(o){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function createContextScope(e,t=[]){let n=[],createScope=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return createScope.scopeName=e,[function(t,a){let i=r.createContext(a),u=n.length;n=[...n,a];let Provider=t=>{let{scope:n,children:a,...c}=t,l=n?.[e]?.[u]||i,s=r.useMemo(()=>c,Object.values(c));return(0,o.jsx)(l.Provider,{value:s,children:a})};return Provider.displayName=t+"Provider",[Provider,function(n,o){let c=o?.[e]?.[u]||i,l=r.useContext(c);if(l)return l;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let createScope=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e),a=o[`__scope${r}`];return{...t,...a}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return createScope.scopeName=t.scopeName,createScope}(createScope,...t)]}},12854:function(e,t,n){n.d(t,{$N:function(){return I},Be:function(){return B},Dx:function(){return q},GG:function(){return V},VY:function(){return Z},aV:function(){return G},cZ:function(){return O},dk:function(){return Q},fC:function(){return $},h_:function(){return K},t9:function(){return M},x8:function(){return J},xz:function(){return z}});var r=n(67294),o=n(36206),a=n(28771),i=n(25360),u=n(91276),c=n(77342),l=n(46063),s=n(95420),d=n(42651),f=n(29115),p=n(75320),m=n(27552),v=n(6223),h=n(23541),g=n(88426),y=n(85893),b="Dialog",[E,w]=(0,i.b)(b),[C,S]=E(b),Dialog=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,s=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,c.T)({prop:o,defaultProp:a,onChange:i});return(0,y.jsx)(C,{scope:t,triggerRef:s,contentRef:d,contentId:(0,u.M)(),titleId:(0,u.M)(),descriptionId:(0,u.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:l,children:n})};Dialog.displayName=b;var x="DialogTrigger",k=r.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,i=S(x,n),u=(0,a.e)(t,i.triggerRef);return(0,y.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":getState(i.open),...r,ref:u,onClick:(0,o.M)(e.onClick,i.onOpenToggle)})});k.displayName=x;var N="DialogPortal",[D,R]=E(N,{forceMount:void 0}),DialogPortal=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=S(N,t);return(0,y.jsx)(D,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(f.z,{present:n||i.open,children:(0,y.jsx)(d.h,{asChild:!0,container:a,children:e})}))})};DialogPortal.displayName=N;var P="DialogOverlay",M=r.forwardRef((e,t)=>{let n=R(P,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=S(P,e.__scopeDialog);return a.modal?(0,y.jsx)(f.z,{present:r||a.open,children:(0,y.jsx)(A,{...o,ref:t})}):null});M.displayName=P;var A=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(P,n);return(0,y.jsx)(v.Z,{as:g.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.WV.div,{"data-state":getState(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),L="DialogContent",O=r.forwardRef((e,t)=>{let n=R(L,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=S(L,e.__scopeDialog);return(0,y.jsx)(f.z,{present:r||a.open,children:a.modal?(0,y.jsx)(T,{...o,ref:t}):(0,y.jsx)(_,{...o,ref:t})})});O.displayName=L;var T=r.forwardRef((e,t)=>{let n=S(L,e.__scopeDialog),i=r.useRef(null),u=(0,a.e)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,h.Ry)(e)},[]),(0,y.jsx)(F,{...e,ref:u,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;r&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),_=r.forwardRef((e,t)=>{let n=S(L,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,y.jsx)(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let r=t.target,i=n.triggerRef.current?.contains(r);i&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),F=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:u,...c}=e,d=S(L,n),f=r.useRef(null),p=(0,a.e)(t,f);return(0,m.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(s.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:u,children:(0,y.jsx)(l.XB,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":getState(d.open),...c,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(TitleWarning,{titleId:d.titleId}),(0,y.jsx)(DescriptionWarning,{contentRef:f,descriptionId:d.descriptionId})]})]})}),W="DialogTitle",I=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(W,n);return(0,y.jsx)(p.WV.h2,{id:o.titleId,...r,ref:t})});I.displayName=W;var j="DialogDescription",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(j,n);return(0,y.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:t})});B.displayName=j;var U="DialogClose",V=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=S(U,n);return(0,y.jsx)(p.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>a.onOpenChange(!1))})});function getState(e){return e?"open":"closed"}V.displayName=U;var X="DialogTitleWarning",[Y,H]=(0,i.k)(X,{contentName:L,titleName:W,docsSlug:"dialog"}),TitleWarning=({titleId:e})=>{let t=H(X),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{if(e){let t=document.getElementById(e);t||console.error(n)}},[n,e]),null},DescriptionWarning=({contentRef:e,descriptionId:t})=>{let n=H("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");if(t&&n){let e=document.getElementById(t);e||console.warn(o)}},[o,e,t]),null}
5,$=Dialog,z=k,K=DialogPortal,G=M,Z=O,q=I,Q=B,J=V},46063:function(e,t,n){n.d(t,{XB:function(){return f}});var r,o=n(67294),a=n(36206),i=n(75320),u=n(28771),c=n(79698),l=n(85893),s="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:v,onDismiss:h,...g}=e,y=o.useContext(d),[b,E]=o.useState(null),w=b?.ownerDocument??globalThis?.document,[,C]=o.useState({}),S=(0,u.e)(t,e=>E(e)),x=Array.from(y.layers),[k]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),N=x.indexOf(k),D=b?x.indexOf(b):-1,R=y.layersWithOutsidePointerEventsDisabled.size>0,P=D>=N,M=function(e,t=globalThis?.document){let n=(0,c.W)(e),r=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let handlePointerDown=e=>{if(e.target&&!r.current){let handleAndDispatchPointerDownOutsideEvent2=function(){handleAndDispatchCustomEvent("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})},r={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=handleAndDispatchPointerDownOutsideEvent2,t.addEventListener("click",a.current,{once:!0})):handleAndDispatchPointerDownOutsideEvent2()}else t.removeEventListener("click",a.current);r.current=!1},e=window.setTimeout(()=>{t.addEventListener("pointerdown",handlePointerDown)},0);return()=>{window.clearTimeout(e),t.removeEventListener("pointerdown",handlePointerDown),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...y.branches].some(e=>e.contains(t));!P||n||(p?.(e),v?.(e),e.defaultPrevented||h?.())},w),A=function(e,t=globalThis?.document){let n=(0,c.W)(e),r=o.useRef(!1);return o.useEffect(()=>{let handleFocus=e=>{e.target&&!r.current&&handleAndDispatchCustomEvent("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",handleFocus),()=>t.removeEventListener("focusin",handleFocus)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target,n=[...y.branches].some(e=>e.contains(t));n||(m?.(e),v?.(e),e.defaultPrevented||h?.())},w);return!function(e,t=globalThis?.document){let n=(0,c.W)(e);o.useEffect(()=>{let handleKeyDown=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",handleKeyDown,{capture:!0}),()=>t.removeEventListener("keydown",handleKeyDown,{capture:!0})},[n,t])}(e=>{let t=D===y.layers.size-1;t&&(f?.(e),!e.defaultPrevented&&h&&(e.preventDefault(),h()))},w),o.useEffect(()=>{if(b)return n&&(0===y.layersWithOutsidePointerEventsDisabled.size&&(r=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(b)),y.layers.add(b),dispatchUpdate(),()=>{n&&1===y.layersWithOutsidePointerEventsDisabled.size&&(w.body.style.pointerEvents=r)}},[b,w,n,y]),o.useEffect(()=>()=>{b&&(y.layers.delete(b),y.layersWithOutsidePointerEventsDisabled.delete(b),dispatchUpdate())},[b,y]),o.useEffect(()=>{let handleUpdate=()=>C({});return document.addEventListener(s,handleUpdate),()=>document.removeEventListener(s,handleUpdate)},[]),(0,l.jsx)(i.WV.div,{...g,ref:S,style:{pointerEvents:R?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,A.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,M.onPointerDownCapture)})});function dispatchUpdate(){let e=new CustomEvent(s);document.dispatchEvent(e)}function handleAndDispatchCustomEvent(e,t,n,{discrete:r}){let o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.jH)(o,a):o.dispatchEvent(a)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(d),r=o.useRef(null),a=(0,u.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,l.jsx)(i.WV.div,{...e,ref:a})}).displayName="DismissableLayerBranch"},27552:function(e,t,n){n.d(t,{EW:function(){return useFocusGuards}});var r=n(67294),o=0;function useFocusGuards(){r.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??createFocusGuard()),document.body.insertAdjacentElement("beforeend",e[1]??createFocusGuard()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
5=>e.remove()),o--}},[])}function createFocusGuard(){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}},95420:function(e,t,n){let r;n.d(t,{M:function(){return f}});var o=n(67294),a=n(28771),i=n(75320),u=n(79698),c=n(85893),l="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:f,onUnmountAutoFocus:m,...v}=e,[h,g]=o.useState(null),y=(0,u.W)(f),b=(0,u.W)(m),E=o.useRef(null),w=(0,a.e)(t,e=>g(e)),C=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let handleFocusIn2=function(e){if(C.paused||!h)return;let t=e.target;h.contains(t)?E.current=t:focus(E.current,{select:!0})},handleFocusOut2=function(e){if(C.paused||!h)return;let t=e.relatedTarget;null===t||h.contains(t)||focus(E.current,{select:!0})};document.addEventListener("focusin",handleFocusIn2),document.addEventListener("focusout",handleFocusOut2);let e=new MutationObserver(function(e){let t=document.activeElement;if(t===document.body)for(let t of e)t.removedNodes.length>0&&focus(h)});return h&&e.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",handleFocusIn2),document.removeEventListener("focusout",handleFocusOut2),e.disconnect()}}},[r,h,C.paused]),o.useEffect(()=>{if(h){p.add(C);let e=document.activeElement,t=h.contains(e);if(!t){let t=new CustomEvent(l,d);h.addEventListener(l,y),h.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(focus(r,{select:t}),document.activeElement!==n)return}(getTabbableCandidates(h).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&focus(h))}return()=>{h.removeEventListener(l,y),setTimeout(()=>{let t=new CustomEvent(s,d);h.addEventListener(s,b),h.dispatchEvent(t),t.defaultPrevented||focus(e??document.body,{select:!0}),h.removeEventListener(s,b),p.remove(C)},0)}}},[h,y,b,C]);let S=o.useCallback(e=>{if(!n&&!r||C.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=getTabbableCandidates(e),n=findVisible(t,e),r=findVisible(t.reverse(),e);return[n,r]}(t),i=r&&a;i?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&focus(a,{select:!0})):(e.preventDefault(),n&&focus(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,C.paused]);return(0,c.jsx)(i.WV.div,{tabIndex:-1,...v,ref:w,onKeyDown:S})});function getTabbableCandidates(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 findVisible(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function focus(e,{select:t=!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 p=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=arrayRemove(r,e)).unshift(e)},remove(e){r=arrayRemove(r,e),r[0]?.resume()}});function arrayRemove(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},91276:function(e,t,n){n.d(t,{M:function(){return useId}});var r,o=n(67294),a=n(9981),i=(r||(r=n.t(o,2)))["useId".toString()]||(()=>void 0),u=0;function useId(e){let[t,n]=o.useState(i());return(0,a.b)(()=>{e||n(e=>e??String(u++))},[e]),e||(t?`radix-${t}`:"")}},42651:function(e,t,n){n.d(t,{h:function(){return c}});var r=n(67294),o=n(73935),a=n(75320),i=n(9981),u=n(85893),c=r.forwardRef((e,t)=>{let{container:n,...c}=e,[l,s]=r.useState(!1);(0,i.b)(()=>s(!0),[]);let d=n||l&&globalThis?.document?.body;return d?o.createPortal((0,u.jsx)(a.WV.div,{...c,ref:t}),d):null});c.displayName="Portal"},29115:function(e,t,n){n.d(t,{z:function(){return Presence}});var r=n(67294),o=n(28771),a=n(9981),Presence=e=>{let t,n;let{present:i,children:u}=e,c=function(e){var t;let[n,o]=r.useState(),i=r.useRef({}),u=r.useRef(e),c=r.useRef("none"),l=e?"mounted":"unmounted",[s,d]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return r??e},l));return r.useEffect(()=>{let e=getAnimationName(i.current);c.current="mounted"===s?e:"none"},[s]),(0,a.b)(()=>{let t=i.current,n=u.current,r=n!==e;if(r){let r=c.current,o=getAnimationName(t);e?d("MOUNT"):"none"===o||t?.display==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),(0,a.b)(()=>
5{if(n){let e;let t=n.ownerDocument.defaultView??window,handleAnimationEnd=r=>{let o=getAnimationName(i.current),a=o.includes(r.animationName);if(r.target===n&&a&&(d("ANIMATION_END"),!u.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},handleAnimationStart=e=>{e.target===n&&(c.current=getAnimationName(i.current))};return n.addEventListener("animationstart",handleAnimationStart),n.addEventListener("animationcancel",handleAnimationEnd),n.addEventListener("animationend",handleAnimationEnd),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",handleAnimationStart),n.removeEventListener("animationcancel",handleAnimationEnd),n.removeEventListener("animationend",handleAnimationEnd)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:r.useCallback(e=>{e&&(i.current=getComputedStyle(e)),o(e)},[])}}(i),l="function"==typeof u?u({present:c.isPresent}):r.Children.only(u),s=(0,o.e)(c.ref,(t=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?l.ref:(t=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?l.props.ref:l.props.ref||l.ref),d="function"==typeof u;return d||c.isPresent?r.cloneElement(l,{ref:s}):null};function getAnimationName(e){return e?.animationName||"none"}Presence.displayName="Presence"},79698:function(e,t,n){n.d(t,{W:function(){return useCallbackRef}});var r=n(67294);function useCallbackRef(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},77342:function(e,t,n){n.d(t,{T:function(){return useControllableState}});var r=n(67294),o=n(79698);function useControllableState({prop:e,defaultProp:t,onChange:n=()=>{}}){let[a,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[a]=n,i=r.useRef(a),u=(0,o.W)(t);return r.useEffect(()=>{i.current!==a&&(u(a),i.current=a)},[a,i,u]),n}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:a,l=(0,o.W)(n),s=r.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[u,e,i,l]);return[c,s]}},9981:function(e,t,n){n.d(t,{b:function(){return o}});var r=n(67294),o=globalThis?.document?r.useLayoutEffect:()=>{}}}]);

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.