/*! For license information please see phillipsFooter.bundle.js.LICENSE.txt */
!function(){var e,t,n={96940:function(e,t,n){"use strict";n.r(t),n.d(t,{FooterIndex:function(){return xN}});var r={};n.r(r),n.d(r,{Account:function(){return Qr},AccountActive:function(){return Zr},Add:function(){return eo},AppleAppStoreBadge:function(){return to},ArrowDown:function(){return no},ArrowLeft:function(){return ro},ArrowRight:function(){return oo},ArrowUp:function(){return io},Bag:function(){return ao},Calendar:function(){return so},ChevronDown:function(){return lo},ChevronLeft:function(){return co},ChevronRight:function(){return uo},ChevronUp:function(){return fo},CloseX:function(){return po},ConditionReport:function(){return ho},Delete:function(){return mo},Download:function(){return go},Edit:function(){return vo},Email:function(){return yo},Error:function(){return wo},ExternalLink:function(){return bo},Facebook:function(){return xo},Favorite:function(){return Eo},FavoriteActive:function(){return So},Filters:function(){return Co},Fullscreen:function(){return Ao},FullscreenExit:function(){return To},Gavel:function(){return jo},GavelActive:function(){return Oo},Grid:function(){return No},Hide:function(){return _o},Home:function(){return Po},HomeActive:function(){return ko},Icon:function(){return Do},IconGreenCircle:function(){return Mo},IconRedCircle:function(){return Ro},Instagram:function(){return Lo},LinkedIn:function(){return Io},List:function(){return $o},Lock:function(){return Fo},MagnificentSeven:function(){return zo},Menu:function(){return Bo},Mute:function(){return Ho},Pause:function(){return Uo},PhillipsAppIcon:function(){return Wo},PhillipsLogo:function(){return Vo},Play:function(){return qo},Red:function(){return Yo},Refresh:function(){return Go},Search:function(){return Ko},Sell:function(){return Jo},SellActive:function(){return Xo},Share:function(){return Zo},Subtract:function(){return Qo},Success:function(){return ei},Tooltip:function(){return ti},TwitterX:function(){return ni},Upload:function(){return ri},View:function(){return oi},VolumeMaximum:function(){return ii},VolumeMid:function(){return ai},VolumeMinimum:function(){return si},WeChat:function(){return li}});var o={};n.r(o),n.d(o,{Chat:function(){return ci},CreditCard:function(){return ui},Form:function(){return di},Live:function(){return fi},MobilePhone:function(){return pi},Notification:function(){return hi},Phone:function(){return mi},Photos:function(){return gi},Search:function(){return vi},Shipping:function(){return yi},Sign:function(){return wi},Submit:function(){return bi},Timer:function(){return xi},Verification:function(){return Si}});var i={};n.r(i),n.d(i,{polyfill:function(){return Sp}});var a={};n.r(a),n.d(a,{customAlphabet:function(){return WS},customRandom:function(){return US},nanoid:function(){return VS},random:function(){return HS},urlAlphabet:function(){return BS}});var s={};n.r(s),n.d(s,{ArraySchema:function(){return rA},BooleanSchema:function(){return _C},DateSchema:function(){return qC},LazySchema:function(){return lA},MixedSchema:function(){return jC},NumberSchema:function(){return UC},ObjectSchema:function(){return tA},Schema:function(){return AC},StringSchema:function(){return BC},TupleSchema:function(){return iA},ValidationError:function(){return rC},addMethod:function(){return uA},array:function(){return nA},bool:function(){return NC},boolean:function(){return NC},date:function(){return VC},defaultLocale:function(){return fC},getIn:function(){return xC},isSchema:function(){return pC},lazy:function(){return aA},mixed:function(){return OC},number:function(){return HC},object:function(){return eA},printValue:function(){return XE},reach:function(){return SC},ref:function(){return vC},setLocale:function(){return cA},string:function(){return zC},tuple:function(){return oA}});var l=n(41594),c=n.t(l,2),u=n.n(l),d=n(73634),f=n(61100),p=ReactDOM;let h=function(e){e()};const m=()=>h,g=Symbol.for("react-redux-context"),v="undefined"!=typeof globalThis?globalThis:{};function y(){var e;if(!l.createContext)return{};const t=null!=(e=v[g])?e:v[g]=new Map;let n=t.get(l.createContext);return n||(n=l.createContext(null),t.set(l.createContext,n)),n}const w=y();function b(e=w){return function(){return(0,l.useContext)(e)}}const x=b();let S=()=>{throw new Error("uSES not initialized!")};const E=(e,t)=>e===t;function C(e=w){const t=e===w?x:b(e);return function(e,n={}){const{equalityFn:r=E,stabilityCheck:o,noopCheck:i}="function"==typeof n?{equalityFn:n}:n;const{store:a,subscription:s,getServerState:c,stabilityCheck:u,noopCheck:d}=t(),f=((0,l.useRef)(!0),(0,l.useCallback)({[e.name](t){return e(t)}}[e.name],[e,u,o])),p=S(s.addNestedSub,a.getState,c||a.getState,f,r);return(0,l.useDebugValue)(p),p}}const A=C();n(2396),n(99479);const T={notify(){},get:()=>[]};function O(e,t){let n,r=T,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){const e=m();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=T)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,l())},getListeners:()=>r};return c}const j=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?l.useLayoutEffect:l.useEffect;let N=null;var _=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",noopCheck:i="once"}){const a=l.useMemo((()=>{const t=O(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,noopCheck:i}}),[e,r,o,i]),s=l.useMemo((()=>e.getState()),[e]);j((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const c=t||w;return l.createElement(c.Provider,{value:a},n)};function k(e=w){const t=e===w?x:b(e);return function(){const{store:e}=t();return e}}const P=k();function M(e=w){const t=e===w?P:k(e);return function(){return t().dispatch}}const R=M();var D;(e=>{S=e})(f.useSyncExternalStoreWithSelector),(e=>{N=e})(d.useSyncExternalStore),D=p.unstable_batchedUpdates,h=D;var L=n(97598),I=n.n(L);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function F(e){var t=function(e,t){if("object"!==$(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===$(t)?t:String(t)}function z(e,t,n){return(t=F(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var H=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),U=()=>Math.random().toString(36).substring(7).split("").join("."),W={INIT:`@@redux/INIT${U()}`,REPLACE:`@@redux/REPLACE${U()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${U()}`};function V(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function q(e,t,n){if("function"!=typeof e)throw new Error(B(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(B(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(B(1));return n(q)(e,t)}let r=e,o=t,i=new Map,a=i,s=0,l=!1;function c(){a===i&&(a=new Map,i.forEach(((e,t)=>{a.set(t,e)})))}function u(){if(l)throw new Error(B(3));return o}function d(e){if("function"!=typeof e)throw new Error(B(4));if(l)throw new Error(B(5));let t=!0;c();const n=s++;return a.set(n,e),function(){if(t){if(l)throw new Error(B(6));t=!1,c(),a.delete(n),i=null}}}function f(e){if(!V(e))throw new Error(B(7));if(void 0===e.type)throw new Error(B(8));if("string"!=typeof e.type)throw new Error(B(17));if(l)throw new Error(B(9));try{l=!0,o=r(o,e)}finally{l=!1}return(i=a).forEach((e=>{e()})),e}f({type:W.INIT});return{dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(B(10));r=e,f({type:W.REPLACE})},[H]:function(){const e=d;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(B(11));function n(){const e=t;e.next&&e.next(u())}n();return{unsubscribe:e(n)}},[H](){return this}}}}}function Y(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:W.INIT}))throw new Error(B(12));if(void 0===n(void 0,{type:W.PROBE_UNKNOWN_ACTION()}))throw new Error(B(13))}))}(n)}catch(e){o=e}return function(e={},t){if(o)throw o;let i=!1;const a={};for(let o=0;o<r.length;o++){const s=r[o],l=n[s],c=e[s],u=l(c,t);if(void 0===u){t&&t.type;throw new Error(B(14))}a[s]=u,i=i||u!==c}return i=i||r.length!==Object.keys(e).length,i?a:e}}function G(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}var K=n(50234),X=n(18241),J=n(42344),Z=n(64516),Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:$e().basename,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:$e().strict,i=e.split("?"),a=i[1],s=a&&n&&n.parse(a),l=function(e){return Object.keys(e).map((function(t){return e[t]}))}(t),c=Object.keys(t);e=r?(0,J.stripBasename)(i[0],r):i[0];for(var u=0,d=void 0,f=void 0;!d&&u<l.length;){var p="string"==typeof l[u]?l[u]:l[u].path;if(p){var h=(0,Z.compilePath)(p,{strict:o}),m=h.re,g=h.keys;d=m.exec(e),f=g,u++}else u++}if(d){u--;var v="object"===ee(l[u])&&l[u].capitalizedWords,y="object"===ee(l[u])&&l[u].coerceNumbers,w=l[u]&&"function"==typeof l[u].fromPath&&l[u].fromPath,b="object"===ee(l[u])&&l[u].meta;return{type:c[u],payload:(f||[]).reduce((function(e,t,n){var r=d&&d[n+1];return"string"==typeof r&&(w?r=w&&w(r,t.name):y&&ne(r)?r=parseFloat(r):v&&(r=r.replace(/-/g," ").replace(/\b\w/g,(function(e){return e.toUpperCase()})))),e[t.name]=r,e}),{}),meta:Q({},b?{meta:b}:{},s?{query:s}:{})}}var x=Q({notFoundPath:e},s?{query:s}:{});return{type:Fe,payload:{},meta:x}},ne=function(e){return/^\d+$/.test(e)},re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe=function(e,t,n,r,o){var i=t.type,a=t.payload,s=void 0===a?{}:a,l=t.meta,c=void 0===l?{}:l,u=t.query||c.query||s.query,d=e.split("?"),f=d[1];return re({},t,t.query&&{query:u},{type:i,payload:s,meta:re({},c,c.query&&{query:u},{location:{current:re({pathname:d[0],type:i,payload:s},u&&{query:u,search:f}),prev:n,kind:o,history:void 0}})})},ie=function(e){return e.entries?{index:e.index,length:e.entries.length,entries:e.entries.slice(0)}:void 0},ae=function(e){return!!(e.meta&&e.meta.location&&e.meta.location.current)},se=function(e){return!!(e&&e.meta&&e.meta.location&&"redirect"===e.meta.location.kind)},le=function(){return"undefined"==typeof window||!!window.SSRtest},ce=function(e,t,n,r,o){if("undefined"!=typeof window){var i=n.thunk;if("function"==typeof i){var a=r(t()),s=a.kind,l=a.hasSSR;if("load"!==s||"load"===s&&!l||!n.path){var c=i(e,t,o);c&&"function"==typeof c.next&&c.next(Ie)}}}},ue=function(e){var t=e.pathname,n=e.search;return n?(0!==n.indexOf("?")&&(n="?"+n),""+t+n):t},de="undefined"!=typeof window&&window.document&&window.document.createElement,fe=void 0,pe=void 0,he=void 0,me=function(){fe&&fe(),pe&&pe()},ge=function(e,t){if(!("undefined"!=typeof window&&window.confirm))throw new Error("[rudy] environment requires `displayConfirmLeave` option");t(window.confirm(e))},ve=function(e,t,n,r,o,i){var a=function(r){var i=t.getState(),a=n(i).routesMap,s=r.pathname,l=te(s,a,o),c=e(i,l);return c||me(),c};return fe=r.block(a),pe=i,a},ye=function(e,t){he(e,(function(e){e&&me(),t(e)}))},we=function(e,t,n,r,o,i,a,s){var l=te(e,t,i);return o=be(!!r.entries,r,o,a,s),oe(e,l,n,0,o)},be=function(e,t,n,r,o){return e&&r&&"pop"===n?xe(t,r)?"back":Se(t,r,o)?"next":n:n},xe=function(e,t){var n=e.entries[e.index+1];return n&&n.pathname===t},Se=function(e,t,n){var r=e.entries[e.index-1],o=n===e.length;return r&&r.pathname===t&&o},Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(n,r){var o=t[r];return n[r]=Ae(o,e,r),n}),{})},Ae=function(e,t,n){return"function"==typeof t.toPath?t.toPath(e,n):"string"==typeof e?e.includes("/")?e.split("/"):!0===t.capitalizedWords?e.replace(/ /g,"-").toLowerCase():e:"number"==typeof e?e:void 0},Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oe=function(e,t,n,r,o,i){try{var a=function(e,t,n){var r=t[e.type],o="object"===(void 0===r?"undefined":Ee(r))?r.path:r,i=Ce(r,e.payload),a=(0,Z.compileParamsToPath)(o,i)||"/",s=e.query||e.meta&&e.meta.query||e.payload&&e.payload.query,l=s&&n&&n.stringify(s);return l?a+"?"+l:a}(e,t,i),s=je(!!r.entries,a,r,e);return oe(a,e,n,0,s)}catch(t){false;var l=Te({},e.payload);return oe(o||n.pathname||"/",Te({},e,{type:Fe,payload:l}),n)}},je=function(e,t,n,r){var o=r.meta&&r.meta.location&&r.meta.location.kind;return o||(e?Ne(n,t)?(n.index--,"back"):_e(n,t)?(n.index++,"next"):"push":"push")},Ne=function(e,t){var n=e.entries[e.index-1];return n&&n.pathname===t},_e=function(e,t){var n=e.entries[e.index+1];return n&&n.pathname===t},ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n=t.notFoundPath,r=void 0===n?"/not-found":n,o=t.scrollTop,i=void 0!==o&&o,a=t.location,s=t.title,l=t.onBeforeChange,c=t.onAfterChange,u=t.onBackNext,d=t.restoreScroll,f=t.initialDispatch,p=void 0===f||f,h=t.querySerializer,m=t.displayConfirmLeave,g=t.extra;Le=t,function(e){he=e||ge}(m),t.basename&&(t.basename=(0,J.stripTrailingSlash)((0,J.addLeadingSlash)(t.basename)));var v=de&&!0?K.A:X.A,y=t.createHistory||v,w=t.initialEntries||"/",b="string"==typeof w?[w]:w,x=y({basename:t.basename,initialEntries:b,getUserConfirmation:ye}),S=ue(x.location),E={pathname:"",type:"",payload:{}},C="function"==typeof a?a:a?function(e){return e[a]}:function(e){return e.location},A="function"==typeof s?s:s?function(e){return e[s]}:function(e){return e.title},T=d&&d(x),O=te(S,e,h),j=O.type,N=O.payload,_=O.meta,k=function(e,t,n,r,o,i){return ke({search:e.split("?")[1],pathname:e.split("?")[0],type:n,payload:r},t,{prev:{pathname:"",type:"",payload:{}},kind:void 0,history:ie(i),hasSSR:!!le()||void 0,routesMap:o})}(S,_,j,N,e,x),P=k,M={},R=1,D=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments[1],o=(t=n.routesMap||t)[r.type];if(r.type===Fe||!(!o||r.error||"string"!=typeof o&&!o.path||r.meta.location.current.pathname===n.pathname&&r.meta.location.current.search===n.search&&"load"!==r.meta.location.kind)){var i=r.meta.location.current.query,a=r.meta.location.current.search;return ke({pathname:r.meta.location.current.pathname,type:r.type,payload:ke({},r.payload)},i&&{query:i,search:a},{prev:r.meta.location.prev,kind:r.meta.location.kind,history:r.meta.location.history,hasSSR:n.hasSSR,routesMap:t})}return!o||r.error||"string"!=typeof o&&!o.path||r.meta.location.current.pathname!==n.pathname||r.meta.location.current.search!==n.search||r.meta.location.kind===n.kind?r.type===ze?ke({},n,{routesMap:ke({},n.routesMap,r.payload.routes)}):n:ke({},n,{kind:r.meta.location.kind})}}(k,e),L=function(e,t,n){return function(r){var o=r.dispatch,i=r.getState,a=t(i()).type,s=e[a];return s&&"function"==typeof s.thunk?Promise.resolve(s.thunk(o,i,n)):Promise.resolve()}}(e,C,{action:O,extra:g}),I="undefined"!=typeof document?document:{},$=void 0,F=void 0,z=void 0,B=void 0,H=void 0;t.navigators&&($=t.navigators.navigators,F=t.navigators.patchNavigators,z=t.navigators.actionToNavigation,B=t.navigators.navigationToAction,F($));var U=function(e,t,n){var r=n.meta.location;if(G){var o=G(r.current);if(o)return function(e,t,n){he(e,(function(e){e&&(me(),t.dispatch(n))}))}(o,e,n),!0;G=null}if(l){var i=void 0,a={action:n,extra:g};if(l((function(t){se(t)&&(i=!0,E=r.current,ue(r.current)===S||le()||(H="onBeforeChange"));return e.dispatch(t)}),e.getState,a),i)return!0}P=C(e.getState()),E=r.current,R=t.length,V(r,t),"undefined"!=typeof window&&void 0!==window.navigator&&"ReactNative"===window.navigator.product&&(r.history=ie(t))},W=function(e,t,n){var r=e.dispatch,o=e.getState(),a=C(o).kind,s=A(o),l={action:n,extra:g};if(M=C(o),"object"===(void 0===t?"undefined":Pe(t))){var d=!1;if(ce((function(t){return se(t)&&(d=!0),e.dispatch(t)}),e.getState,t,C,l),d)return}c&&c(r,e.getState,l),le()||(a&&("function"==typeof u&&/back|next|pop/.test(a)&&u(r,e.getState,l),setTimeout((function(){if(function(e,t){"string"==typeof t&&e.title!==t&&(e.title=t)}(I,s),i)return window.scrollTo(0,0);De(!1)}))),"object"===(void 0===t?"undefined":Pe(t))&&t.confirmLeave&&(G=ve(t.confirmLeave,e,C,x,h,(function(){return G=null}))))},V=function(e,t){var n=ue(e.current);if(n!==S){S=n;var r=e.kind;if(!(r&&/back|next|pop|stealth/.test(r)))t["redirect"===r&&"onBeforeChange"!==H?"replace":"push"](S)}},q=function(t,n,r){var o=ue(n);if(o!==S){var i=we(o,e,E,x,("REPLACE"===r?"redirect":r).toLowerCase(),h,S,R);S=o,t.dispatch(i)}};C;var Y=void 0,G=null;return De=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];T&&(!e&&T.manual||T.updateScroll(P,M))},{reducer:D,middleware:function(t){return function(n){return function(o){if(o.error)return n(o);if(o.type===ze){var i=C(t.getState()).type,a=e[i];e=Me({},e,o.payload.routes);var s=n(o),l=e[i];return a!==l&&(null!==G&&me(),"object"===(void 0===l?"undefined":Pe(l))&&l.confirmLeave&&(G=ve(l.confirmLeave,t,C,x,h,(function(){return G=null})))),s}var c=void 0;if($&&0===o.type.indexOf("Navigation/")){var u=B($,t,e,o);c=u.navigationAction,o=u.action}var d=e[o.type];if("object"===(void 0===d?"undefined":Pe(d))&&!d.path){var f=n(o);return ce(t.dispatch,t.getState,d,C,{action:f,extra:g}),f}o.type!==Fe||ae(o)?d&&!ae(o)&&(o=Oe(o,e,E,x,r,h)):o=function(e,t,n,r,o){var i=e.payload,a=e.meta,s=t.pathname,l=a&&a.location&&a.location.kind||"load"===t.kind&&"load"||"push",c=a&&a.notFoundPath||"redirect"===l&&o||s||"/";return oe(c,{type:Fe,payload:i},n,0,l)}(o,C(t.getState()),E,0,r),$&&(o=z($,o,c,d));var p=void 0;if((d||o.type===Fe)&&o.meta&&(p=U(t,x,o)),!p){var m=n(o);return(d||o.type===Fe)&&W(t,d,m),m}}}},enhancer:function(t){return function(n,r,o){!le()&&r&&C(r)&&(C(r).routesMap=e);var i=t(n,r,o),a=i.getState(),s=a&&C(a);if(!s||!s.pathname)throw new Error("[redux-first-router] you must provide the key of the location\n        reducer state and properly assigned the location reducer to that key.");if(x.listen(q.bind(null,i)),!s.hasSSR||le())Y=function(){var t=we(S,e,E,x,"load",h);i.dispatch(t)},!1!==p&&Y();else{E=s;var l=e[s.type];"object"===(void 0===l?"undefined":Pe(l))&&l.confirmLeave&&(G=ve(l.confirmLeave,i,C,x,h,(function(){return G=null})))}return le()||setTimeout((function(){return De(!1)})),i}},thunk:L,initialDispatch:function(){return Y&&Y()},_middlewareAttemptChangeUrl:V,_afterRouteChange:W,_historyAttemptDispatchAction:q,windowDocument:I,history:x}},De=void 0,Le=void 0,Ie=function(){return De&&De()},$e=function(){return Le||{}},Fe="@@redux-first-router/NOT_FOUND",ze="@@redux-first-router/ADD_ROUTES";function Be(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var He=Be();He.withExtraArgument=Be;var Ue=He,We=n(98985);function Ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ye=function(e,t,n){var r,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=Re(n,qe(qe({},arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}),{},{querySerializer:We})),a=i.reducer,s=i.middleware,l=i.enhancer,c=function(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error(B(15))};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},s=e.map((e=>e(a)));return i=G(...s)(o.dispatch),{...o,dispatch:i}}}(s,Ue),u=(o&&"undefined"!=typeof window&&null!==(r=window)&&void 0!==r&&r.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:G)(l,c);return q(Y(qe(qe({},e),{},{location:a})),t,u)};function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ke(e,t){if(e){if("string"==typeof e)return Ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ge(e,t):void 0}}function Xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||Ke(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Je=n(36870);const Ze=/([\p{Ll}\d])(\p{Lu})/gu,Qe=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,et=/(\d)\p{Ll}|(\p{L})\d/u,tt=/[^\p{L}\d]+/giu,nt="$1\0$2",rt="";function ot(e){let t=e.trim();t=t.replace(Ze,nt).replace(Qe,nt),t=t.replace(tt,"\0");let n=0,r=t.length;for(;"\0"===t.charAt(n);)n++;if(n===r)return[];for(;"\0"===t.charAt(r-1);)r--;return t.slice(n,r).split(/\0/g)}function it(e){const t=ot(e);for(let e=0;e<t.length;e++){const n=t[e],r=et.exec(n);if(r){const o=r.index+(r[1]??r[2]).length;t.splice(e,1,n.slice(0,o),n.slice(o))}}return t}function at(e,t){const[n,r,o]=function(e,t={}){const n=t.split??(t.separateNumbers?it:ot),r=t.prefixCharacters??rt,o=t.suffixCharacters??rt;let i=0,a=e.length;for(;i<e.length;){const t=e.charAt(i);if(!r.includes(t))break;i++}for(;a>i;){const t=a-1,n=e.charAt(t);if(!o.includes(n))break;a=t}return[e.slice(0,i),n(e.slice(i,a)),e.slice(a)]}(e,t);return n+r.map(function(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}(t?.locale)).join(t?.delimiter??" ")+o}function st(e,t){return at(e,{delimiter:"-",...t})}const lt="seldon",ct=({id:e,...t},n)=>{const r=st(n);return{...t,"data-testid":e?`${r}-${e}`:`${r}`,className:`${lt}-${r}`}};const ut=()=>{};function dt({disabled:e=!1,id:t,invalid:n=!1,invalidText:r="invalid",readOnly:o=!1,type:i,warn:a=!1,warnText:s}){const l={disabled:!o&&e,invalid:!o&&!e&&n,invalidId:`${t}-error-msg`,type:"toggle"===i?"checkbox":i,warn:!o&&!e&&!n&&a,warnId:`${t}-warn-msg`,validation:null};return l.invalid&&(l.validation=(0,Je.jsx)("div",{className:`${lt}-input__validation ${lt}-${i}-input--invalid`,id:l.invalidId,children:r})),l.warn&&(l.validation=(0,Je.jsx)("div",{className:`${lt}-input__validation ${lt}-${i}-input--warn`,id:l.warnId,children:s})),l}const ft=(new Date).getFullYear(),pt=(e,t,n=!1)=>{const r=l.Children.toArray(e).filter((e=>e&&e.type===t&&!n?e:e&&e.type!==t&&n));return r.length>0?r:null},ht=(e,t)=>{const n=l.Children.toArray(e).filter((e=>{if(e&&e.type&&!t.includes(e.type))return e}));return n.length>0?n:null};var mt={},gt={},vt={};function yt(e){return(yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(vt,"__esModule",{value:!0}),vt.createResponsiveComponents=function(){var e=wt.default.createContext({});return e.displayName="Media.DynamicContext",{Consumer:e.Consumer,Provider:function(t){function n(e){var t;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,n),t=function(e,t){if(t&&("object"===yt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Et(e)}(this,xt(n).call(this,e)),Ct(Et(Et(t)),"isSupportedEnvironment",(function(){return typeof window<"u"&&typeof window.matchMedia<"u"})),Ct(Et(Et(t)),"setupMatchers",(function(e){return Object.keys(e).reduce((function(t,n){return bt({},t,Ct({},n,window.matchMedia(e[n])))}),{})})),Ct(Et(Et(t)),"checkMatchers",(function(e){return Object.keys(e).reduce((function(t,n){return bt({},t,Ct({},n,e[n].matches))}),{})})),Ct(Et(Et(t)),"mediaQueryStatusChangedCallback",(function(){var e=t.checkMatchers(t.state.mediaQueryMatchers);t.setState({mediaQueryMatches:e})}));var r,o=void 0;return t.isSupportedEnvironment()?(o=t.setupMatchers(e.mediaQueries),r=t.checkMatchers(o)):r=Object.keys(e.mediaQueries).reduce((function(t,n){return bt({},t,Ct({},n,!!e.initialMatchingMediaQueries&&e.initialMatchingMediaQueries.includes(n)))}),{}),t.state={mediaQueryMatchers:o,mediaQueryMatches:r},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&St(e,t)}(n,t),function(e,t){t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t)}(n,[{key:"componentDidMount",value:function(){if(this.state.mediaQueryMatchers){var e=this.mediaQueryStatusChangedCallback;Object.values(this.state.mediaQueryMatchers).forEach((function(t){t.addListener(e)}))}}},{key:"componentWillUnmount",value:function(){if(this.state.mediaQueryMatchers){var e=this.mediaQueryStatusChangedCallback;Object.values(this.state.mediaQueryMatchers).forEach((function(t){return t.removeListener(e)}))}}},{key:"shouldComponentUpdate",value:function(e,t){return!!this.state.mediaQueryMatchers&&(e.children!==this.props.children||!At(this.state.mediaQueryMatches,t.mediaQueryMatches))}},{key:"render",value:function(){return wt.default.createElement(e.Provider,{value:this.state.mediaQueryMatches},this.props.children)}}]),n}(wt.default.Component)}};var wt=function(e){return e&&e.__esModule?e:{default:e}}(l);function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Ct(e,t,n[t])}))}return e}function xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var At=function(e,t){for(var n in e)if(e[n]!==t[n])return!1;return!0};var Tt={},Ot={},jt={};Object.defineProperty(jt,"__esModule",{value:!0}),jt.propKey=function(e){return Object.keys(e)[0]},jt.intersection=function(e,t){return t?e.filter((function(e){return t.indexOf(e)>=0})):kt(e)},jt.createRuleSet=function(e,t){return"@media ".concat(t,"{.").concat(e,"{display:none!important;}}")},jt.createClassName=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return["fresnel"].concat(kt(t.reduce((function(e,t){return Array.isArray(t)?kt(e).concat(kt(t)):kt(e).concat([t])}),[]))).join("-")},jt.castBreakpointsToIntegers=function(e){var t=Object.keys(e);return t.reduce((function(n,r,o){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){_t(e,t,n[t])}))}return e}({},n,_t({},t[o],Math.round(Number(e[r]))))}),{})},jt.memoize=function(e){var t={};return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=JSON.stringify(r);return t[i]||(t[i]=e.apply(void 0,r)),t[i]}},jt.useIsFirstRender=function(){var e=(0,Nt.useRef)(!0);return!!e.current&&(e.current=!1,!0)};var Nt=l;function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(e){return function(e){if(Array.isArray(e))return Pt(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Pt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pt(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.Breakpoints=Ot.BreakpointConstraint=void 0;var Mt,Rt=jt;function Dt(e){return function(e){if(Array.isArray(e))return $t(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||It(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(s)throw o}}return i}}(e,t)||It(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(e,t){if(e){if("string"==typeof e)return $t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $t(e,t)}}function $t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zt(e,t,n){return t&&Ft(e.prototype,t),n&&Ft(e,n),e}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ot.BreakpointConstraint=Mt,function(e){e.at="at",e.lessThan="lessThan",e.greaterThan="greaterThan",e.greaterThanOrEqual="greaterThanOrEqual",e.between="between"}(Mt||(Ot.BreakpointConstraint=Mt={}));var Ht=function(){function e(t){var n,r=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Bt(this,"_sortedBreakpoints",void 0),Bt(this,"_breakpoints",void 0),Bt(this,"_mediaQueries",void 0),Bt(this,"findBreakpointsForWidths",(function(e,t){var n=r.findBreakpointAtWidth(e);if(n){var o=r.findBreakpointAtWidth(t);return o&&n!==o?r._sortedBreakpoints.slice(r._sortedBreakpoints.indexOf(n),r._sortedBreakpoints.indexOf(o)+1):[n]}})),Bt(this,"findBreakpointAtWidth",(function(e){return r._sortedBreakpoints.find((function(t,n){var o=r._sortedBreakpoints[n+1];return o?e>=r._breakpoints[t]&&e<r._breakpoints[o]:e>=r._breakpoints[t]}))})),Bt(this,"valuesWithBreakpointProps",(function(e){var t,n=e.length,o=[];return r._sortedBreakpoints.forEach((function(r,i){var a=e[i];i<n&&(!t||t[0]!==a)?(t=[a,[r]],o.push(t)):t[1].push(r)})),o.map((function(e,t){var n=Lt(e,2),r=n[0],i=n[1],a={};return t===o.length-1?a.greaterThanOrEqual=i[0]:1===i.length?a.at=i[0]:a.between=[i[0],o[t+1][1][0]],[r,a]}))})),this._breakpoints=t,this._sortedBreakpoints=Object.keys(t).map((function(e){return[e,t[e]]})).sort((function(e,t){return e[1]<t[1]?-1:1})).map((function(e){return e[0]}));var o=this._sortedBreakpoints.slice(0,-1).reduce((function(e,t,n){return Dt(e).concat(Dt(r._sortedBreakpoints.slice(n+1).map((function(e){return[t,e]}))))}),[]);this._mediaQueries=(Bt(n={},Mt.at,this._createBreakpointQueries(Mt.at,this._sortedBreakpoints)),Bt(n,Mt.lessThan,this._createBreakpointQueries(Mt.lessThan,this._sortedBreakpoints.slice(1))),Bt(n,Mt.greaterThan,this._createBreakpointQueries(Mt.greaterThan,this._sortedBreakpoints.slice(0,-1))),Bt(n,Mt.greaterThanOrEqual,this._createBreakpointQueries(Mt.greaterThanOrEqual,this._sortedBreakpoints)),Bt(n,Mt.between,this._createBreakpointQueries(Mt.between,o)),n)}return zt(e,null,[{key:"validKeys",value:function(){return[Mt.at,Mt.lessThan,Mt.greaterThan,Mt.greaterThanOrEqual,Mt.between]}}]),zt(e,[{key:"toVisibleAtBreakpointSet",value:function(e){if((e=this._normalizeProps(e)).lessThan){var t=this.sortedBreakpoints.findIndex((function(t){return t===e.lessThan}));return this.sortedBreakpoints.slice(0,t)}if(e.greaterThan){var n=this.sortedBreakpoints.findIndex((function(t){return t===e.greaterThan}));return this.sortedBreakpoints.slice(n+1)}if(e.greaterThanOrEqual){var r=this.sortedBreakpoints.findIndex((function(t){return t===e.greaterThanOrEqual}));return this.sortedBreakpoints.slice(r)}if(e.between){var o=e.between,i=this.sortedBreakpoints.findIndex((function(e){return e===o[0]})),a=this.sortedBreakpoints.findIndex((function(e){return e===o[1]}));return this.sortedBreakpoints.slice(i,a)}return[]}},{key:"toRuleSets",value:function(){var t=this,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.validKeys()).reduce((function(e,n){return e[n]=t._mediaQueries[n],e}),{});return Object.entries(n).reduce((function(e,t){var n=Lt(t,2),r=n[0];return n[1].forEach((function(t,n){e.push((0,Rt.createRuleSet)((0,Rt.createClassName)(r,n),"not all and ".concat(t)))})),e}),[])}},{key:"shouldRenderMediaQuery",value:function(e,t){var n=this;if((e=this._normalizeProps(e)).lessThan){var r=this._breakpoints[e.lessThan];return Math.min.apply(Math,Dt(t.map((function(e){return n._breakpoints[e]}))))<r}if(e.greaterThan){var o=this._breakpoints[this._findNextBreakpoint(e.greaterThan)];return Math.max.apply(Math,Dt(t.map((function(e){return n._breakpoints[e]}))))>=o}if(e.greaterThanOrEqual){var i=this._breakpoints[e.greaterThanOrEqual];return Math.max.apply(Math,Dt(t.map((function(e){return n._breakpoints[e]}))))>=i}if(e.between){var a=this._breakpoints[e.between[0]],s=this._breakpoints[e.between[1]],l=t.map((function(e){return n._breakpoints[e]}));return!(Math.max.apply(Math,Dt(l))<a||Math.min.apply(Math,Dt(l))>=s)}return!1}},{key:"_normalizeProps",value:function(e){if(e.at){var t=this._sortedBreakpoints.indexOf(e.at),n=this._sortedBreakpoints[t+1];return n?{between:[e.at,n]}:{greaterThanOrEqual:e.at}}return e}},{key:"_createBreakpointQuery",value:function(e){if((e=this._normalizeProps(e)).lessThan){var t=this._breakpoints[e.lessThan];return"(max-width:".concat(t-.02,"px)")}if(e.greaterThan){var n=this._breakpoints[this._findNextBreakpoint(e.greaterThan)];return"(min-width:".concat(n,"px)")}if(e.greaterThanOrEqual){var r=this._breakpoints[e.greaterThanOrEqual];return"(min-width:".concat(r,"px)")}if(e.between){var o=this._breakpoints[e.between[0]],i=this._breakpoints[e.between[1]];return"(min-width:".concat(o,"px) and (max-width:").concat(i-.02,"px)")}throw new Error("Unexpected breakpoint props: ".concat(JSON.stringify(e)))}},{key:"_createBreakpointQueries",value:function(e,t){var n=this;return t.reduce((function(t,r){return t.set(function(e){return Array.isArray(e)?e.join("-"):e}(r),n._createBreakpointQuery(Bt({},e,r))),t}),new Map)}},{key:"_findNextBreakpoint",value:function(e){var t=this._sortedBreakpoints[this._sortedBreakpoints.indexOf(e)+1];if(!t)throw new Error("There is no breakpoint larger than ".concat(e));return t}},{key:"sortedBreakpoints",get:function(){return this._sortedBreakpoints}},{key:"dynamicResponsiveMediaQueries",get:function(){return Array.from(this._mediaQueries[Mt.at].entries()).reduce((function(e,t){var n=Lt(t,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Bt(e,t,n[t])}))}return e}({},e,Bt({},n[0],n[1]))}),{})}},{key:"largestBreakpoint",get:function(){return this._sortedBreakpoints[this._sortedBreakpoints.length-1]}}]),e}();Ot.Breakpoints=Ht;var Ut={};Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.Interactions=Ut.InteractionKey=void 0;var Wt,Vt=jt;function qt(e){return function(e){if(Array.isArray(e))return Kt(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(s)throw o}}return i}}(e,t)||Gt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(e,t){if(e){if("string"==typeof e)return Kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kt(e,t)}}function Kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jt(e,t,n){return t&&Xt(e.prototype,t),n&&Xt(e,n),e}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ut.InteractionKey=Wt,function(e){e.interaction="interaction"}(Wt||(Ut.InteractionKey=Wt={}));var Qt=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Zt(this,"_interactions",void 0),this._interactions=t}return Jt(e,null,[{key:"validKeys",value:function(){return[Wt.interaction]}}]),Jt(e,[{key:"toRuleSets",value:function(){return Object.entries(this._interactions).reduce((function(e,t){var n=Yt(t,2),r=n[0],o=n[1];return qt(e).concat([(0,Vt.createRuleSet)((0,Vt.createClassName)(Wt.interaction,r),o)])}),[])}},{key:"shouldRenderMediaQuery",value:function(e,t){return!(!t||!t.includes(e))}},{key:"interactions",get:function(){return Object.keys(this._interactions)}},{key:"dynamicResponsiveMediaQueries",get:function(){return Object.entries(this._interactions).reduce((function(e,t){var n=Yt(t,2);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Zt(e,t,n[t])}))}return e}({},e,Zt({},n[0],n[1]))}),{})}}]),e}();Ut.Interactions=Qt,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.MediaQueries=void 0;var en=Ot,tn=Ut,nn=jt;function rn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function on(e){return function(e){if(Array.isArray(e))return an(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return an(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return an(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ln(e,t,n){return t&&sn(e.prototype,t),n&&sn(e,n),e}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var un=function(){function e(t,n){var r=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),cn(this,"_breakpoints",void 0),cn(this,"_interactions",void 0),cn(this,"toStyle",(function(e){return[".fresnel-container{margin:0;padding:0;}"].concat(on(r._breakpoints.toRuleSets(e)),on(r._interactions.toRuleSets())).join("\n")})),this._breakpoints=new en.Breakpoints(t),this._interactions=new tn.Interactions(n||{})}return ln(e,null,[{key:"validKeys",value:function(){return on(en.Breakpoints.validKeys()).concat(on(tn.Interactions.validKeys()))}}]),ln(e,[{key:"shouldRenderMediaQuery",value:function(e,t){var n=e.interaction,r=rn(e,["interaction"]);if(n)return this._interactions.shouldRenderMediaQuery(n,t);var o=(0,nn.intersection)(t,this._breakpoints.sortedBreakpoints);return this._breakpoints.shouldRenderMediaQuery(r,o)}},{key:"breakpoints",get:function(){return this._breakpoints}},{key:"mediaQueryTypes",get:function(){return on(this._breakpoints.sortedBreakpoints).concat(on(this._interactions.interactions))}},{key:"dynamicResponsiveMediaQueries",get:function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){cn(e,t,n[t])}))}return e}({},this._breakpoints.dynamicResponsiveMediaQueries,this._interactions.dynamicResponsiveMediaQueries)}}]),e}();Tt.MediaQueries=un,Object.defineProperty(gt,"__esModule",{value:!0}),gt.createMedia=function(e){var t=(0,hn.castBreakpointsToIntegers)(e.breakpoints),n=new pn.MediaQueries(t,e.interactions||{}),r=(0,fn.createResponsiveComponents)(),o=dn.default.createContext({});o.displayName="Media.Context";var i=dn.default.createContext({hasParentMedia:!1,breakpointProps:{}});o.displayName="MediaParent.Context";var a=(0,hn.memoize)((function(e){return{onlyMatch:e}}));return{Media:function(e){(function(e){var t=Object.keys(e).filter((function(e){return yn.includes(e)}));if(t.length<1)throw new Error("1 of ".concat(yn.join(", ")," is required."));if(t.length>1)throw new Error("Only 1 of ".concat(t.join(", ")," is allowed at a time."))})(e),e.children;var t,r=e.className,a=e.style,s=e.interaction,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className","style","interaction"]),c=dn.default.useMemo((function(){return(0,hn.memoize)((function(e){return{hasParentMedia:!0,breakpointProps:e}}))}),[]),u=dn.default.useContext(i),d=c(l),f=dn.default.useContext(o).onlyMatch,p=dn.default.useId(),h=typeof window<"u",m=(0,hn.useIsFirstRender)();if(e.interaction)t=(0,hn.createClassName)("interaction",e.interaction);else{if(e.at){var g=n.breakpoints.largestBreakpoint;e.at===g&&console.warn("[@artsy/fresnel] `at` is being used with the largest breakpoint. Consider using `<Media greaterThanOrEqual="+'"'.concat(g,'">` to account for future ')+"breakpoint definitions outside of this range.")}var v=(0,hn.propKey)(l),y=l[v];t=(0,hn.createClassName)(v,y)}var w=(!u.hasParentMedia||(0,hn.intersection)(n.breakpoints.toVisibleAtBreakpointSet(u.breakpointProps),n.breakpoints.toVisibleAtBreakpointSet(l)).length>0)&&(void 0===f||n.shouldRenderMediaQuery(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){vn(e,t,n[t])}))}return e}({},l,{interaction:s}),f)),b=" fresnel-".concat(p);if(t+=b,h&&m&&!w){var x=document.getElementsByClassName(b);Array.from(x).forEach((function(e){return e.innerHTML=""}))}return dn.default.createElement(i.Provider,{value:d},e.children instanceof Function?e.children(t,w):dn.default.createElement("div",{className:["fresnel-container",t,r].filter(Boolean).join(" "),style:a,suppressHydrationWarning:!0},w?e.children:null))},MediaContextProvider:function(e){var t=e.disableDynamicMediaQueries,i=e.onlyMatch,s=e.children;if(t){var l=a(i);return dn.default.createElement(o.Provider,{value:l},s)}return dn.default.createElement(r.Provider,{mediaQueries:n.dynamicResponsiveMediaQueries,initialMatchingMediaQueries:(0,hn.intersection)(n.mediaQueryTypes,i)},dn.default.createElement(r.Consumer,null,(function(e){var t=Object.keys(e).filter((function(t){return e[t]})),n=a((0,hn.intersection)(t,i));return dn.default.createElement(o.Provider,{value:n},s)})))},createMediaStyle:n.toStyle,SortedBreakpoints:mn(n.breakpoints.sortedBreakpoints),findBreakpointAtWidth:n.breakpoints.findBreakpointAtWidth,findBreakpointsForWidths:n.breakpoints.findBreakpointsForWidths,valuesWithBreakpointProps:n.breakpoints.valuesWithBreakpointProps}};var dn=function(e){return e&&e.__esModule?e:{default:e}}(l),fn=vt,pn=Tt,hn=jt;function mn(e){return function(e){if(Array.isArray(e))return gn(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return gn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gn(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yn=pn.MediaQueries.validKeys();!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMedia",{enumerable:!0,get:function(){return t.createMedia}}),Object.defineProperty(e,"BreakpointKey",{enumerable:!0,get:function(){return n.BreakpointConstraint}});var t=gt,n=Ot}(mt);const wn=mt.createMedia({breakpoints:{xsm:0,sm:361,md:961,lg:1401,xl:1801}});wn.createMediaStyle();var bn=(e=>(e.en="en",e.zh="zh",e))(bn||{}),xn=(e=>(e.ready="READY",e.live="LIVE",e.past="PAST",e))(xn||{}),Sn=(e=>(e.ready="READY",e.live="LIVE",e.past="PAST",e))(Sn||{}),En=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function An(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var Tn={exports:{}};!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var i in e)t.call(e,i)&&e[i]&&(r=o(r,i));return r}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(Tn);const On=Cn(Tn.exports);var jn=(e=>(e.primary="primary",e.secondary="secondary",e.ghost="ghost",e.tertiary="tertiary",e.link="link",e))(jn||{});const Nn=(0,l.forwardRef)((({variant:e=jn.primary,children:t,className:n,isIconLast:r=!1,type:o="button",isDisabled:i=!1,href:a,target:s,prefetch:c="none",isSkeletonLoading:u,...d},f)=>{const{className:p,...h}=ct(d,"Button"),[m,g]=(0,l.useState)(!1);if(a){const o=()=>(0,Je.jsx)(Je.Fragment,{children:(0,Je.jsx)("link",{"data-testid":"prefetch-link",rel:"prefetch",href:a})});return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("a",{...h,ref:f,href:a,className:On(`${p}`,`${p}--${e}`,{[`${p}--icon-last`]:r},n),target:s,rel:"_blank"===s?"noopener noreferrer":void 0,onMouseOver:()=>{i||g(!0)},onClick:e=>{i?e.preventDefault():d.onClick?.(e)},children:t}),"intent"===c&&m&&(0,Je.jsx)(o,{}),"render"===c&&(0,Je.jsx)(o,{})]})}return(0,Je.jsx)("button",{...h,ref:f,type:o,className:On(`${p}`,`${p}--${e}`,{[`${p}--icon-last`]:r,[`${lt}-skeleton`]:u},n),disabled:i,...d,children:t})}));Nn.displayName="Button";const _n=(0,l.forwardRef)((({children:e,variant:t=jn.primary,isDisabled:n=!1,className:r,...o},i)=>{const{className:a,...s}=ct(o,"IconButton");return(0,Je.jsx)(Nn,{...s,variant:t,className:On(a,`${a}--${t}`,r),isDisabled:n,ref:i,...o,children:e})}));function kn(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>l.createContext(e)));return function(n){const r=n?.[e]||t;return l.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=l.createContext(r),i=n.length;n=[...n,r];const a=t=>{const{scope:n,children:r,...a}=t,s=n?.[e]?.[i]||o,c=l.useMemo((()=>a),Object.values(a));return(0,Je.jsx)(s.Provider,{value:c,children:r})};return a.displayName=t+"Provider",[a,function(n,a){const s=a?.[e]?.[i]||o,c=l.useContext(s);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Pn(r,...t)]}function Pn(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return l.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function Mn(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Rn(...e){return t=>{let n=!1;const r=e.map((e=>{const r=Mn(e,t);return!n&&"function"==typeof r&&(n=!0),r}));if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():Mn(e[t],null)}}}}function Dn(...e){return l.useCallback(Rn(...e),e)}function Ln(e){const t=In(e),n=l.forwardRef(((e,n)=>{const{children:r,...o}=e,i=l.Children.toArray(r),a=i.find(Fn);if(a){const e=a.props.children,r=i.map((t=>t===a?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t));return(0,Je.jsx)(t,{...o,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,Je.jsx)(t,{...o,ref:n,children:r})}));return n.displayName=`${e}.Slot`,n}function In(e){const t=l.forwardRef(((e,t)=>{const{children:n,...r}=e;if(l.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),o=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(o.ref=t?Rn(t,e):e),l.cloneElement(n,o)}return l.Children.count(n)>1?l.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}_n.displayName="IconButton";var $n=Symbol("radix.slottable");function Fn(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===$n}function zn(e){const t=e+"CollectionProvider",[n,r]=kn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{const{scope:t,children:n}=e,r=l.useRef(null),i=l.useRef(new Map).current;return(0,Je.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};a.displayName=t;const s=e+"CollectionSlot",c=Ln(s),u=l.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=Dn(t,i(s,n).collectionRef);return(0,Je.jsx)(c,{ref:o,children:r})}));u.displayName=s;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=Ln(d),h=l.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,a=l.useRef(null),s=Dn(t,a),c=i(d,n);return l.useEffect((()=>(c.itemMap.set(a,{ref:a,...o}),()=>{c.itemMap.delete(a)}))),(0,Je.jsx)(p,{[f]:"",ref:s,children:r})}));return h.displayName=d,[{Provider:a,Slot:u,ItemSlot:h},function(t){const n=i(e+"CollectionConsumer",t);return l.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}function Bn(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function Hn(e){const t=l.useRef(e);return l.useEffect((()=>{t.current=e})),l.useMemo((()=>(...e)=>t.current?.(...e)),[])}function Un({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=function({defaultProp:e,onChange:t}){const n=l.useState(e),[r]=n,o=l.useRef(r),i=Hn(t);return l.useEffect((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,s=Hn(n);return[a,l.useCallback((t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else o(t)}),[i,e,o,s])]}var Wn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=Ln(`Primitive.${t}`),r=l.forwardRef(((e,r)=>{const{asChild:o,...i}=e,a=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,Je.jsx)(a,{...i,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});var Vn=globalThis?.document?l.useLayoutEffect:()=>{};var qn=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=l.useState(),r=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=function(e,t){return l.useReducer(((e,n)=>t[e][n]??e),e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect((()=>{const e=Yn(r.current);i.current="mounted"===s?e:"none"}),[s]),Vn((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Yn(t);c(e?"MOUNT":"none"===a||"none"===t?.display?"UNMOUNT":n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,c]),Vn((()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,a=i=>{const a=Yn(r.current).includes(i.animationName);if(i.target===t&&a&&(c("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout((()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)}))}},s=e=>{e.target===t&&(i.current=Yn(r.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):l.Children.only(n),i=Dn(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof n||r.isPresent?l.cloneElement(o,{ref:i}):null};function Yn(e){return e?.animationName||"none"}qn.displayName="Presence";var Gn=c[" useId ".trim().toString()]||(()=>{}),Kn=0;function Xn(e){const[t,n]=l.useState(Gn());return Vn((()=>{e||n((e=>e??String(Kn++)))}),[e]),e||(t?`radix-${t}`:"")}var Jn="Collapsible",[Zn,Qn]=kn(Jn),[er,tr]=Zn(Jn),nr=l.forwardRef(((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...s}=e,[c=!1,u]=Un({prop:r,defaultProp:o,onChange:a});return(0,Je.jsx)(er,{scope:n,disabled:i,contentId:Xn(),open:c,onOpenToggle:l.useCallback((()=>u((e=>!e))),[u]),children:(0,Je.jsx)(Wn.div,{"data-state":lr(c),"data-disabled":i?"":void 0,...s,ref:t})})}));nr.displayName=Jn;var rr="CollapsibleTrigger",or=l.forwardRef(((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=tr(rr,n);return(0,Je.jsx)(Wn.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":lr(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Bn(e.onClick,o.onOpenToggle)})}));or.displayName=rr;var ir="CollapsibleContent",ar=l.forwardRef(((e,t)=>{const{forceMount:n,...r}=e,o=tr(ir,e.__scopeCollapsible);return(0,Je.jsx)(qn,{present:n||o.open,children:({present:e})=>(0,Je.jsx)(sr,{...r,ref:t,present:e})})}));ar.displayName=ir;var sr=l.forwardRef(((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=tr(ir,n),[s,c]=l.useState(r),u=l.useRef(null),d=Dn(t,u),f=l.useRef(0),p=f.current,h=l.useRef(0),m=h.current,g=a.open||s,v=l.useRef(g),y=l.useRef(void 0);return l.useEffect((()=>{const e=requestAnimationFrame((()=>v.current=!1));return()=>cancelAnimationFrame(e)}),[]),Vn((()=>{const e=u.current;if(e){y.current=y.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();f.current=t.height,h.current=t.width,v.current||(e.style.transitionDuration=y.current.transitionDuration,e.style.animationName=y.current.animationName),c(r)}}),[a.open,r]),(0,Je.jsx)(Wn.div,{"data-state":lr(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!g,...i,ref:d,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:g&&o})}));function lr(e){return e?"open":"closed"}var cr=nr,ur=or,dr=ar,fr=l.createContext(void 0);function pr(e){const t=l.useContext(fr);return e||t||"ltr"}var hr="Accordion",mr=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[gr,vr,yr]=zn(hr),[wr,br]=kn(hr,[yr,Qn]),xr=Qn(),Sr=l.forwardRef(((e,t)=>{const{type:n,...r}=e,o=r,i=r;return(0,Je.jsx)(gr.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,Je.jsx)(jr,{...i,ref:t}):(0,Je.jsx)(Or,{...o,ref:t})})}));Sr.displayName=hr;var[Er,Cr]=wr(hr),[Ar,Tr]=wr(hr,{collapsible:!1}),Or=l.forwardRef(((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[s,c]=Un({prop:n,defaultProp:r,onChange:o});return(0,Je.jsx)(Er,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:c,onItemClose:l.useCallback((()=>i&&c("")),[i,c]),children:(0,Je.jsx)(Ar,{scope:e.__scopeAccordion,collapsible:i,children:(0,Je.jsx)(kr,{...a,ref:t})})})})),jr=l.forwardRef(((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],s]=Un({prop:n,defaultProp:r,onChange:o}),c=l.useCallback((e=>s(((t=[])=>[...t,e]))),[s]),u=l.useCallback((e=>s(((t=[])=>t.filter((t=>t!==e))))),[s]);return(0,Je.jsx)(Er,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:u,children:(0,Je.jsx)(Ar,{scope:e.__scopeAccordion,collapsible:!0,children:(0,Je.jsx)(kr,{...i,ref:t})})})})),[Nr,_r]=wr(hr),kr=l.forwardRef(((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,s=Dn(l.useRef(null),t),c=vr(n),u="ltr"===pr(o),d=Bn(e.onKeyDown,(e=>{if(!mr.includes(e.key))return;const t=e.target,n=c().filter((e=>!e.ref.current?.disabled)),r=n.findIndex((e=>e.ref.current===t)),o=n.length;if(-1===r)return;e.preventDefault();let a=r;const s=o-1,l=()=>{a=r+1,a>s&&(a=0)},d=()=>{a=r-1,a<0&&(a=s)};switch(e.key){case"Home":a=0;break;case"End":a=s;break;case"ArrowRight":"horizontal"===i&&(u?l():d());break;case"ArrowDown":"vertical"===i&&l();break;case"ArrowLeft":"horizontal"===i&&(u?d():l());break;case"ArrowUp":"vertical"===i&&d()}const f=a%o;n[f].ref.current?.focus()}));return(0,Je.jsx)(Nr,{scope:n,disabled:r,direction:o,orientation:i,children:(0,Je.jsx)(gr.Slot,{scope:n,children:(0,Je.jsx)(Wn.div,{...a,"data-orientation":i,ref:s,onKeyDown:r?void 0:d})})})})),Pr="AccordionItem",[Mr,Rr]=wr(Pr),Dr=l.forwardRef(((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=_r(Pr,n),a=Cr(Pr,n),s=xr(n),l=Xn(),c=r&&a.value.includes(r)||!1,u=i.disabled||e.disabled;return(0,Je.jsx)(Mr,{scope:n,open:c,disabled:u,triggerId:l,children:(0,Je.jsx)(cr,{"data-orientation":i.orientation,"data-state":Br(c),...s,...o,ref:t,disabled:u,open:c,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})}));Dr.displayName=Pr;var Lr="AccordionHeader";l.forwardRef(((e,t)=>{const{__scopeAccordion:n,...r}=e,o=_r(hr,n),i=Rr(Lr,n);return(0,Je.jsx)(Wn.h3,{"data-orientation":o.orientation,"data-state":Br(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})})).displayName=Lr;var Ir="AccordionTrigger",$r=l.forwardRef(((e,t)=>{const{__scopeAccordion:n,...r}=e,o=_r(hr,n),i=Rr(Ir,n),a=Tr(Ir,n),s=xr(n);return(0,Je.jsx)(gr.ItemSlot,{scope:n,children:(0,Je.jsx)(ur,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...s,...r,ref:t})})}));$r.displayName=Ir;var Fr="AccordionContent",zr=l.forwardRef(((e,t)=>{const{__scopeAccordion:n,...r}=e,o=_r(hr,n),i=Rr(Fr,n),a=xr(n);return(0,Je.jsx)(dr,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})}));function Br(e){return e?"open":"closed"}zr.displayName=Fr;var Hr=Sr,Ur=Dr,Wr=$r,Vr=zr,qr=(e=>(e.multiple="multiple",e.singleCollapsible="singleCollapsible",e.singleNonCollapsible="singleNonCollapsible",e))(qr||{}),Yr=(e=>(e.lg="lg",e.sm="sm",e))(Yr||{});const Gr=(e,t,n)=>On(`${e}__icon`,`${e}-${n}__icon`,{[`${e}__icon--lg`]:t}),Kr=(0,l.forwardRef)((({className:e,children:t,variant:n,value:r,onValueChanged:o,...i},a)=>{const{className:s,...l}=ct(i,"Accordion"),c=((e,t)=>((e===qr.singleCollapsible||e===qr.singleNonCollapsible)&&Array.isArray(t)&&console.error("The value prop should not be an array when using a single variant"),e===qr.singleCollapsible||e===qr.singleNonCollapsible?{type:"single"}:{type:"multiple"}))(n,r);return(0,Je.jsx)(Hr,{className:On(`${s}`,e),...l,...c,id:i?.id,ref:a,value:r,onValueChange:o,children:t})}));Kr.displayName="Accordion";const Xr="// prefix\n$px: seldon;\n\n////////////////////////\n/// COlORS:\n///////////////////////\n\n// Primary color palette\n$pure-black: #000;\n$primary-black: #323232;\n$white: #fff;\n\n// Secondary color palette\n$soft-black: #545454;\n$dark-gray: #7b7474;\n$soft-black-2: #535050;\n\n// Utilititarian color palette\n$keyline-gray: #949494;\n$medium-gray: #c3bebb;\n$soft-gray: #fafafa;\n$pale-gray: #f4f4f4;\n$light-gray: #eceae7;\n$off-white: #f4f2f1;\n\n// Notification color palette\n$error-red: #f00;\n$error-pink: rgba(255, 229, 229, 90%);\n$warn-yellow: #d6d141;\n$post-sale-pink: #ff0086;\n$cta-blue: #4a90e2;\n\n// AM color palette\n$widget-blue: #4a90e2;\n$widget-green: #6a9c53;\n$widget-maroon: #6b0000;\n$widget-red: #b00000;\n$clock-widget-blue: $widget-blue;\n$clock-widget-green: $widget-green;\n$clock-widget-maroon: $widget-maroon;\n$clock-widget-red: $widget-red;\n\n// Articker color palette\n$articker-red: #fc1e2b;\n$articker-orange: #ff8201;\n$articker-red-orange-gradient: linear-gradient(90deg, #fc1e2b, #ff8201);\n$overlay-black: rgba(0, 0, 0, 80%);\n\n// Legacy mapping\n$pure-white: $white;\n$post-sale-magenta: $post-sale-pink;\n\n// Text variables\n$header-color: $pure-black;\n$text-color: $soft-black;\n\n// Interactive Colors\n$button-hover: #75716f;\n\n// Misc. Colors\n$countdown-compact: #b40919;\n\n////////////////////////\n/// FONTS:\n///////////////////////\n// Font-variables\n$DistinctDisplay: 'DistinctDisplay';\n$DistinctDisplayItalic: 'DistinctDisplayItalic';\n$DistinctItalic: 'DistinctItalic';\n$DistinctText: 'DistinctText';\n$Distinct: 'Distinct';\n$header-family: $DistinctDisplay;\n$text-family: $DistinctText;\n\n////////////////////////\n/// LABEL TOKENS:\n///////////////////////\n\n// Used with the labelText mixin\n// @include labelText($label)\n$button: 'button';\n$link: 'link';\n$email: 'email';\n$label: 'label';\n$badge: 'badge';\n\n// Used with the hText mixin\n$blockquote: 'blockquote';\n$heading1: 'heading1';\n$heading2: 'heading2';\n$heading3: 'heading3';\n$heading4: 'heading4';\n$heading5: 'heading5';\n$title1: 'title1';\n$title2: 'title2';\n$title3: 'title3';\n$title4: 'title4';\n$body1: 'body1';\n$body2: 'body2';\n$body3: 'body3';\n$string1: 'string1';\n$string2: 'string2';\n$string3: 'string3';\n$snwHeaderLink: 'snwHeaderLink';\n$snwFlyoutLink: 'snwFlyoutLink';\n$snwHeadingHero1: 'snwHeadingHero1';\n$snwHeadingHero2: 'snwHeadingHero2';\n$text-tokens: $button, $link, $email, $label, $badge, $blockquote, $heading1, $heading2, $heading3, $heading4, $heading5,\n  $title1, $title2, $title3, $title4, $body1, $body2, $body3, $string1, $string2, $string3, $snwFlyoutLink,\n  $snwHeaderLink, $snwHeadingHero1, $snwHeadingHero2;\n\n////////////////////////\n/// Breakpoint TOKENS to be used for min-width comparisons, make sure they match BREAKPOINTS in constants.ts\n///////////////////////\n$breakpoint-sm: 361px;\n$breakpoint-md: 961px;\n$breakpoint-lg: 1401px;\n$breakpoint-xl: 1801px;\n\n////////////////////////\n/// FONT SIZE TOKENS:\n///////////////////////\n// @TODO: These tokens need to be aligned with the new values from the design system https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/EASEL-Compendium%3A-Tokens%2C-Components-%26-Patterns?node-id=7263-1361&node-type=canvas&m=dev\n// Once we update ObjectTile and other components will need to be updated to match the new token.\n:root {\n  --desktop-max-width: 120rem;\n  --quote-size: 1.5rem;\n  --quote-line-height: 2rem;\n  --heading-size1: 1.5rem;\n  --heading-line-height-size1: 1.75rem;\n  --heading-size2: 1.5rem;\n  --heading-line-height-size2: 1.75rem;\n  --heading-size3: 1.25rem;\n  --heading-line-height-size3: 1.5rem;\n  --heading-size4: 1rem;\n  --heading-line-height-size4: 1.25rem;\n  --heading-size5: 0.75rem;\n  --heading-line-height-size5: 1rem;\n  --string-size1: 1rem;\n  --string-line-height-size1: 1.25rem;\n  --string-size2: 0.75rem;\n  --string-line-height-size2: 1rem;\n  --string-size3: 0.5rem;\n  --string-line-height-size3: 0.75rem;\n  --body-size1: 1rem;\n  --body-line-height-size1: 1.5rem;\n  --body-size2: 0.75rem;\n  --body-line-height-size2: 1.25rem;\n  --body-size3: 0.5rem;\n  --body-line-height-size3: 1rem;\n  --label-size1: 1rem;\n  --label-size2: 0.75rem;\n  --label-size3: 0.56rem;\n  --label-size4: 0.56rem;\n  --link-label-size: 0.75rem;\n  --link-label-line-height: 0.75rem;\n  --button-label-size: 0.75rem;\n  --button-label-line-height: 1rem;\n  --button-tertiary-height: 1.75rem;\n  --badge-label-size: 0.5rem;\n  --badge-label-line-height: 0.67rem;\n  --snw-header-link-size: 1rem;\n  --snw-header-link-line-height: 1.5rem;\n  --snw-flyout-link-size: 1rem;\n  --snw-flyout-link-line-height: 1.75rem;\n  --snw-heading-hero-size1: 2rem;\n  --snw-heading-hero-line-height-size1: 2.375rem;\n  --snw-heading-hero-size2: 1.625rem;\n  --snw-heading-hero-line-height-size2: 1.9375rem;\n\n  @media (min-width: $breakpoint-md) {\n    --quote-size: 1.75rem;\n    --quote-line-height: 2.25rem;\n    --heading-size1: 1.75rem;\n    --heading-line-height-size1: 2rem;\n    --heading-size2: 1.75rem;\n    --heading-line-height-size2: 2rem;\n    --heading-size3: 1.5rem;\n    --heading-line-height-size3: 1.75rem;\n    --heading-size4: 1.25rem;\n    --heading-line-height-size4: 1.5rem;\n    --heading-size5: 1rem;\n    --heading-line-height-size5: 1.25rem;\n    --string-size1: 1.25rem;\n    --string-line-height-size1: 1.5rem;\n    --string-size2: 1rem;\n    --string-line-height-size2: 1.25rem;\n    --string-size3: 0.75rem;\n    --string-line-height-size3: 1rem;\n    --body-size1: 1.25rem;\n    --body-line-height-size1: 1.75rem;\n    --body-size2: 1rem;\n    --body-line-height-size2: 1.5rem;\n    --body-size3: 0.75rem;\n    --body-line-height-size3: 1.25rem;\n    --label-size1: 1.25rem;\n    --label-size2: 1rem;\n    --label-size3: 0.75rem;\n    --label-size4: 0.75rem;\n    --link-label-size: 1rem;\n    --link-label-line-height: 1rem;\n    --button-label-size: 1rem;\n    --button-label-line-height: 1.25rem;\n    --badge-label-size: 0.75rem;\n    --badge-label-line-height: 1rem;\n    --snw-header-link-size: 1rem;\n    --snw-header-link-line-height: 1.5rem;\n    --snw-flyout-link-size: 0.875rem;\n    --snw-flyout-link-line-height: 1.75rem;\n    --snw-heading-hero-size1: 2.375rem;\n    --snw-heading-hero-line-height-size1: 2.875rem;\n  }\n\n  @media (min-width: $breakpoint-lg) {\n    --snw-flyout-link-size: 0.875rem;\n    --snw-flyout-link-line-height: 1.75rem;\n  }\n\n  @media (min-width: $breakpoint-xl) {\n    --quote-size: 2rem;\n    --quote-line-height: 2.5rem;\n    --heading-size1: 2rem;\n    --heading-line-height-size1: 2.25rem;\n    --heading-size2: 2rem;\n    --heading-line-height-size2: 2.25rem;\n    --heading-size3: 1.75rem;\n    --heading-line-height-size3: 2rem;\n    --heading-size4: 1.5rem;\n    --heading-line-height-size4: 1.75rem;\n    --heading-size5: 1.25rem;\n    --heading-line-height-size5: 1.5rem;\n    --string-size1: 1.5rem;\n    --string-line-height-size1: 1.75rem;\n    --string-size2: 1.25rem;\n    --string-line-height-size2: 1.5rem;\n    --string-size3: 1rem;\n    --string-line-height-size3: 1.25rem;\n    --body-size1: 1.5rem;\n    --body-line-height-size1: 2rem;\n    --body-size2: 1.25rem;\n    --body-line-height-size2: 1.75rem;\n    --body-size3: 1rem;\n    --body-line-height-size3: 1.5rem;\n    --label-size1: 1.56rem;\n    --label-size2: 1.25rem;\n    --label-size3: 1rem;\n    --link-label-size: 1.25rem;\n    --link-label-line-height: 1.25rem;\n    --button-label-size: 1.25rem;\n    --button-label-line-height: 1.5rem;\n    --badge-label-size: 1rem;\n    --badge-label-line-height: 1.5rem;\n    --snw-header-link-size: 1.125rem;\n    --snw-header-link-line-height: 1.75rem;\n    --snw-flyout-link-size: 1.125rem;\n    --snw-flyout-link-line-height: 2.125rem;\n  }\n}\n\n// TITLE\n$title-size1: var(--heading-size1);\n$title-size2: var(--heading-size2);\n$title-size3: var(--heading-size3);\n$title-size4: var(--heading-size4);\n\n// HEADING\n$heading-size1: var(--heading-size1);\n$heading-line-height-size1: var(--heading-line-height-size1);\n$heading-size2: var(--heading-size2);\n$heading-line-height-size2: var(--heading-line-height-size2);\n$heading-size3: var(--heading-size3);\n$heading-line-height-size3: var(--heading-line-height-size3);\n$heading-size4: var(--heading-size4);\n$heading-line-height-size4: var(--heading-line-height-size4);\n$heading-size5: var(--heading-size5);\n$heading-line-height-size5: var(--heading-line-height-size5);\n\n// BODY\n$body-size1: var(--body-size1);\n$body-line-height-size1: var(--body-line-height-size1);\n$body-size2: var(--body-size2);\n$body-line-height-size2: var(--body-line-height-size2);\n$body-size3: var(--body-size3);\n$body-line-height-size3: var(--body-line-height-size3);\n\n// STRING\n$string-size1: var(--string-size1);\n$string-line-height-size1: var(--string-line-height-size1);\n$string-size2: var(--string-size2);\n$string-line-height-size2: var(--string-line-height-size2);\n$string-size3: var(--string-size3);\n$string-line-height-size3: var(--string-line-height-size3);\n\n// LABELS\n$email-label-size: var(--label-size2);\n$text-label-size: var(--label-size3);\n$badge-label-size: var(--label-size3);\n$link-label-size: var(--link-label-size);\n$button-label-size: var(--button-label-size);\n$link-label-line-height: var(--link-label-line-height);\n$button-label-line-height: var(--button-label-line-height);\n$button-tertiary-height: var(--button-tertiary-height);\n$badge-label-size: var(--badge-label-size);\n$badge-label-line-height: var(--badge-label-line-height);\n$snw-header-link-size: var(--snw-header-link-size);\n$snw-header-link-line-height: var(--snw-header-link-line-height);\n$snw-flyout-link-size: var(--snw-flyout-link-size);\n$snw-flyout-link-line-height: var(--snw-flyout-link-line-height);\n$snw-heading-hero-size1: var(--snw-heading-hero-size1);\n$snw-heading-hero-line-height1: var(--snw-heading-hero-line-height-size1);\n$snw-heading-hero-size2: var(--snw-heading-hero-size2);\n$snw-heading-hero-line-height2: var(--snw-heading-hero-line-height-size2);\n\n////////////////////////\n/// SPACING TOKENS:\n///////////////////////\n\n// SNOWFLAKES\n$snowflake-menu-padding: 1.25rem;\n\n/* stylelint-disable-next-line no-duplicate-selectors */\n:root {\n  --snw-button-padding: 0.8125rem;\n  --spacing-micro: 0.25rem;\n  --spacing-xsm: 0.5rem;\n  --spacing-sm: 0.75rem;\n  --spacing-md: 1.75rem;\n  --spacing-lg: 2.75rem;\n  --spacing-xl: 3.75rem;\n  --spacing-xxl: 4.75rem;\n  --spacing-xxxl: 5.75rem;\n\n  @media (min-width: $breakpoint-md) {\n    --snw-button-padding: 0.8125rem;\n    --spacing-micro: 0.25rem;\n    --spacing-xsm: 0.5rem;\n    --spacing-sm: 1rem;\n    --spacing-md: 2rem;\n    --spacing-lg: 3rem;\n    --spacing-xl: 4rem;\n    --spacing-xxl: 5rem;\n    --spacing-xxxl: 6rem;\n  }\n\n  @media (min-width: $breakpoint-xl) {\n    --snw-button-padding: 0.813rem;\n    --spacing-micro: 0.5rem;\n    --spacing-xsm: 0.75rem;\n    --spacing-sm: 1.25rem;\n    --spacing-md: 2.25rem;\n    --spacing-lg: 3.25rem;\n    --spacing-xl: 4.25rem;\n    --spacing-xxl: 5.25rem;\n    --spacing-xxxl: 6.25rem;\n  }\n}\n\n$spacing-micro: var(--spacing-micro);\n$spacing-xsm: var(--spacing-xsm);\n$spacing-sm: var(--spacing-sm);\n$spacing-md: var(--spacing-md);\n$spacing-lg: var(--spacing-lg);\n$spacing-xl: var(--spacing-xl);\n$spacing-xxl: var(--spacing-xl);\n$spacing-xxxl: var(--spacing-xxxl);\n$spacing-sizes: micro, xsm, sm, md, lg, xl, xxl, xxxl;\n\n// PADDING\n$padding-micro: var(--spacing-micro);\n$padding-xsm: var(--spacing-xsm);\n$padding-sm: var(--spacing-sm);\n$padding-md: var(--spacing-md);\n$padding-lg: var(--spacing-lg);\n$padding-xl: var(--spacing-xl);\n$padding-xxl: var(--spacing-xxl);\n$padding-tokens: $padding-micro, $padding-xsm, $padding-sm, $padding-md, $padding-lg, $padding-xl, $padding-xxl;\n$snw-button-padding: var(--snw-button-padding);\n\n// MARGIN\n$margin-micro: var(--spacing-micro);\n$margin-xsm: var(--spacing-xsm);\n$margin-sm: var(--spacing-sm);\n$margin-md: var(--spacing-md);\n$margin-lg: var(--spacing-lg);\n$margin-xl: var(--spacing-xl);\n$margin-xxl: var(--spacing-xxl);\n\n////////////////////////\n/// HEADER TOKENS:\n///////////////////////\n/* stylelint-disable-next-line no-duplicate-selectors */\n:root {\n  --header-height: 56px; // ideally we would calculate the size from the current text size plus spacing components so that it scales with the text size and spacing\n  --search-size: 2.625rem; // This should be calculated from the scaling text and scaling spacing tokens instead of hardcoding in case they change\n\n  @media (min-width: $breakpoint-md) {\n    --header-height: 123px; // ideally we would calculate the size from the current text size plus spacing components so that it scales with the text size and spacing\n  }\n\n  @media (min-width: $breakpoint-xl) {\n    --header-height: 135px; // ideally we would calculate the size from the current text size plus spacing components so that it scales with the text size and spacing\n    --search-size: 2.875rem; // This should be calculated from the scaling text and scaling spacing tokens instead of hardcoding in case they change\n  }\n}\n\n////////////////////////\n/// max-site-width TOKEN:\n///////////////////////\n$max-site-width: 1560px;\n$desktop-max-width: var(--desktop-max-width);\n\n////////////////////////\n/// z-index TOKENS:\n///////////////////////\n$modal-z-index: 30;\n\n////////////////////////\n/// Our tokens usually support at least 4 sizes.\n///////////////////////\n$size-sm: 'sm';\n$size-md: 'md';\n$size-lg: 'lg';\n$size-xl: 'xl';\n$size-xxl: 'xxl';\n$default-transition: 150ms cubic-bezier(0.16, 1, 0.3, 1);\n$drawer-content-transition: 350ms cubic-bezier(0, 0, 0.2, 1);\n$default-overlay-transition: 350ms cubic-bezier(0.4, 0, 0.2, 1);\n\n////////////////////////\n/// Mobile-specific tokens\n///////////////////////\n$mobile-minimum-clickable-area: 44px;\n\n////////////////////////\n/// Header Tokens\n///\n$search-size: var(--search-size);\n$header-height: var(--header-height);\n",Jr=(e,t)=>{const n=(()=>{const e=Xr.split("\n").map((e=>{const[t,n]=e.split(": ");return{name:t,value:n?.replace(";","")}})),t={};return e.forEach((({name:e,value:n})=>{e&&n&&(t[e]=n)})),t})();return n[e]??n[t]??t},Zr=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgAccountActive",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,stroke:n,strokeWidth:2,d:"M11.91 14c2.52 0 4.525.805 5.896 2.154 1.182 1.165 1.957 2.8 2.147 4.846H4.043c.182-2.059.926-3.695 2.071-4.855C7.438 14.803 9.392 14 11.91 14ZM12 3a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"})]})}))),Qr=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgAccount",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{stroke:n,strokeWidth:2,d:"M11.91 14c2.52 0 4.525.805 5.896 2.154 1.182 1.165 1.957 2.8 2.147 4.846H4.043c.182-2.059.926-3.695 2.071-4.855C7.438 14.803 9.392 14 11.91 14ZM12 3a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"})]})}))),eo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgAdd",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M11 11V4h2v7h7v2h-7v7h-2v-7H4v-2z",clipRule:"evenodd"})]})}))),to=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{height:n,width:r,title:o,titleId:i}=e,a=o||"SvgAppleAppStoreBadge",s=i||st(a);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 132 44",height:n,width:r,role:"img",ref:t,"aria-labelledby":s,...e,children:[a?(0,Je.jsx)("title",{id:s,children:a}):null,(0,Je.jsxs)("g",{clipPath:"url(#apple-app-store-badge_svg__a)",children:[(0,Je.jsx)("path",{fill:"#A6A6A6",d:"M120.662 0H10.446c-.402 0-.799 0-1.2.002-.335.003-.667.009-1.006.014Q7.135.03 6.044.21a7.3 7.3 0 0 0-2.082.685 7.05 7.05 0 0 0-3.064 3.06 7.2 7.2 0 0 0-.685 2.078A14 14 0 0 0 .017 8.22c-.01.335-.012.67-.017 1.006v25.252c.005.34.006.668.017 1.008q.012 1.101.196 2.187c.12.724.351 1.426.685 2.08a6.8 6.8 0 0 0 1.29 1.764 6.9 6.9 0 0 0 1.774 1.288 7.4 7.4 0 0 0 2.082.689q1.09.178 2.196.193c.339.008.671.012 1.007.012.4.002.797.002 1.2.002h110.215c.394 0 .794 0 1.188-.002.334 0 .676-.005 1.01-.012.734-.01 1.467-.074 2.191-.193a7.5 7.5 0 0 0 2.091-.69 6.9 6.9 0 0 0 1.771-1.287 7 7 0 0 0 1.295-1.764 7.2 7.2 0 0 0 .678-2.08q.183-1.086.204-2.187c.004-.34.004-.668.004-1.008.008-.396.008-.791.008-1.195V10.42q.002-.6-.008-1.193.001-.503-.004-1.006a15 15 0 0 0-.204-2.188 7.2 7.2 0 0 0-.678-2.079 7.08 7.08 0 0 0-3.066-3.059 7.4 7.4 0 0 0-2.091-.685 14 14 0 0 0-2.191-.193c-.334-.005-.676-.012-1.01-.014C121.456 0 121.056 0 120.662 0"}),(0,Je.jsx)("path",{fill:"#000",d:"M9.252 42.745c-.334 0-.66-.005-.99-.012a14 14 0 0 1-2.048-.178 6.5 6.5 0 0 1-1.816-.599 5.9 5.9 0 0 1-1.53-1.11A5.8 5.8 0 0 1 1.75 39.32c-.29-.57-.49-1.18-.595-1.81a13.5 13.5 0 0 1-.182-2.05 99 99 0 0 1-.017-.997V9.226s.01-.756.017-.978q.013-1.03.18-2.045a6.3 6.3 0 0 1 .596-1.816 6.1 6.1 0 0 1 2.649-2.644 6.4 6.4 0 0 1 1.811-.595Q7.23.983 8.264.969l.989-.013h112.591l1.001.014q1.025.012 2.036.177a6.5 6.5 0 0 1 1.83.599 6.1 6.1 0 0 1 2.646 2.644 6.3 6.3 0 0 1 .587 1.801q.17 1.024.19 2.062c.003.31.003.642.003.973.009.41.009.8.009 1.192v22.865c0 .397 0 .785-.009 1.175 0 .355 0 .68-.004 1.016a14 14 0 0 1-.187 2.025 6.3 6.3 0 0 1-.592 1.824 6 6 0 0 1-1.113 1.514 5.9 5.9 0 0 1-1.533 1.117 6.4 6.4 0 0 1-1.827.6q-1.017.166-2.048.18c-.321.006-.657.01-.983.01l-1.188.003z"}),(0,Je.jsx)("path",{fill:"#fff",d:"M27.137 22.18a5.4 5.4 0 0 1 2.581-4.537 5.54 5.54 0 0 0-4.372-2.357c-1.84-.193-3.624 1.097-4.561 1.097-.956 0-2.4-1.078-3.954-1.046a5.84 5.84 0 0 0-4.9 2.98c-2.119 3.658-.538 9.034 1.491 11.991 1.016 1.448 2.203 3.066 3.755 3.008 1.52-.062 2.088-.966 3.922-.966 1.817 0 2.35.966 3.934.93 1.63-.026 2.658-1.454 3.638-2.916a12 12 0 0 0 1.664-3.379 5.24 5.24 0 0 1-2.325-1.923 5.2 5.2 0 0 1-.873-2.883Zm-2.993-8.84a5.31 5.31 0 0 0 1.22-3.813 5.44 5.44 0 0 0-3.513 1.813 5.06 5.06 0 0 0-1.253 3.673 4.5 4.5 0 0 0 3.546-1.672Zm22.202 16.31H41.16l-1.245 3.668h-2.197L42.63 19.75h2.282l4.912 13.567H47.59zm-4.649-1.691h4.11l-2.026-5.952h-.056l-2.028 5.951Zm18.735.414c0 3.073-1.65 5.048-4.14 5.048a3.37 3.37 0 0 1-3.12-1.73h-.047v4.899h-2.036V23.426h1.97v1.646h.038a3.51 3.51 0 0 1 3.158-1.75c2.518 0 4.177 1.985 4.177 5.05Zm-2.093 0c0-2.003-1.037-3.32-2.62-3.32-1.556 0-2.603 1.345-2.603 3.32 0 1.992 1.047 3.327 2.602 3.327 1.584 0 2.621-1.307 2.621-3.327m13.011-.001c0 3.074-1.65 5.05-4.14 5.05a3.37 3.37 0 0 1-3.12-1.731h-.048v4.899h-2.036V23.426h1.97v1.646h.038a3.51 3.51 0 0 1 3.159-1.75c2.517 0 4.177 1.985 4.177 5.05m-2.093 0c0-2.002-1.038-3.319-2.622-3.319-1.555 0-2.602 1.345-2.602 3.32 0 1.992 1.047 3.327 2.602 3.327 1.584 0 2.622-1.307 2.622-3.328m9.308 1.166c.15 1.345 1.462 2.228 3.252 2.228 1.717 0 2.951-.883 2.951-2.096 0-1.053-.744-1.684-2.508-2.116l-1.763-.423c-2.498-.602-3.658-1.767-3.658-3.658 0-2.34 2.046-3.948 4.95-3.948 2.876 0 4.846 1.607 4.913 3.948h-2.056c-.123-1.354-1.245-2.17-2.885-2.17s-2.763.826-2.763 2.03c0 .959.717 1.523 2.47 1.955l1.5.367c2.791.658 3.95 1.776 3.95 3.76 0 2.54-2.027 4.129-5.251 4.129-3.017 0-5.055-1.553-5.186-4.006zm12.748-8.452v2.34h1.886v1.608h-1.886v5.453c0 .847.378 1.242 1.207 1.242a6 6 0 0 0 .67-.047v1.598q-.561.105-1.131.094c-2.009 0-2.792-.752-2.792-2.67v-5.67h-1.442v-1.608h1.442v-2.34zm2.979 7.287c0-3.113 1.838-5.068 4.704-5.068 2.876 0 4.705 1.955 4.705 5.068 0 3.12-1.819 5.067-4.705 5.067-2.884 0-4.704-1.947-4.704-5.067m7.335 0c0-2.135-.981-3.395-2.631-3.395s-2.63 1.27-2.63 3.395c0 2.143.98 3.393 2.63 3.393s2.631-1.25 2.631-3.393m3.753-4.947h1.942v1.684h.047a2.37 2.37 0 0 1 2.386-1.787q.353-.002.698.075v1.9a2.9 2.9 0 0 0-.915-.123 2.06 2.06 0 0 0-1.586.651 2.04 2.04 0 0 0-.536 1.625v5.867h-2.036zm14.46 6.987c-.274 1.795-2.028 3.027-4.271 3.027-2.886 0-4.677-1.927-4.677-5.02 0-3.103 1.801-5.115 4.591-5.115 2.745 0 4.47 1.88 4.47 4.879v.695h-7.005v.123c-.033.364.013.73.134 1.076a2.58 2.58 0 0 0 2.534 1.726 2.25 2.25 0 0 0 2.291-1.391zm-6.883-2.953h4.959a2.39 2.39 0 0 0-2.433-2.51 2.52 2.52 0 0 0-1.787.73 2.5 2.5 0 0 0-.739 1.78M41.442 9.539a2.9 2.9 0 0 1 2.307.893 2.88 2.88 0 0 1 .769 2.346c0 2.083-1.129 3.28-3.076 3.28H39.08V9.539h2.36Zm-1.346 5.597h1.232a2.06 2.06 0 0 0 1.638-.66 2.05 2.05 0 0 0 .518-1.685 2.05 2.05 0 0 0-1.267-2.183 2.1 2.1 0 0 0-.889-.148h-1.232zm5.569-1.54a2.32 2.32 0 0 1 1.38-2.354 2.34 2.34 0 0 1 3.164 1.396c.103.308.14.634.109.958a2.325 2.325 0 0 1-1.38 2.357 2.343 2.343 0 0 1-3.166-1.398 2.3 2.3 0 0 1-.107-.96Zm3.651 0c0-1.067-.48-1.69-1.323-1.69-.846 0-1.323.623-1.323 1.69 0 1.075.477 1.693 1.323 1.693.843 0 1.323-.623 1.323-1.693m7.187 2.462h-1.01l-1.02-3.624h-.077l-1.015 3.624h-1l-1.36-4.92h.987l.884 3.754h.073l1.014-3.754h.934l1.014 3.754h.077l.88-3.754h.973zm2.498-4.92h.937v.782h.073a1.47 1.47 0 0 1 1.472-.877 1.61 1.61 0 0 1 1.653 1.121c.071.23.09.472.055.709v3.185h-.974v-2.941c0-.79-.344-1.184-1.064-1.184a1.134 1.134 0 0 0-1.125.767c-.053.154-.07.318-.053.48v2.878H59zm5.741-1.92h.974v6.84h-.974zm2.328 4.378a2.325 2.325 0 0 1 1.38-2.354 2.34 2.34 0 0 1 2.676.564 2.33 2.33 0 0 1 .597 1.79 2.33 2.33 0 0 1-1.38 2.357 2.343 2.343 0 0 1-3.166-1.398 2.3 2.3 0 0 1-.108-.96Zm3.651 0c0-1.067-.48-1.69-1.324-1.69-.846 0-1.322.623-1.322 1.69 0 1.075.476 1.693 1.322 1.693.844 0 1.324-.623 1.324-1.693m2.027 1.07c0-.885.661-1.396 1.835-1.468l1.336-.077v-.425c0-.52-.344-.813-1.01-.813-.543 0-.92.2-1.028.547h-.943c.1-.845.897-1.387 2.016-1.387 1.237 0 1.934.614 1.934 1.653v3.362h-.937v-.692h-.077a1.66 1.66 0 0 1-1.482.773 1.495 1.495 0 0 1-1.514-.87 1.5 1.5 0 0 1-.13-.603m3.171-.42v-.411l-1.205.076c-.679.046-.987.276-.987.71 0 .443.385.7.915.7a1.17 1.17 0 0 0 1.154-.63c.07-.138.113-.29.123-.445m2.249-.65c0-1.555.801-2.54 2.048-2.54a1.63 1.63 0 0 1 1.513.864h.073V9.217h.973v6.84h-.933v-.778h-.077a1.71 1.71 0 0 1-1.55.859c-1.254 0-2.047-.985-2.047-2.543Zm1.006 0c0 1.043.493 1.671 1.318 1.671.82 0 1.328-.637 1.328-1.667 0-1.025-.513-1.671-1.328-1.671-.82 0-1.318.632-1.318 1.667m7.629 0a2.325 2.325 0 0 1 1.381-2.354 2.34 2.34 0 0 1 3.163 1.396c.103.308.14.634.11.958a2.325 2.325 0 0 1-1.38 2.357 2.343 2.343 0 0 1-3.166-1.398 2.3 2.3 0 0 1-.108-.96Zm3.652 0c0-1.067-.48-1.69-1.324-1.69-.846 0-1.322.623-1.322 1.69 0 1.075.476 1.693 1.322 1.693.844 0 1.324-.623 1.324-1.693m2.308-2.458h.937v.782h.073a1.47 1.47 0 0 1 1.472-.877 1.61 1.61 0 0 1 1.652 1.121c.072.23.09.472.055.709v3.185h-.973v-2.941c0-.79-.345-1.184-1.065-1.184a1.134 1.134 0 0 0-1.125.767c-.052.154-.07.318-.053.48v2.878h-.973zm9.691-1.225v1.247h1.069v.818h-1.069v2.53c0 .515.213.74.698.74q.186 0 .371-.022v.81a3 3 0 0 1-.53.049c-1.083 0-1.514-.38-1.514-1.329v-2.778h-.783v-.818h.783V9.913zm2.399-.695h.965v2.71h.077a1.51 1.51 0 0 1 1.504-.88 1.63 1.63 0 0 1 1.638 1.13c.072.227.093.467.061.703v3.177h-.975V13.12c0-.786-.367-1.184-1.055-1.184a1.16 1.16 0 0 0-1.178.755 1.15 1.15 0 0 0-.064.492v2.874h-.973v-6.84Zm9.922 5.512a2.006 2.006 0 0 1-2.138 1.423 2.24 2.24 0 0 1-2.202-1.581 2.2 2.2 0 0 1-.077-.959 2.26 2.26 0 0 1 .55-1.802 2.28 2.28 0 0 1 1.725-.768c1.373 0 2.201.935 2.201 2.48v.339h-3.484v.054a1.3 1.3 0 0 0 .345.995 1.3 1.3 0 0 0 .969.415 1.19 1.19 0 0 0 1.174-.597h.937Zm-3.425-1.586h2.492a1.186 1.186 0 0 0-1.214-1.275 1.27 1.27 0 0 0-1.185.785 1.3 1.3 0 0 0-.093.49"})]}),(0,Je.jsx)("defs",{children:(0,Je.jsx)("clipPath",{id:"apple-app-store-badge_svg__a",children:(0,Je.jsx)("path",{fill:"#fff",d:"M0 0h131.102v43.701H0z"})})})]})}))),no=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgArrowDown",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M13 4v13.844l4.854-4.107 1.292 1.526L12 21.31l-7.146-6.047 1.292-1.526L11 17.844V4z"})]})}))),ro=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgArrowLeft",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"m6.156 13 4.107 4.854-1.526 1.292L2.69 12l6.047-7.146 1.526 1.292L6.156 11H20v2z"})]})}))),oo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgArrowRight",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M15.263 4.854 21.31 12l-6.047 7.146-1.526-1.292L17.844 13H4v-2h13.844l-4.107-4.854z"})]})}))),io=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgArrowUp",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"m12 2.69 7.146 6.047-1.292 1.526L13 6.156V20h-2V6.156l-4.854 4.107-1.292-1.526z"})]})}))),ao=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgBag",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M6.956 8c0-2.761 2.258-5 5.044-5s5.044 2.239 5.044 5h3.954l.995 11.834A2.007 2.007 0 0 1 19.983 22H4.017c-1.18 0-2.109-1-2.01-2.166L3.001 8zm0 2v2h2.018v-2h6.052v2h2.018v-2h2.098l.84 10H4.018l.84-10zm8.07-2H8.974c0-1.657 1.355-3 3.026-3s3.026 1.343 3.026 3",clipRule:"evenodd"})]})}))),so=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgCalendar",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M9 4.999V3H7v2H2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5h-5V3h-2v2H9zM7 7v.53c0 .26.21.47.47.47h1.06c.26 0 .47-.21.47-.47V7h6v.53c0 .26.21.47.47.47h1.06c.26 0 .47-.21.47-.47V7h3v3H4V7zm-3 5h16v7H4zm5 5h6v-2H9z",clipRule:"evenodd"})]})}))),lo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgChevronDown",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M20.659 9.253 12 16.829 3.342 9.253l1.317-1.506L12 14.171l7.342-6.424z",clipRule:"evenodd"})]})}))),co=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgChevronLeft",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m9.829 12 6.424-7.341-1.506-1.318L7.171 12l7.576 8.659 1.506-1.317z",clipRule:"evenodd"})]})}))),uo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgChevronRight",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M9.252 3.341 16.83 12l-7.577 8.659-1.505-1.317L14.171 12 7.747 4.659z",clipRule:"evenodd"})]})}))),fo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgChevronUp",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m12 7.171 8.659 7.576-1.317 1.506L12 9.829 4.66 16.253l-1.317-1.506z",clipRule:"evenodd"})]})}))),po=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgCloseX",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{stroke:n,strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:2,d:"M18 6 6 18M6 6l12 12"})]})}))),ho=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgConditionReport",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M6 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16H6a4 4 0 0 1-4-4v-6h4zm2 14h12V5H8zm-2 0v-6H4v4a2 2 0 0 0 2 2m10-9h-6V8h6zm2 5h-8v-2h8z",clipRule:"evenodd"})]})}))),mo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgDelete",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M11 10H9v8h2zM15 10h-2v8h2z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M7 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h5v2h-2v14H4V8H2V6h5zm8 0v2H9V4zM6 8h12v12H6z",clipRule:"evenodd"})]})}))),go=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgDownload",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M18.133 11.274 12 16.292l-6.133-5.018 1.266-1.548L11 12.89V2h2v10.89l3.867-3.164z"}),(0,Je.jsx)("path",{fill:n,d:"M4 16v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4h-2v4H6v-4z"})]})}))),vo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgEdit",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M18.901 3.301a2 2 0 0 0-2.828 0L3.26 16.114l-1.24 5.483 5.483-1.24L20.316 7.544a2 2 0 0 0 0-2.828zm-1.5 4.329-1.414-1.414 1.5-1.5 1.414 1.414zm-2.828 0 1.414 1.414-9.49 9.49-1.827.413.413-1.827z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M11 20v2h11v-2z"})]})}))),yo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgEmail",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M2 4v16h20V4zm2 3.414v9.172L8.586 12zM5.414 18h13.172L14 13.414l-.586.586a2 2 0 0 1-2.828 0L10 13.414zM20 16.586V7.414L15.414 12zM18.586 6H5.414L12 12.586z",clipRule:"evenodd"})]})}))),wo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgError",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M11 13V7h2v6zM12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]})}))),bo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgExternalLink",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M15 4h3.586l-6.293 6.293 1.414 1.414L20 5.414V9h2V2h-7z"}),(0,Je.jsx)("path",{fill:n,d:"M3 4v15a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-6h-2v6H5V6h6V4z"})]})}))),xo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgFacebook",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M14.079 8.5V6.75c0-.875.121-1.375 1.457-1.375h1.7V2h-2.793c-3.4 0-4.494 1.625-4.494 4.5v2.125H7.763V12h2.065v10h4.251V12h2.793l.365-3.5z"})]})}))),So=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgFavoriteActive",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,className:"favorite-active__inner",d:"M11.087 5.38 12 6.29l.913-.909A4.75 4.75 0 0 1 16.263 4a4.75 4.75 0 0 1 3.35 1.38A4.7 4.7 0 0 1 21 8.714c0 1.25-.41 2.26-1.387 3.333l-1.477 1.716L12 20l-6.136-6.238-1.476-1.716C3.409 10.974 3 9.963 3 8.713s.5-2.449 1.388-3.332A4.75 4.75 0 0 1 7.738 4a4.75 4.75 0 0 1 3.349 1.38"}),(0,Je.jsx)("path",{fill:n,className:"favorite-active__outline",d:"m12 6.289-.706.709a1 1 0 0 0 1.41 0zm-.913-.909-.705.71zm-6.7 0 .706.71zm0 6.666.759-.652-.02-.022zm1.477 1.716-.758.652.045.05zM12 20l-.713.701.713.725.713-.725zm.913-14.62.705.71zm6.7 0-.706.71zm0 6.666-.74-.674-.019.022zm-1.477 1.716.713.702.046-.05zm-5.43-8.182-.914-.908-1.41 1.417.912.909zm-.914-.908A5.75 5.75 0 0 0 7.737 3v2a3.75 3.75 0 0 1 2.645 1.09zM7.737 3c-1.52 0-2.978.6-4.055 1.672l1.41 1.417A3.75 3.75 0 0 1 7.738 5zM3.682 4.672A5.7 5.7 0 0 0 2 8.713h2c0-.983.393-1.927 1.093-2.624zM2 8.713c0 1.53.524 2.775 1.649 4.007l1.477-1.348C4.294 10.46 4 9.682 4 8.713zm1.63 3.985 1.476 1.716 1.516-1.304-1.476-1.716zm1.52 1.766 6.137 6.237 1.426-1.402-6.136-6.238zm7.555-7.466.913-.908-1.41-1.419-.913.909zm.913-.909A3.75 3.75 0 0 1 16.263 5V3c-1.52 0-2.979.6-4.055 1.672zM16.263 5a3.75 3.75 0 0 1 2.644 1.09l1.41-1.418A5.75 5.75 0 0 0 16.264 3zm2.644 1.09c.7.696 1.093 1.64 1.093 2.623h2c0-1.517-.606-2.97-1.682-4.041zM20 8.712c0 .97-.294 1.747-1.126 2.66l1.477 1.347C21.476 11.488 22 10.244 22 8.713zm-1.146 2.681-1.476 1.716 1.517 1.304 1.476-1.716zm-1.43 1.667-6.137 6.238 1.426 1.402 6.136-6.237z"})]})}))),Eo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgFavorite",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"m12 6.289-.706.709a1 1 0 0 0 1.41 0zm-.913-.909-.705.71zm-6.7 0 .706.71zm0 6.666.759-.652-.02-.022zm1.477 1.716-.758.652.045.05zM12 20l-.713.701.713.725.713-.725zm.913-14.62.705.71zm6.7 0-.706.71zm0 6.666-.74-.674-.019.022zm-1.477 1.716.713.702.046-.05zm-5.43-8.182-.914-.908-1.41 1.417.912.909zm-.914-.908A5.75 5.75 0 0 0 7.737 3v2a3.75 3.75 0 0 1 2.645 1.09zM7.737 3c-1.52 0-2.978.6-4.055 1.672l1.41 1.417A3.75 3.75 0 0 1 7.738 5zM3.682 4.672A5.7 5.7 0 0 0 2 8.713h2c0-.983.393-1.927 1.093-2.624zM2 8.713c0 1.53.524 2.775 1.649 4.007l1.477-1.348C4.294 10.46 4 9.682 4 8.713zm1.63 3.985 1.476 1.716 1.516-1.304-1.476-1.716zm1.52 1.766 6.137 6.237 1.426-1.402-6.136-6.238zm7.555-7.466.913-.908-1.41-1.419-.913.909zm.913-.909A3.75 3.75 0 0 1 16.263 5V3c-1.52 0-2.979.6-4.055 1.672zM16.263 5a3.75 3.75 0 0 1 2.644 1.09l1.41-1.418A5.75 5.75 0 0 0 16.264 3zm2.644 1.09c.7.696 1.093 1.64 1.093 2.623h2c0-1.517-.606-2.97-1.682-4.041zM20 8.712c0 .97-.294 1.747-1.126 2.66l1.477 1.347C21.476 11.488 22 10.244 22 8.713zm-1.146 2.681-1.476 1.716 1.517 1.304 1.476-1.716zm-1.43 1.667-6.137 6.238 1.426 1.402 6.136-6.237z"})]})}))),Co=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgFilters",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M6 3v3H2v2h4v3h6V8h10V6H12V3zm4 2H8v4h2zM12 13v3H2v2h10v3h6v-3h4v-2h-4v-3zm4 2h-2v4h2z",clipRule:"evenodd"})]})}))),Ao=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgFullscreen",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M2 2h6v2H4v4H2zm14 0h6v6h-2V4h-4zM2 16h2v4h4v2H2zm20 0v6h-6v-2h4v-4z",clipRule:"evenodd"})]})}))),To=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgFullscreenExit",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M8 16v6H6v-4H2v-2zM22 18h-4v4h-2v-6h6zM8 8H2V6h4V2h2zM18 6h4v2h-6V2h2z"})]})}))),Oo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgGavelActive",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m20.414 8.583-7-6.997-2.439 2.44a1.49 1.49 0 0 0-.297 1.68L5.706 10.68a1.49 1.49 0 0 0-1.68.298l-2.44 2.44 6.999 6.997 2.44-2.44a1.49 1.49 0 0 0 .297-1.68l.596-.596q.04.044.083.087l5.334 5.248a2 2 0 0 0 2.784.02l.837-.8a2 2 0 0 0 .044-2.85l-5.291-5.37-.065-.063.65-.649a1.49 1.49 0 0 0 1.68-.298zm-.84 10.224-5.29-5.37-.88.922 5.334 5.248z",clipRule:"evenodd"})]})}))),jo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgGavel",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m20.414 8.583-7-6.997-2.439 2.44a1.49 1.49 0 0 0-.297 1.68L5.706 10.68a1.49 1.49 0 0 0-1.68.298l-2.44 2.44 6.999 6.997 2.44-2.44a1.49 1.49 0 0 0 .297-1.68l.596-.596q.04.044.083.087l5.334 5.248a2 2 0 0 0 2.784.02l.837-.8a2 2 0 0 0 .044-2.85l-5.291-5.37-.065-.063.65-.649a1.49 1.49 0 0 0 1.68-.298zm-6.999-4.169 4.17 4.17-.727.727a1.49 1.49 0 0 0-1.68.298L9.61 15.177a1.49 1.49 0 0 0-.297 1.68l-.728.729-4.17-4.17.727-.727a1.49 1.49 0 0 0 1.68-.298l5.568-5.568a1.49 1.49 0 0 0 .297-1.68zm.869 9.022 5.29 5.371-.837.8-5.334-5.248z",clipRule:"evenodd"})]})}))),No=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgGrid",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{stroke:n,strokeWidth:2,d:"M21 14v7h-7v-7zm-11 0v7H3v-7zM21 3v7h-7V3zM10 3v7H3V3z"})]})}))),_o=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgHide",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m3.587 2-1.4 1.426L5.56 6.862c-.32.312-.614.63-.883.943a18.3 18.3 0 0 0-2.433 3.668l-.033.07-.01.02-.002.006-.001.002s-.001.002.896.429l-.897-.427L2 12l.197.429v.002l.004.006.009.02a7 7 0 0 0 .157.316 18.276 18.276 0 0 0 2.31 3.422C6.267 18.045 8.743 20.07 12 20.07c1.91 0 3.552-.696 4.904-1.645L20.413 22l1.4-1.427-11.168-11.38a1 1 0 0 0-.09-.091zm11.888 14.968-1.464-1.492a3.9 3.9 0 0 1-2.011.559c-2.186 0-3.959-1.807-3.959-4.035 0-.748.2-1.449.548-2.05L6.96 8.29q-.42.41-.794.846A16.3 16.3 0 0 0 4.206 12a16.262 16.262 0 0 0 1.959 2.865c1.445 1.68 3.423 3.187 5.835 3.187 1.287 0 2.45-.429 3.475-1.084M10.021 12q0-.271.066-.523l2.426 2.472a2 2 0 0 1-.513.068c-1.093 0-1.98-.903-1.98-2.017",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M18 14.67A16.4 16.4 0 0 0 19.794 12a16.26 16.26 0 0 0-1.959-2.865C16.39 7.455 14.412 5.948 12 5.948a6 6 0 0 0-2.156.41L8.34 4.828C9.42 4.282 10.642 3.93 12 3.93c3.256 0 5.732 2.024 7.324 3.874a18.3 18.3 0 0 1 2.433 3.668l.033.07.01.02.002.006.001.002s.001.002-.896.429l.897-.427L22 12l-.196.428-.002.003-.003.006-.009.02a10 10 0 0 1-.157.316 18.338 18.338 0 0 1-2.23 3.329z"})]})}))),ko=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgHomeActive",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M9 21H3V9.505a1 1 0 0 1 .447-.833L12 3l8.553 5.672a1 1 0 0 1 .447.833V21H9"}),(0,Je.jsx)("path",{fill:"#fff",d:"M9 20v-7a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1"}),(0,Je.jsx)("path",{stroke:n,strokeLinecap:"round",strokeWidth:2,d:"M9 21H3V9.505a1 1 0 0 1 .447-.833L12 3l8.553 5.672a1 1 0 0 1 .447.833V21h-6m-6 0h6m-6 0v-7.753a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1V21m-6-8v7a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1Z"})]})}))),Po=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgHome",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{stroke:n,strokeWidth:2,d:"M9 21H3V9.505a1 1 0 0 1 .447-.833L12 3l8.553 5.672a1 1 0 0 1 .447.833V21h-6m-6 0h6m-6 0v-7.753a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1V21"})]})}))),Mo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{height:n,width:r,title:o,titleId:i}=e,a=o||"SvgIconGreenCircle",s=i||st(a);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 8 8",height:n,width:r,role:"img",ref:t,"aria-labelledby":s,...e,children:[a?(0,Je.jsx)("title",{id:s,children:a}):null,(0,Je.jsx)("circle",{cx:4,cy:4,r:4,fill:"#0FA915"})]})}))),Ro=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{height:n,width:r,title:o,titleId:i}=e,a=o||"SvgIconRedCircle",s=i||st(a);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 8 8",height:n,width:r,role:"img",ref:t,"aria-labelledby":s,...e,children:[a?(0,Je.jsx)("title",{id:s,children:a}):null,(0,Je.jsx)("circle",{cx:4,cy:4,r:4,fill:"#B40919"})]})}))),Do=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgIcon",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M3 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zM10 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1zM17 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1z"})]})}))),Lo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgInstagram",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10m0-1.562a3.437 3.437 0 1 0 0-6.875 3.437 3.437 0 0 0 0 6.874",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M17.625 8.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M8.25 2A6.25 6.25 0 0 0 2 8.25v7.5A6.25 6.25 0 0 0 8.25 22h7.5A6.25 6.25 0 0 0 22 15.75v-7.5A6.25 6.25 0 0 0 15.75 2zm7.5 1.875h-7.5A4.375 4.375 0 0 0 3.875 8.25v7.5a4.375 4.375 0 0 0 4.375 4.375h7.5a4.375 4.375 0 0 0 4.375-4.375v-7.5a4.375 4.375 0 0 0-4.375-4.375",clipRule:"evenodd"})]})}))),Io=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgLinkedIn",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M22 14.29V22h-4.218v-7.28c0-1.857-.68-2.999-2.177-2.999-.952 0-1.904.571-2.176 1.57-.136.429-.136.714-.136 1.143V22H9.075V8.58h4.218v1.857c.816-1.428 2.176-2.285 3.809-2.285 2.721 0 4.898 1.999 4.898 6.139M4.449 2.015C3.224 1.87 2.136 2.87 2 4.155v.143c0 1.285.952 2.284 2.177 2.284h.136c1.224.143 2.313-.857 2.449-2.142v-.142c0-1.285-.816-2.284-2.04-2.284zM2.272 22H6.49V8.58H2.272z"})]})}))),$o=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgList",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M21 13H3V4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1zm-2-2H5V5h14z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M21 15H3v2h18zM21 19H3v2h18z"})]})}))),Fo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgLock",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M13 17v-3a1 1 0 1 0-2 0v3z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M12 2a5 5 0 0 0-5 5v1H4v14h16V8h-3V7a5 5 0 0 0-5-5m3 5v1H9V7a3 3 0 1 1 6 0M6 20V10h12v10z",clipRule:"evenodd"})]})}))),zo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{height:n,width:r,title:o,titleId:i}=e,a=o||"SvgMagnificentSeven",s=i||st(a);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 150 24",height:n,width:r,role:"img",ref:t,"aria-labelledby":s,...e,children:[a?(0,Je.jsx)("title",{id:s,children:a}):null,(0,Je.jsx)("rect",{width:149,height:20,x:.5,y:2,fill:"#E8B237",rx:10}),(0,Je.jsx)("path",{fill:"#000",d:"M9.76 16V7.6h.984l3.768 6.348h-.528l3.72-6.348h.984L18.7 16h-1.152l-.012-6.588h.276L14.5 14.98h-.552l-3.336-5.568h.3V16zm10.189 0 3.804-8.4h1.188l3.816 8.4h-1.26L24.1 8.272h.48L21.185 16zm1.62-2.1.324-.96h4.728l.348.96zm12.116 2.196a5 5 0 0 1-1.788-.312 4.3 4.3 0 0 1-1.416-.9 4.3 4.3 0 0 1-.936-1.368 4.3 4.3 0 0 1-.336-1.716q0-.936.336-1.716t.936-1.356a4.2 4.2 0 0 1 1.428-.9 4.8 4.8 0 0 1 1.8-.324q.996 0 1.824.324t1.404.972l-.744.744a3.2 3.2 0 0 0-1.128-.732 3.5 3.5 0 0 0-1.308-.24q-.72 0-1.344.24-.612.24-1.068.672a3.1 3.1 0 0 0-.696 1.032q-.24.588-.24 1.284 0 .684.24 1.284.252.588.696 1.032.456.432 1.068.672t1.332.24q.672 0 1.284-.204.624-.216 1.152-.708l.684.912q-.624.528-1.464.804a5.6 5.6 0 0 1-1.716.264m2.028-1.224v-3.12h1.152v3.276zM39.163 16V7.6h.983l5.556 6.9h-.516V7.6h1.2V16h-.984l-5.556-6.9h.516V16zm9.738 0V7.6h1.2V16zm4.794-4.428h4.333v1.032h-4.332zm.12 4.428h-1.2V7.6h5.929v1.044h-4.728zm6.418 0V7.6h1.2V16zm7.47.096q-.96 0-1.776-.312a4.4 4.4 0 0 1-1.404-.9 4.4 4.4 0 0 1-.923-1.368 4.3 4.3 0 0 1-.337-1.716q0-.936.337-1.716.336-.78.935-1.356.6-.588 1.404-.9a4.8 4.8 0 0 1 1.777-.324q.972 0 1.788.336.827.324 1.403.972l-.78.756a3.05 3.05 0 0 0-1.08-.744 3.3 3.3 0 0 0-1.284-.252q-.708 0-1.32.24-.6.24-1.043.672a3.1 3.1 0 0 0-.697 1.032q-.24.588-.24 1.284t.24 1.296a3.12 3.12 0 0 0 1.74 1.692q.614.24 1.32.24.684 0 1.284-.24.6-.252 1.08-.768l.78.756q-.576.648-1.403.984a4.7 4.7 0 0 1-1.8.336m6.008-4.872h4.32v1.02h-4.32zm.108 3.732h4.896V16H72.62V7.6h5.928v1.044H73.82zM80.66 16V7.6h.983l5.556 6.9h-.516V7.6h1.2V16h-.984l-5.556-6.9h.516V16zm11.406 0V8.644h-2.88V7.6h6.948v1.044h-2.88V16zm11.045.096a5.8 5.8 0 0 1-1.836-.288q-.876-.3-1.38-.768l.444-.936q.48.42 1.224.696a4.4 4.4 0 0 0 1.548.276q.732 0 1.188-.168t.672-.456q.216-.3.216-.672a.9.9 0 0 0-.288-.696 2 2 0 0 0-.732-.42 7 7 0 0 0-.984-.288q-.54-.12-1.092-.276a5.3 5.3 0 0 1-.996-.42 2.1 2.1 0 0 1-.72-.672q-.276-.432-.276-1.104 0-.648.336-1.188.348-.552 1.056-.876.72-.336 1.824-.336.732 0 1.452.192t1.248.552l-.396.96q-.54-.36-1.14-.516a4.3 4.3 0 0 0-1.164-.168q-.708 0-1.164.18t-.672.48q-.204.3-.204.672 0 .444.276.708.288.264.732.42.456.156.996.288.54.12 1.08.276.552.156.996.408.456.252.732.672t.276 1.08q0 .636-.348 1.188-.348.54-1.08.876-.72.324-1.824.324m6.097-4.872h4.32v1.02h-4.32zm.108 3.732h4.896V16h-6.096V7.6h5.928v1.044h-4.728zM118.461 16l-3.696-8.4h1.296l3.396 7.752h-.744l3.42-7.752h1.2l-3.684 8.4zm7.036-4.776h4.32v1.02h-4.32zm.108 3.732h4.896V16h-6.096V7.6h5.928v1.044h-4.728zM132.444 16V7.6h.984l5.556 6.9h-.516V7.6h1.2V16h-.984l-5.556-6.9h.516V16z"})]})}))),Bo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgMenu",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{stroke:n,strokeWidth:2,d:"M2 8h20M2 16h20"})]})}))),Ho=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgMute",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m21.603 19.681-1.355 1.358-1.446-1.449-.566.57-1.355-1.358.566-.57-1.553-1.556-.082.084-1.355-1.358.082-.084-.998-1V22l-6.147-6.159H3.958a.96.96 0 0 1-.958-.96V9.12l.005-.099a.96.96 0 0 1 .953-.861h3.436L3.561 4.318 4.916 2.96zM8.47 9.8a.96.96 0 0 1-.678.281H4.916v3.84h2.875l.095.005c.22.022.425.12.583.277l3.155 3.162v-4.967L8.75 9.517z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"m18.914 4.545.36.38a10.58 10.58 0 0 1 1.508 12.013L19.347 15.5a8.655 8.655 0 0 0-1.494-9.287l-.294-.31-.678-.68 1.355-1.357z"}),(0,Je.jsx)("path",{fill:n,d:"m16.49 7.935.196.207a5.77 5.77 0 0 1 1.14 5.833l-1.588-1.591q.018-.187.018-.376c0-.955-.355-1.873-.99-2.578l-.132-.138-.677-.678 1.355-1.358zM13.54 9.682l-1.916-1.92V6.636l-.561.562L9.708 5.84 13.54 2z"})]})}))),Uo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgPause",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M7 4.25A.25.25 0 0 1 7.25 4h2.5a.25.25 0 0 1 .25.25v15.5a.25.25 0 0 1-.25.25h-2.5a.25.25 0 0 1-.25-.25zM14 4.25a.25.25 0 0 1 .25-.25h2.5a.25.25 0 0 1 .25.25v15.5a.25.25 0 0 1-.25.25h-2.5a.25.25 0 0 1-.25-.25z"})]})}))),Wo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{height:n,width:r,title:o,titleId:i}=e,a=o||"SvgPhillipsAppIcon",s=i||st(a);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 60 61",height:n,width:r,role:"img",ref:t,"aria-labelledby":s,...e,children:[a?(0,Je.jsx)("title",{id:s,children:a}):null,(0,Je.jsx)("rect",{width:59,height:59,x:.5,y:1.095,fill:"#fff",rx:13.5}),(0,Je.jsx)("rect",{width:59,height:59,x:.5,y:1.095,stroke:"#ECEAE7",rx:13.5}),(0,Je.jsx)("path",{fill:"#000",d:"M25.905 28.061h-.835v5.124h4.236v-.806h-3.4V28.06Zm-5.138 5.124h.835v-5.124h-.835zm-7.628-5.124h-.82v5.124h.812v-1.852h3.348v1.852h.82v-5.124h-.82v2.488h-3.348zm25.339 5.124h.835v-5.124h-.835zM50.04 31.92l-.282.755c.657.374 1.776.616 2.566.616 1.462 0 2.379-.575 2.379-1.584 0-1.187-1.126-1.396-2.349-1.516-.783-.075-1.603-.134-1.603-.702 0-.44.395-.724 1.446-.724.627 0 1.35.141 1.954.396l.261-.762a5.8 5.8 0 0 0-2.2-.441c-1.476 0-2.311.582-2.311 1.531 0 1.195 1.14 1.404 2.349 1.516.783.075 1.595.142 1.595.703 0 .455-.41.776-1.513.776-.679 0-1.616-.203-2.292-.564m-17.43-3.859h-.835v5.124h4.235v-.806h-3.4V28.06Zm13.035 0h-2.856v5.124h.835V31.49h2.02c1.194 0 1.88-.717 1.88-1.718 0-.994-.671-1.71-1.88-1.71Zm-.097 2.622h-1.924v-1.815h1.924c.723 0 1.126.336 1.126.904s-.388.911-1.126.911m-37.65-2.622H5.04v5.124h.835V31.49h2.02c1.194 0 1.88-.717 1.88-1.718 0-.994-.671-1.71-1.88-1.71ZM7.8 30.683H5.876v-1.815H7.8c.723 0 1.126.336 1.126.904s-.388.911-1.126.911"})]})}))),Vo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{height:n,width:r,title:o,titleId:i}=e,a=o||"SvgPhillipsLogo",s=i||st(a);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none","data-testid":"header-logo-svg",viewBox:"0 0 131 18",height:n,width:r,role:"img",ref:t,"aria-labelledby":s,...e,children:[a?(0,Je.jsx)("title",{id:s,children:a}):null,(0,Je.jsx)("g",{clipPath:"url(#PhillipsLogo_svg__a)",children:(0,Je.jsx)("path",{fill:"#000",d:"M54.817.274h-2.195v13.452H63.75v-2.118h-8.933zm-13.5 13.453h2.195V.274h-2.195zM21.276.274h-2.155v13.452h2.136V8.862h8.796v4.864h2.155V.274h-2.155v6.53h-8.796zm66.572 13.453h2.195V.274h-2.195zm30.382-3.325-.741 1.982c1.725.981 4.664 1.616 6.741 1.616 3.84 0 6.25-1.509 6.25-4.157 0-3.117-2.959-3.667-6.171-3.98-2.057-.197-4.213-.353-4.213-1.843 0-1.158 1.039-1.902 3.802-1.902 1.645 0 3.546.372 5.133 1.04l.685-2.001C127.953.392 125.817 0 123.936 0c-3.878 0-6.073 1.529-6.073 4.02 0 3.137 2.998 3.686 6.171 3.98 2.057.196 4.193.373 4.193 1.844 0 1.196-1.077 2.039-3.977 2.039-1.783 0-4.246-.534-6.02-1.481M72.43.274h-2.194v13.452h11.128v-2.118H72.43zm34.246 0h-7.504v13.452h2.195V9.274h5.309c3.135 0 4.938-1.882 4.938-4.51 0-2.607-1.764-4.49-4.938-4.49m-.255 6.883h-5.054V2.392h5.054c1.9 0 2.958.882 2.958 2.373.001 1.49-1.018 2.392-2.958 2.392M7.503.274H0v13.452h2.194V9.274h5.31c3.134 0 4.936-1.882 4.936-4.51 0-2.607-1.762-4.49-4.937-4.49M7.25 7.157H2.194V2.392H7.25c1.9 0 2.958.882 2.958 2.373 0 1.49-1.019 2.392-2.958 2.392",className:"PhillipsLogo_svg__phillips-logo"})}),(0,Je.jsx)("defs",{children:(0,Je.jsx)("clipPath",{id:"PhillipsLogo_svg__a",children:(0,Je.jsx)("path",{fill:"#fff",d:"M0 0h130.667v14H0z"})})})]})}))),qo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgPlay",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"m6.395 4.044 11.492 7.742c.15.102.15.326 0 .428L6.395 19.956A.254.254 0 0 1 6 19.743V4.257c0-.205.226-.327.395-.213"})]})}))),Yo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgRed",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M17.06 10.576c.235.034.547-.095.726.094.03.285.008.572.01.86h-.729a64 64 0 0 1-.006-.954"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M19.318 2c1.4 0 2.645 1.216 2.682 2.615v14.707A2.74 2.74 0 0 1 19.317 22h-14.7A2.745 2.745 0 0 1 2 19.315V4.622C2.034 3.245 3.235 2.04 4.612 2zM9.052 14.845h.002c.553.163 1.139.051 1.707.082q.251-.543.496-1.09c-.568-.021-1.146.06-1.703-.082q-.255.543-.502 1.09M5.92 9.144c-.01 1.552-.005 3.106-.013 4.659a.17.17 0 0 1-.032.142.17.17 0 0 1-.135.06c-.186.012-.374.005-.561.007.125.312.261.614.402.916.353-.012.756.062 1.058-.17.27-.2.358-.56.352-.882q.002-2.367-.007-4.733-.532-.004-1.064 0m10.064-.067v.407h-.716v1.088q.36-.001.717.005.01.47 0 .944c-.359.007-.72 0-1.079.005q-.006.544 0 1.086c.36.004.721 0 1.081 0v2.312h1.082v-2.31c.527 0 1.053-.008 1.58 0 .184-.015.396.114.39.318q.021.432 0 .866a.18.18 0 0 1-.044.128.18.18 0 0 1-.122.058c-.3.022-.602 0-.903.01.133.313.261.625.412.934.496-.026 1.102.099 1.48-.313.36-.332.252-.858.267-1.293-.023-.457.09-.974-.194-1.374-.242-.339-.678-.431-1.07-.438-.023-.547.108-1.187-.295-1.631-.375-.42-.979-.422-1.498-.401V9.07q-.55.005-1.088.006m-3.861.408v1.087h.68v3.262c-.324.005-.65 0-.974.004q-.251.54-.495 1.086c1.21.005 2.422 0 3.628 0v-1.086q-.522.001-1.044-.004V10.57h.682V9.482c-.824.002-1.65 0-2.477.003m-6.944 1.08c-.359.012-.715.004-1.07.007q-.082 1.07-.162 2.137-.018.243-.102.473c.182.418.365.836.56 1.25.438-.585.6-1.323.646-2.04.038-.609.106-1.217.128-1.827m2.69 1.989c.057.662.228 1.337.633 1.875q.288-.62.56-1.25a1.7 1.7 0 0 1-.109-.476q-.078-1.065-.162-2.13H7.713zm2.432-3.48q-.398.91-.81 1.815c-.078.18-.172.42-.009.583.21.19.52.117.778.134-.18.452-.415.88-.566 1.343-.083.228.126.46.354.463.413.028.828 0 1.242.01q.203-.452.403-.907c-.24 0-.485.017-.722-.03.257-.646.562-1.27.835-1.908-.334-.039-.711.07-1.016-.06.148-.5.419-.958.61-1.445-.368-.001-.734-.004-1.1.001m9.789.767c-.102-.336-.557-.483-.83-.256-.303.23-.204.65-.217.977.202 0 .405.012.607-.006.325-.03.57-.409.44-.715",clipRule:"evenodd"})]})}))),Go=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgRefresh",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M18.626 4.722 19 5.12V2h2v6h-6V6h2.062c-1.383-1.23-3.258-2-5.343-2C7.353 4 4 7.325 4 11.201q0 .084.002.163L2.037 12A8 8 0 0 1 2 11.201C2 6.118 6.354 2 11.72 2c2.7 0 5.142 1.045 6.906 2.722M9 18H5.938c1.383 1.23 3.258 2 5.343 2C15.647 20 19 16.675 19 12.799q0-.084-.002-.163L20.963 12c.028.263.037.536.037.799C21 17.882 16.646 22 11.28 22c-2.394 0-4.585-.821-6.28-2.176V22H3v-6h6z"})]})}))),Ko=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgSearch",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M14.906 16.32a8 8 0 1 1 1.414-1.414l4.155 4.155a.5.5 0 0 1 0 .707l-.707.707a.5.5 0 0 1-.707 0zM16 10a6 6 0 1 1-12 0 6 6 0 0 1 12 0",clipRule:"evenodd"})]})}))),Xo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgSellActive",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",stroke:n,strokeWidth:2,d:"M3 3v7.352a1 1 0 0 0 .301.715L13.465 21 21 12.818l-9.755-9.533A1 1 0 0 0 10.546 3zm3.879 8.121A3 3 0 1 0 11.12 6.88 3 3 0 0 0 6.88 11.12Z",clipRule:"evenodd"})]})}))),Jo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgSell",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M7.414 10.243a2 2 0 1 0 2.829-2.829 2 2 0 0 0-2.829 2.829"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M2 2v8.352a2 2 0 0 0 .602 1.43l10.9 10.653 8.891-9.653L11.943 2.57A2 2 0 0 0 10.547 2zm2 8.352V4h6.546l9.06 8.855-6.179 6.71z",clipRule:"evenodd"})]})}))),Zo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgShare",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M18.133 6.726 12 1.708 5.867 6.726l1.266 1.548L11 5.11V16h2V5.11l3.867 3.164z"}),(0,Je.jsx)("path",{fill:n,d:"M4 11v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-9h-5v2h3v7H6v-7h3v-2z"})]})}))),Qo=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgSubtract",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M4 11h16v2H4z",clipRule:"evenodd"})]})}))),ei=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgSuccess",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{stroke:n,strokeLinecap:"square",strokeWidth:2,d:"M20 6 9 17l-5-5"})]})}))),ti=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgTooltip",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M11 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0M13 11v6h-2v-6z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]})}))),ni=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgX",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M13.903 10.469 21.348 2h-1.764l-6.465 7.353L7.955 2H2l7.808 11.12L2 22h1.764l6.828-7.765L16.044 22H22zm-2.417 2.748-.791-1.107L4.4 3.3h2.71l5.08 7.11.791 1.107 6.604 9.242h-2.71z"})]})}))),ri=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgUpload",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M4 8V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4h-2V4H6v4z"}),(0,Je.jsx)("path",{fill:n,d:"M18.133 12.726 12 7.708l-6.133 5.018 1.266 1.548L11 11.11V22h2V11.11l3.867 3.164z"})]})}))),oi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgView",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M4.206 12a16.125 16.125 0 0 0 1.959 2.84C7.61 16.507 9.588 18 12 18s4.39-1.494 5.835-3.16A16 16 0 0 0 19.794 12a16.125 16.125 0 0 0-1.959-2.84C16.39 7.493 14.412 6 12 6S7.61 7.494 6.165 9.16A16 16 0 0 0 4.206 12m16.702 0 .896-.424-.002-.003-.003-.006-.009-.02a8 8 0 0 0-.157-.313 18.125 18.125 0 0 0-2.31-3.393C17.734 6.006 15.257 4 12 4S6.268 6.006 4.676 7.84a18 18 0 0 0-2.433 3.638l-.033.069-.01.02-.002.006-.001.002s-.001.002.896.425l-.897-.424L2 12l.196.424.897-.424-.897.424v.001l.002.002.003.006.009.02.033.07q.043.087.124.243a18.12 18.12 0 0 0 2.31 3.393C6.267 17.994 8.743 20 12 20s5.732-2.006 7.324-3.84a18 18 0 0 0 2.433-3.638l.033-.069.01-.02.002-.006.001-.002s.001-.002-.896-.425m0 0 .896.424L22 12l-.196-.424zM12 10a1.99 1.99 0 0 0-1.98 2c0 1.105.887 2 1.98 2a1.99 1.99 0 0 0 1.98-2c0-1.105-.887-2-1.98-2m-3.959 2c0-2.21 1.773-4 3.959-4s3.959 1.79 3.959 4-1.773 4-3.959 4-3.959-1.79-3.959-4",clipRule:"evenodd"})]})}))),ii=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgVolumeMaximum",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M13.54 2v20l-6.146-6.16H3.958A.96.96 0 0 1 3 14.88V9.12c0-.531.429-.96.958-.96h3.436zm-1.916 4.636L8.47 9.798a.96.96 0 0 1-.678.282H4.916v3.84h2.875c.254 0 .498.102.678.282l3.155 3.162zm6.612-2.77.678.678a10.574 10.574 0 0 1 0 14.935l-.678.68-1.355-1.358.677-.68a8.65 8.65 0 0 0 0-12.219l-.677-.679zm-2.424 3.389.678.679a5.77 5.77 0 0 1 0 8.147l-.678.679-1.355-1.358.677-.68a3.845 3.845 0 0 0 0-5.43l-.677-.68z",clipRule:"evenodd"})]})}))),ai=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgVolumeMid",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m14.69 22-6.233-6.159H4.972a.966.966 0 0 1-.972-.96V9.119l.005-.098a.97.97 0 0 1 .967-.862h3.485L14.69 2zM9.546 9.798a.98.98 0 0 1-.687.281H5.944v3.842h2.915l.096.004a.98.98 0 0 1 .591.277l3.2 3.162V6.636z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"m18.334 7.523.196.23C19.483 8.93 20 10.445 20 12s-.517 3.07-1.47 4.246l-.197.23-.643.72-1.456-1.272.644-.719.135-.16c.661-.816 1.043-1.9 1.043-3.045s-.382-2.23-1.043-3.046l-.135-.16-.644-.718 1.456-1.272z"})]})}))),si=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgVolumeMinimum",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m14.69 22-6.233-6.159H4.972a.966.966 0 0 1-.972-.96V9.119l.005-.098a.97.97 0 0 1 .967-.862h3.485L14.69 2zM9.546 9.798a.98.98 0 0 1-.687.281H5.944v3.842h2.915l.096.004a.98.98 0 0 1 .591.277l3.2 3.162V6.636z",clipRule:"evenodd"})]})}))),li=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=i||"SvgWeChat",l=a||st(s);return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",height:r,width:o,role:"img",ref:t,"aria-labelledby":l,...e,children:[s?(0,Je.jsx)("title",{id:l,children:s}):null,(0,Je.jsx)("path",{fill:n,d:"M16.004 8.786c3.309 0 5.996 2.4 5.996 5.341 0 1.645-.823 3.096-2.104 4.083-.163.116-.219.31-.182.503l.293 1.258c.037.116-.09.213-.182.155l-1.481-.852a.8.8 0 0 0-.512-.058 6.1 6.1 0 0 1-1.81.252c-3.31 0-5.996-2.4-5.997-5.341s2.67-5.34 5.979-5.34M9.239 3c3.566 0 6.527 2.264 7.113 5.225h-.275c-3.62 0-6.545 2.652-6.545 5.922 0 .505.074 1.008.22 1.489-.183.02-.347.02-.512.02a8.5 8.5 0 0 1-2.23-.31.52.52 0 0 0-.476.058l-2.138 1.354c-.128.078-.274-.057-.238-.193l.548-2.051c.018-.136-.018-.27-.128-.348C3.006 13.005 2 11.263 2 9.328 2 5.825 5.236 3 9.24 3m4.465 8.706a.8.8 0 0 0-.42.238.9.9 0 0 0-.226.447.9.9 0 0 0 .046.503.86.86 0 0 0 .304.39.79.79 0 0 0 1.04-.107.88.88 0 0 0 .24-.617.9.9 0 0 0-.14-.484.83.83 0 0 0-.368-.32.8.8 0 0 0-.476-.05m4.041 0a.8.8 0 0 0-.422.238.9.9 0 0 0-.224.447.9.9 0 0 0 .046.503.86.86 0 0 0 .303.39.8.8 0 0 0 .457.147c.439 0 .822-.387.822-.87a.9.9 0 0 0-.138-.485.83.83 0 0 0-.37-.32.8.8 0 0 0-.474-.05M6.808 6.348c-.53 0-.969.464-.97 1.025 0 .561.44 1.026.97 1.026.548 0 .968-.464.968-1.026 0-.561-.438-1.025-.968-1.025m4.863 0c-.53 0-.969.464-.969 1.025 0 .562.438 1.026.969 1.026s.969-.464.969-1.026c0-.561-.439-1.025-.97-1.025"})]})}))),ci=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M17 30a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM29 30a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zM41 30a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m21.667 50-11.334 8v-8H4V11h56v39zM13 52.853v-5.52H6.667V13.667h50.666v33.666H20.82z",clipRule:"evenodd"})]})}))),ui=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M24 36H10v3h14zM17 42h-7v3h7z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M42 35h12v10H42zm9 3h-6v4h6z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M4 14h56v36H4zm3 3h50v3H7zm0 6v24h50V23z",clipRule:"evenodd"})]})}))),di=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M19 39v10h26V39zm23 3H22v4h20z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M19 16h26v3H19zM19 22h26v3H19zM39 28h6v3h-6zM19 28h16v3H19z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M10 4v56h44V4zm41 3H13v50h38z",clipRule:"evenodd"})]})}))),fi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M11.939 11.94 13 13l1.061 1.06-.012.012a9 9 0 0 0-.284.303c-.201.222-.495.556-.851.993a31.4 31.4 0 0 0-2.624 3.772C8.372 22.376 6.5 26.86 6.5 32s1.872 9.623 3.79 12.86a31.4 31.4 0 0 0 2.624 3.771 24 24 0 0 0 1.08 1.24l.037.038.018.019.012.011L13 51c-1.06 1.061-1.061 1.061-1.062 1.06l-.003-.003-.007-.007-.023-.023a12 12 0 0 1-.358-.382 27 27 0 0 1-.96-1.12A34.4 34.4 0 0 1 7.71 46.39C5.628 42.876 3.5 37.86 3.5 32s2.128-10.877 4.21-14.39a34.4 34.4 0 0 1 2.876-4.135 27 27 0 0 1 1.24-1.42l.079-.08.023-.024.007-.008.002-.002zM19.938 19.94 21 21l1.061 1.06.003-.002-.019.019q-.03.03-.096.105c-.088.1-.223.257-.388.47a13.7 13.7 0 0 0-1.238 1.929C19.415 26.285 18.5 28.794 18.5 32s.915 5.715 1.823 7.419c.455.853.907 1.5 1.238 1.928a9 9 0 0 0 .484.576l.019.02-.002-.002c0-.001-.001-.002-1.062 1.059-1.06 1.06-1.061 1.06-1.062 1.06l-.003-.004-.006-.006-.016-.016a5 5 0 0 1-.206-.223c-.13-.147-.308-.356-.518-.627a16.7 16.7 0 0 1-1.512-2.353C16.585 38.785 15.5 35.793 15.5 32c0-3.794 1.085-6.785 2.177-8.831a16.7 16.7 0 0 1 1.512-2.353 12 12 0 0 1 .676-.8l.048-.05.016-.017.006-.005.002-.003zM49.939 14.06 51 13l1.061-1.06.004.004.007.007.023.023.079.082q.1.105.279.3c.236.258.566.635.96 1.12a34.4 34.4 0 0 1 2.877 4.134c2.082 3.513 4.21 8.53 4.21 14.39s-2.128 10.877-4.21 14.39a34.4 34.4 0 0 1-2.876 4.135 27 27 0 0 1-1.24 1.419l-.079.082-.023.023-.007.007-.004.004L51 51l-1.061-1.06.012-.012.03-.032.025-.025q.076-.08.229-.246c.201-.222.495-.556.851-.994a31.4 31.4 0 0 0 2.624-3.77C55.628 41.622 57.5 37.14 57.5 32s-1.872-9.623-3.79-12.86a31.4 31.4 0 0 0-2.624-3.772 24 24 0 0 0-1.08-1.239l-.055-.057zM41.938 22.06 43 21c1.06-1.06 1.061-1.06 1.062-1.06v.001l.003.003.006.006.016.016a5 5 0 0 1 .206.223c.13.146.308.356.518.627.42.541.967 1.33 1.513 2.353 1.09 2.046 2.176 5.037 2.176 8.83 0 3.795-1.085 6.786-2.176 8.832a16.7 16.7 0 0 1-1.513 2.353 12 12 0 0 1-.676.8l-.048.05-.016.016-.006.006-.003.004L43 43c-1.06-1.06-1.061-1.06-1.062-1.06l.017-.017.096-.105c.088-.1.223-.257.388-.47.33-.428.783-1.076 1.237-1.929.91-1.704 1.824-4.213 1.824-7.42 0-3.205-.915-5.714-1.824-7.418-.454-.853-.906-1.501-1.237-1.928a9 9 0 0 0-.484-.576zM29 30h6v6h-1.5v21h-3V36H29z"})]})}))),pi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M32 12h-6V9h6zM27 55v-3h10v3zM37 12h-3V9h3z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M16 4h32v56H16zm3 3h26v50H19z",clipRule:"evenodd"})]})}))),hi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M32 57.5c4.25 0 5-3 5-3H27s.75 3 5 3"}),(0,Je.jsx)("path",{stroke:n,strokeLinecap:"square",strokeWidth:3,d:"M32 12.5c4.614 0 7.05 2.528 8.416 5.186.694 1.35 1.095 2.718 1.321 3.758a16 16 0 0 1 .258 1.569l.008.078v.016l.004.04.006.044v.01q.002.01.004.026l.013.103.052.383a125.507 125.507 0 0 0 .943 5.813c.317 1.686.7 3.5 1.136 5.115.425 1.574.937 3.104 1.553 4.13 1.119 1.866 2.755 3.488 4.054 4.613a29 29 0 0 0 1.68 1.351l.052.038V51.5h-39v-6.727l.052-.038c.43-.32 1.022-.78 1.68-1.351 1.299-1.125 2.935-2.747 4.054-4.612.616-1.027 1.128-2.557 1.553-4.131.436-1.616.82-3.429 1.136-5.115a126 126 0 0 0 .943-5.813l.052-.383.013-.102.003-.027.001-.007v-.003l.006-.043.002-.043h.001l.001-.014.008-.078q.01-.11.039-.331c.039-.294.106-.721.219-1.238.226-1.04.627-2.408 1.321-3.758C24.949 15.028 27.386 12.5 32 12.5Z"}),(0,Je.jsx)("path",{fill:n,d:"m20.178 11.93-.305.385a18.5 18.5 0 0 0-3.845 9.237l-.069.675-.165 1.971-2.99-.25.166-1.972.08-.786a21.5 21.5 0 0 1 4.468-10.733l.304-.387zM46.482 10.457l.478.629a21.5 21.5 0 0 1 4.07 10.89l.166 1.971-2.99.251-.165-1.97a18.5 18.5 0 0 0-3.503-9.372l-.411-.54-.305-.386 2.356-1.86zM34 6v3h-4V6z"})]})}))),mi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M7 4v15h12.5v-5.684h25V19H57V4zm3 12V7h44v9h-6.5v-5.684h-31V16z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M32 39a3 3 0 1 0 0 6 3 3 0 0 0 0-6"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M43 42c0 1.152-.177 2.263-.505 3.306l2.067 1.194-1.5 2.598-1.858-1.072A10.99 10.99 0 0 1 32 53c-6.075 0-11-4.925-11-11s4.925-11 11-11 11 4.925 11 11m-3 0a8 8 0 0 1-.193 1.755L38.5 43 37 45.598l1.6.924A8 8 0 1 1 40 42",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M25 18h3v6h8v-6h3v6h12.252L55 60H9l4.089-36H25zM12.36 57l3.407-30h32.781l3.123 30z",clipRule:"evenodd"})]})}))),gi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M40.667 20.333a2.667 2.667 0 1 0 0-5.333 2.667 2.667 0 0 0 0 5.333"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M54 4H4v50h50zm-3 3H7v22.572l11.084-14.483L31.486 35.19l10.373-12.047L51 37.77zM7 51V34.508l10.916-14.263 11.682 17.523a2.167 2.167 0 0 0 3.445.212l8.431-9.791L51 43.43V51z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M55.5 13.5v3H57V57H14.5v-1.5h-3V60H60V13.5z"})]})}))),vi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M16.02 30.85a10.485 10.485 0 0 1 4.988-17.679l-.57-2.448a13 13 0 0 0-6.03 3.258 13 13 0 0 0-.153 18.658z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M23 41c9.941 0 18-8.059 18-18S32.941 5 23 5 5 13.059 5 23s8.059 18 18 18m0-3c8.284 0 15-6.716 15-15S31.284 8 23 8 8 14.716 8 23s6.716 15 15 15M36.397 38.427s.568-.493 1.098-1.023 1.024-1.098 1.024-1.098l5.344 5.344 1.65-1.65L58.24 52.728l-5.657 5.657-12.728-12.728 1.885-1.886zm9.116 5.816-1.415 1.414 8.486 8.485 1.414-1.414z",clipRule:"evenodd"})]})}))),yi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M6 11h38v13h12.097l3.776 12.578a3 3 0 0 1 .127.863V46H49.981q.02.248.019.5a6.5 6.5 0 1 1-12.981-.5H21.98q.02.248.019.5A6.5 6.5 0 1 1 9.019 46H4v-6h2zm4.022 32a6.5 6.5 0 0 1 5.478-3 6.5 6.5 0 0 1 5.478 3h17.044A6.52 6.52 0 0 1 41 40.498V14H9v29zM57 43h-8.022A6.5 6.5 0 0 0 44 40.019V27h4.5v10.5H57zm-5.5-8.5V27h2.403l2.597 7.5zM23 20H11v3h12zm-6 6h-6v3h6zm26.5 24a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7M19 46.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0",clipRule:"evenodd"})]})}))),wi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"m53.668 23.516 4.067-4.067a3.333 3.333 0 0 0 0-4.714l-9.428-9.428a3.333 3.333 0 0 0-4.714 0l-4.067 4.067a.5.5 0 0 0-.212.004L26.862 12.32a.5.5 0 0 0-.341.282L7.54 54.8a.5.5 0 0 0 .66.66l42.239-18.94a.5.5 0 0 0 .282-.342l2.943-12.452a.5.5 0 0 0 .004-.211M46.185 7.428l9.429 9.428c.13.13.13.341 0 .472l-3.772 3.77-9.9-9.899 3.772-3.77c.13-.131.341-.131.471 0m1.9 26.86-31.288 14.03 14.898-14.897-2.122-2.121-14.855 14.855L28.75 14.957l9.897-2.339 11.775 11.776z",clipRule:"evenodd"})]})}))),bi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"m40.07 23 2.122 2.121-7.07 7.071L33 30.072z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M2.824 29.078 56.93 7.096l-8.964 52.662-11.069-11.99L27.5 57.792V38.051zM30.5 40.837v9.37l4.358-4.649zM11.176 28.922l18.184 6.613c.325.118.617.313.852.567l15.821 17.14 7.036-41.339z",clipRule:"evenodd"})]})}))),xi=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,d:"M33.5 23h-3v9H29v6h6v-1.5h13v-3H35V32h-1.5z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M57 35c0 13.807-11.193 25-25 25S7 48.807 7 35s11.193-25 25-25 25 11.193 25 25m-3 0c0 12.15-9.85 22-22 22s-22-9.85-22-22 9.85-22 22-22 22 9.85 22 22",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M25 4h14v3h-5.5v1.667h-3V7H25zM16.364 13.121 14.243 11 10 15.243l2.121 2.121z"})]})}))),Si=(0,l.memo)((0,l.forwardRef)(((e,t)=>{const{color:n,height:r,width:o,title:i,titleId:a}=e,s=a||st(i||"");return(0,Je.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 64",height:r,width:o,role:"img",ref:t,"aria-labelledby":s,...e,children:[i?(0,Je.jsx)("title",{id:s,children:i}):null,(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M10 29V17h12v12zm3-9h6v6h-6z",clipRule:"evenodd"}),(0,Je.jsx)("path",{fill:n,d:"M26 18h19v3H26zM26 24h19v3H26zM55.121 37.5 46 46.621 40.879 41.5 43 39.379l3 3 7-7z"}),(0,Je.jsx)("path",{fill:n,fillRule:"evenodd",d:"M4 43h32.166c.952 5.675 5.888 10 11.834 10 6.627 0 12-5.373 12-12 0-4.843-2.869-9.016-7-10.912V11H4zm46-13.834V14H7v20h31.252c2.178-3.028 5.733-5 9.748-5q1.023.001 2 .166M36.683 37H7v3h29.041a12 12 0 0 1 .642-3M48 50a9 9 0 1 0 0-18 9 9 0 0 0 0 18",clipRule:"evenodd"})]})}))),Ei=(0,l.forwardRef)((({className:e,height:t,width:n,color:i,icon:a,isPictogram:s,...l},c)=>{const{className:u,...d}=ct(l,`Icon-${a}`),f=s?o[a]:r[a]||o[a],p={color:"currentColor"===i?i:Jr(i??"","$pure-black"),...t?{height:t}:{},...n?{width:n}:{},...d};return f?(0,Je.jsx)("div",{className:On(`${lt}-icon`,u,e),ref:c,children:(0,Je.jsx)(f,{...p})}):null}));Ei.displayName="Icon";const Ci=({children:e,className:t,baseClassName:n,disable:r,isLargeVariation:o,id:i,onOpen:a,onClose:s})=>{const c=(0,l.useRef)(null),u=r,d=(0,Je.jsx)("div",{children:(0,Je.jsx)(Ei,{icon:"Lock",height:24,width:24,className:Gr(n,o,"lock"),"data-testid":`${i}-lockedIcon`,"aria-hidden":!0})}),f=(0,Je.jsx)("div",{children:(0,Je.jsx)(Ei,{icon:"Add",height:24,width:24,className:Gr(n,o,"plus"),"data-testid":`${i}-plusIcon`,"aria-hidden":!0})}),p=(0,Je.jsx)("div",{children:(0,Je.jsx)(Ei,{icon:"Subtract",height:24,width:24,className:Gr(n,o,"minus"),"data-testid":`${i}-minusIcon`,"aria-hidden":!0})}),h=(0,l.useCallback)((()=>{"closed"===c.current?.getAttribute("data-state")?a?.():s?.()}),[a,s]);return(0,Je.jsx)(Wr,{"data-disabled":r,asChild:!0,className:On(n,{[`${n}--large`]:o},{[`${n}--hoverable`]:!r},t),ref:c,onClick:h,children:(0,Je.jsxs)("div",{"data-testid":`${i}-trigger`,children:[(0,Je.jsx)("div",{className:On(`${n}__text`,{[`${n}__text--lg`]:o}),children:e}),u&&d,!u&&f,!u&&p]})})},Ai=({children:e,baseClassName:t,disable:n,hasTransition:r,isLargeVariation:o,className:i})=>n&&e?(0,Je.jsx)("div",{className:`${t}__content--locked`,children:e}):(0,Je.jsx)(Vr,{asChild:!0,className:On(`${t}__content`,{[`${t}__content--lg`]:o},{[`${t}--transition`]:r},i),children:e}),Ti=(0,l.forwardRef)((({isLocked:e=!1,variant:t=Yr.sm,id:n,label:r,isLastItem:o,hasTransition:i=!1,children:a,className:s,transitionTimeInMs:l=250,onOpen:c,onClose:u,...d},f)=>{const{className:p}=ct({id:n},"Accordion"),h=t===Yr.lg,m=`${p}-item`;return(0,Je.jsxs)(Ur,{disabled:e,value:n,style:{"--seldon-accordion-transition-time":`${l}ms`},className:On(m,s,{[`${m}__border-bottom`]:!o}),ref:f,...d,children:[(0,Je.jsx)(Ci,{disable:e,isLargeVariation:h,id:n,baseClassName:`${m}-label`,onOpen:c,onClose:u,children:r}),(0,Je.jsx)(Ai,{disable:e,hasTransition:i,isLargeVariation:h,baseClassName:m,children:(0,Je.jsx)("div",{className:"radix-accordion-content",children:a})})]})}));Ti.displayName="AccordionItem";const Oi={active:!0,breakpoints:{},snapped:"is-snapped",inView:"is-in-view",draggable:"is-draggable",dragging:"is-dragging",loop:"is-loop"};function ji(e){return(Array.isArray(e)?e:[e]).filter(Boolean)}function Ni(e,t){!e||!t.length||e.classList.remove(...t)}function _i(e,t){!e||!t.length||e.classList.add(...t)}function ki(e={}){let t,n,r,o,i=[],a=[];const s=["select"],l=["pointerDown","pointerUp"],c=["slidesInView"],u={snapped:[],inView:[],draggable:[],dragging:[],loop:[]};function d(e,t){("pointerDown"===t?_i:Ni)(r,u.dragging)}function f(e=[],t=[],n){const r=t.map((e=>o[e])),i=e.map((e=>o[e]));return r.forEach((e=>Ni(e,n))),i.forEach((e=>_i(e,n))),e}function p(){const{slideRegistry:e}=n.internalEngine(),t=e[n.selectedScrollSnap()];i=f(t,i,u.snapped)}function h(){const e=n.slidesInView();a=f(e,a,u.inView)}return{name:"classNames",options:e,init:function(i,a){n=i;const{mergeOptions:f,optionsAtMedia:m}=a,g=f(Oi,ki.globalOptions),v=f(g,e);t=m(v),r=n.rootNode(),o=n.slideNodes();const{watchDrag:y,loop:w}=n.internalEngine().options,b=!!y;t.loop&&w&&(u.loop=ji(t.loop),_i(r,u.loop)),t.draggable&&b&&(u.draggable=ji(t.draggable),_i(r,u.draggable)),t.dragging&&(u.dragging=ji(t.dragging),l.forEach((e=>n.on(e,d)))),t.snapped&&(u.snapped=ji(t.snapped),s.forEach((e=>n.on(e,p))),p()),t.inView&&(u.inView=ji(t.inView),c.forEach((e=>n.on(e,h))),h())},destroy:function(){l.forEach((e=>n.off(e,d))),s.forEach((e=>n.off(e,p))),c.forEach((e=>n.off(e,h))),Ni(r,u.loop),Ni(r,u.draggable),Ni(r,u.dragging),f([],i,u.snapped),f([],a,u.inView),Object.keys(u).forEach((e=>{u[e]=[]}))}}}function Pi(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function Mi(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every((n=>{const r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:Pi(r)&&Pi(o)?Mi(r,o):r===o}))}function Ri(e){return e.concat().sort(((e,t)=>e.name>t.name?1:-1)).map((e=>e.options))}function Di(e){return"number"==typeof e}function Li(e){return"string"==typeof e}function Ii(e){return"boolean"==typeof e}function $i(e){return"[object Object]"===Object.prototype.toString.call(e)}function Fi(e){return Math.abs(e)}function zi(e){return Math.sign(e)}function Bi(e,t){return Fi(e-t)}function Hi(e){return Yi(e).map(Number)}function Ui(e){return e[Wi(e)]}function Wi(e){return Math.max(0,e.length-1)}function Vi(e,t){return t===Wi(e)}function qi(e,t=0){return Array.from(Array(e),((e,n)=>t+n))}function Yi(e){return Object.keys(e)}function Gi(e,t){return[e,t].reduce(((e,t)=>(Yi(t).forEach((n=>{const r=e[n],o=t[n],i=$i(r)&&$i(o);e[n]=i?Gi(r,o):o})),e)),{})}function Ki(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Xi(){let e=[];const t={add:function(n,r,o,i={passive:!0}){let a;if("addEventListener"in n)n.addEventListener(r,o,i),a=()=>n.removeEventListener(r,o,i);else{const e=n;e.addListener(o),a=()=>e.removeListener(o)}return e.push(a),t},clear:function(){e=e.filter((e=>e()))}};return t}function Ji(e,t,n,r){const o=Xi(),i=1e3/60;let a=null,s=0,l=0;function c(e){if(!l)return;a||(a=e);const o=e-a;for(a=e,s+=o;s>=i;)n(),s-=i;r(s/i),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){o.add(e,"visibilitychange",(()=>{e.hidden&&(a=null,s=0)}))},destroy:function(){u(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}function Zi(e=0,t=0){const n=Fi(e-t);function r(t){return t<e}function o(e){return e>t}function i(e){return r(e)||o(e)}return{length:n,max:t,min:e,constrain:function(n){return i(n)?r(n)?e:t:n},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function Qi(e,t,n){const{constrain:r}=Zi(0,e),o=e+1;let i=a(t);function a(e){return n?Fi((o+e)%o):r(e)}function s(){return i}function l(){return Qi(e,s(),n)}const c={get:s,set:function(e){return i=a(e),c},add:function(e){return l().set(s()+e)},clone:l};return c}function ea(e,t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,y){const{cross:w,direction:b}=e,x=["INPUT","SELECT","TEXTAREA"],S={passive:!1},E=Xi(),C=Xi(),A=Zi(50,225).constrain(p.measure(20)),T={mouse:300,touch:400},O={mouse:500,touch:600},j=h?43:25;let N=!1,_=0,k=0,P=!1,M=!1,R=!1,D=!1;function L(e){if(!Ki(e,r)&&e.touches.length>=2)return I(e);const t=i.readPoint(e),n=i.readPoint(e,w),a=Bi(t,_),l=Bi(n,k);if(!(M||D||e.cancelable&&(M=a>l,M)))return I(e);const u=i.pointerMove(e);a>m&&(R=!0),c.useFriction(.3).useDuration(.75),s.start(),o.add(b(u)),e.preventDefault()}function I(e){const t=u.byDistance(0,!1).index!==d.get(),n=i.pointerUp(e)*(h?O:T)[D?"mouse":"touch"],r=function(e,t){const n=d.add(-1*zi(e)),r=u.byDistance(e,!h).distance;return h||Fi(e)<A?r:g&&t?.5*r:u.byIndex(n.get(),0).distance}(b(n),t),o=function(e,t){if(0===e||0===t||Fi(e)<=Fi(t))return 0;const n=Bi(Fi(e),Fi(t));return Fi(n/e)}(n,r),a=j-10*o,s=v+o/50;M=!1,P=!1,C.clear(),c.useDuration(a).useFriction(s),l.distance(r,!h),D=!1,f.emit("pointerUp")}function $(e){R&&(e.stopPropagation(),e.preventDefault(),R=!1)}return{init:function(e){if(!y)return;function s(s){(Ii(y)||y(e,s))&&function(e){const s=Ki(e,r);D=s,R=h&&s&&!e.buttons&&N,N=Bi(o.get(),a.get())>=2,(!s||0===e.button)&&(function(e){const t=e.nodeName||"";return x.includes(t)}(e.target)||(P=!0,i.pointerDown(e),c.useFriction(0).useDuration(0),o.set(a),function(){const e=D?n:t;C.add(e,"touchmove",L,S).add(e,"touchend",I).add(e,"mousemove",L,S).add(e,"mouseup",I)}(),_=i.readPoint(e),k=i.readPoint(e,w),f.emit("pointerDown")))}(s)}const l=t;E.add(l,"dragstart",(e=>e.preventDefault()),S).add(l,"touchmove",(()=>{}),S).add(l,"touchend",(()=>{})).add(l,"touchstart",s).add(l,"mousedown",s).add(l,"touchcancel",I).add(l,"contextmenu",I).add(l,"click",$,!0)},destroy:function(){E.clear(),C.clear()},pointerDown:function(){return P}}}function ta(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){const o="client"+("x"===(r||e.scroll)?"X":"Y");return(Ki(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){const t=i(e)-i(r),a=o(e)-o(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=i(r)-i(n),a=o(e)-o(n),s=o(e)-o(r)>170,l=t/a;return a&&!s&&Fi(l)>.1?l:0},readPoint:i}}function na(e,t,n,r,o,i,a){const s=[e].concat(r);let l,c,u=[],d=!1;function f(e){return o.measureSize(a.measure(e))}return{init:function(o){i&&(c=f(e),u=r.map(f),l=new ResizeObserver((n=>{(Ii(i)||i(o,n))&&function(n){for(const i of n){if(d)return;const n=i.target===e,a=r.indexOf(i.target),s=n?c:u[a];if(Fi(f(n?e:r[a])-s)>=.5){o.reInit(),t.emit("resize");break}}}(n)})),n.requestAnimationFrame((()=>{s.forEach((e=>l.observe(e)))})))},destroy:function(){d=!0,l&&l.disconnect()}}}function ra(e,t,n,r,o){const i=o.measure(10),a=o.measure(50),s=Zi(.1,.99);let l=!1;function c(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}return{shouldConstrain:c,constrain:function(o){if(!c())return;const l=e.reachedMin(t.get())?"min":"max",u=Fi(e[l]-t.get()),d=n.get()-t.get(),f=s.constrain(u/a);n.subtract(d*f),!o&&Fi(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function oa(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:s}=Zi(o,i);return{loop:function(t){if(!function(e){return 1===e?s(n.get()):-1===e&&a(n.get())}(t))return;const o=e*(-1*t);r.forEach((e=>e.add(o)))}}}function ia(e,t,n,r,o){const{reachedAny:i,removeOffset:a,constrain:s}=r;function l(e){return e.concat().sort(((e,t)=>Fi(e)-Fi(t)))[0]}function c(t,r){const o=[t,t+n,t-n];if(!e)return t;if(!r)return l(o);const i=o.filter((e=>zi(e)===r));return i.length?l(i):Ui(o)-n}return{byDistance:function(n,r){const l=o.get()+n,{index:u,distance:d}=function(n){const r=e?a(n):s(n),o=t.map(((e,t)=>({diff:c(e-r,0),index:t}))).sort(((e,t)=>Fi(e.diff)-Fi(t.diff))),{index:i}=o[0];return{index:i,distance:r}}(l),f=!e&&i(l);return!r||f?{index:u,distance:n}:{index:u,distance:n+c(t[u]-d,0)}},byIndex:function(e,n){return{index:e,distance:c(t[e]-o.get(),n)}},shortcut:c}}function aa(e,t,n,r,o,i,a,s){const l={passive:!0,capture:!0};let c=0;function u(e){"Tab"===e.code&&(c=(new Date).getTime())}return{init:function(d){s&&(i.add(document,"keydown",u,!1),t.forEach(((t,u)=>{i.add(t,"focus",(t=>{(Ii(s)||s(d,t))&&function(t){if((new Date).getTime()-c>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;const i=n.findIndex((e=>e.includes(t)));Di(i)&&(o.useDuration(0),r.index(i,0),a.emit("slideFocus"))}(u)}),l)})))}}}function sa(e){let t=e;function n(e){return Di(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function la(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style;let o=null,i=!1;return{clear:function(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;const a=function(e){return Math.round(100*e)/100}(e.direction(t));a!==o&&(r.transform=n(a),o=a)},toggleActive:function(e){i=!e}}}function ca(e,t,n,r,o,i,a,s,l){const c=Hi(o),u=Hi(o).reverse(),d=function(){const e=a[0],t=p(u,e);return h(t,n,!1)}().concat(function(){const e=t-a[0]-1,r=p(c,e);return h(r,-n,!0)}());function f(e,t){return e.reduce(((e,t)=>e-o[t]),t)}function p(e,t){return e.reduce(((e,n)=>f(e,t)>0?e.concat([n]):e),[])}function h(o,a,c){const u=function(e){return i.map(((n,o)=>({start:n-r[o]+.5+e,end:n+t-.5+e})))}(a);return o.map((t=>{const r=c?0:-n,o=c?n:0,i=c?"end":"start",a=u[t][i];return{index:t,loopPoint:a,slideLocation:sa(-1),translate:la(e,l[t]),target:()=>s.get()>a?r:o}}))}return{canLoop:function(){return d.every((({index:e})=>f(c.filter((t=>t!==e)),t)<=.1))},clear:function(){d.forEach((e=>e.translate.clear()))},loop:function(){d.forEach((e=>{const{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))}))},loopPoints:d}}function ua(e,t,n){let r,o=!1;return{init:function(i){n&&(r=new MutationObserver((e=>{o||(Ii(n)||n(i,e))&&function(e){for(const n of e)if("childList"===n.type){i.reInit(),t.emit("slidesChanged");break}}(e)})),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function da(e,t,n,r){const o={};let i,a=null,s=null,l=!1;return{init:function(){i=new IntersectionObserver((e=>{l||(e.forEach((e=>{const n=t.indexOf(e.target);o[n]=e})),a=null,s=null,n.emit("slidesInView"))}),{root:e.parentElement,threshold:r}),t.forEach((e=>i.observe(e)))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;const t=function(e){return Yi(o).reduce(((t,n)=>{const r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t}),[])}(e);return e&&(a=t),e||(s=t),t}}}function fa(e,t,n,r,o,i,a,s,l){const{startEdge:c,endEdge:u,direction:d}=e,f=Di(n);return{groupSlides:function(e){return f?function(e,t){return Hi(e).filter((e=>e%t==0)).map((n=>e.slice(n,n+t)))}(e,n):function(e){return e.length?Hi(e).reduce(((n,f,p)=>{const h=Ui(n)||0,m=0===h,g=f===Wi(e),v=o[c]-i[h][c],y=o[c]-i[f][u],w=!r&&m?d(a):0,b=Fi(y-(!r&&g?d(s):0)-(v+w));return p&&b>t+l&&n.push(f),g&&n.push(e.length),n}),[]).map(((t,n,r)=>{const o=Math.max(r[n-1]||0);return e.slice(o,t)})):[]}(e)}}}function pa(e,t,n,r,o,i,a){const{align:s,axis:l,direction:c,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:h,inViewThreshold:m,slidesToScroll:g,skipSnaps:v,containScroll:y,watchResize:w,watchSlides:b,watchDrag:x,watchFocus:S}=i,E={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},C=E.measure(t),A=n.map(E.measure),T=function(e,t){const n="rtl"===t,r="y"===e,o=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return r?t:n},direction:function(e){return e*o}}}(l,c),O=T.measureSize(C),j=function(e){return{measure:function(t){return e*(t/100)}}}(O),N=function(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,o){return Li(e)?n[e](r):e(t,r,o)}}}(s,O),_=!d&&!!y,k=d||!!y,{slideSizes:P,slideSizesWithGaps:M,startGap:R,endGap:D}=function(e,t,n,r,o,i){const{measureSize:a,startEdge:s,endEdge:l}=e,c=n[0]&&o,u=function(){if(!c)return 0;const e=n[0];return Fi(t[s]-e[s])}(),d=function(){if(!c)return 0;const e=i.getComputedStyle(Ui(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),f=n.map(a),p=n.map(((e,t,n)=>{const r=!t,o=Vi(n,t);return r?f[t]+u:o?f[t]+d:n[t+1][s]-e[s]})).map(Fi);return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}(T,C,A,n,k,o),L=fa(T,O,g,d,C,A,R,D,2),{snaps:I,snapsAligned:$}=function(e,t,n,r,o){const{startEdge:i,endEdge:a}=e,{groupSlides:s}=o,l=s(r).map((e=>Ui(e)[a]-e[0][i])).map(Fi).map(t.measure),c=r.map((e=>n[i]-e[i])).map((e=>-Fi(e))),u=s(c).map((e=>e[0])).map(((e,t)=>e+l[t]));return{snaps:c,snapsAligned:u}}(T,N,C,A,L),F=-Ui(I)+Ui(M),{snapsContained:z,scrollContainLimit:B}=function(e,t,n,r,o){const i=Zi(-t+e,0),a=n.map(((e,t)=>{const{min:r,max:o}=i,a=i.constrain(e),s=!t,c=Vi(n,t);return s?o:c||l(r,a)?r:l(o,a)?o:a})).map((e=>parseFloat(e.toFixed(3)))),s=function(){const e=a[0],t=Ui(a);return Zi(a.lastIndexOf(e),a.indexOf(t)+1)}();function l(e,t){return Bi(e,t)<1}return{snapsContained:function(){if(t<=e+o)return[i.max];if("keepSnaps"===r)return a;const{min:n,max:l}=s;return a.slice(n,l)}(),scrollContainLimit:s}}(O,F,$,y,2),H=_?z:$,{limit:U}=function(e,t,n){const r=t[0];return{limit:Zi(n?r-e:Ui(t),r)}}(F,H,d),W=Qi(Wi(H),u,d),V=W.clone(),q=Hi(n),Y=Ji(r,o,(()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(se)),(e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:a,dragHandler:s,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},f)=>{const p=e.settled(),h=!u.shouldConstrain(),m=d?p:p&&h;m&&!s.pointerDown()&&(l.stop(),c.emit("settle")),m||c.emit("scroll");const g=n.get()*f+o.get()*(1-f);r.set(g),d&&(i.loop(e.direction()),a.loop()),t.to(r.get())})(se,e))),G=H[W.get()],K=sa(G),X=sa(G),J=sa(G),Z=sa(G),Q=function(e,t,n,r,o,i){let a=0,s=0,l=o,c=i,u=e.get(),d=0;function f(e){return l=e,h}function p(e){return c=e,h}const h={direction:function(){return s},duration:function(){return l},velocity:function(){return a},seek:function(){const t=r.get()-e.get();let o=0;return l?(n.set(e),a+=t/l,a*=c,u+=a,e.add(a),o=u-d):(a=0,n.set(r),e.set(r),o=t),s=zi(o),d=u,h},settled:function(){return Fi(r.get()-t.get())<.001},useBaseFriction:function(){return p(i)},useBaseDuration:function(){return f(o)},useFriction:p,useDuration:f};return h}(K,J,X,Z,f,.68),ee=ia(d,H,F,U,Z),te=function(e,t,n,r,o,i,a){function s(o){const s=o.distance,l=o.index!==t.get();i.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(o.index),a.emit("select"))}return{distance:function(e,t){s(o.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);s(o.byIndex(r.get(),n))}}}(Y,W,V,Q,ee,Z,a),ne=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(U),re=Xi(),oe=da(t,n,a,m),{slideRegistry:ie}=function(e,t,n,r,o,i){const{groupSlides:a}=o,{min:s,max:l}=r,c=function(){const r=a(i),o=!e||"keepSnaps"===t;return 1===n.length?[i]:o?r:r.slice(s,l).map(((e,t,n)=>{const r=!t,o=Vi(n,t);return r?qi(Ui(n[0])+1):o?qi(Wi(i)-Ui(n)[0]+1,Ui(n)[0]):e}))}();return{slideRegistry:c}}(_,y,H,B,L,q),ae=aa(e,n,ie,te,Q,re,a,S),se={ownerDocument:r,ownerWindow:o,eventHandler:a,containerRect:C,slideRects:A,animation:Y,axis:T,dragHandler:ea(T,e,r,o,Z,ta(T,o),K,Y,te,Q,ee,W,a,j,p,h,v,.68,x),eventStore:re,percentOfView:j,index:W,indexPrevious:V,limit:U,location:K,offsetLocation:J,previousLocation:X,options:i,resizeHandler:na(t,a,o,n,T,w,E),scrollBody:Q,scrollBounds:ra(U,J,Z,Q,j),scrollLooper:oa(F,U,J,[K,J,X,Z]),scrollProgress:ne,scrollSnapList:H.map(ne.get),scrollSnaps:H,scrollTarget:ee,scrollTo:te,slideLooper:ca(T,O,F,P,M,I,H,J,n),slideFocus:ae,slidesHandler:ua(t,a,b),slidesInView:oe,slideIndexes:q,slideRegistry:ie,slidesToScroll:L,target:Z,translate:la(T,t)};return se}ki.globalOptions=void 0;const ha={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ma(e){function t(e,t){return Gi(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},o=Yi(r).filter((t=>e.matchMedia(t).matches)).map((e=>r[e])).reduce(((e,n)=>t(e,n)),{});return t(n,o)},optionsMediaQueries:function(t){return t.map((e=>Yi(e.breakpoints||{}))).reduce(((e,t)=>e.concat(t)),[]).map(e.matchMedia)}}}function ga(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=ma(o),a=function(e){let t=[];return{init:function(n,r){return t=r.filter((({options:t})=>!1!==e.optionsAtMedia(t).active)),t.forEach((t=>t.init(n,e))),r.reduce(((e,t)=>Object.assign(e,{[t.name]:t})),{})},destroy:function(){t=t.filter((e=>e.destroy()))}}}(i),s=Xi(),l=function(){let e,t={};function n(e){return t[e]||[]}const r={init:function(t){e=t},emit:function(t){return n(t).forEach((n=>n(e,t))),r},off:function(e,o){return t[e]=n(e).filter((e=>e!==o)),r},on:function(e,o){return t[e]=n(e).concat([o]),r},clear:function(){t={}}};return r}(),{mergeOptions:c,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:p,emit:h}=l,m=T;let g,v,y,w,b=!1,x=c(ha,ga.globalOptions),S=c(x),E=[];function C(t){const n=pa(e,y,w,r,o,t,l);if(t.loop&&!n.slideLooper.canLoop()){return C(Object.assign({},t,{loop:!1}))}return n}function A(t,n){b||(x=c(x,t),S=u(x),E=n||E,function(){const{container:t,slides:n}=S;y=(Li(t)?e.querySelector(t):t)||e.children[0];const r=Li(n)?y.querySelectorAll(n):n;w=[].slice.call(r||y.children)}(),g=C(S),d([x,...E.map((({options:e})=>e))]).forEach((e=>s.add(e,"change",T))),S.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(_),g.eventHandler.init(_),g.resizeHandler.init(_),g.slidesHandler.init(_),g.options.loop&&g.slideLooper.loop(),y.offsetParent&&w.length&&g.dragHandler.init(_),v=a.init(_,E)))}function T(e,t){const n=N();O(),A(c({startIndex:n},e),t),l.emit("reInit")}function O(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),a.destroy(),s.clear()}function j(e,t,n){!S.active||b||(g.scrollBody.useBaseFriction().useDuration(!0===t?0:S.duration),g.scrollTo.index(e,n||0))}function N(){return g.index.get()}const _={canScrollNext:function(){return g.index.add(1).get()!==N()},canScrollPrev:function(){return g.index.add(-1).get()!==N()},containerNode:function(){return y},internalEngine:function(){return g},destroy:function(){b||(b=!0,s.clear(),O(),l.emit("destroy"),l.clear())},off:p,on:f,emit:h,plugins:function(){return v},previousScrollSnap:function(){return g.indexPrevious.get()},reInit:m,rootNode:function(){return e},scrollNext:function(e){j(g.index.add(1).get(),e,-1)},scrollPrev:function(e){j(g.index.add(-1).get(),e,1)},scrollProgress:function(){return g.scrollProgress.get(g.location.get())},scrollSnapList:function(){return g.scrollSnapList},scrollTo:j,selectedScrollSnap:N,slideNodes:function(){return w},slidesInView:function(){return g.slidesInView.get()},slidesNotInView:function(){return g.slidesInView.get(!1)}};return A(t,n),setTimeout((()=>l.emit("init")),0),_}function va(e={},t=[]){const n=(0,l.useRef)(e),r=(0,l.useRef)(t),[o,i]=(0,l.useState)(),[a,s]=(0,l.useState)(),c=(0,l.useCallback)((()=>{o&&o.reInit(n.current,r.current)}),[o]);return(0,l.useEffect)((()=>{Mi(n.current,e)||(n.current=e,c())}),[e,c]),(0,l.useEffect)((()=>{(function(e,t){if(e.length!==t.length)return!1;const n=Ri(e),r=Ri(t);return n.every(((e,t)=>Mi(e,r[t])))})(r.current,t)||(r.current=t,c())}),[t,c]),(0,l.useEffect)((()=>{if(typeof window<"u"&&window.document&&window.document.createElement&&a){ga.globalOptions=va.globalOptions;const e=ga(a,n.current,r.current);return i(e),()=>e.destroy()}i(void 0)}),[a,i]),[s,o]}function ya(){return ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ya.apply(this,arguments)}ga.globalOptions=void 0,va.globalOptions=void 0;var wa=function(e,t){return void 0===t&&(t=.996),e*t/(1-t)};function ba(e){return e.reduce((function(e,t){return e+t}))/e.length}function xa(e,t){if(e.length!==t.length)throw new Error("vectors must be same length");return e.map((function(e,n){return e+t[n]}))}function Sa(e){return Math.max.apply(Math,e.map(Math.abs))}function Ea(e){return Object.freeze(e),Object.values(e).forEach((function(e){null!==e&&"object"==typeof e&&!Object.isFrozen(e)&&Ea(e)})),e}var Ca=[1,18,typeof window<"u"&&window.innerHeight||800];var Aa=[-1,-1,-1];var Ta=function(e){return ya({},e,{axisDelta:e.axisDelta.map((function(e){return function(e,t,n){return Math.min(Math.max(t,e),n)}(e,-700,700)}))})},Oa=!1,ja=.6,Na=.96,_a=2,ka=5,Pa=Ea({preventWheelAction:!0,reverseSign:[!0,!0,!1]}),Ma=400;function Ra(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:Ma}}function Da(e){void 0===e&&(e={});var t,n,r=function(){var e={};function t(t,n){e[t]=(e[t]||[]).filter((function(e){return e!==n}))}return Ea({on:function(n,r){return e[n]=(e[n]||[]).concat(r),function(){return t(n,r)}},off:t,dispatch:function(t,n){t in e&&e[t].forEach((function(e){return e(n)}))}})}(),o=r.on,i=r.off,a=r.dispatch,s=Pa,l=Ra(),c=!1,u=function(e){Array.isArray(e)?e.forEach((function(e){return p(e)})):p(e)},d=function(e){return void 0===e&&(e={}),Object.values(e).some((function(e){return null==e}))?(Oa&&console.error("updateOptions ignored! undefined & null options not allowed"),s):s=Ea(ya({},Pa,s,e))},f=function(e){var r=ya({event:t,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:l.isMomentum,axisDelta:[0,0,0],axisVelocity:l.axisVelocity,axisMovement:l.axisMovement,get axisMovementProjection(){return xa(r.axisMovement,r.axisVelocity.map((function(e){return wa(e)})))}},e);a("wheel",ya({},r,{previous:n})),n=r},p=function(e){var n=Ta(function(e,t){if(!t)return e;var n=!0===t?Aa:t.map((function(e){return e?-1:1}));return ya({},e,{axisDelta:e.axisDelta.map((function(e,t){return e*n[t]}))})}(function(e){var t=e.deltaX*Ca[e.deltaMode],n=e.deltaY*Ca[e.deltaMode],r=(e.deltaZ||0)*Ca[e.deltaMode];return{timeStamp:e.timeStamp,axisDelta:[t,n,r]}}(e),s.reverseSign)),r=n.axisDelta,o=n.timeStamp,i=Sa(r);e.preventDefault&&function(e,t){var n=s.preventWheelAction,r=t[0],o=t[1],i=t[2];if("boolean"==typeof n)return n;switch(n){case"x":return Math.abs(r)>=e;case"y":return Math.abs(o)>=e;case"z":return Math.abs(i)>=e;default:return Oa&&console.warn("unsupported preventWheelAction value: "+n,"warn"),!1}}(i,r)&&e.preventDefault(),l.isStarted?l.isMomentum&&i>Math.max(2,2*l.lastAbsDelta)&&(E(!0),x()):x(),0===i&&Object.is&&Object.is(e.deltaX,-0)?c=!0:(t=e,l.axisMovement=xa(l.axisMovement,r),l.lastAbsDelta=i,l.scrollPointsToMerge.push({axisDelta:r,timeStamp:o}),h(),f({axisDelta:r,isStart:!l.isStartPublished}),l.isStartPublished=!0,S())},h=function(){l.scrollPointsToMerge.length===_a?(l.scrollPoints.unshift({axisDeltaSum:l.scrollPointsToMerge.map((function(e){return e.axisDelta})).reduce(xa),timeStamp:ba(l.scrollPointsToMerge.map((function(e){return e.timeStamp})))}),g(),l.scrollPointsToMerge.length=0,l.scrollPoints.length=1,l.isMomentum||w()):l.isStartPublished||m()},m=function(){l.axisVelocity=function(e){return e[e.length-1]}(l.scrollPointsToMerge).axisDelta.map((function(e){return e/l.willEndTimeout}))},g=function(){var e=l.scrollPoints,t=e[0],n=e[1];if(n&&t){var r=t.timeStamp-n.timeStamp;if(r<=0)return void(Oa&&console.warn("invalid deltaTime"));var o=t.axisDeltaSum.map((function(e){return e/r})),i=o.map((function(e,t){return e/(l.axisVelocity[t]||1)}));l.axisVelocity=o,l.accelerationFactors.push(i),v(r)}},v=function(e){var t=10*Math.ceil(e/10)*1.2;l.isMomentum||(t=Math.max(100,2*t)),l.willEndTimeout=Math.min(1e3,Math.round(t))},y=function(e){return 0===e||e<=Na&&e>=ja},w=function(){if(l.accelerationFactors.length>=ka){if(c&&(c=!1,Sa(l.axisVelocity)>=.2))return void b();var e=l.accelerationFactors.slice(-1*ka);e.every((function(e){var t=!!e.reduce((function(e,t){return e&&e<1&&e===t?1:0})),n=e.filter(y).length===e.length;return t||n}))&&b(),l.accelerationFactors=e}},b=function(){l.isMomentum=!0},x=function(){(l=Ra()).isStarted=!0,l.startTime=Date.now(),n=void 0,c=!1},S=function(){var e;return function(){clearTimeout(e),e=setTimeout(E,l.willEndTimeout)}}(),E=function(e){void 0===e&&(e=!1),l.isStarted&&(l.isMomentum&&e?f({isEnding:!0,isMomentumCancel:!0}):f({isEnding:!0}),l.isMomentum=!1,l.isStarted=!1)},C=function(e){var t=[],n=function(n){n.removeEventListener("wheel",e),t=t.filter((function(e){return e!==n}))};return Ea({observe:function(r){return r.addEventListener("wheel",e,{passive:!1}),t.push(r),function(){return n(r)}},unobserve:n,disconnect:function(){t.forEach(n)}})}(u),A=C.observe,T=C.unobserve,O=C.disconnect;return d(e),Ea({on:o,off:i,observe:A,unobserve:T,disconnect:O,feedWheel:u,updateOptions:d})}var La={active:!0,breakpoints:{},wheelDraggingClass:"is-wheel-dragging",forceWheelAxis:void 0,target:void 0};$a.globalOptions=void 0;var Ia=!1;function $a(e){void 0===e&&(e={});var t,n=function(){};var r={name:"wheelGestures",options:e,init:function(r,o){var i,a,s=o.mergeOptions,l=o.optionsAtMedia,c=s(La,$a.globalOptions),u=s(c,e);t=l(u);var d,f=r.internalEngine(),p=null!=(i=t.target)?i:r.containerNode().parentNode,h=null!=(a=t.forceWheelAxis)?a:f.options.axis,m=Da({preventWheelAction:h,reverseSign:[!0,!0,!1]}),g=m.observe(p),v=m.on("wheel",(function(e){var r=e.axisDelta,o=r[0],i=r[1],a="x"===h?o:i,s="x"===h?i:o,l=e.isMomentum&&e.previous&&!e.previous.isMomentum,c=e.isEnding&&!e.isMomentum||l;Math.abs(a)>Math.abs(s)&&!y&&!e.isMomentum&&function(e){try{S(d=new MouseEvent("mousedown",e.event))}catch{return Ia&&console.warn("Legacy browser requires events-polyfill (https://github.com/xiel/embla-carousel-wheel-gestures#legacy-browsers)"),n()}y=!0,document.documentElement.addEventListener("mousemove",b,!0),document.documentElement.addEventListener("mouseup",b,!0),document.documentElement.addEventListener("mousedown",b,!0),t.wheelDraggingClass&&p.classList.add(t.wheelDraggingClass)}(e),y&&(c?function(e){y=!1,S(x("mouseup",e)),w(),t.wheelDraggingClass&&p.classList.remove(t.wheelDraggingClass)}(e):S(x("mousemove",e)))})),y=!1;function w(){document.documentElement.removeEventListener("mousemove",b,!0),document.documentElement.removeEventListener("mouseup",b,!0),document.documentElement.removeEventListener("mousedown",b,!0)}function b(e){y&&e.isTrusted&&e.stopImmediatePropagation()}function x(e,t){var n,r;if(h===f.options.axis){var o=t.axisMovement;n=o[0],r=o[1]}else{var i=t.axisMovement;r=i[0],n=i[1]}if(!f.options.skipSnaps&&!f.options.dragFree){var a=f.containerRect.width,s=f.containerRect.height;n=n<0?Math.max(n,-a):Math.min(n,a),r=r<0?Math.max(r,-s):Math.min(r,s)}return new MouseEvent(e,{clientX:d.clientX+n,clientY:d.clientY+r,screenX:d.screenX+n,screenY:d.screenY+r,movementX:n,movementY:r,button:0,bubbles:!0,cancelable:!0,composed:!0})}function S(e){r.containerNode().dispatchEvent(e)}n=function(){g(),v(),w()}},destroy:function(){return n()}};return r}const Fa=(0,l.createContext)(null);function za(){const e=(0,l.useContext)(Fa);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}(0,l.forwardRef)((({loop:e=!1,startIndex:t=0,onSlideChange:n,className:r,children:o,columnGap:i,useWheelGestures:a=!1,disableDrag:s=!1,disableNavigationDrag:c=null,inViewThreshold:u=.99,...d},f)=>{const{className:p,...h}=ct(d,"Carousel");let m={};switch(c){case"mobile":m={breakpoints:{"(max-width: 960px)":{watchDrag:!1}}};break;case"desktop":m={breakpoints:{"(min-width: 961px)":{watchDrag:!1}}};break;case"all":m={watchDrag:!1};break;default:m={}}const[g,v]=va({loop:e,startIndex:t,inViewThreshold:u,...m},[...a?[$a({forceWheelAxis:"x"})]:[],ki({snapped:"carousel-item-in-view"})]);(0,l.useEffect)((()=>{v?.reInit(s?{watchDrag:()=>!1}:{watchDrag:()=>!0})}),[s,v]);const y=(0,l.useCallback)((e=>{"ArrowLeft"===e.key?(e.preventDefault(),v?.scrollPrev()):"ArrowRight"===e.key&&(e.preventDefault(),v?.scrollNext())}),[v]),w=(0,l.useCallback)((e=>{if(!e)return;const t=e.slidesInView()?.[0];void 0!==t&&n?.(t)}),[n]);return(0,l.useEffect)((()=>{if(v)return v.on("slidesInView",w),()=>{v.off("slidesInView",w)}}),[v,w]),(0,Je.jsx)(Fa.Provider,{value:{carouselRef:g,api:v,scrollPrev:()=>v?.scrollPrev(),scrollNext:()=>v?.scrollNext(),canScrollPrev:v?.canScrollPrev()??!1,canScrollNext:v?.canScrollNext()??!1,columnGap:i,onSlideChange:n},children:(0,Je.jsx)("div",{ref:f,onKeyDownCapture:y,className:On(p,r),role:"region","aria-roledescription":"carousel",...d,...h,children:o})})})).displayName="Carousel";(0,l.forwardRef)((({className:e,...t},n)=>{const{className:r,...o}=ct(t,"CarouselArrows"),{api:i}=za(),a=(0,l.useCallback)((()=>{i&&i.scrollPrev(!0)}),[i]),s=(0,l.useCallback)((()=>{i&&i.scrollNext(!0)}),[i]);return(0,Je.jsxs)("div",{ref:n,"aria-roledescription":"carousel-arrow-navigation",className:On(`${r}`,e),...t,...o,children:[(0,Je.jsx)("button",{"data-testid":"prev-arrow",className:`${r}-prev-btn`,onClick:()=>a(),children:(0,Je.jsx)("div",{className:`${r}-prev-btn__icon`,children:(0,Je.jsx)(Ei,{icon:"ChevronLeft",height:"2rem"})})}),(0,Je.jsx)("button",{"data-testid":"next-arrow",className:`${r}-next-btn`,onClick:()=>s(),children:(0,Je.jsx)("div",{className:`${r}-next-btn__icon`,children:(0,Je.jsx)(Ei,{icon:"ChevronRight",height:"2rem"})})})]})})).displayName="CarouselArrows";(0,l.forwardRef)((({className:e,containerClassName:t,containerStyles:n,...r},o)=>{const{className:i,...a}=ct(r,"CarouselContent"),{carouselRef:s,columnGap:l}=za();return(0,Je.jsx)("div",{ref:s,className:On(`${i}`,t),style:n,children:(0,Je.jsx)("div",{ref:o,className:On(`${i}-inner`,e,{[`${i}-inner--gap-${l}`]:!!l}),...r,...a})})})).displayName="CarouselContent";(0,l.forwardRef)((({className:e,...t},n)=>{const{className:r,...o}=ct(t,"CarouselItem"),{columnGap:i}=za();return(0,Je.jsx)("div",{ref:n,role:t.onClick?"button":"group","aria-roledescription":"slide",className:On(`${r}`,e,{[`${r}--gap-${i}`]:!!i,[`${r}--cursor-pointer`]:!!t.onClick}),...t,...o})})).displayName="CarouselItem";var Ba=new Map,Ha=new WeakMap,Ua=0,Wa=void 0;function Va(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>`${t}_${"root"===t?function(e){return e?(Ha.has(e)||(Ua+=1,Ha.set(e,Ua.toString())),Ha.get(e)):"0"}(e.root):e[t]}`)).toString()}function qa(e,t,n={},r=Wa){if(typeof window.IntersectionObserver>"u"&&void 0!==r){const o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:o,observer:i,elements:a}=function(e){const t=Va(e);let n=Ba.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver((t=>{t.forEach((t=>{var n;const i=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&typeof t.isVisible>"u"&&(t.isVisible=i),null==(n=r.get(t.target))||n.forEach((e=>{e(i,t)}))}))}),e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},Ba.set(t,n)}return n}(n),s=a.get(e)||[];return a.has(e)||a.set(e,s),s.push(t),i.observe(e),function(){s.splice(s.indexOf(t),1),0===s.length&&(a.delete(e),i.unobserve(e)),0===a.size&&(i.disconnect(),Ba.delete(o))}}const Ya=({isSelected:e,onClick:t,scrollableContainerRef:n,onInViewChange:r,variant:o="md",...i})=>{const{className:a,...s}=ct(i,"CarouselDot"),{ref:c}=function({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:s,fallbackInView:c,onChange:u}={}){var d;const[f,p]=l.useState(null),h=l.useRef(),[m,g]=l.useState({inView:!!s,entry:void 0});h.current=u,l.useEffect((()=>{if(a||!f)return;let s;return s=qa(f,((e,t)=>{g({inView:e,entry:t}),h.current&&h.current(e,t),t.isIntersecting&&i&&s&&(s(),s=void 0)}),{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},c),()=>{s&&s()}}),[Array.isArray(e)?e.toString():e,f,o,r,i,a,n,c,t]);const v=null==(d=m.entry)?void 0:d.target,y=l.useRef();!f&&v&&!i&&!a&&y.current!==v&&(y.current=v,g({inView:!!s,entry:void 0}));const w=[p,m.inView,m.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}({threshold:0,root:n.current,onChange(e){r(e)}});return(0,Je.jsx)("button",{ref:c,role:"button",onClick:t,className:On(`${a}__container`),...s,children:(0,Je.jsx)("span",{className:On(`${a}`,{[`${a}--selected`]:e,[`${a}--${o}`]:o})})})},Ga=(0,l.forwardRef)((({className:e,maxDots:t=9,position:n="inline",numberOfSlides:r=0,id:o,...i},a)=>{const{className:s,...c}=ct({id:o,...i},"CarouselDots"),{api:u,onSlideChange:d}=za(),[f,p]=(0,l.useState)(0),[h,m]=(0,l.useState)(Array.from({length:r},((e,t)=>t))),g=(0,l.useRef)(null),[v,y]=(0,l.useState)([]),w=(0,l.useCallback)((e=>{g.current&&g.current.scrollTo?.({left:22*e-g.current.offsetWidth/2+11,behavior:"smooth"})}),[]),b=(0,l.useCallback)((e=>{u&&(u.scrollTo(e,!0),d?.(e))}),[u,d]),x=(0,l.useCallback)((e=>{m(e.scrollSnapList())}),[]),S=(0,l.useCallback)((e=>{p(e.selectedScrollSnap()),w(e.selectedScrollSnap())}),[w]),E=(0,l.useCallback)((e=>{d?.(e.selectedScrollSnap())}),[d]);(0,l.useEffect)((()=>{if(u)return x(u),S(u),u.on("reInit",x).on("reInit",S).on("select",S).on("settle",E),()=>{u.off("reInit",x).off("reInit",S).off("select",S).off("settle",E)}}),[u,x,S,E]);const C=(0,l.useMemo)((()=>v.sort(((e,t)=>e-t))),[v]);return(0,Je.jsx)("div",{ref:a,role:"group","aria-roledescription":"pagination","aria-label":"pagination",className:On(`${s}`,e,`${s}-${n}`),...i,...c,children:(0,Je.jsx)("div",{className:`${s}-container`,children:(0,Je.jsx)("div",{style:{"--max-width":10*t+12*(t-1)+2+"px"},className:`${s}-container-inner`,ref:g,children:h.map(((e,t)=>{const n=f===t,r=C.indexOf(t),i=-1===r||(r<=1||r>=C.length-2)&&!(t<=1&&C.includes(0)&&C.includes(1))&&!(t>=h.length-2&&C.includes(h.length-1)&&C.includes(h.length-2));return(0,Je.jsx)(Ya,{onClick:()=>b(t),isSelected:n,scrollableContainerRef:g,onInViewChange:e=>{y(e?e=>[...e,t]:e=>e.filter((e=>e!==t)))},variant:i?"sm":"md"},`${o}-dot-${t}`)}))})})})}));Ga.displayName="CarouselDots";const Ka=(0,l.forwardRef)((({className:e,...t},n)=>{const{className:r,...o}=ct(t,"Collapsible");return(0,Je.jsx)(cr,{className:On(r,e),...o,...t,ref:n})}));Ka.displayName="Collapsible";const Xa=l.forwardRef((({className:e,...t},n)=>{const{className:r,...o}=ct(t,"CollapsibleContent");return(0,Je.jsx)(dr,{ref:n,className:On(r,e),...o,...t})}));Xa.displayName="CollapsibleContent";const Ja=(0,l.forwardRef)((({className:e,...t},n)=>{const{className:r,...o}=ct(t,"CollapsibleTrigger");return(0,Je.jsx)(ur,{className:On(r,e),...o,...t,ref:n})}));Ja.displayName="CollapsibleTrigger";var Za=(e=>(e.px="px",e.rem="rem",e))(Za||{});const Qa=(0,l.forwardRef)((({className:e,children:t,contentExpandText:n="Read More",contentCollapseText:r="Read Less",maxHeight:o=480,minHeightThreshold:i,heightUnits:a=Za.px,...s},c)=>{const{className:u,...d}=ct(s,"ContentPeek"),[f,p]=(0,l.useState)(!1),[h,m]=(0,l.useState)(!1),g=(0,l.useRef)(null),v=a===Za.rem?16*o:o,y=i?16*i:null,w=a===Za.rem?y:i;(0,l.useEffect)((()=>{if(g.current){const e=w??v;m(g.current.scrollHeight>e)}}),[v,w]),(0,l.useEffect)((()=>{const e=w&&w>=v?w:v;g.current?.style.setProperty("--content-peek-max-height",`${e}${Za.px}`)}),[v,w]);const b=(0,l.useCallback)((()=>{p((e=>!e))}),[]);return(0,Je.jsxs)(Ka,{id:s?.id,open:f,onOpenChange:b,className:On(u,e),ref:c,...d,...s,children:[(0,Je.jsx)(Xa,{className:`${u}-content`,ref:g,forceMount:!0,children:t}),h?(0,Je.jsx)("div",{className:On(`${u}-overlay`,{[`${u}-overlay--expanded`]:f,[`${u}-overlay--gradient`]:h&&!f}),children:(0,Je.jsx)("div",{className:`${u}-overlay-trigger-wrapper`,children:(0,Je.jsx)(Ja,{asChild:!0,className:`${u}-overlay-trigger`,children:(0,Je.jsxs)(Nn,{variant:jn.secondary,children:[f?(0,Je.jsx)(Ei,{icon:"Subtract"}):(0,Je.jsx)(Ei,{icon:"Add"}),f?r:n]})})})}):null]})}));Qa.displayName="ContentPeek";const es=(0,l.forwardRef)((({className:e="",hasWrap:t=!0,label:n,subLabel:r,value:o,...i},a)=>{const{className:s,...l}=ct(i,"Detail");return(0,Je.jsxs)("div",{...l,className:On(s,e),...i,ref:a,children:[(0,Je.jsxs)("dt",{className:On(`${s}__label`,{[`${s}__label--no-wrap`]:!t}),children:[n," ",r?(0,Je.jsx)("span",{children:r}):null]}),(0,Je.jsx)("dd",{className:`${s}__value`,children:o})]})}));function ts(e,t=globalThis?.document){const n=Hn(e);l.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}es.displayName="Detail";var ns,rs="dismissableLayer.update",os="dismissableLayer.pointerDownOutside",is="dismissableLayer.focusOutside",as=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ss=l.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,u=l.useContext(as),[d,f]=l.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=l.useState({}),m=Dn(t,(e=>f(e))),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),w=d?g.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=w>=y,S=function(e,t=globalThis?.document){const n=Hn(e),r=l.useRef(!1),o=l.useRef((()=>{}));return l.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){cs(os,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...u.branches].some((e=>e.contains(t)));!x||n||(o?.(e),a?.(e),e.defaultPrevented||s?.())}),p),E=function(e,t=globalThis?.document){const n=Hn(e),r=l.useRef(!1);return l.useEffect((()=>{const e=e=>{e.target&&!r.current&&cs(is,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...u.branches].some((e=>e.contains(t)))||(i?.(e),a?.(e),e.defaultPrevented||s?.())}),p);return ts((e=>{w===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),p),l.useEffect((()=>{if(d)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(ns=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),ls(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=ns)}}),[d,p,n,u]),l.useEffect((()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),ls())}),[d,u]),l.useEffect((()=>{const e=()=>h({});return document.addEventListener(rs,e),()=>document.removeEventListener(rs,e)}),[]),(0,Je.jsx)(Wn.div,{...c,ref:m,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:Bn(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Bn(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Bn(e.onPointerDownCapture,S.onPointerDownCapture)})}));ss.displayName="DismissableLayer";function ls(){const e=new CustomEvent(rs);document.dispatchEvent(e)}function cs(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&p.flushSync((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}l.forwardRef(((e,t)=>{const n=l.useContext(as),r=l.useRef(null),o=Dn(t,r);return l.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),(0,Je.jsx)(Wn.div,{...e,ref:o})})).displayName="DismissableLayerBranch";var us="focusScope.autoFocusOnMount",ds="focusScope.autoFocusOnUnmount",fs={bubbles:!1,cancelable:!0},ps=l.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),u=Hn(o),d=Hn(i),f=l.useRef(null),p=Dn(t,(e=>c(e))),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect((()=>{if(r){let e=function(e){if(h.paused||!s)return;const t=e.target;s.contains(t)?f.current=t:vs(f.current,{select:!0})},t=function(e){if(h.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||vs(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&vs(s)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,s,h.paused]),l.useEffect((()=>{if(s){ys.add(h);const e=document.activeElement;if(!s.contains(e)){const t=new CustomEvent(us,fs);s.addEventListener(us,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(vs(r,{select:t}),document.activeElement!==n)return}(function(e){return e.filter((e=>"A"!==e.tagName))}(hs(s)),{select:!0}),document.activeElement===e&&vs(s))}return()=>{s.removeEventListener(us,u),setTimeout((()=>{const t=new CustomEvent(ds,fs);s.addEventListener(ds,d),s.dispatchEvent(t),t.defaultPrevented||vs(e??document.body,{select:!0}),s.removeEventListener(ds,d),ys.remove(h)}),0)}}}),[s,u,d,h]);const m=l.useCallback((e=>{if(!n&&!r||h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=hs(e),n=ms(t,e),r=ms(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&vs(i,{select:!0})):(e.preventDefault(),n&&vs(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,h.paused]);return(0,Je.jsx)(Wn.div,{tabIndex:-1,...a,ref:p,onKeyDown:m})}));function hs(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const 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 ms(e,t){for(const n of e)if(!gs(n,{upTo:t}))return n}function gs(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function vs(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}ps.displayName="FocusScope";var ys=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=ws(e,t),e.unshift(t)},remove(t){e=ws(e,t),e[0]?.resume()}}}();function ws(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var bs=l.forwardRef(((e,t)=>{const{container:n,...r}=e,[o,i]=l.useState(!1);Vn((()=>i(!0)),[]);const a=n||o&&globalThis?.document?.body;return a?p.createPortal((0,Je.jsx)(Wn.div,{...r,ref:t}),a):null}));bs.displayName="Portal";var xs=0;function Ss(){l.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Es()),document.body.insertAdjacentElement("beforeend",e[1]??Es()),xs++,()=>{1===xs&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),xs--}}),[])}function Es(){const 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}var Cs=function(){return Cs=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},Cs.apply(this,arguments)};var As="right-scroll-bar-position",Ts="width-before-scroll-bar",Os=function(){return Os=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},Os.apply(this,arguments)};function js(e){return e}var Ns=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=js);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=Os({async:!0,ssr:!1},e),t}();function _s(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ks=typeof window<"u"?l.useLayoutEffect:l.useEffect,Ps=new WeakMap;function Ms(e,t){var n=function(e,t){var n=(0,l.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(null,(function(t){return e.forEach((function(e){return _s(e,t)}))}));return ks((function(){var t=Ps.get(n);if(t){var r=new Set(t),o=new Set(e),i=n.current;r.forEach((function(e){o.has(e)||_s(e,null)})),o.forEach((function(e){r.has(e)||_s(e,i)}))}Ps.set(n,e)}),[e]),n}var Rs=function(){},Ds=l.forwardRef((function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Rs,onWheelCapture:Rs,onTouchMoveCapture:Rs}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,m=e.inert,g=e.allowPinchZoom,v=e.as,y=void 0===v?"div":v,w=e.gapMode,b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=p,S=Ms([n,t]),E=Cs(Cs({},b),o);return l.createElement(l.Fragment,null,d&&l.createElement(x,{sideCar:Ns,removeScrollBar:u,shards:f,noIsolation:h,inert:m,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:w}),a?l.cloneElement(l.Children.only(s),Cs(Cs({},E),{ref:S})):l.createElement(y,Cs({},E,{className:c,ref:S}),s))}));Ds.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ds.classNames={fullWidth:Ts,zeroRight:As};function Ls(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n.nc;return t&&e.setAttribute("nonce",t),e}var Is=function(){var e=0,t=null;return{add:function(n){0==e&&(t=Ls())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},$s=function(){var e=function(){var e=Is();return function(t,n){l.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},Fs={left:0,top:0,right:0,gap:0},zs=function(e){return parseInt(e||"",10)||0},Bs=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return Fs;var t=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[zs(n),zs(r),zs(o)]}(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])}},Hs=$s(),Us="data-scroll-locked",Ws=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(Us,"] {\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(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(As," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(Ts," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(As," .").concat(As," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(Ts," .").concat(Ts," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(Us,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},Vs=function(){var e=parseInt(document.body.getAttribute(Us)||"0",10);return isFinite(e)?e:0},qs=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;l.useEffect((function(){return document.body.setAttribute(Us,(Vs()+1).toString()),function(){var e=Vs()-1;e<=0?document.body.removeAttribute(Us):document.body.setAttribute(Us,e.toString())}}),[]);var i=l.useMemo((function(){return Bs(o)}),[o]);return l.createElement(Hs,{styles:Ws(i,!t,o,n?"":"!important")})},Ys=!1;if(typeof window<"u")try{var Gs=Object.defineProperty({},"passive",{get:function(){return Ys=!0,!0}});window.addEventListener("test",Gs,Gs),window.removeEventListener("test",Gs,Gs)}catch{Ys=!1}var Ks=!!Ys&&{passive:!1},Xs=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Js=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host),Zs(e,r)){var o=Qs(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Zs=function(e,t){return"v"===e?function(e){return Xs(e,"overflowY")}(t):function(e){return Xs(e,"overflowX")}(t)},Qs=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},el=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tl=function(e){return[e.deltaX,e.deltaY]},nl=function(e){return e&&"current"in e?e.current:e},rl=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},ol=0,il=[];function al(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var sl=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,Os({},n))};sl.isSideCarExport=!0;const ll=function(e,t){return e.useMedium(t),sl}(Ns,(function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(ol++)[0],i=l.useState($s)[0],a=l.useRef(e);l.useEffect((function(){a.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,i=t.length;o<i;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(nl),!0).filter(Boolean);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 s=l.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=el(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=Js(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=Js(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=Qs(e,s),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&Zs(e,s)&&(d+=m,f+=h),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(Math.abs(d)<1||!o)||!u&&(Math.abs(f)<1||!o))&&(c=!0),c}(p,t,e,"h"===p?l:c,!0)}),[]),c=l.useCallback((function(e){var n=e;if(il.length&&il[il.length-1]===i){var r="deltaY"in n?tl(n):el(n),o=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void(n.cancelable&&n.preventDefault());if(!o){var l=(a.current.shards||[]).map(nl).filter(Boolean).filter((function(e){return e.contains(n.target)}));(l.length>0?s(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),u=l.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:al(r)};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),d=l.useCallback((function(e){n.current=el(e),r.current=void 0}),[]),f=l.useCallback((function(t){u(t.type,tl(t),t.target,s(t,e.lockRef.current))}),[]),p=l.useCallback((function(t){u(t.type,el(t),t.target,s(t,e.lockRef.current))}),[]);l.useEffect((function(){return il.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Ks),document.addEventListener("touchmove",c,Ks),document.addEventListener("touchstart",d,Ks),function(){il=il.filter((function(e){return e!==i})),document.removeEventListener("wheel",c,Ks),document.removeEventListener("touchmove",c,Ks),document.removeEventListener("touchstart",d,Ks)}}),[]);var h=e.removeScrollBar,m=e.inert;return l.createElement(l.Fragment,null,m?l.createElement(i,{styles:rl(o)}):null,h?l.createElement(qs,{gapMode:e.gapMode}):null)}));var cl=l.forwardRef((function(e,t){return l.createElement(Ds,Cs({},e,{ref:t,sideCar:ll}))}));cl.classNames=Ds.classNames;var ul=new WeakMap,dl=new WeakMap,fl={},pl=0,hl=function(e){return e&&(e.host||hl(e.parentNode))},ml=function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=hl(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return!!e}))}(t,Array.isArray(e)?e:[e]);fl[n]||(fl[n]=new WeakMap);var i=fl[n],a=[],s=new Set,l=new Set(o),c=function(e){!e||s.has(e)||(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(ul.get(e)||0)+1,c=(i.get(e)||0)+1;ul.set(e,l),i.set(e,c),a.push(e),1===l&&o&&dl.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};return u(t),s.clear(),pl++,function(){a.forEach((function(e){var t=ul.get(e)-1,o=i.get(e)-1;ul.set(e,t),i.set(e,o),t||(dl.has(e)||e.removeAttribute(r),dl.delete(e)),o||e.removeAttribute(n)})),--pl||(ul=new WeakMap,ul=new WeakMap,dl=new WeakMap,fl={})}},gl=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ml(r,o,n,"aria-hidden")):function(){return null}},vl="Dialog",[yl,wl]=kn(vl),[bl,xl]=yl(vl),Sl=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=l.useRef(null),c=l.useRef(null),[u=!1,d]=Un({prop:r,defaultProp:o,onChange:i});return(0,Je.jsx)(bl,{scope:t,triggerRef:s,contentRef:c,contentId:Xn(),titleId:Xn(),descriptionId:Xn(),open:u,onOpenChange:d,onOpenToggle:l.useCallback((()=>d((e=>!e))),[d]),modal:a,children:n})};Sl.displayName=vl;var El="DialogTrigger";l.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=xl(El,n),i=Dn(t,o.triggerRef);return(0,Je.jsx)(Wn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ul(o.open),...r,ref:i,onClick:Bn(e.onClick,o.onOpenToggle)})})).displayName=El;var Cl="DialogPortal",[Al,Tl]=yl(Cl,{forceMount:void 0}),Ol=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=xl(Cl,t);return(0,Je.jsx)(Al,{scope:t,forceMount:n,children:l.Children.map(r,(e=>(0,Je.jsx)(qn,{present:n||i.open,children:(0,Je.jsx)(bs,{asChild:!0,container:o,children:e})})))})};Ol.displayName=Cl;var jl="DialogOverlay",Nl=l.forwardRef(((e,t)=>{const n=Tl(jl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=xl(jl,e.__scopeDialog);return i.modal?(0,Je.jsx)(qn,{present:r||i.open,children:(0,Je.jsx)(kl,{...o,ref:t})}):null}));Nl.displayName=jl;var _l=Ln("DialogOverlay.RemoveScroll"),kl=l.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=xl(jl,n);return(0,Je.jsx)(cl,{as:_l,allowPinchZoom:!0,shards:[o.contentRef],children:(0,Je.jsx)(Wn.div,{"data-state":Ul(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})})),Pl="DialogContent",Ml=l.forwardRef(((e,t)=>{const n=Tl(Pl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=xl(Pl,e.__scopeDialog);return(0,Je.jsx)(qn,{present:r||i.open,children:i.modal?(0,Je.jsx)(Rl,{...o,ref:t}):(0,Je.jsx)(Dl,{...o,ref:t})})}));Ml.displayName=Pl;var Rl=l.forwardRef(((e,t)=>{const n=xl(Pl,e.__scopeDialog),r=l.useRef(null),o=Dn(t,n.contentRef,r);return l.useEffect((()=>{const e=r.current;if(e)return gl(e)}),[]),(0,Je.jsx)(Ll,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Bn(e.onCloseAutoFocus,(e=>{e.preventDefault(),n.triggerRef.current?.focus()})),onPointerDownOutside:Bn(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:Bn(e.onFocusOutside,(e=>e.preventDefault()))})})),Dl=l.forwardRef(((e,t)=>{const n=xl(Pl,e.__scopeDialog),r=l.useRef(!1),o=l.useRef(!1);return(0,Je.jsx)(Ll,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})})),Ll=l.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=xl(Pl,n),c=l.useRef(null),u=Dn(t,c);return Ss(),(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(ps,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,Je.jsx)(ss,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ul(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(Yl,{titleId:s.titleId}),(0,Je.jsx)(Gl,{contentRef:c,descriptionId:s.descriptionId})]})]})})),Il="DialogTitle",$l=l.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=xl(Il,n);return(0,Je.jsx)(Wn.h2,{id:o.titleId,...r,ref:t})}));$l.displayName=Il;var Fl="DialogDescription",zl=l.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=xl(Fl,n);return(0,Je.jsx)(Wn.p,{id:o.descriptionId,...r,ref:t})}));zl.displayName=Fl;var Bl="DialogClose",Hl=l.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,o=xl(Bl,n);return(0,Je.jsx)(Wn.button,{type:"button",...r,ref:t,onClick:Bn(e.onClick,(()=>o.onOpenChange(!1)))})}));function Ul(e){return e?"open":"closed"}Hl.displayName=Bl;var Wl="DialogTitleWarning",[Vl,ql]=function(e,t){const n=l.createContext(t),r=e=>{const{children:t,...r}=e,o=l.useMemo((()=>r),Object.values(r));return(0,Je.jsx)(n.Provider,{value:o,children:t})};return r.displayName=e+"Provider",[r,function(r){const o=l.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}(Wl,{contentName:Pl,titleName:Il,docsSlug:"dialog"}),Yl=({titleId:e})=>{const t=ql(Wl),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect((()=>{e&&(document.getElementById(e)||console.error(n))}),[n,e]),null},Gl=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ql("DialogDescriptionWarning").contentName}}.`;return l.useEffect((()=>{const r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))}),[n,e,t]),null},Kl=Sl,Xl=Ol,Jl=Nl,Zl=Ml,Ql=$l,ec=zl,tc=Hl;const nc=({className:e,isOpen:t=!1,onClose:n=ut,children:r,...o})=>{const{className:i,...a}=ct(o,"Drawer");return(0,Je.jsx)(Kl,{open:t,onOpenChange:e=>{e||n()},children:(0,Je.jsxs)(Xl,{children:[(0,Je.jsx)(Jl,{onClick:n,className:On(`${i}__overlay`),"data-testid":"drawer-overlay"}),(0,Je.jsxs)(Zl,{className:On(i,e),id:o.id,...a,children:[(0,Je.jsx)(Ql,{}),(0,Je.jsx)(ec,{}),(0,Je.jsx)(tc,{asChild:!0,children:(0,Je.jsx)(_n,{onClick:n,className:On(`${i}__close`),"aria-label":"Close","data-testid":"drawer-close",variant:jn.tertiary,children:(0,Je.jsx)(Ei,{icon:"CloseX",color:"currentColor"})})}),r]})]})})};function rc(e,[t,n]){return Math.min(n,Math.max(t,e))}const oc=["top","right","bottom","left"],ic=Math.min,ac=Math.max,sc=Math.round,lc=Math.floor,cc=e=>({x:e,y:e}),uc={left:"right",right:"left",bottom:"top",top:"bottom"},dc={start:"end",end:"start"};function fc(e,t,n){return ac(e,ic(t,n))}function pc(e,t){return"function"==typeof e?e(t):e}function hc(e){return e.split("-")[0]}function mc(e){return e.split("-")[1]}function gc(e){return"x"===e?"y":"x"}function vc(e){return"y"===e?"height":"width"}function yc(e){return["top","bottom"].includes(hc(e))?"y":"x"}function wc(e){return gc(yc(e))}function bc(e){return e.replace(/start|end/g,(e=>dc[e]))}function xc(e){return e.replace(/left|right|bottom|top/g,(e=>uc[e]))}function Sc(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Ec(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Cc(e,t,n){let{reference:r,floating:o}=e;const i=yc(t),a=wc(t),s=vc(a),l=hc(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(mc(t)){case"start":p[a]-=f*(n&&c?-1:1);break;case"end":p[a]+=f*(n&&c?-1:1)}return p}async function Ac(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=pc(t,e),h=Sc(p),m=s[f?"floating"===d?"reference":"floating":d],g=Ec(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=Ec(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-b.top+h.top)/w.y,bottom:(b.bottom-g.bottom+h.bottom)/w.y,left:(g.left-b.left+h.left)/w.x,right:(b.right-g.right+h.right)/w.x}}function Tc(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Oc(e){return oc.some((t=>e[t]>=0))}function jc(e){return kc(e)?(e.nodeName||"").toLowerCase():"#document"}function Nc(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _c(e){var t;return null==(t=(kc(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function kc(e){return e instanceof Node||e instanceof Nc(e).Node}function Pc(e){return e instanceof Element||e instanceof Nc(e).Element}function Mc(e){return e instanceof HTMLElement||e instanceof Nc(e).HTMLElement}function Rc(e){return!(typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof Nc(e).ShadowRoot)}function Dc(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Bc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Lc(e){return["table","td","th"].includes(jc(e))}function Ic(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch{return!1}}))}function $c(e){const t=Fc(),n=Pc(e)?Bc(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Fc(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function zc(e){return["html","body","#document"].includes(jc(e))}function Bc(e){return Nc(e).getComputedStyle(e)}function Hc(e){return Pc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Uc(e){if("html"===jc(e))return e;const t=e.assignedSlot||e.parentNode||Rc(e)&&e.host||_c(e);return Rc(t)?t.host:t}function Wc(e){const t=Uc(e);return zc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mc(t)&&Dc(t)?t:Wc(t)}function Vc(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Wc(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Nc(o);if(i){const e=qc(a);return t.concat(a,a.visualViewport||[],Dc(o)?o:[],e&&n?Vc(e):[])}return t.concat(o,Vc(o,[],n))}function qc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Yc(e){const t=Bc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Mc(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=sc(n)!==i||sc(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Gc(e){return Pc(e)?e:e.contextElement}function Kc(e){const t=Gc(e);if(!Mc(t))return cc(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Yc(t);let a=(i?sc(n.width):n.width)/r,s=(i?sc(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Xc=cc(0);function Jc(e){const t=Nc(e);return Fc()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Xc}function Zc(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Gc(e);let a=cc(1);t&&(r?Pc(r)&&(a=Kc(r)):a=Kc(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Nc(e))&&t}(i,n,r)?Jc(i):cc(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Nc(i),t=r&&Pc(r)?Nc(r):r;let n=e,o=qc(n);for(;o&&r&&t!==n;){const e=Kc(o),t=o.getBoundingClientRect(),r=Bc(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=Nc(o),o=qc(n)}}return Ec({width:u,height:d,x:l,y:c})}function Qc(e){return Zc(_c(e)).left+Hc(e).scrollLeft}function eu(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Nc(e),r=_c(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Fc();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=_c(e),n=Hc(e),r=e.ownerDocument.body,o=ac(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ac(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Qc(e);const s=-n.scrollTop;return"rtl"===Bc(r).direction&&(a+=ac(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(_c(e));else if(Pc(t))r=function(e,t){const n=Zc(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Mc(e)?Kc(e):cc(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Jc(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Ec(r)}function tu(e,t){const n=Uc(e);return!(n===t||!Pc(n)||zc(n))&&("fixed"===Bc(n).position||tu(n,t))}function nu(e,t){const n=t.get(e);if(n)return n;let r=Vc(e,[],!1).filter((e=>Pc(e)&&"body"!==jc(e))),o=null;const i="fixed"===Bc(e).position;let a=i?Uc(e):e;for(;Pc(a)&&!zc(a);){const t=Bc(a),n=$c(a);!n&&"fixed"===t.position&&(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Dc(a)&&!n&&tu(e,a))?r=r.filter((e=>e!==a)):o=t,a=Uc(a)}return t.set(e,r),r}function ru(e,t,n){const r=Mc(t),o=_c(t),i="fixed"===n,a=Zc(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=cc(0);if(r||!r&&!i)if(("body"!==jc(t)||Dc(o))&&(s=Hc(t)),r){const e=Zc(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=Qc(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ou(e){return"static"===Bc(e).position}function iu(e,t){return Mc(e)&&"fixed"!==Bc(e).position?t?t(e):e.offsetParent:null}function au(e,t){const n=Nc(e);if(Ic(e))return n;if(!Mc(e)){let t=Uc(e);for(;t&&!zc(t);){if(Pc(t)&&!ou(t))return t;t=Uc(t)}return n}let r=iu(e,t);for(;r&&Lc(r)&&ou(r);)r=iu(r,t);return r&&zc(r)&&ou(r)&&!$c(r)?n:r||function(e){let t=Uc(e);for(;Mc(t)&&!zc(t);){if($c(t))return t;if(Ic(t))return null;t=Uc(t)}return null}(e)||n}const su={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=_c(r),s=!!t&&Ic(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=cc(1);const u=cc(0),d=Mc(r);if((d||!d&&!i)&&(("body"!==jc(r)||Dc(a))&&(l=Hc(r)),Mc(r))){const e=Zc(r);c=Kc(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:_c,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?Ic(t)?[]:nu(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=eu(t,n,o);return e.top=ac(r.top,e.top),e.right=ic(r.right,e.right),e.bottom=ic(r.bottom,e.bottom),e.left=ac(r.left,e.left),e}),eu(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:au,getElementRects:async function(e){const t=this.getOffsetParent||au,n=this.getDimensions,r=await n(e.floating);return{reference:ru(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Yc(e);return{width:t,height:n}},getScale:Kc,isElement:Pc,isRTL:function(e){return"rtl"===Bc(e).direction}};function lu(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Gc(e),u=o||i?[...c?Vc(c):[],...Vc(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=_c(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-lc(u)+"px "+-lc(o.clientWidth-(c+d))+"px "+-lc(o.clientHeight-(u+f))+"px "+-lc(c)+"px",threshold:ac(0,ic(1,l))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(m,{...p,root:o.ownerDocument})}catch{r=new IntersectionObserver(m,p)}r.observe(e)}(!0),i}(c,n):null;let f=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),p.observe(t));let h,m=l?Zc(e):null;return l&&function t(){const r=Zc(e);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&n(),m=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),d?.(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const cu=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=hc(n),s=mc(n),l="y"===yc(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=pc(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},uu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=pc(e,t),c={x:n,y:r},u=await Ac(t,l),d=yc(hc(o)),f=gc(d);let p=c[f],h=c[d];if(i){const e="y"===f?"bottom":"right";p=fc(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";h=fc(h+u["y"===d?"top":"left"],h,h-u[e])}const m=s.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},du=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=pc(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=hc(o),y=yc(s),w=hc(s)===s,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=f||(w||!m?[xc(s)]:function(e){const t=xc(e);return[bc(e),t,bc(t)]}(s)),S="none"!==h;!f&&S&&x.push(...function(e,t,n,r){const o=mc(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(hc(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(bc)))),i}(s,m,h,b));const E=[s,...x],C=await Ac(t,g),A=[];let T=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&A.push(C[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=mc(e),o=wc(e),i=vc(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=xc(a)),[a,xc(a)]}(o,a,b);A.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:o,overflows:A}],!A.every((e=>e<=0))){var O,j;const e=((null==(O=i.flip)?void 0:O.index)||0)+1,t=E[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(j=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:j.placement;if(!n)switch(p){case"bestFit":{var N;const e=null==(N=T.filter((e=>{if(S){const t=yc(e.placement);return t===y||"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:N[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},fu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=pc(e,t),l=await Ac(t,s),c=hc(n),u=mc(n),d="y"===yc(n),{width:f,height:p}=r.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=p-l.top-l.bottom,v=f-l.left-l.right,y=ic(p-l[h],g),w=ic(f-l[m],v),b=!t.middlewareData.shift;let x=y,S=w;if(d?S=u||b?ic(w,v):v:x=u||b?ic(y,g):g,b&&!u){const e=ac(l.left,0),t=ac(l.right,0),n=ac(l.top,0),r=ac(l.bottom,0);d?S=f-2*(0!==e||0!==t?e+t:ac(l.left,l.right)):x=p-2*(0!==n||0!==r?n+r:ac(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:x});const E=await o.getDimensions(i.floating);return f!==E.width||p!==E.height?{reset:{rects:!0}}:{}}}},pu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=pc(e,t);switch(r){case"referenceHidden":{const e=Tc(await Ac(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Oc(e)}}}case"escaped":{const e=Tc(await Ac(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Oc(e)}}}default:return{}}}}},hu=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=pc(e,t)||{};if(null==c)return{};const d=Sc(u),f={x:n,y:r},p=wc(o),h=vc(p),m=await a.getDimensions(c),g="y"===p,v=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[p]-f[p]-i.floating[h],x=f[p]-i.reference[p],S=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let E=S?S[w]:0;(!E||!await(null==a.isElement?void 0:a.isElement(S)))&&(E=s.floating[w]||i.floating[h]);const C=b/2-x/2,A=E/2-m[h]/2-1,T=ic(d[v],A),O=ic(d[y],A),j=T,N=E-m[h]-O,_=E/2-m[h]/2+C,k=fc(j,_,N),P=!l.arrow&&null!=mc(o)&&_!==k&&i.reference[h]/2-(_<j?T:O)-m[h]/2<0,M=P?_<j?_-j:_-N:0;return{[p]:f[p]+M,data:{[p]:k,centerOffset:_-k-M,...P&&{alignmentOffset:M}},reset:P}}}),mu=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=pc(e,t),u={x:n,y:r},d=yc(o),f=gc(d);let p=u[f],h=u[d];const m=pc(s,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,n=i.reference[f]+i.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var v,y;const e="y"===f?"width":"height",t=["top","left"].includes(hc(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}},gu=(e,t,n)=>{const r=new Map,o={platform:su,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Cc(c,r,l),f=r,p={},h=0;for(let n=0;n<s.length;n++){const{name:i,fn:m}=s[n],{x:g,y:v,data:y,reset:w}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=g??u,d=v??d,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:u,y:d}=Cc(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var vu=typeof document<"u"?l.useLayoutEffect:l.useEffect;function yu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!yu(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||yu(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function wu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bu(e,t){const n=wu(e);return Math.round(t*n)/n}function xu(e){const t=l.useRef(e);return vu((()=>{t.current=e})),t}function Su(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,f]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=l.useState(r);yu(h,r)||m(r);const[g,v]=l.useState(null),[y,w]=l.useState(null),b=l.useCallback((e=>{e!==C.current&&(C.current=e,v(e))}),[]),x=l.useCallback((e=>{e!==A.current&&(A.current=e,w(e))}),[]),S=i||g,E=a||y,C=l.useRef(null),A=l.useRef(null),T=l.useRef(d),O=null!=c,j=xu(c),N=xu(o),_=l.useCallback((()=>{if(!C.current||!A.current)return;const e={placement:t,strategy:n,middleware:h};N.current&&(e.platform=N.current),gu(C.current,A.current,e).then((e=>{const t={...e,isPositioned:!0};k.current&&!yu(T.current,t)&&(T.current=t,p.flushSync((()=>{f(t)})))}))}),[h,t,n,N]);vu((()=>{!1===u&&T.current.isPositioned&&(T.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const k=l.useRef(!1);vu((()=>(k.current=!0,()=>{k.current=!1})),[]),vu((()=>{if(S&&(C.current=S),E&&(A.current=E),S&&E){if(j.current)return j.current(S,E,_);_()}}),[S,E,_,j,O]);const P=l.useMemo((()=>({reference:C,floating:A,setReference:b,setFloating:x})),[b,x]),M=l.useMemo((()=>({reference:S,floating:E})),[S,E]),R=l.useMemo((()=>{const e={position:n,left:0,top:0};if(!M.floating)return e;const t=bu(M.floating,d.x),r=bu(M.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...wu(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,s,M.floating,d.x,d.y]);return l.useMemo((()=>({...d,update:_,refs:P,elements:M,floatingStyles:R})),[d,_,P,M,R])}const Eu=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&function(e){return{}.hasOwnProperty.call(e,"current")}(n)?null!=n.current?hu({element:n.current,padding:r}).fn(t):{}:n?hu({element:n,padding:r}).fn(t):{}}}),Cu=(e,t)=>({...cu(e),options:[e,t]}),Au=(e,t)=>({...uu(e),options:[e,t]}),Tu=(e,t)=>({...mu(e),options:[e,t]}),Ou=(e,t)=>({...du(e),options:[e,t]}),ju=(e,t)=>({...fu(e),options:[e,t]}),Nu=(e,t)=>({...pu(e),options:[e,t]}),_u=(e,t)=>({...Eu(e),options:[e,t]});var ku=l.forwardRef(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return(0,Je.jsx)(Wn.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,Je.jsx)("polygon",{points:"0,0 30,0 15,10"})})}));ku.displayName="Arrow";var Pu=ku;function Mu(e){const[t,n]=l.useState(void 0);return Vn((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t)||!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}var Ru="Popper",[Du,Lu]=kn(Ru),[Iu,$u]=Du(Ru),Fu=e=>{const{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return(0,Je.jsx)(Iu,{scope:t,anchor:r,onAnchorChange:o,children:n})};Fu.displayName=Ru;var zu="PopperAnchor",Bu=l.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=$u(zu,n),a=l.useRef(null),s=Dn(t,a);return l.useEffect((()=>{i.onAnchorChange(r?.current||a.current)})),r?null:(0,Je.jsx)(Wn.div,{...o,ref:s})}));Bu.displayName=zu;var Hu="PopperContent",[Uu,Wu]=Du(Hu),Vu=l.forwardRef(((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:m,...g}=e,v=$u(Hu,n),[y,w]=l.useState(null),b=Dn(t,(e=>w(e))),[x,S]=l.useState(null),E=Mu(x),C=E?.width??0,A=E?.height??0,T=r+("center"!==i?"-"+i:""),O="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},j=Array.isArray(u)?u:[u],N=j.length>0,_={padding:O,boundary:j.filter(Ku),altBoundary:N},{refs:k,floatingStyles:P,placement:M,isPositioned:R,middlewareData:D}=Su({strategy:"fixed",placement:T,whileElementsMounted:(...e)=>lu(...e,{animationFrame:"always"===h}),elements:{reference:v.anchor},middleware:[Cu({mainAxis:o+A,alignmentAxis:a}),c&&Au({mainAxis:!0,crossAxis:!1,limiter:"partial"===f?Tu():void 0,..._}),c&&Ou({..._}),ju({..._,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),x&&_u({element:x,padding:s}),Xu({arrowWidth:C,arrowHeight:A}),p&&Nu({strategy:"referenceHidden",..._})]}),[L,I]=Ju(M),$=Hn(m);Vn((()=>{R&&$?.()}),[R,$]);const F=D.arrow?.x,z=D.arrow?.y,B=0!==D.arrow?.centerOffset,[H,U]=l.useState();return Vn((()=>{y&&U(window.getComputedStyle(y).zIndex)}),[y]),(0,Je.jsx)("div",{ref:k.setFloating,"data-radix-popper-content-wrapper":"",style:{...P,transform:R?P.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,Je.jsx)(Uu,{scope:n,placedSide:L,onArrowChange:S,arrowX:F,arrowY:z,shouldHideArrow:B,children:(0,Je.jsx)(Wn.div,{"data-side":L,"data-align":I,...g,ref:b,style:{...g.style,animation:R?void 0:"none"}})})})}));Vu.displayName=Hu;var qu="PopperArrow",Yu={top:"bottom",right:"left",bottom:"top",left:"right"},Gu=l.forwardRef((function(e,t){const{__scopePopper:n,...r}=e,o=Wu(qu,n),i=Yu[o.placedSide];return(0,Je.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,Je.jsx)(Pu,{...r,ref:t,style:{...r.style,display:"block"}})})}));function Ku(e){return null!==e}Gu.displayName=qu;var Xu=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,c]=Ju(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+s/2;let p="",h="";return"bottom"===l?(p=i?u:`${d}px`,h=-s+"px"):"top"===l?(p=i?u:`${d}px`,h=`${r.floating.height+s}px`):"right"===l?(p=-s+"px",h=i?u:`${f}px`):"left"===l&&(p=`${r.floating.width+s}px`,h=i?u:`${f}px`),{data:{x:p,y:h}}}});function Ju(e){const[t,n="center"]=e.split("-");return[t,n]}var Zu=Fu,Qu=Bu,ed=Vu,td=Gu;var nd=l.forwardRef(((e,t)=>(0,Je.jsx)(Wn.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));nd.displayName="VisuallyHidden";var rd=[" ","Enter","ArrowUp","ArrowDown"],od=[" ","Enter"],id="Select",[ad,sd,ld]=zn(id),[cd,ud]=kn(id,[ld,Lu]),dd=Lu(),[fd,pd]=cd(id),[hd,md]=cd(id),gd=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:u,name:d,autoComplete:f,disabled:p,required:h,form:m}=e,g=dd(t),[v,y]=l.useState(null),[w,b]=l.useState(null),[x,S]=l.useState(!1),E=pr(u),[C=!1,A]=Un({prop:r,defaultProp:o,onChange:i}),[T,O]=Un({prop:a,defaultProp:s,onChange:c}),j=l.useRef(null),N=!v||(m||!!v.closest("form")),[_,k]=l.useState(new Set),P=Array.from(_).map((e=>e.props.value)).join(";");return(0,Je.jsx)(Zu,{...g,children:(0,Je.jsxs)(fd,{required:h,scope:t,trigger:v,onTriggerChange:y,valueNode:w,onValueNodeChange:b,valueNodeHasChildren:x,onValueNodeHasChildrenChange:S,contentId:Xn(),value:T,onValueChange:O,open:C,onOpenChange:A,dir:E,triggerPointerDownPosRef:j,disabled:p,children:[(0,Je.jsx)(ad.Provider,{scope:t,children:(0,Je.jsx)(hd,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback((e=>{k((t=>new Set(t).add(e)))}),[]),onNativeOptionRemove:l.useCallback((e=>{k((t=>{const n=new Set(t);return n.delete(e),n}))}),[]),children:n})}),N?(0,Je.jsxs)(ef,{"aria-hidden":!0,required:h,tabIndex:-1,name:d,autoComplete:f,value:T,onChange:e=>O(e.target.value),disabled:p,form:m,children:[void 0===T?(0,Je.jsx)("option",{value:""}):null,Array.from(_)]},P):null]})})};gd.displayName=id;var vd="SelectTrigger",yd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=dd(n),a=pd(vd,n),s=a.disabled||r,c=Dn(t,a.onTriggerChange),u=sd(n),d=l.useRef("touch"),[f,p,h]=tf((e=>{const t=u().filter((e=>!e.disabled)),n=t.find((e=>e.value===a.value)),r=nf(t,e,n);void 0!==r&&a.onValueChange(r.value)})),m=e=>{s||(a.onOpenChange(!0),h()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,Je.jsx)(Qu,{asChild:!0,...i,children:(0,Je.jsx)(Wn.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":Qd(a.value)?"":void 0,...o,ref:c,onClick:Bn(o.onClick,(e=>{e.currentTarget.focus(),"mouse"!==d.current&&m(e)})),onPointerDown:Bn(o.onPointerDown,(e=>{d.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(m(e),e.preventDefault())})),onKeyDown:Bn(o.onKeyDown,(e=>{const t=""!==f.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&p(e.key),(!t||" "!==e.key)&&rd.includes(e.key)&&(m(),e.preventDefault())}))})})}));yd.displayName=vd;var wd="SelectValue",bd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a="",...s}=e,l=pd(wd,n),{onValueNodeHasChildrenChange:c}=l,u=void 0!==i,d=Dn(t,l.onValueNodeChange);return Vn((()=>{c(u)}),[c,u]),(0,Je.jsx)(Wn.span,{...s,ref:d,style:{pointerEvents:"none"},children:Qd(l.value)?(0,Je.jsx)(Je.Fragment,{children:a}):i})}));bd.displayName=wd;var xd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return(0,Je.jsx)(Wn.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})}));xd.displayName="SelectIcon";var Sd=e=>(0,Je.jsx)(bs,{asChild:!0,...e});Sd.displayName="SelectPortal";var Ed="SelectContent",Cd=l.forwardRef(((e,t)=>{const n=pd(Ed,e.__scopeSelect),[r,o]=l.useState();if(Vn((()=>{o(new DocumentFragment)}),[]),!n.open){const t=r;return t?p.createPortal((0,Je.jsx)(Td,{scope:e.__scopeSelect,children:(0,Je.jsx)(ad.Slot,{scope:e.__scopeSelect,children:(0,Je.jsx)("div",{children:e.children})})}),t):null}return(0,Je.jsx)(Nd,{...e,ref:t})}));Cd.displayName=Ed;var Ad=10,[Td,Od]=cd(Ed),jd=Ln("SelectContent.RemoveScroll"),Nd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:s,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:h,sticky:m,hideWhenDetached:g,avoidCollisions:v,...y}=e,w=pd(Ed,n),[b,x]=l.useState(null),[S,E]=l.useState(null),C=Dn(t,(e=>x(e))),[A,T]=l.useState(null),[O,j]=l.useState(null),N=sd(n),[_,k]=l.useState(!1),P=l.useRef(!1);l.useEffect((()=>{if(b)return gl(b)}),[b]),Ss();const M=l.useCallback((e=>{const[t,...n]=N().map((e=>e.ref.current)),[r]=n.slice(-1),o=document.activeElement;for(const n of e)if(n===o||(n?.scrollIntoView({block:"nearest"}),n===t&&S&&(S.scrollTop=0),n===r&&S&&(S.scrollTop=S.scrollHeight),n?.focus(),document.activeElement!==o))return}),[N,S]),R=l.useCallback((()=>M([A,b])),[M,A,b]);l.useEffect((()=>{_&&R()}),[_,R]);const{onOpenChange:D,triggerPointerDownPosRef:L}=w;l.useEffect((()=>{if(b){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(L.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(L.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():b.contains(n.target)||D(!1),document.removeEventListener("pointermove",t),L.current=null};return null!==L.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[b,D,L]),l.useEffect((()=>{const e=()=>D(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[D]);const[I,$]=tf((e=>{const t=N().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=nf(t,e,n);r&&setTimeout((()=>r.ref.current.focus()))})),F=l.useCallback(((e,t,n)=>{const r=!P.current&&!n;(void 0!==w.value&&w.value===t||r)&&(T(e),r&&(P.current=!0))}),[w.value]),z=l.useCallback((()=>b?.focus()),[b]),B=l.useCallback(((e,t,n)=>{const r=!P.current&&!n;(void 0!==w.value&&w.value===t||r)&&j(e)}),[w.value]),H="popper"===r?kd:_d,U=H===kd?{side:s,sideOffset:c,align:u,alignOffset:d,arrowPadding:f,collisionBoundary:p,collisionPadding:h,sticky:m,hideWhenDetached:g,avoidCollisions:v}:{};return(0,Je.jsx)(Td,{scope:n,content:b,viewport:S,onViewportChange:E,itemRefCallback:F,selectedItem:A,onItemLeave:z,itemTextRefCallback:B,focusSelectedItem:R,selectedItemText:O,position:r,isPositioned:_,searchRef:I,children:(0,Je.jsx)(cl,{as:jd,allowPinchZoom:!0,children:(0,Je.jsx)(ps,{asChild:!0,trapped:w.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:Bn(o,(e=>{w.trigger?.focus({preventScroll:!0}),e.preventDefault()})),children:(0,Je.jsx)(ss,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:(0,Je.jsx)(H,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:e=>e.preventDefault(),...y,...U,onPlaced:()=>k(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:Bn(y.onKeyDown,(e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=N().filter((e=>!e.disabled)).map((e=>e.ref.current));if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout((()=>M(t))),e.preventDefault()}}))})})})})})}));Nd.displayName="SelectContentImpl";var _d=l.forwardRef(((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=pd(Ed,n),a=Od(Ed,n),[s,c]=l.useState(null),[u,d]=l.useState(null),f=Dn(t,(e=>d(e))),p=sd(n),h=l.useRef(!1),m=l.useRef(!0),{viewport:g,selectedItem:v,selectedItemText:y,focusSelectedItem:w}=a,b=l.useCallback((()=>{if(i.trigger&&i.valueNode&&s&&u&&g&&v&&y){const e=i.trigger.getBoundingClientRect(),t=u.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=y.getBoundingClientRect();if("rtl"!==i.dir){const r=o.left-t.left,i=n.left-r,a=e.left-i,l=e.width+a,c=Math.max(l,t.width),u=window.innerWidth-Ad,d=rc(i,[Ad,Math.max(Ad,u-c)]);s.style.minWidth=l+"px",s.style.left=d+"px"}else{const r=t.right-o.right,i=window.innerWidth-n.right-r,a=window.innerWidth-e.right-i,l=e.width+a,c=Math.max(l,t.width),u=window.innerWidth-Ad,d=rc(i,[Ad,Math.max(Ad,u-c)]);s.style.minWidth=l+"px",s.style.right=d+"px"}const a=p(),l=window.innerHeight-2*Ad,c=g.scrollHeight,d=window.getComputedStyle(u),f=parseInt(d.borderTopWidth,10),m=parseInt(d.paddingTop,10),w=parseInt(d.borderBottomWidth,10),b=f+m+c+parseInt(d.paddingBottom,10)+w,x=Math.min(5*v.offsetHeight,b),S=window.getComputedStyle(g),E=parseInt(S.paddingTop,10),C=parseInt(S.paddingBottom,10),A=e.top+e.height/2-Ad,T=l-A,O=v.offsetHeight/2,j=f+m+(v.offsetTop+O),N=b-j;if(j<=A){const e=a.length>0&&v===a[a.length-1].ref.current;s.style.bottom="0px";const t=u.clientHeight-g.offsetTop-g.offsetHeight,n=j+Math.max(T,O+(e?C:0)+t+w);s.style.height=n+"px"}else{const e=a.length>0&&v===a[0].ref.current;s.style.top="0px";const t=Math.max(A,f+g.offsetTop+(e?E:0)+O)+N;s.style.height=t+"px",g.scrollTop=j-A+g.offsetTop}s.style.margin=`${Ad}px 0`,s.style.minHeight=x+"px",s.style.maxHeight=l+"px",r?.(),requestAnimationFrame((()=>h.current=!0))}}),[p,i.trigger,i.valueNode,s,u,g,v,y,i.dir,r]);Vn((()=>b()),[b]);const[x,S]=l.useState();Vn((()=>{u&&S(window.getComputedStyle(u).zIndex)}),[u]);const E=l.useCallback((e=>{e&&!0===m.current&&(b(),w?.(),m.current=!1)}),[b,w]);return(0,Je.jsx)(Pd,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:h,onScrollButtonChange:E,children:(0,Je.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:x},children:(0,Je.jsx)(Wn.div,{...o,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})}));_d.displayName="SelectItemAlignedPosition";var kd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Ad,...i}=e,a=dd(n);return(0,Je.jsx)(ed,{...a,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})}));kd.displayName="SelectPopperPosition";var[Pd,Md]=cd(Ed,{}),Rd="SelectViewport",Dd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,i=Od(Rd,n),a=Md(Rd,n),s=Dn(t,i.onViewportChange),c=l.useRef(0);return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),(0,Je.jsx)(ad.Slot,{scope:n,children:(0,Je.jsx)(Wn.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:Bn(o.onScroll,(e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if(r?.current&&n){const e=Math.abs(c.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*Ad,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),s=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}c.current=t.scrollTop}))})})]})}));Dd.displayName=Rd;var Ld="SelectGroup",[Id,$d]=cd(Ld);l.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=Xn();return(0,Je.jsx)(Id,{scope:n,id:o,children:(0,Je.jsx)(Wn.div,{role:"group","aria-labelledby":o,...r,ref:t})})})).displayName=Ld;var Fd="SelectLabel";l.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=$d(Fd,n);return(0,Je.jsx)(Wn.div,{id:o.id,...r,ref:t})})).displayName=Fd;var zd="SelectItem",[Bd,Hd]=cd(zd),Ud=l.forwardRef(((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=pd(zd,n),c=Od(zd,n),u=s.value===r,[d,f]=l.useState(i??""),[p,h]=l.useState(!1),m=Dn(t,(e=>c.itemRefCallback?.(e,r,o))),g=Xn(),v=l.useRef("touch"),y=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};if(""===r)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,Je.jsx)(Bd,{scope:n,value:r,disabled:o,textId:g,isSelected:u,onItemTextChange:l.useCallback((e=>{f((t=>t||(e?.textContent??"").trim()))}),[]),children:(0,Je.jsx)(ad.ItemSlot,{scope:n,value:r,disabled:o,textValue:d,children:(0,Je.jsx)(Wn.div,{role:"option","aria-labelledby":g,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...a,ref:m,onFocus:Bn(a.onFocus,(()=>h(!0))),onBlur:Bn(a.onBlur,(()=>h(!1))),onClick:Bn(a.onClick,(()=>{"mouse"!==v.current&&y()})),onPointerUp:Bn(a.onPointerUp,(()=>{"mouse"===v.current&&y()})),onPointerDown:Bn(a.onPointerDown,(e=>{v.current=e.pointerType})),onPointerMove:Bn(a.onPointerMove,(e=>{v.current=e.pointerType,o?c.onItemLeave?.():"mouse"===v.current&&e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Bn(a.onPointerLeave,(e=>{e.currentTarget===document.activeElement&&c.onItemLeave?.()})),onKeyDown:Bn(a.onKeyDown,(e=>{""!==c.searchRef?.current&&" "===e.key||(od.includes(e.key)&&y()," "===e.key&&e.preventDefault())}))})})})}));Ud.displayName=zd;var Wd="SelectItemText",Vd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=pd(Wd,n),s=Od(Wd,n),c=Hd(Wd,n),u=md(Wd,n),[d,f]=l.useState(null),h=Dn(t,(e=>f(e)),c.onItemTextChange,(e=>s.itemTextRefCallback?.(e,c.value,c.disabled))),m=d?.textContent,g=l.useMemo((()=>(0,Je.jsx)("option",{value:c.value,disabled:c.disabled,children:m},c.value)),[c.disabled,c.value,m]),{onNativeOptionAdd:v,onNativeOptionRemove:y}=u;return Vn((()=>(v(g),()=>y(g))),[v,y,g]),(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(Wn.span,{id:c.textId,...i,ref:h}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?p.createPortal(i.children,a.valueNode):null]})}));Vd.displayName=Wd;var qd="SelectItemIndicator";l.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e;return Hd(qd,n).isSelected?(0,Je.jsx)(Wn.span,{"aria-hidden":!0,...r,ref:t}):null})).displayName=qd;var Yd="SelectScrollUpButton",Gd=l.forwardRef(((e,t)=>{const n=Od(Yd,e.__scopeSelect),r=Md(Yd,e.__scopeSelect),[o,i]=l.useState(!1),a=Dn(t,r.onScrollButtonChange);return Vn((()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}}),[n.viewport,n.isPositioned]),o?(0,Je.jsx)(Jd,{...e,ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null}));Gd.displayName=Yd;var Kd="SelectScrollDownButton",Xd=l.forwardRef(((e,t)=>{const n=Od(Kd,e.__scopeSelect),r=Md(Kd,e.__scopeSelect),[o,i]=l.useState(!1),a=Dn(t,r.onScrollButtonChange);return Vn((()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}}),[n.viewport,n.isPositioned]),o?(0,Je.jsx)(Jd,{...e,ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null}));Xd.displayName=Kd;var Jd=l.forwardRef(((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=Od("SelectScrollButton",n),a=l.useRef(null),s=sd(n),c=l.useCallback((()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)}),[]);return l.useEffect((()=>()=>c()),[c]),Vn((()=>{s().find((e=>e.ref.current===document.activeElement))?.ref.current?.scrollIntoView({block:"nearest"})}),[s]),(0,Je.jsx)(Wn.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:Bn(o.onPointerDown,(()=>{null===a.current&&(a.current=window.setInterval(r,50))})),onPointerMove:Bn(o.onPointerMove,(()=>{i.onItemLeave?.(),null===a.current&&(a.current=window.setInterval(r,50))})),onPointerLeave:Bn(o.onPointerLeave,(()=>{c()}))})}));l.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e;return(0,Je.jsx)(Wn.div,{"aria-hidden":!0,...r,ref:t})})).displayName="SelectSeparator";var Zd="SelectArrow";function Qd(e){return""===e||void 0===e}l.forwardRef(((e,t)=>{const{__scopeSelect:n,...r}=e,o=dd(n),i=pd(Zd,n),a=Od(Zd,n);return i.open&&"popper"===a.position?(0,Je.jsx)(td,{...o,...r,ref:t}):null})).displayName=Zd;var ef=l.forwardRef(((e,t)=>{const{value:n,...r}=e,o=l.useRef(null),i=Dn(t,o),a=function(e){const t=l.useRef({value:e,previous:e});return l.useMemo((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}(n);return l.useEffect((()=>{const e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}}),[a,n]),(0,Je.jsx)(nd,{asChild:!0,children:(0,Je.jsx)("select",{...r,ref:i,defaultValue:n})})}));function tf(e){const t=Hn(e),n=l.useRef(""),r=l.useRef(0),o=l.useCallback((e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((()=>e("")),1e3))}(o)}),[t]),i=l.useCallback((()=>{n.current="",window.clearTimeout(r.current)}),[]);return l.useEffect((()=>()=>window.clearTimeout(r.current)),[]),[n,o,i]}function nf(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(e,Math.max(o,0));1===r.length&&(i=i.filter((e=>e!==n)));const a=i.find((e=>e.textValue.toLowerCase().startsWith(r.toLowerCase())));return a!==n?a:void 0}ef.displayName="BubbleSelect";var rf=gd,of=yd,af=bd,sf=xd,lf=Sd,cf=Cd,uf=Dd,df=Ud,ff=Vd,pf=Gd,hf=Xd;const mf=l.forwardRef((({options:e,value:t,onValueChange:n,label:r,className:o,id:i,disabled:a,...s},c)=>{const{className:u,...d}=ct({id:i},"Dropdown"),[f,p]=(0,l.useState)(!1);return(0,Je.jsx)("div",{className:On(u,o),id:i,...d,...s,children:(0,Je.jsxs)(rf,{value:t,onValueChange:e=>{n(e)},onOpenChange:p,children:[(0,Je.jsxs)(of,{className:`${u}__trigger`,"aria-label":r,ref:c,disabled:a,children:[(0,Je.jsx)(af,{placeholder:t}),(0,Je.jsx)(sf,{children:(0,Je.jsx)(Ei,{icon:"ChevronDown",className:On({[`${u}__trigger-icon-expanded`]:f}),height:"1rem",width:"1rem"})})]}),(0,Je.jsx)(lf,{children:(0,Je.jsxs)(cf,{className:`${u}__content`,position:"popper",children:[(0,Je.jsx)(pf,{className:`${u}__scroll-button__up`,children:(0,Je.jsx)(Ei,{icon:"ChevronDown"})}),(0,Je.jsx)(uf,{className:`${u}__viewport`,children:e.map((e=>(0,Je.jsx)(gf,{value:e.value,disabled:e.value===t,className:u,children:e.label},e.value)))}),(0,Je.jsx)(hf,{className:`${u}__scroll-button`,children:(0,Je.jsx)(Ei,{icon:"ChevronDown"})})]})})]})})}));mf.displayName="Dropdown";const gf=l.forwardRef((({children:e,className:t,...n},r)=>(0,Je.jsx)(df,{className:`${t}__item`,...n,ref:r,children:(0,Je.jsx)(ff,{children:e})})));gf.displayName="DropdownSelectItem";var vf=Object.defineProperty,yf=(e,t,n)=>((e,t,n)=>t in e?vf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);class wf extends l.Component{constructor(){super(...arguments),yf(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){this.props?.logger(e,t.componentStack??"ErrorBoundary caught an error")}render(){return this.state.hasError?this.props.fallback||(0,Je.jsx)("h2",{children:"Sorry... An error occurred and we are looking into it"}):this.props.children}}yf(wf,"defaultProps",{logger:console.log});const bf=l.forwardRef((({className:e,defaultValue:t,disabled:n,hideLabel:r,id:o,inline:i,invalid:a,invalidText:s,labelText:l,onChange:c,onClick:u,placeholder:d,readOnly:f,size:p="md",type:h="text",value:m,warn:g,warnText:v,isSkeletonLoading:y,...w},b)=>{const x=dt({disabled:n,id:o,invalid:a,invalidText:s,readOnly:f,type:h,warn:g,warnText:v}),S=On(`${lt}-${h}-input`,`${lt}-input`,`${lt}-input--${p}`,{[`${lt}-input--inline`]:i,[`${lt}-input--readonly`]:f,[`${lt}-input--disabled`]:x.disabled,[`${lt}-input--invalid`]:x.invalid,[`${lt}-input--warn`]:x.warn,[`${e}__wrapper`]:e,[`${lt}-input--hidden`]:w.hidden});return(0,Je.jsxs)("div",{className:S,children:[(0,Je.jsx)("label",{"data-testid":`label-${o}`,htmlFor:o,className:On(`${lt}-input__label`,{[`${lt}-input__label--hidden`]:r,[`${lt}-skeleton`]:y}),children:l}),(0,Je.jsx)("input",{className:On(`${lt}-input__input`,e,{[`${lt}-skeleton`]:y}),"data-testid":o,disabled:x.disabled,id:o,onChange:c,onClick:u,placeholder:y?"":d,readOnly:f,ref:b,type:x.type,..."checkbox"!==x.type&&"radio"!==x.type?{value:m,defaultValue:t}:{},...w}),x.validation?x.validation:(0,Je.jsx)("p",{className:On(`${lt}-input__validation`),children:" "})]})}));bf.displayName="Input";var xf=(e=>(e.blockquote="blockquote",e.heading1="heading1",e.heading2="heading2",e.heading3="heading3",e.heading4="heading4",e.heading5="heading5",e.title1="title1",e.title2="title2",e.title3="title3",e.title4="title4",e.body1="body1",e.body2="body2",e.body3="body3",e.string1="string1",e.string2="string2",e.string3="string3",e.button="button",e.email="email",e.label="label",e.link="link",e.badge="badge",e.snwFlyoutLink="snwFlyoutLink",e.snwHeaderLink="snwHeaderLink",e.snwHeadingHero1="snwHeadingHero1",e.snwHeadingHero2="snwHeadingHero2",e))(xf||{}),Sf=(e=>(e[e.email=xf.email]="email",e[e.snwHeaderLink=xf.snwHeaderLink]="snwHeaderLink",e[e.snwFlyoutLink=xf.snwFlyoutLink]="snwFlyoutLink",e[e.link=xf.link]="link",e))(Sf||{});const Ef=(e=xf.body1)=>`${lt}-text--${e.charAt(0).toLowerCase()+e.slice(1)}`,Cf=({children:e,className:t,element:n,variant:r=xf.body2,align:o,isSkeletonLoading:i,...a})=>{const s=n||((e=xf.body1)=>{const t=e.toLowerCase();return e===xf.blockquote?"blockquote":e.includes("body")?"p":e.includes("string")||e.includes("title")?"span":e===xf.label?"label":t.includes("heading")?`h${isNaN(parseInt(e.slice(-1)))?3:parseInt(e.slice(-1))}`:"span"})(r),{className:l,...c}=ct(a,"Text");return(0,Je.jsx)(s,{...c,className:On(l,t,Ef(r),{[`${l}--${o}`]:!!o}),...a,children:(0,Je.jsx)("span",{className:On({[`${lt}-skeleton`]:i}),children:e})})},Af=({children:e,className:t,element:n="a",variant:r=Sf.link,href:o,...i})=>{const{className:a,...s}=ct(i,"Link"),l=On(a,(e=>`${lt}-link--${e}`)(r),t),c=(e=>!!e?.match(/(http[s]?:\/\/)(?!.*phillips\.com)([a-zA-Z0-9\-.]+)(:[0-9]{1,4})?([a-zA-Z0-9/\-._~:?#[\]@!$&'()*+,;=]*)/g))(o);return(0,Je.jsx)(n,{...s,href:o,className:l,...c&&"a"===n?{rel:"noopener noreferrer",target:"_blank"}:{},...i,children:(0,Je.jsx)(Cf,{variant:r,children:e})})};var Tf,Of,jf,Nf,_f={exports:{}},kf={},Pf={exports:{}};Pf.exports=function(){if(Nf)return jf;Nf=1;var e=Of?Tf:(Of=1,Tf="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,jf=function(){function r(t,n,r,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var Mf=Pf.exports;var Rf={exports:{}},Df={},Lf={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(s)};var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch{return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Lf,Lf.exports);var If=Lf.exports;Object.defineProperty(Df,"__esModule",{value:!0}),Df.resetState=function(){Ff=[]},Df.log=function(){},Df.handleBlur=Hf,Df.handleFocus=Uf,Df.markForFocusLater=function(){Ff.push(document.activeElement)},Df.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==Ff.length&&(t=Ff.pop(),t.focus({preventScroll:e})))}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Df.popWithoutFocus=function(){Ff.length>0&&Ff.pop()},Df.setupScopedFocus=function(e){zf=e,window.addEventListener?(window.addEventListener("blur",Hf,!1),document.addEventListener("focus",Uf,!0)):(window.attachEvent("onBlur",Hf),document.attachEvent("onFocus",Uf))},Df.teardownScopedFocus=function(){zf=null,window.addEventListener?(window.removeEventListener("blur",Hf),document.removeEventListener("focus",Uf)):(window.detachEvent("onBlur",Hf),document.detachEvent("onFocus",Uf))};var $f=function(e){return e&&e.__esModule?e:{default:e}}(If);var Ff=[],zf=null,Bf=!1;function Hf(){Bf=!0}function Uf(){if(Bf){if(Bf=!1,!zf)return;setTimeout((function(){zf.contains(document.activeElement)||((0,$f.default)(zf)[0]||zf).focus()}),0)}}var Wf={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=(0,n.default)(e);if(!o.length)return void t.preventDefault();var i=void 0,a=t.shiftKey,s=o[0],l=o[o.length-1],c=r();if(e===c){if(!a)return;i=l}if(l===c&&!a&&(i=s),s===c&&a&&(i=l),i)return t.preventDefault(),void i.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var d=o.indexOf(c);if(d>-1&&(d+=a?-1:1),typeof(i=o[d])>"u")return t.preventDefault(),void(i=a?l:s).focus();t.preventDefault(),i.focus()}};var n=function(e){return e&&e.__esModule?e:{default:e}}(If);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?r(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Wf,Wf.exports);var Vf=Wf.exports,qf={},Yf=function(){},Gf=Yf,Kf={},Xf={exports:{}};!function(e){!function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()}(Xf);var Jf=Xf.exports;Object.defineProperty(Kf,"__esModule",{value:!0}),Kf.canUseDOM=Kf.SafeNodeList=Kf.SafeHTMLCollection=void 0;var Zf=function(e){return e&&e.__esModule?e:{default:e}}(Jf).default,Qf=Zf.canUseDOM?window.HTMLElement:{};Kf.SafeHTMLCollection=Zf.canUseDOM?window.HTMLCollection:{},Kf.SafeNodeList=Zf.canUseDOM?window.NodeList:{},Kf.canUseDOM=Zf.canUseDOM,Kf.default=Qf,Object.defineProperty(qf,"__esModule",{value:!0}),qf.resetState=function(){np&&(np.removeAttribute?np.removeAttribute("aria-hidden"):null!=np.length?np.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(np).forEach((function(e){return e.removeAttribute("aria-hidden")}))),np=null},qf.log=function(){0},qf.assertNodeList=rp,qf.setElement=function(e){var t=e;if("string"==typeof t&&tp.canUseDOM){var n=document.querySelectorAll(t);rp(n,t),t=n}return np=t||np},qf.validateElement=op,qf.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=op(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},qf.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=op(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},qf.documentNotReadyOrSSRTesting=function(){np=null};var ep=function(e){return e&&e.__esModule?e:{default:e}}(Gf),tp=Kf;var np=null;function rp(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function op(e){var t=e||np;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,ep.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}var ip={};Object.defineProperty(ip,"__esModule",{value:!0}),ip.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in ap)lp(e,ap[t]);var n=document.body;for(var r in sp)lp(n,sp[r]);ap={},sp={}},ip.log=function(){0};var ap={},sp={};function lp(e,t){e.classList.remove(t)}ip.add=function(e,t){return function(e,t,n){n.forEach((function(n){(function(e,t){e[t]||(e[t]=0),e[t]+=1})(t,n),e.add(n)}))}(e.classList,"html"==e.nodeName.toLowerCase()?ap:sp,t.split(" "))},ip.remove=function(e,t){return function(e,t,n){n.forEach((function(n){(function(e,t){e[t]&&(e[t]-=1)})(t,n),0===t[n]&&e.remove(n)}))}(e.classList,"html"==e.nodeName.toLowerCase()?ap:sp,t.split(" "))};var cp={};Object.defineProperty(cp,"__esModule",{value:!0}),cp.log=function(){console.log("portalOpenInstances ----------"),console.log(dp.openInstances.length),dp.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},cp.resetState=function(){dp=new up};var up=function e(){var t=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},dp=new up;cp.default=dp;var fp={};Object.defineProperty(fp,"__esModule",{value:!0}),fp.resetState=function(){for(var e=[hp,mp],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}hp=mp=null,gp=[]},fp.log=function(){console.log("bodyTrap ----------"),console.log(gp.length);for(var e=[hp,mp],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var pp=function(e){return e&&e.__esModule?e:{default:e}}(cp);var hp=void 0,mp=void 0,gp=[];function vp(){0!==gp.length&&gp[gp.length-1].focusContent()}pp.default.subscribe((function(e,t){!hp&&!mp&&((hp=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),hp.style.position="absolute",hp.style.opacity="0",hp.setAttribute("tabindex","0"),hp.addEventListener("focus",vp),(mp=hp.cloneNode()).addEventListener("focus",vp)),(gp=t).length>0?(document.body.firstChild!==hp&&document.body.insertBefore(hp,document.body.firstChild),document.body.lastChild!==mp&&document.body.appendChild(mp)):(hp.parentElement&&hp.parentElement.removeChild(hp),mp.parentElement&&mp.parentElement.removeChild(mp))})),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l,a=g(Mf),s=m(Df),c=g(Vf),u=m(qf),d=m(ip),f=Kf,p=g(f),h=g(cp);function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var v={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,l=a&&a().ownerDocument||document;i&&d.remove(l.body,i),o&&d.remove(l.getElementsByTagName("html")[0],o),r&&y>0&&(0===(y-=1)&&u.show(t)),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(n.props.preventScroll),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){!n.props.shouldCloseOnOverlayClick&&e.target==n.overlay&&e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o="object"===(typeof t>"u"?"undefined":r(t))?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},i=o.base;return n.state.afterOpen&&(i=i+" "+o.afterOpen),n.state.beforeClose&&(i=i+" "+o.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&d.add(a.body,o),r&&d.add(a.getElementsByTagName("html")[0],r),n&&(y+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=r?{}:i.content,l=o?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(i.Component);w.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},w.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(p.default),a.default.instanceOf(f.SafeHTMLCollection),a.default.instanceOf(f.SafeNodeList),a.default.arrayOf(a.default.instanceOf(p.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=w,e.exports=t.default}(Rf,Rf.exports);var yp=Rf.exports;function wp(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function bp(e){this.setState(function(t){return this.constructor.getDerivedStateFromProps(e,t)??null}.bind(this))}function xp(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function Sp(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+(null!==o?"\n  "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=wp,t.componentWillReceiveProps=bp),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=xp;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}wp.__suppressDeprecationWarning=!0,bp.__suppressDeprecationWarning=!0,xp.__suppressDeprecationWarning=!0;const Ep=An(i);Object.defineProperty(kf,"__esModule",{value:!0}),kf.bodyOpenClassName=kf.portalClassName=void 0;var Cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ap=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Tp=l,Op=Dp(Tp),jp=Dp(p),Np=Dp(Mf),_p=Dp(yp),kp=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(qf),Pp=Kf,Mp=Dp(Pp),Rp=Ep;function Dp(e){return e&&e.__esModule?e:{default:e}}function Lp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Ip=kf.portalClassName="ReactModalPortal",$p=kf.bodyOpenClassName="ReactModal__Body--open",Fp=Pp.canUseDOM&&void 0!==jp.default.createPortal,zp=function(e){return document.createElement(e)},Bp=function(){return Fp?jp.default.createPortal:jp.default.unstable_renderSubtreeIntoContainer};function Hp(e){return e()}var Up=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=Lp(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.removePortal=function(){!Fp&&jp.default.unmountComponentAtNode(r.node);var e=Hp(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var n=Bp()(r,Op.default.createElement(_p.default,Cp({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(n)},Lp(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ap(t,[{key:"componentDidMount",value:function(){Pp.canUseDOM&&(Fp||(this.node=zp("div")),this.node.className=this.props.portalClassName,Hp(this.props.parentSelector).appendChild(this.node),!Fp&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:Hp(e.parentSelector),nextParent:Hp(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(Pp.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!Fp&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(Pp.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return Pp.canUseDOM&&Fp?(!this.node&&Fp&&(this.node=zp("div")),Bp()(Op.default.createElement(_p.default,Cp({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){kp.setElement(e)}}]),t}(Tp.Component);Up.propTypes={isOpen:Np.default.bool.isRequired,style:Np.default.shape({content:Np.default.object,overlay:Np.default.object}),portalClassName:Np.default.string,bodyOpenClassName:Np.default.string,htmlOpenClassName:Np.default.string,className:Np.default.oneOfType([Np.default.string,Np.default.shape({base:Np.default.string.isRequired,afterOpen:Np.default.string.isRequired,beforeClose:Np.default.string.isRequired})]),overlayClassName:Np.default.oneOfType([Np.default.string,Np.default.shape({base:Np.default.string.isRequired,afterOpen:Np.default.string.isRequired,beforeClose:Np.default.string.isRequired})]),appElement:Np.default.oneOfType([Np.default.instanceOf(Mp.default),Np.default.instanceOf(Pp.SafeHTMLCollection),Np.default.instanceOf(Pp.SafeNodeList),Np.default.arrayOf(Np.default.instanceOf(Mp.default))]),onAfterOpen:Np.default.func,onRequestClose:Np.default.func,closeTimeoutMS:Np.default.number,ariaHideApp:Np.default.bool,shouldFocusAfterRender:Np.default.bool,shouldCloseOnOverlayClick:Np.default.bool,shouldReturnFocusAfterClose:Np.default.bool,preventScroll:Np.default.bool,parentSelector:Np.default.func,aria:Np.default.object,data:Np.default.object,role:Np.default.string,contentLabel:Np.default.string,shouldCloseOnEsc:Np.default.bool,overlayRef:Np.default.func,contentRef:Np.default.func,id:Np.default.string,overlayElement:Np.default.func,contentElement:Np.default.func},Up.defaultProps={isOpen:!1,portalClassName:Ip,bodyOpenClassName:$p,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return Op.default.createElement("div",e,t)},contentElement:function(e,t){return Op.default.createElement("div",e,t)}},Up.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,Rp.polyfill)(Up),kf.default=Up,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(kf);t.default=n.default,e.exports=t.default}(_f,_f.exports);var Wp=(e=>(e.Loading="Loading",e.LoggedIn="LoggedIn",e.LoggedOut="LoggedOut",e))(Wp||{});const Vp=(0,l.forwardRef)((({accountDetailsLinkComponent:e="a",className:t,onLogin:n=ut,authState:r=Wp.LoggedOut,loginLabel:o="Login",accountLabel:i="Account",href:a="/account",disabled:s=!1,...l},c)=>{const{className:u,...d}=ct(l,"UserManagement"),f=r===Wp.LoggedIn,p=r!==Wp.Loading;return(0,Je.jsx)("div",{...d,className:On(u,t),...l,ref:c,children:p&&(0,Je.jsx)(Je.Fragment,{children:f?(0,Je.jsxs)(e,{className:`${u}__login`,href:a,disabled:s,children:[(0,Je.jsx)(Ei,{icon:"Account",className:`${u}__account-icon`,height:"100%",width:"100%"}),(0,Je.jsx)(Cf,{variant:xf.body3,children:i})]}):(0,Je.jsxs)("button",{className:`${u}__login`,onClick:n,disabled:s,children:[(0,Je.jsx)(Ei,{icon:"Account",className:`${u}__account-icon`,height:"100%",width:"100%"}),(0,Je.jsx)(Cf,{variant:xf.body3,children:o})]})})})}));Vp.displayName="UserManagement";const qp=(0,l.forwardRef)((({badge:e,className:t="",href:n,isViewAllLink:r=!1,label:o,navGroup:i,navType:a,onClick:s,element:l=Af,...c},u)=>(0,Je.jsx)("li",{...c,onClick:s,"data-testid":`nav-item-${o}`,className:On(`${lt}-nav__item`,i,t,{"view-all":r}),ref:u,children:(0,Je.jsxs)(l,{href:n,variant:a||Sf.snwHeaderLink,children:[(0,Je.jsx)("span",{className:`${lt}-nav__item--label`,children:o}),e?(0,Je.jsx)("span",{className:`${lt}-nav__item--badge `,children:` • ${e}`}):null]})})));qp.displayName="NavigationItem";const Yp=l.forwardRef((({id:e,children:t,className:n,isOffScreen:r,leftSectionHeading:o,rightSectionHeading:i,onClick:a},s)=>{const c=l.Children.toArray(t).map((e=>{if(l.isValidElement(e)&&"nav-link-start"===e.props.navGroup)return l.cloneElement(e,{onClick:t=>{a?.(t),e.props?.onClick?.(t)}})})).filter(Boolean),u=l.Children.toArray(t).map((e=>{if(l.isValidElement(e)&&"nav-link-end"===e.props.navGroup)return l.cloneElement(e,{onClick:t=>{a?.(t),e.props?.onClick?.(t)}})})).filter(Boolean);return(0,Je.jsxs)("ul",{"aria-hidden":r,id:e,"data-testid":e,role:"list",className:On(n,`${lt}-nav__list`,{[`${lt}-nav__list--offscreen`]:r}),ref:s,children:[c.length>0?(0,Je.jsxs)("div",{className:On(`${lt}-nav__list__section`,`${lt}-nav__list__section--start`),children:[o?(0,Je.jsx)(Cf,{variant:xf.heading4,className:`${lt}-nav__list__section--start__title`,children:o}):null,c]}):null,u.length>0?(0,Je.jsxs)("div",{className:On(`${lt}-nav__list__section`,`${lt}-nav__list__section--end`),children:[i?(0,Je.jsx)(Cf,{variant:xf.heading4,className:`${lt}-nav__list__section--end__title`,children:i}):null,u]}):null,c.length||u.length?null:t]})}));Yp.displayName="NavigationList";const Gp=({id:e,value:t,onValueChange:n,label:r,options:o,...i})=>(0,Je.jsx)(Kr,{...i,children:(0,Je.jsx)(Ti,{hasTransition:!0,id:e??"language-selector-accordion",label:(0,Je.jsx)(Cf,{variant:xf.snwHeaderLink,children:r}),variant:Yr.lg,children:(0,Je.jsx)(Yp,{id:`${e}-navlist`,children:o.map((e=>(0,Je.jsx)(qp,{label:e.label,onClick:()=>n(e.value),navType:Sf.snwFlyoutLink},e.value)))})})}),Kp=(0,l.forwardRef)((({className:e,currentLanguage:t=bn.en,languageOptions:n=[{label:"English",value:bn.en},{label:"中文",value:bn.zh}],onLanguageChange:r=ut,id:o,isHidden:i,disabled:a=!1,...s},l)=>{const{className:c,...u}=ct({id:o},"LanguageSelector"),d=(({languageOptions:e,currentLanguage:t})=>e?.find((e=>e.value===t))?.label??"English")({languageOptions:n,currentLanguage:t}),f={...u,...s,id:o,className:On(c,e,{[`${c}--hidden`]:i}),options:n,value:t,onValueChange:e=>r(e),label:d};return(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(wn.Media,{greaterThanOrEqual:"md",children:(0,Je.jsx)(mf,{...f,disabled:a,ref:l})}),(0,Je.jsx)(wn.Media,{lessThan:"md",children:(0,Je.jsx)(Gp,{...f,ref:l})})]})}));Kp.displayName="LanguageSelector";const Xp={isMenuOpen:!1,isSearchExpanded:!1,setIsSearchExpanded:ut,closeMenu:ut},Jp=(0,l.createContext)(Xp),Zp=(0,l.forwardRef)((({logo:e=(0,Je.jsx)(Ei,{icon:"PhillipsLogo"}),logoHref:t="/",className:n,children:r,toggleOpenText:o="Open Menu",toggleCloseText:i="Close Menu",logoText:a="Home Page",disabled:s,...c},u)=>{const d=pt(r,Vp),f=l.isValidElement(d?.[0])?l.cloneElement(d[0],{disabled:s}):"",p=pt(r,Kp),h=l.isValidElement(p?.[0])?l.cloneElement(p[0],{disabled:s}):"",[m,g]=(0,l.useState)(!1),v=pt(r,Qp),y=ht(r,[Qp,Vp,Kp]),{closeMenu:w,handleMenuToggle:b,isMenuOpen:x,toggleText:S}=(({toggleCloseText:e,toggleOpenText:t})=>{const[n,r]=(0,l.useState)(!1);return{isMenuOpen:n,handleMenuToggle:()=>r((e=>!e)),closeMenu:()=>r(!1),toggleText:n?e:t}})({toggleOpenText:o,toggleCloseText:i});return(0,Je.jsxs)("header",{...c,className:On(`${lt}-header`,n),ref:u,children:[(0,Je.jsxs)("div",{className:`${lt}-header__top-row`,children:[(0,Je.jsx)(wn.Media,{greaterThanOrEqual:"md",children:h}),(0,Je.jsxs)("button",{"aria-label":S,"data-testid":"mobile-menu-toggle",type:"button",onClick:b,className:On(`${lt}-header__toggle-btn`,{[`${lt}-header__toggle-btn--open`]:x}),children:[(0,Je.jsx)("span",{})," "]}),(0,Je.jsx)("h1",{"data-testid":"header-logo",className:`${lt}-header__logo`,children:(0,Je.jsx)("a",{href:t,"aria-label":a,children:"object"==typeof e?e:(0,Je.jsx)("img",{alt:"Phillips","data-testid":"header-logo-img",src:e})})}),f]}),(0,Je.jsx)("div",{className:On(`${lt}-header__nav`,{[`${lt}-header__nav--closed`]:!x}),children:(0,Je.jsxs)(Jp.Provider,{value:{isMenuOpen:x,isSearchExpanded:m,setIsSearchExpanded:g,closeMenu:w},children:[l.Children.map(v,(e=>l.isValidElement(e)?l.cloneElement(e,{children:[...l.Children.toArray(e.props.children),h]}):e)),y]})}),(0,Je.jsx)("div",{className:On(`${lt}-header__overlay`,{[`${lt}-header__overlay--active`]:m})})]})}));Zp.displayName="Header";const Qp=(0,l.forwardRef)((({children:e,className:t,id:n,visible:r=!0,...o},i)=>{const{isSearchExpanded:a}=l.useContext(Jp),s=pt(e,Yp)?.[0],c=ht(e,[Yp,Kp]),u=pt(e,Kp)?.[0];return(0,Je.jsx)("nav",{role:"navigation","data-testid":n,id:n,style:{"--visible":r?"visible":"hidden"},className:On(`${lt}-nav`,t),...o,ref:i,children:(0,Je.jsxs)("div",{className:`${lt}-nav__list-container`,children:[c,l.isValidElement(s)?l.cloneElement(s,{isOffScreen:a}):void 0,(0,Je.jsx)(wn.Media,{lessThan:"md",children:l.isValidElement(u)&&u?l.cloneElement(u,{isHidden:a}):void 0})]})})}));Qp.displayName="Navigation";const eh=({id:e,label:t,children:n})=>{const{isMenuOpen:r}=l.useContext(Jp);return(0,Je.jsx)(Kr,{children:(0,Je.jsx)(Ti,{hasTransition:!0,id:`accordion-item-${e}`,label:(0,Je.jsx)(Cf,{variant:xf.snwHeaderLink,children:t}),variant:Yr.lg,children:n},`accordion-key-${t}`)},`accordion-key-${t}-${r}`)};(0,l.forwardRef)((({id:e,label:t,children:n,className:r,onClick:o,...i},a)=>{const{className:s,...c}=ct({id:e},"NavigationItemTrigger"),[u,d]=(0,l.useState)(!1),f=pt(n,Yp),{closeMenu:p}=l.useContext(Jp),h=l.useCallback((()=>{d(!0),f&&f[0]?.props?.id&&((e,t)=>{const n=document.getElementById(e);n&&t?n.focus():n&&n.blur()})(f[0].props.id,!0);const e=a&&"current"in a?a.current:null;e&&e.focus()}),[f,a]);return(0,Je.jsx)(Je.Fragment,{children:(0,Je.jsxs)(cl,{enabled:u,allowPinchZoom:!0,removeScrollBar:!1,children:[(0,Je.jsx)(wn.Media,{lessThan:"md",children:(0,Je.jsx)(eh,{id:e,label:t,...c,children:f?l.cloneElement(f[0],{className:`${s}__submenu--mobile`,onClick:e=>{f[0].props?.onClick?.(e),d?.(!1),p?.()}}):null})}),(0,Je.jsx)(wn.Media,{greaterThanOrEqual:"md",children:(0,Je.jsxs)("li",{...c,ref:a,"aria-expanded":u,className:On(r,s,`${lt}-nav__item`,{[`${s}--hovered`]:u}),onClick:o,onMouseOver:h,onMouseOut:()=>d(!1),...i,children:[(0,Je.jsx)("button",{className:`${lt}-nav__item-trigger`,type:"button",children:(0,Je.jsx)(Cf,{variant:xf.snwHeaderLink,children:t})}),f?l.cloneElement(f[0],{className:`${s}__submenu`,onClick:e=>{f[0].props?.onClick?.(e),d?.(!1),p?.()}}):null]})})]})})})).displayName="NavigationItemTrigger";var th=(e=>(e.default="default",e.tertiary="tertiary",e))(th||{});const nh=l.forwardRef((({children:e,className:t,defaultValue:n,disabled:r,hideLabel:o,id:i,showIcon:a=!0,variant:s=th.default,inline:l,invalid:c,invalidText:u,labelText:d,onChange:f,onClick:p,readOnly:h,size:m="md",value:g,warn:v,warnText:y,...w},b)=>{const x="select",S=dt({disabled:r,id:i,invalid:c,invalidText:u,readOnly:h,type:x,warn:v,warnText:y}),E=On(`${lt}-${x}-input`,`${lt}-input`,`${lt}-input--${m}`,{[`${lt}-input--inline`]:l,[`${lt}-input--readonly`]:h,[`${lt}-input--disabled`]:S.disabled,[`${lt}-input--invalid`]:S.invalid,[`${lt}-input--warn`]:S.warn,[`${t}__wrapper`]:t}),C=On(t,`${lt}-input__input`,{[`${lt}-input__select--tertiary`]:s===th.tertiary}),A=On(`${lt}-select-container`,{[`${lt}-select-container--show__icon`]:a});return(0,Je.jsxs)("div",{className:E,children:[(0,Je.jsx)("label",{"data-testid":`${i}-label`,htmlFor:i,className:On(`${lt}-input__label`,{[`${lt}-input__label--hidden`]:o}),children:d}),(0,Je.jsxs)("div",{className:A,children:[(0,Je.jsx)("select",{className:C,"data-testid":i,defaultValue:n,disabled:S.disabled,id:i,onChange:f,ref:b,value:g,...w,children:e}),a?(0,Je.jsx)(Ei,{icon:"ChevronDown"}):null]}),S.validation]})}));nh.displayName="Select";var rh=function(e,t){return Number(e.toFixed(t))},oh=function(e,t,n){n&&"function"==typeof n&&n(e,t)},ih={easeOut:function(e){return-Math.cos(e*Math.PI)/2+.5},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},ah=function(e){"number"==typeof e&&cancelAnimationFrame(e)},sh=function(e){e.mounted&&(ah(e.animation),e.animate=!1,e.animation=null,e.velocity=null)};function lh(e,t,n,r){if(e.mounted){var o=(new Date).getTime();sh(e),e.animation=function(){if(!e.mounted)return ah(e.animation);var i=(new Date).getTime()-o,a=i/n,s=(0,ih[t])(a);i>=n?(r(1),e.animation=null):e.animation&&(r(s),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function ch(e,t,n,r){var o=function(e){var t=e.scale,n=e.positionX,r=e.positionY;return!(Number.isNaN(t)||Number.isNaN(n)||Number.isNaN(r))}(t);if(e.mounted&&o){var i=e.setTransformState,a=e.transformState,s=a.scale,l=a.positionX,c=a.positionY,u=t.scale-s,d=t.positionX-l,f=t.positionY-c;0===n?i(t.scale,t.positionX,t.positionY):lh(e,r,n,(function(e){i(s+u*e,l+d*e,c+f*e)}))}}var uh=function(e,t){var n=e.wrapperComponent,r=e.contentComponent,o=e.setup.centerZoomedOut;if(!n||!r)throw new Error("Components are not mounted");var i=function(e,t,n){var r=e.offsetWidth,o=e.offsetHeight,i=t.offsetWidth*n,a=t.offsetHeight*n;return{wrapperWidth:r,wrapperHeight:o,newContentWidth:i,newDiffWidth:r-i,newContentHeight:a,newDiffHeight:o-a}}(n,r,t),a=i.wrapperWidth,s=i.wrapperHeight,l=function(e,t,n,r,o,i,a){var s=e>t?n*(a?1:.5):0,l=r>o?i*(a?1:.5):0;return{minPositionX:e-t-s,maxPositionX:s,minPositionY:r-o-l,maxPositionY:l}}(a,i.newContentWidth,i.newDiffWidth,s,i.newContentHeight,i.newDiffHeight,!!o);return l},dh=function(e,t,n,r){return rh(r?e<t?t:e>n?n:e:e,2)},fh=function(e,t){var n=uh(e,t);return e.bounds=n,n};function ph(e,t,n,r,o,i,a){var s=n.minPositionX,l=n.minPositionY,c=n.maxPositionX,u=n.maxPositionY,d=0,f=0;return a&&(d=o,f=i),{x:dh(e,s-d,c+d,r),y:dh(t,l-f,u+f,r)}}function hh(e,t,n,r,o,i){var a=e.transformState,s=a.scale,l=a.positionX,c=a.positionY,u=r-s;return"number"!=typeof t||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:c}):ph(l-t*u,c-n*u,o,i,0,0,null)}function mh(e,t,n,r,o){var i=t-(o?r:0);return!Number.isNaN(n)&&e>=n?n:!Number.isNaN(t)&&e<=i?i:e}var gh=function(e,t){var n=e.setup.panning.excluded,r=e.isInitialized,o=e.wrapperComponent,i=t.target,a="shadowRoot"in i&&"composedPath"in t?t.composedPath().some((function(e){return e instanceof Element&&o?.contains(e)})):o?.contains(i);return!!(r&&i&&a)&&!Zh(i,n)},vh=function(e){var t=e.isInitialized,n=e.isPanning,r=e.setup.panning.disabled;return!!(t&&n&&!r)};function yh(e,t,n,r,o){var i=e.setup.limitToBounds,a=e.wrapperComponent,s=e.bounds,l=e.transformState,c=l.scale,u=l.positionX,d=l.positionY;if(null!==a&&null!==s&&(t!==u||n!==d)){var f=ph(t,n,s,i,r,o,a),p=f.x,h=f.y;e.setTransformState(c,p,h)}}var wh=function(e,t){var n=e.setup,r=e.transformState.scale,o=n.minScale,i=n.disablePadding;return t>0&&r>=o&&!i?t:0},bh=function(e){var t=e.mounted,n=e.setup,r=n.disabled,o=n.velocityAnimation,i=e.transformState.scale;return!!(!o.disabled||i>1||!r||t)},xh=function(e){var t=e.mounted,n=e.velocity,r=e.bounds,o=e.setup,i=o.disabled,a=o.velocityAnimation,s=e.transformState.scale;return!(!(!a.disabled||s>1||!i||t)||!n||!r)};function Sh(e,t,n,r,o,i,a,s,l,c){if(o){var u;if(t>a&&n>a)return(u=a+(e-a)*c)>l?l:u<a?a:u;if(t<i&&n<i)return(u=i+(e-i)*c)<s?s:u>i?i:u}return r?t:dh(e,i,a,o)}function Eh(e,t){if(bh(e)){var n=e.lastMousePosition,r=e.velocityTime,o=e.setup,i=e.wrapperComponent,a=o.velocityAnimation.equalToMove,s=Date.now();if(n&&r&&i){var l=function(e,t){return t?Math.min(1,e.offsetWidth/window.innerWidth):1}(i,a),c=t.x-n.x,u=t.y-n.y,d=c/l,f=u/l,p=s-r,h=c*c+u*u,m=Math.sqrt(h)/p;e.velocity={velocityX:d,velocityY:f,total:m}}e.lastMousePosition=t,e.velocityTime=s}}function Ch(e,t){var n=e.transformState.scale;sh(e),fh(e,n),void 0!==window.TouchEvent&&t instanceof TouchEvent?function(e,t){var n=t.touches,r=e.transformState,o=r.positionX,i=r.positionY;if(e.isPanning=!0,1===n.length){var a=n[0].clientX,s=n[0].clientY;e.startCoords={x:a-o,y:s-i}}}(e,t):function(e,t){var n=e.transformState,r=n.positionX,o=n.positionY;e.isPanning=!0;var i=t.clientX,a=t.clientY;e.startCoords={x:i-r,y:a-o}}(e,t)}function Ah(e){var t=e.transformState.scale,n=e.setup,r=n.minScale,o=n.alignmentAnimation,i=o.disabled,a=o.sizeX,s=o.sizeY,l=o.animationTime,c=o.animationType;if(!(i||t<r||!a&&!s)){var u=function(e){var t=e.transformState,n=t.positionX,r=t.positionY,o=t.scale,i=e.setup,a=i.disabled,s=i.limitToBounds,l=i.centerZoomedOut,c=e.wrapperComponent;if(!a&&c&&e.bounds){var u=e.bounds,d=u.maxPositionX,f=u.minPositionX,p=u.maxPositionY,h=u.minPositionY,m=n>d||n<f,g=r>p||r<h,v=hh(e,n>d?c.offsetWidth:e.setup.minPositionX||0,r>p?c.offsetHeight:e.setup.minPositionY||0,o,e.bounds,s||l),y=v.x,w=v.y;return{scale:o,positionX:m?y:n,positionY:g?w:r}}}(e);u&&ch(e,u,l,c)}}function Th(e,t,n){var r=e.startCoords,o=e.setup.alignmentAnimation,i=o.sizeX,a=o.sizeY;if(r){var s=function(e,t,n){var r=e.startCoords,o=e.transformState,i=e.setup.panning,a=i.lockAxisX,s=i.lockAxisY,l=o.positionX,c=o.positionY;if(!r)return{x:l,y:c};var u=t-r.x,d=n-r.y;return{x:a?l:u,y:s?c:d}}(e,t,n),l=s.x,c=s.y,u=wh(e,i),d=wh(e,a);Eh(e,{x:l,y:c}),yh(e,l,c,u,d)}}function Oh(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,r=e.wrapperComponent,o=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var i=r?.getBoundingClientRect(),a=o?.getBoundingClientRect(),s=i?.width||0,l=i?.height||0,c=s<(a?.width||0)||l<(a?.height||0);!t&&n&&n?.total>.1&&c?function(e){var t=e.velocity,n=e.bounds,r=e.setup,o=e.wrapperComponent;if(xh(e)&&t&&n&&o){var i=t.velocityX,a=t.velocityY,s=t.total,l=n.maxPositionX,c=n.minPositionX,u=n.maxPositionY,d=n.minPositionY,f=r.limitToBounds,p=r.alignmentAnimation,h=r.zoomAnimation,m=r.panning,g=m.lockAxisY,v=m.lockAxisX,y=h.animationType,w=p.sizeX,b=p.sizeY,x=p.velocityAlignmentTime,S=function(e,t){var n=e.setup.velocityAnimation,r=n.equalToMove,o=n.animationTime,i=n.sensitivity;return r?o*t*i:o}(e,s),E=Math.max(S,x),C=wh(e,w),A=wh(e,b),T=C*o.offsetWidth/100,O=A*o.offsetHeight/100,j=l+T,N=c-T,_=u+O,k=d-O,P=e.transformState,M=(new Date).getTime();lh(e,y,E,(function(t){var n=e.transformState,r=n.scale,o=n.positionX,s=n.positionY,h=((new Date).getTime()-M)/x,m=1-(0,ih[p.animationType])(Math.min(1,h)),y=1-t,w=o+i*y,b=s+a*y,S=Sh(w,P.positionX,o,v,f,c,l,N,j,m),E=Sh(b,P.positionY,s,g,f,d,u,k,_,m);(o!==w||s!==b)&&e.setTransformState(r,S,E)}))}}(e):Ah(e)}}function jh(e,t,n,r){var o=e.setup,i=o.minScale,a=o.maxScale,s=o.limitToBounds,l=mh(rh(t,2),i,a,0,!1),c=hh(e,n,r,l,fh(e,l),s);return{scale:l,positionX:c.x,positionY:c.y}}function Nh(e,t,n){var r=e.transformState.scale,o=e.wrapperComponent,i=e.setup,a=i.minScale,s=i.limitToBounds,l=i.zoomAnimation,c=l.disabled,u=l.animationTime,d=l.animationType,f=c||r>=a;if((r>=1||s)&&Ah(e),!f&&o&&e.mounted){var p=jh(e,a,t||o.offsetWidth/2,n||o.offsetHeight/2);p&&ch(e,p,u,d)}}var _h=function(){return _h=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},_h.apply(this,arguments)};function kh(e,t,n){for(var r,o=0,i=t.length;o<i;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))}var Ph=1,Mh=0,Rh=0,Dh={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,smooth:!0,wheel:{step:.2,disabled:!1,smoothStep:.001,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,allowLeftClickPan:!0,allowMiddleClickPan:!0,allowRightClickPan:!0,wheelPanning:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},Lh="react-transform-wrapper",Ih=function(e){var t,n,r,o;return{previousScale:null!==(t=e.initialScale)&&void 0!==t?t:Ph,scale:null!==(n=e.initialScale)&&void 0!==n?n:Ph,positionX:null!==(r=e.initialPositionX)&&void 0!==r?r:Mh,positionY:null!==(o=e.initialPositionY)&&void 0!==o?o:Rh}},$h=function(e){var t=_h({},Dh);return Object.keys(e).forEach((function(n){var r=typeof e[n]<"u";if(typeof Dh[n]<"u"&&r){var o=Object.prototype.toString.call(Dh[n]),i="[object Object]"===o,a="[object Array]"===o;t[n]=i?_h(_h({},Dh[n]),e[n]):a?kh(kh([],Dh[n]),e[n]):e[n]}})),t},Fh=function(e,t,n){var r=e.transformState.scale,o=e.wrapperComponent,i=e.setup,a=i.maxScale,s=i.minScale,l=i.zoomAnimation,c=i.smooth,u=l.size;if(!o)throw new Error("Wrapper is not mounted");var d=c?r*Math.exp(t*n):r+t*n;return mh(rh(d,3),s,a,u,!1)};function zh(e,t,n,r,o){var i=e.wrapperComponent,a=e.transformState,s=a.scale,l=a.positionX,c=a.positionY;if(!i)return console.error("No WrapperComponent found");var u=(i.offsetWidth/2-l)/s,d=(i.offsetHeight/2-c)/s,f=jh(e,Fh(e,t,n),u,d);if(!f)return console.error("Error during zoom event. New transformation state was not calculated.");ch(e,f,r,o)}function Bh(e,t,n,r){var o=e.setup,i=e.wrapperComponent,a=o.limitToBounds,s=Ih(e.props),l=e.transformState,c=l.scale,u=l.positionX,d=l.positionY;if(i){var f=uh(e,s.scale),p=ph(s.positionX,s.positionY,f,a,0,0,i),h={scale:s.scale,positionX:p.x,positionY:p.y};c===s.scale&&u===s.positionX&&d===s.positionY||(r?.(),ch(e,h,t,n))}}var Hh=function(e){return function(t,n,r){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===r&&(r="easeOut"),zh(e,1,t,n,r)}},Uh=function(e){return function(t,n,r){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===r&&(r="easeOut"),zh(e,-1,t,n,r)}},Wh=function(e){return function(t,n,r,o,i){void 0===o&&(o=300),void 0===i&&(i="easeOut");var a=e.transformState,s=a.positionX,l=a.positionY,c=a.scale,u=e.wrapperComponent,d=e.contentComponent;if(!e.setup.disabled&&u&&d){var f={positionX:Number.isNaN(t)?s:t,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(r)?c:r};ch(e,f,o,i)}}},Vh=function(e){return function(t,n){void 0===t&&(t=200),void 0===n&&(n="easeOut"),Bh(e,t,n)}},qh=function(e){return function(t,n,r){void 0===n&&(n=200),void 0===r&&(r="easeOut");var o=e.transformState,i=e.wrapperComponent,a=e.contentComponent;if(i&&a){var s=em(t||o.scale,i,a);ch(e,s,n,r)}}},Yh=function(e){return function(t,n,r,o){void 0===r&&(r=600),void 0===o&&(o="easeOut"),sh(e);var i=e.wrapperComponent,a="string"==typeof t?document.getElementById(t):t;if(i&&a&&i.contains(a)){var s=function(e,t,n){var r=e.wrapperComponent,o=e.contentComponent,i=e.transformState,a=e.setup,s=a.limitToBounds,l=a.minScale,c=a.maxScale;if(!r||!o)return i;var u=r.getBoundingClientRect(),d=t.getBoundingClientRect(),f=function(e,t,n,r){var o=e.getBoundingClientRect(),i=t.getBoundingClientRect(),a=n.getBoundingClientRect(),s=i.x*r.scale,l=i.y*r.scale;return{x:(o.x-a.x+s)/r.scale,y:(o.y-a.y+l)/r.scale}}(t,r,o,i),p=f.x,h=f.y,m=d.width/i.scale,g=d.height/i.scale,v=r.offsetWidth/m,y=r.offsetHeight/g,w=mh(n||Math.min(v,y),l,c,0,!1),b=(u.width-m*w)/2,x=(u.height-g*w)/2,S=ph((u.left-p)*w+b,(u.top-h)*w+x,uh(e,w),s,0,0,r);return{positionX:S.x,positionY:S.y,scale:w}}(e,a,n);ch(e,s,r,o)}}},Gh=function(e){return{instance:e,zoomIn:Hh(e),zoomOut:Uh(e),setTransform:Wh(e),resetTransform:Vh(e),centerView:qh(e),zoomToElement:Yh(e)}},Kh=function(e){var t={};return Object.assign(t,function(e){return{instance:e,state:e.transformState}}(e)),Object.assign(t,Gh(e)),t};function Xh(){try{return{get passive(){return!1}}}catch{return!1}}var Jh=".".concat(Lh),Zh=function(e,t){return t.some((function(t){return e.matches("".concat(Jh," ").concat(t,", ").concat(Jh," .").concat(t,", ").concat(Jh," ").concat(t," *, ").concat(Jh," .").concat(t," *"))}))},Qh=function(e){e&&clearTimeout(e)},em=function(e,t,n){var r=n.offsetWidth*e,o=n.offsetHeight*e;return{scale:e,positionX:(t.offsetWidth-r)/2,positionY:(t.offsetHeight-o)/2}};function tm(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function nm(e,t,n){var r=t.getBoundingClientRect(),o=0,i=0;if("clientX"in e)o=(e.clientX-r.left)/n,i=(e.clientY-r.top)/n;else{var a=e.touches[0];o=(a.clientX-r.left)/n,i=(a.clientY-r.top)/n}return(Number.isNaN(o)||Number.isNaN(i))&&console.error("No mouse or touch offset found"),{x:o,y:i}}var rm=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},om=function(e,t){var n=e.props,r=n.onWheel,o=n.onZoom,i=e.contentComponent,a=e.setup,s=e.transformState.scale,l=a.limitToBounds,c=a.centerZoomedOut,u=a.zoomAnimation,d=a.wheel,f=a.disablePadding,p=a.smooth,h=u.size,m=u.disabled,g=d.step,v=d.smoothStep;if(!i)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var y=function(e){var t=function(e){return e?e.deltaY<0?1:-1:0}(e),n=function(e,t){return t}(0,t);return n}(t),w=function(e,t,n,r){var o=e.transformState.scale,i=e.wrapperComponent,a=e.setup,s=a.maxScale,l=a.minScale,c=a.zoomAnimation,u=a.disablePadding,d=c.size,f=c.disabled;if(!i)throw new Error("Wrapper is not mounted");var p=!r&&!f;return mh(rh(o+t*n,3),l,s,d,p&&!u)}(e,y,p?v*Math.abs(t.deltaY):g,!t.ctrlKey);if(s!==w){var b=fh(e,w),x=nm(t,i,s),S=l&&(m||0===h||c||f),E=hh(e,x.x,x.y,w,b,S),C=E.x,A=E.y;e.previousWheelEvent=t,e.setTransformState(w,C,A),oh(Kh(e),t,r),oh(Kh(e),t,o)}},im=function(e,t){var n=e.props,r=n.onWheelStop,o=n.onZoomStop;Qh(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout((function(){e.mounted&&(Nh(e,t.x,t.y),e.wheelAnimationTimer=null)}),100);var i=function(e,t){var n=e.previousWheelEvent,r=e.transformState.scale,o=e.setup,i=o.maxScale,a=o.minScale;return!!n&&(r<i||r>a||Math.sign(n.deltaY)!==Math.sign(t.deltaY)||n.deltaY>0&&n.deltaY<t.deltaY||n.deltaY<0&&n.deltaY>t.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY))}(e,t);i&&(Qh(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout((function(){e.mounted&&(e.wheelStopEventTimer=null,oh(Kh(e),t,r),oh(Kh(e),t,o))}),160))},am=function(e){for(var t=0,n=0,r=0;r<2;r+=1)t+=e.touches[r].clientX,n+=e.touches[r].clientY;return{x:t/2,y:n/2}},sm=function(e,t){var n=e.contentComponent,r=e.pinchStartDistance,o=e.wrapperComponent,i=e.transformState.scale,a=e.setup,s=a.limitToBounds,l=a.centerZoomedOut,c=a.zoomAnimation,u=a.alignmentAnimation,d=c.disabled,f=c.size;if(null!==r&&n){var p=function(e,t,n){var r=n.getBoundingClientRect(),o=e.touches,i=rh(o[0].clientX-r.left,5),a=rh(o[0].clientY-r.top,5);return{x:(i+rh(o[1].clientX-r.left,5))/2/t,y:(a+rh(o[1].clientY-r.top,5))/2/t}}(t,i,n);if(Number.isFinite(p.x)&&Number.isFinite(p.y)){var h=rm(t),m=function(e,t){var n=e.pinchStartScale,r=e.pinchStartDistance,o=e.setup,i=o.maxScale,a=o.minScale,s=o.zoomAnimation,l=o.disablePadding,c=s.size,u=s.disabled;if(!n||null===r||!t)throw new Error("Pinch touches distance was not provided");return t<0?e.transformState.scale:mh(rh(t/r*n,2),a,i,c,!u&&!l)}(e,h),g=am(t),v=g.x-(e.pinchLastCenterX||0),y=g.y-(e.pinchLastCenterY||0);if(m!==i||0!==v||0!==y){e.pinchLastCenterX=g.x,e.pinchLastCenterY=g.y;var w=fh(e,m),b=s&&(d||0===f||l),x=hh(e,p.x,p.y,m,w,b),S=x.x,E=x.y;e.pinchMidpoint=p,e.lastDistance=h;var C=u.sizeX,A=u.sizeY,T=ph(S+v,E+y,w,s,wh(e,C),wh(e,A),o),O=T.x,j=T.y;e.setTransformState(m,O,j)}}}},lm=function(e,t){var n=e.props.onZoomStop,r=e.setup.doubleClick.animationTime;Qh(e.doubleClickStopEventTimer),e.doubleClickStopEventTimer=setTimeout((function(){e.doubleClickStopEventTimer=null,oh(Kh(e),t,n)}),r)};function cm(e,t){var n=e.setup,r=e.doubleClickStopEventTimer,o=e.transformState,i=e.contentComponent,a=o.scale,s=e.props,l=s.onZoomStart,c=s.onZoom,u=n.doubleClick,d=u.disabled,f=u.mode,p=u.step,h=u.animationTime,m=u.animationType;if(!d&&!r){if("reset"===f)return function(e,t){var n=e.props,r=n.onZoomStart,o=n.onZoom,i=e.setup.doubleClick,a=i.animationTime,s=i.animationType;oh(Kh(e),t,r),Bh(e,a,s,(function(){return oh(Kh(e),t,o)})),lm(e,t)}(e,t);if(!i)return console.error("No ContentComponent found");var g=function(e,t){return"toggle"===e?1===t?1:-1:"zoomOut"===e?-1:1}(f,e.transformState.scale),v=Fh(e,g,p);if(a!==v){oh(Kh(e),t,l);var y=nm(t,i,a),w=jh(e,v,y.x,y.y);if(!w)return console.error("Error during zoom event. New transformation state was not calculated.");oh(Kh(e),t,c),ch(e,w,h,m),lm(e,t)}}}var um=function(){return function(e){var t=this;this.mounted=!0,this.pinchLastCenterX=null,this.pinchLastCenterY=null,this.onChangeCallbacks=new Set,this.onInitCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.isWheelPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){t.initializeWindowEvents()},this.unmount=function(){t.cleanupWindowEvents()},this.update=function(e){t.props=e,fh(t,t.transformState.scale),t.setup=$h(e)},this.initializeWindowEvents=function(){var e,n,r=Xh(),o=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,i=o?.defaultView;null===(n=t.wrapperComponent)||void 0===n||n.addEventListener("wheel",t.onWheelPanning,r),i?.addEventListener("mousedown",t.onPanningStart,r),i?.addEventListener("mousemove",t.onPanning,r),i?.addEventListener("mouseup",t.onPanningStop,r),o?.addEventListener("mouseleave",t.clearPanning,r),i?.addEventListener("keyup",t.setKeyUnPressed,r),i?.addEventListener("keydown",t.setKeyPressed,r)},this.cleanupWindowEvents=function(){var e,n,r=Xh(),o=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,i=o?.defaultView;i?.removeEventListener("mousedown",t.onPanningStart,r),i?.removeEventListener("mousemove",t.onPanning,r),i?.removeEventListener("mouseup",t.onPanningStop,r),o?.removeEventListener("mouseleave",t.clearPanning,r),i?.removeEventListener("keyup",t.setKeyUnPressed,r),i?.removeEventListener("keydown",t.setKeyPressed,r),document.removeEventListener("mouseleave",t.clearPanning,r),sh(t),null===(n=t.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(e){var n=Xh();e.addEventListener("wheel",t.onWheelZoom,n),e.addEventListener("dblclick",t.onDoubleClick,n),e.addEventListener("touchstart",t.onTouchPanningStart,n),e.addEventListener("touchmove",t.onTouchPanning,n),e.addEventListener("touchend",t.onTouchPanningStop,n)},this.handleInitialize=function(e){var n=t.setup.centerOnInit;t.applyTransformation(),t.onInitCallbacks.forEach((function(e){return e(Kh(t))})),n&&(t.setCenter(),t.observer=new ResizeObserver((function(){var n,r=e.offsetWidth,o=e.offsetHeight;(r>0||o>0)&&(t.onInitCallbacks.forEach((function(e){return e(Kh(t))})),t.setCenter(),null===(n=t.observer)||void 0===n||n.disconnect())})),setTimeout((function(){var e;null===(e=t.observer)||void 0===e||e.disconnect()}),5e3),t.observer.observe(e))},this.onWheelZoom=function(e){if(!t.setup.disabled){var n=function(e,t){var n=e.setup.wheel,r=n.disabled,o=n.wheelDisabled,i=n.touchPadDisabled,a=n.excluded,s=e.isInitialized,l=e.isPanning,c=t.target;return!(!s||l||r||!c||o&&!t.ctrlKey||i&&t.ctrlKey||Zh(c,a))}(t,e);if(n)t.isPressingKeys(t.setup.wheel.activationKeys)&&(function(e,t){var n=e.props,r=n.onWheelStart,o=n.onZoomStart;e.wheelStopEventTimer||(sh(e),oh(Kh(e),t,r),oh(Kh(e),t,o))}(t,e),om(t,e),im(t,e))}},this.onWheelPanning=function(e){var n=t.setup,r=n.disabled,o=n.wheel,i=n.panning;if(t.wrapperComponent&&t.contentComponent&&!r&&o.wheelDisabled&&!i.disabled&&i.wheelPanning&&!e.ctrlKey){e.preventDefault(),e.stopPropagation();var a=t.transformState,s=a.positionX,l=a.positionY,c=s-e.deltaX,u=l-e.deltaY,d=i.lockAxisX?s:c,f=i.lockAxisY?l:u,p=t.setup.alignmentAnimation,h=p.sizeX,m=p.sizeY,g=wh(t,h),v=wh(t,m);d===s&&f===l||yh(t,d,f,g,v)}},this.onPanningStart=function(e){var n=t.setup.disabled,r=t.props.onPanningStart;n||gh(t,e)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(0===e.button&&!t.setup.panning.allowLeftClickPan||1===e.button&&!t.setup.panning.allowMiddleClickPan||2===e.button&&!t.setup.panning.allowRightClickPan||(e.preventDefault(),e.stopPropagation(),sh(t),Ch(t,e),oh(Kh(t),e,r)))},this.onPanning=function(e){var n=t.setup.disabled,r=t.props.onPanning;n||vh(t)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),Th(t,e.clientX,e.clientY),oh(Kh(t),e,r))},this.onPanningStop=function(e){var n=t.props.onPanningStop;t.isPanning&&(Oh(t),oh(Kh(t),e,n))},this.onPinchStart=function(e){var n=t.setup.disabled,r=t.props,o=r.onPinchingStart,i=r.onZoomStart;if(!n){var a=function(e,t){var n=e.setup.pinch,r=n.disabled,o=n.excluded,i=e.isInitialized,a=t.target;return!(!i||r||!a||Zh(a,o))}(t,e);a&&(function(e,t){var n=rm(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1;var r=am(t);e.pinchLastCenterX=r.x,e.pinchLastCenterY=r.y,sh(e)}(t,e),sh(t),oh(Kh(t),e,o),oh(Kh(t),e,i))}},this.onPinch=function(e){var n=t.setup.disabled,r=t.props,o=r.onPinching,i=r.onZoom;if(!n){var a=function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,r=e.pinchStartDistance;return!(!n||t||!r)}(t);a&&(e.preventDefault(),e.stopPropagation(),sm(t,e),oh(Kh(t),e,o),oh(Kh(t),e,i))}},this.onPinchStop=function(e){var n=t.props,r=n.onPinchingStop,o=n.onZoomStop;t.pinchStartScale&&(function(e){var t=e.pinchMidpoint;e.velocity=null,e.lastDistance=null,e.pinchMidpoint=null,e.pinchStartScale=null,e.pinchStartDistance=null,Nh(e,t?.x,t?.y)}(t),oh(Kh(t),e,r),oh(Kh(t),e,o))},this.onTouchPanningStart=function(e){var n=t.setup.disabled,r=t.props.onPanningStart;if(!n&&(gh(t,e)&&!(t.lastTouch&&+new Date-t.lastTouch<200))){t.lastTouch=+new Date,sh(t);var o=e.touches,i=1===o.length,a=2===o.length;i&&(sh(t),Ch(t,e),oh(Kh(t),e,r)),a&&t.onPinchStart(e)}},this.onTouchPanning=function(e){var n=t.setup.disabled,r=t.props.onPanning;if(t.isPanning&&1===e.touches.length){if(n)return;if(!vh(t))return;e.preventDefault(),e.stopPropagation();var o=e.touches[0];Th(t,o.clientX,o.clientY),oh(Kh(t),e,r)}else e.touches.length>1&&t.onPinch(e)},this.onTouchPanningStop=function(e){t.onPanningStop(e),t.onPinchStop(e)},this.onDoubleClick=function(e){if(!t.setup.disabled){var n=function(e,t){var n=e.isInitialized,r=e.setup,o=e.wrapperComponent,i=r.doubleClick,a=i.disabled,s=i.excluded,l=t.target,c=o?.contains(l);return!(!(n&&l&&c)||a||Zh(l,s))}(t,e);n&&cm(t,e)}},this.clearPanning=function(e){t.isPanning&&t.onPanningStop(e)},this.setKeyPressed=function(e){t.pressedKeys[e.key]=!0},this.setKeyUnPressed=function(e){t.pressedKeys[e.key]=!1},this.isPressingKeys=function(e){return!e.length||!!e.find((function(e){return t.pressedKeys[e]}))},this.setTransformState=function(e,n,r){var o=t.props.onTransformed;if(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(r))console.error("Detected NaN set state values");else{e!==t.transformState.scale&&(t.transformState.previousScale=t.transformState.scale,t.transformState.scale=e),t.transformState.positionX=n,t.transformState.positionY=r,t.applyTransformation();var i=Kh(t);t.onChangeCallbacks.forEach((function(e){return e(i)})),oh(i,{scale:e,positionX:n,positionY:r},o)}},this.setCenter=function(){if(t.wrapperComponent&&t.contentComponent){var e=em(t.transformState.scale,t.wrapperComponent,t.contentComponent);t.setTransformState(e.scale,e.positionX,e.positionY)}},this.handleTransformStyles=function(e,n,r){return t.props.customTransform?t.props.customTransform(e,n,r):function(e,t,n){return"translate(".concat(e,"px, ").concat(t,"px) scale(").concat(n,")")}(e,n,r)},this.applyTransformation=function(){if(t.mounted&&t.contentComponent){var e=t.transformState,n=e.scale,r=e.positionX,o=e.positionY,i=t.handleTransformStyles(r,o,n);t.contentComponent.style.transform=i}},this.getContext=function(){return Kh(t)},this.onChange=function(e){return t.onChangeCallbacks.has(e)||t.onChangeCallbacks.add(e),function(){t.onChangeCallbacks.delete(e)}},this.onInit=function(e){return t.onInitCallbacks.has(e)||t.onInitCallbacks.add(e),function(){t.onInitCallbacks.delete(e)}},this.init=function(e,n){t.cleanupWindowEvents(),t.wrapperComponent=e,t.contentComponent=n,fh(t,t.transformState.scale),t.handleInitializeWrapperEvents(e),t.handleInitialize(n),t.initializeWindowEvents(),t.isInitialized=!0;var r=Kh(t);oh(r,void 0,t.props.onInit)},this.props=e,this.setup=$h(this.props),this.transformState=Ih(this.props)}}(),dm=l.createContext(null);l.forwardRef((function(e,t){var n=(0,l.useRef)(new um(e)).current,r=function(e,t){return"function"==typeof e?e(t):e}(e.children,Gh(n));return(0,l.useImperativeHandle)(t,(function(){return Gh(n)}),[n]),(0,l.useEffect)((function(){n.update(e)}),[n,e]),l.createElement(dm.Provider,{value:n},r)}));l.forwardRef((function(e,t){var n=(0,l.useRef)(null),r=(0,l.useContext)(dm);return(0,l.useEffect)((function(){return r.onChange((function(e){if(n.current){n.current.style.transform=r.handleTransformStyles(0,0,1/e.instance.transformState.scale)}}))}),[r]),l.createElement("div",_h({},e,{ref:tm([n,t])}))}));!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".transform-component-module_wrapper__SPB86 {\n  position: relative;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  overflow: hidden;\n  -webkit-touch-callout: none; /* iOS Safari */\n  -webkit-user-select: none; /* Safari */\n  -khtml-user-select: none; /* Konqueror HTML */\n  -moz-user-select: none; /* Firefox */\n  -ms-user-select: none; /* Internet Explorer/Edge */\n  user-select: none;\n  margin: 0;\n  padding: 0;\n}\n.transform-component-module_content__FBWxo {\n  display: flex;\n  flex-wrap: wrap;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  margin: 0;\n  padding: 0;\n  transform-origin: 0% 0%;\n}\n.transform-component-module_content__FBWxo img {\n  pointer-events: none;\n}\n");var fm="object"==typeof En&&En&&En.Object===Object&&En,pm="object"==typeof self&&self&&self.Object===Object&&self;fm||pm||Function("return this")();var hm=typeof window<"u"?l.useLayoutEffect:l.useEffect;function mm(e,t,n="mousedown",r={}){!function(e,t,n,r){const o=(0,l.useRef)(t);hm((()=>{o.current=t}),[t]),(0,l.useEffect)((()=>{const t=window;if(!t||!t.addEventListener)return;const n=e=>{o.current(e)};return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}),[e,n,r])}(n,(n=>{const r=n.target;r&&r.isConnected&&(Array.isArray(e)?e.filter((e=>!!e.current)).every((e=>e.current&&!e.current.contains(r))):e.current&&!e.current.contains(r))&&t(n)}),void 0,r)}function gm(){return gm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gm.apply(this,arguments)}function vm(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}function ym(e,t){return(ym=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function wm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ym(e,t)}function bm(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const xm=!1;const Sm=l.createContext(null);var Em=function(e){return e.scrollTop},Cm="unmounted",Am="exited",Tm="entering",Om="entered",jm="exiting",Nm=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Am,r.appearStatus=Tm):o=Om:o=t.unmountOnExit||t.mountOnEnter?Cm:Am,r.state={status:o},r.nextCallback=null,r}wm(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Cm?{status:Am}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Tm&&n!==Om&&(t=Tm):(n===Tm||n===Om)&&(t=jm)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Tm){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.findDOMNode(this);n&&Em(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Am&&this.setState({status:Cm})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[p.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||xm?this.safeSetState({status:Om},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Tm},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Om},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:p.findDOMNode(this);t&&!xm?(this.props.onExit(r),this.safeSetState({status:jm},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Am},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Am},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:p.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Cm)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=vm(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return l.createElement(Sm.Provider,{value:null},"function"==typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function _m(){}Nm.contextType=Sm,Nm.propTypes={},Nm.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_m,onEntering:_m,onEntered:_m,onExit:_m,onExiting:_m,onExited:_m},Nm.UNMOUNTED=Cm,Nm.EXITED=Am,Nm.ENTERING=Tm,Nm.ENTERED=Om,Nm.EXITING=jm;var km=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=bm(e.className,t):e.setAttribute("class",bm(e.className&&e.className.baseVal||"",t))}(e,t)}))},Pm=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}wm(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&Em(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return function(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}(e,t)}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&km(e,r),o&&km(e,o),i&&km(e,i)},n.render=function(){var e=this.props;e.classNames;var t=vm(e,["classNames"]);return l.createElement(Nm,gm({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);Pm.defaultProps={classNames:""},Pm.propTypes={};const Mm=typeof window>"u",Rm=(0,l.memo)((0,l.forwardRef)((({className:e,aspectRatio:t="none",objectFit:n="none",hasBlurBackground:r=!1,imageClassName:o,imageStyle:i,src:a,alt:s,srcSet:c,sizes:u,loading:d,fetchPriority:f,errorText:p="Error loading image",...h},m)=>{const{className:g,...v}=ct(h,"SeldonImage"),y=(0,l.useRef)(null),[w,b]=(0,l.useState)((()=>{if(Mm)return"loading";const e=document.getElementById(a);if(e instanceof HTMLImageElement&&!e.classList.contains(`${g}-img--hidden`))return"loaded";const t=document.createElement("img");return c&&(t.srcset=c),u&&(t.sizes=u),t.src=a,t.complete?"loaded":"loading"})),x=(0,l.useCallback)((async()=>{const e=await function({img:e,src:t,srcSet:n,sizes:r}){return new Promise((o=>{let i=e;i||(i=document.createElement("img")),i.onerror=()=>o(!1),i.onload=()=>o(!0),n&&(i.srcset=n),r&&(i.sizes=r),i.src=t,i.complete&&o(!0)}))}({img:y.current,src:a,srcSet:c,sizes:u});b(e?"loaded":"error")}),[a,c,u]);return(0,l.useEffect)((()=>{x()}),[x]),(0,Je.jsxs)("div",{ref:m,className:On(g,e,{[`${g}--aspect-ratio-${t.replace("/","-")}`]:"none"!==t}),role:"img","aria-label":s,...h,...v,children:[r&&(0,Je.jsx)("div",{className:On(`${g}-blur`,{[`${g}-blur--hidden`]:"loading"===w||"error"===w}),style:{backgroundImage:`url(${a})`}}),"error"===w?(0,Je.jsx)("div",{className:`${g}--error`,children:(0,Je.jsx)(Ei,{icon:"PhillipsLogo","aria-label":p,role:"img"})}):null,(0,Je.jsx)("img",{className:On(`${g}-img`,o,{[`${g}-img--hidden`]:"error"===w,[`${g}-img--object-fit-${n}`]:"none"!==n}),id:a,style:i,src:a,srcSet:c,sizes:u,alt:s,"data-testid":`${v["data-testid"]}-img`,ref:y,loading:d,fetchpriority:f,onLoad:()=>{b("loaded")},onError:()=>{b("error")}})]})})));Rm.displayName="SeldonImage";var Dm="rovingFocusGroup.onEntryFocus",Lm={bubbles:!1,cancelable:!0},Im="RovingFocusGroup",[$m,Fm,zm]=zn(Im),[Bm,Hm]=kn(Im,[zm]),[Um,Wm]=Bm(Im),Vm=l.forwardRef(((e,t)=>(0,Je.jsx)($m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,Je.jsx)($m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,Je.jsx)(qm,{...e,ref:t})})})));Vm.displayName=Im;var qm=l.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=l.useRef(null),h=Dn(t,p),m=pr(i),[g=null,v]=Un({prop:a,defaultProp:s,onChange:c}),[y,w]=l.useState(!1),b=Hn(u),x=Fm(n),S=l.useRef(!1),[E,C]=l.useState(0);return l.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(Dm,b),()=>e.removeEventListener(Dm,b)}),[b]),(0,Je.jsx)(Um,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:g,onItemFocus:l.useCallback((e=>v(e)),[v]),onItemShiftTab:l.useCallback((()=>w(!0)),[]),onFocusableItemAdd:l.useCallback((()=>C((e=>e+1))),[]),onFocusableItemRemove:l.useCallback((()=>C((e=>e-1))),[]),children:(0,Je.jsx)(Wn.div,{tabIndex:y||0===E?-1:0,"data-orientation":r,...f,ref:h,style:{outline:"none",...e.style},onMouseDown:Bn(e.onMouseDown,(()=>{S.current=!0})),onFocus:Bn(e.onFocus,(e=>{const t=!S.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(Dm,Lm);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=x().filter((e=>e.focusable));Xm([e.find((e=>e.active)),e.find((e=>e.id===g)),...e].filter(Boolean).map((e=>e.ref.current)),d)}}S.current=!1})),onBlur:Bn(e.onBlur,(()=>w(!1)))})})})),Ym="RovingFocusGroupItem",Gm=l.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=Xn(),c=i||s,u=Wm(Ym,n),d=u.currentTabStopId===c,f=Fm(n),{onFocusableItemAdd:p,onFocusableItemRemove:h}=u;return l.useEffect((()=>{if(r)return p(),()=>h()}),[r,p,h]),(0,Je.jsx)($m.ItemSlot,{scope:n,id:c,focusable:r,active:o,children:(0,Je.jsx)(Wn.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...a,ref:t,onMouseDown:Bn(e.onMouseDown,(e=>{r?u.onItemFocus(c):e.preventDefault()})),onFocus:Bn(e.onFocus,(()=>u.onItemFocus(c))),onKeyDown:Bn(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void u.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return Km[r]}(e,u.orientation,u.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();const r=n.indexOf(e.currentTarget);n=u.loop?function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(n,r+1):n.slice(r+1)}setTimeout((()=>Xm(n)))}}))})})}));Gm.displayName=Ym;var Km={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Xm(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var Jm=Vm,Zm=Gm,Qm="Tabs",[eg,tg]=kn(Qm,[Hm]),ng=Hm(),[rg,og]=eg(Qm),ig=l.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=pr(s),[d,f]=Un({prop:r,onChange:o,defaultProp:i});return(0,Je.jsx)(rg,{scope:n,baseId:Xn(),value:d,onValueChange:f,orientation:a,dir:u,activationMode:l,children:(0,Je.jsx)(Wn.div,{dir:u,"data-orientation":a,...c,ref:t})})}));ig.displayName=Qm;var ag="TabsList",sg=l.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=og(ag,n),a=ng(n);return(0,Je.jsx)(Jm,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:r,children:(0,Je.jsx)(Wn.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:t})})}));sg.displayName=ag;var lg="TabsTrigger",cg=l.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=og(lg,n),s=ng(n),l=fg(a.baseId,r),c=pg(a.baseId,r),u=r===a.value;return(0,Je.jsx)(Zm,{asChild:!0,...s,focusable:!o,active:u,children:(0,Je.jsx)(Wn.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...i,ref:t,onMouseDown:Bn(e.onMouseDown,(e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(r)})),onKeyDown:Bn(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(r)})),onFocus:Bn(e.onFocus,(()=>{const e="manual"!==a.activationMode;!u&&!o&&e&&a.onValueChange(r)}))})})}));cg.displayName=lg;var ug="TabsContent",dg=l.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=og(ug,n),c=fg(s.baseId,r),u=pg(s.baseId,r),d=r===s.value,f=l.useRef(d);return l.useEffect((()=>{const e=requestAnimationFrame((()=>f.current=!1));return()=>cancelAnimationFrame(e)}),[]),(0,Je.jsx)(qn,{present:o||d,children:({present:n})=>(0,Je.jsx)(Wn.div,{"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!n,id:u,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:n&&i})})}));function fg(e,t){return`${e}-trigger-${t}`}function pg(e,t){return`${e}-content-${t}`}dg.displayName=ug;var hg=ig,mg=sg,gg=cg,vg=dg;const yg=(0,l.forwardRef)((({value:e,onClick:t,children:n,...r},o)=>{const{className:i}=ct(r,"TabsContainer");return(0,Je.jsx)(gg,{value:e,className:`${i}__tabs-trigger`,onClick:()=>t?.(e),ref:o,children:n})}));yg.displayName="TabTrigger";(0,l.forwardRef)((({className:e,tabs:t=[],tabListLabel:n="Sale Page Tabs",children:r,defaultValue:o,value:i,onTabClick:a,...s},l)=>{const{className:c,...u}=ct(s,"TabsContainer");return(0,Je.jsxs)(hg,{...s,defaultValue:o||t[0].value,value:i,...u,className:On(`${c}`,e),ref:l,children:[(0,Je.jsxs)(mg,{"aria-label":n,className:`${c}__tabs-list`,children:[t.map((e=>(0,Je.jsx)(yg,{value:e.value,className:`${c}__tabs-trigger`,onClick:a,children:(0,Je.jsx)(Cf,{variant:xf.label,children:e.label})},e.value))),(0,Je.jsx)("div",{className:`${c}__full-bleed-underline`})]}),r]})})).displayName="TabsContainer";(0,l.forwardRef)((({className:e,value:t,containerClassName:n,children:r,...o},i)=>{const{className:a,...s}=ct(o,"TabsContainer");return(0,Je.jsx)(vg,{value:t,className:On(`${a}__tabs-content`,n),...s,ref:i,tabIndex:-1,children:r})})).displayName="TabsContent";(0,l.forwardRef)((({className:e,children:t,clearAllLabel:n="Clear All",onClear:r,...o},i)=>{const a="tags-list",{className:s,...c}=ct(o,"TagsList"),{id:u}=o;return(0,Je.jsxs)("ul",{className:On(`${lt}-${a}`,s,e),...c,...o,tabIndex:0,"data-testid":`${a}-${u}`,ref:i,children:[Array.isArray(t)?l.Children.map(t,(e=>(0,Je.jsx)("li",{children:e},e.props.id))):t,Array.isArray(t)&&t.length>0&&(0,Je.jsx)("li",{children:(0,Je.jsxs)(Nn,{onClick:r,"data-testid":`${u}-clear-all-button`,className:`${lt}-${a}--clear`,"aria-label":n,variant:jn.tertiary,children:[(0,Je.jsx)(Ei,{icon:"ArrowLeft",color:"currentColor",height:24,width:24}),(0,Je.jsx)("div",{className:`${lt}-label`,children:n})]})})]})})).displayName="Tags";(0,l.forwardRef)((({aspectRatio:e,className:t,videoSource:n,iframeRef:r,iframeClassName:o,...i},a)=>{const{className:s,"data-testid":l,...c}=ct(i,"Video"),u={className:On(s,t),"data-testid":l,style:{"--aspect-ratio":e},...c,...i};return(0,Je.jsx)("div",{...u,ref:a,children:(0,Je.jsx)("iframe",{ref:r,"data-testid":`${l}-iframe`,className:On(`${s}__iframe`,o),src:n,allowFullScreen:!0,allow:"encrypted-media",referrerPolicy:"no-referrer"})})})).displayName="Video";var wg=(e=>(e.columns="columns",e.justified="justified",e))(wg||{});const bg=(0,l.forwardRef)((({alignment:e=wg.justified,className:t,children:n,hasSeparators:r=!1,...o},i)=>{const{className:a,...s}=ct(o,"DetailList"),c=Array.isArray(n)?n:[n];return(0,Je.jsx)("dl",{...s,className:On(a,t,{[`${lt}-has-separators`]:r,[`${lt}-columns`]:e===wg.columns,[`${lt}-justified`]:e===wg.justified}),...o,ref:i,children:c?.map(((t,n)=>l.isValidElement(t)?(0,Je.jsx)("div",{className:On(`${a}-wrapper`,{[`${lt}-has-separators`]:r,[`${lt}-columns`]:e===wg.columns,[`${lt}-justified`]:e===wg.justified}),children:t},((e,t)=>{if((0,l.isValidElement)(e)){if(e.key)return e.key;const{label:t,value:n}=e.props;return`detail-${t}-${n}`}return`detail-${t}`})(t,n)):void 0))})}));function xg(e){const t=Sg(e),n=l.forwardRef(((e,n)=>{const{children:r,...o}=e,i=l.Children.toArray(r),a=i.find(Cg);if(a){const e=a.props.children,r=i.map((t=>t===a?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t));return(0,Je.jsx)(t,{...o,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,Je.jsx)(t,{...o,ref:n,children:r})}));return n.displayName=`${e}.Slot`,n}function Sg(e){const t=l.forwardRef(((e,t)=>{const{children:n,...r}=e,o=l.isValidElement(n)?function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n):void 0,i=Dn(o,t);if(l.isValidElement(n)){const e=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(e.ref=i),l.cloneElement(n,e)}return l.Children.count(n)>1?l.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}bg.displayName="DetailList";var Eg=Symbol("radix.slottable");function Cg(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Eg}var Ag=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce(((e,t)=>{const n=xg(`Primitive.${t}`),r=l.forwardRef(((e,r)=>{const{asChild:o,...i}=e,a=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,Je.jsx)(a,{...i,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});var Tg,Og="dismissableLayer.update",jg="dismissableLayer.pointerDownOutside",Ng="dismissableLayer.focusOutside",_g=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kg=l.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,u=l.useContext(_g),[d,f]=l.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=l.useState({}),m=Dn(t,(e=>f(e))),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),w=d?g.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=w>=y,S=function(e,t=globalThis?.document){const n=Hn(e),r=l.useRef(!1),o=l.useRef((()=>{}));return l.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){Mg(jg,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...u.branches].some((e=>e.contains(t)));!x||n||(o?.(e),a?.(e),e.defaultPrevented||s?.())}),p),E=function(e,t=globalThis?.document){const n=Hn(e),r=l.useRef(!1);return l.useEffect((()=>{const e=e=>{e.target&&!r.current&&Mg(Ng,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...u.branches].some((e=>e.contains(t)))||(i?.(e),a?.(e),e.defaultPrevented||s?.())}),p);return ts((e=>{w===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),p),l.useEffect((()=>{if(d)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(Tg=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Pg(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=Tg)}}),[d,p,n,u]),l.useEffect((()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Pg())}),[d,u]),l.useEffect((()=>{const e=()=>h({});return document.addEventListener(Og,e),()=>document.removeEventListener(Og,e)}),[]),(0,Je.jsx)(Ag.div,{...c,ref:m,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:Bn(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Bn(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Bn(e.onPointerDownCapture,S.onPointerDownCapture)})}));kg.displayName="DismissableLayer";function Pg(){const e=new CustomEvent(Og);document.dispatchEvent(e)}function Mg(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&p.flushSync((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}l.forwardRef(((e,t)=>{const n=l.useContext(_g),r=l.useRef(null),o=Dn(t,r);return l.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),(0,Je.jsx)(Ag.div,{...e,ref:o})})).displayName="DismissableLayerBranch";var Rg="focusScope.autoFocusOnMount",Dg="focusScope.autoFocusOnUnmount",Lg={bubbles:!1,cancelable:!0},Ig=l.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),u=Hn(o),d=Hn(i),f=l.useRef(null),p=Dn(t,(e=>c(e))),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect((()=>{if(r){let e=function(e){if(h.paused||!s)return;const t=e.target;s.contains(t)?f.current=t:Bg(f.current,{select:!0})},t=function(e){if(h.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||Bg(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Bg(s)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,s,h.paused]),l.useEffect((()=>{if(s){Hg.add(h);const e=document.activeElement;if(!s.contains(e)){const t=new CustomEvent(Rg,Lg);s.addEventListener(Rg,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Bg(r,{select:t}),document.activeElement!==n)return}(function(e){return e.filter((e=>"A"!==e.tagName))}($g(s)),{select:!0}),document.activeElement===e&&Bg(s))}return()=>{s.removeEventListener(Rg,u),setTimeout((()=>{const t=new CustomEvent(Dg,Lg);s.addEventListener(Dg,d),s.dispatchEvent(t),t.defaultPrevented||Bg(e??document.body,{select:!0}),s.removeEventListener(Dg,d),Hg.remove(h)}),0)}}}),[s,u,d,h]);const m=l.useCallback((e=>{if(!n&&!r||h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=$g(e),n=Fg(t,e),r=Fg(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&Bg(i,{select:!0})):(e.preventDefault(),n&&Bg(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,h.paused]);return(0,Je.jsx)(Ag.div,{tabIndex:-1,...a,ref:p,onKeyDown:m})}));function $g(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const 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 Fg(e,t){for(const n of e)if(!zg(n,{upTo:t}))return n}function zg(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function Bg(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}Ig.displayName="FocusScope";var Hg=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Ug(e,t),e.unshift(t)},remove(t){e=Ug(e,t),e[0]?.resume()}}}();function Ug(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var Wg=l.forwardRef(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return(0,Je.jsx)(Ag.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,Je.jsx)("polygon",{points:"0,0 30,0 15,10"})})}));Wg.displayName="Arrow";var Vg=Wg,qg="Popper",[Yg,Gg]=kn(qg),[Kg,Xg]=Yg(qg),Jg=e=>{const{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return(0,Je.jsx)(Kg,{scope:t,anchor:r,onAnchorChange:o,children:n})};Jg.displayName=qg;var Zg="PopperAnchor",Qg=l.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Xg(Zg,n),a=l.useRef(null),s=Dn(t,a);return l.useEffect((()=>{i.onAnchorChange(r?.current||a.current)})),r?null:(0,Je.jsx)(Ag.div,{...o,ref:s})}));Qg.displayName=Zg;var ev="PopperContent",[tv,nv]=Yg(ev),rv=l.forwardRef(((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:m,...g}=e,v=Xg(ev,n),[y,w]=l.useState(null),b=Dn(t,(e=>w(e))),[x,S]=l.useState(null),E=Mu(x),C=E?.width??0,A=E?.height??0,T=r+("center"!==i?"-"+i:""),O="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},j=Array.isArray(u)?u:[u],N=j.length>0,_={padding:O,boundary:j.filter(sv),altBoundary:N},{refs:k,floatingStyles:P,placement:M,isPositioned:R,middlewareData:D}=Su({strategy:"fixed",placement:T,whileElementsMounted:(...e)=>lu(...e,{animationFrame:"always"===h}),elements:{reference:v.anchor},middleware:[Cu({mainAxis:o+A,alignmentAxis:a}),c&&Au({mainAxis:!0,crossAxis:!1,limiter:"partial"===f?Tu():void 0,..._}),c&&Ou({..._}),ju({..._,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),x&&_u({element:x,padding:s}),lv({arrowWidth:C,arrowHeight:A}),p&&Nu({strategy:"referenceHidden",..._})]}),[L,I]=cv(M),$=Hn(m);Vn((()=>{R&&$?.()}),[R,$]);const F=D.arrow?.x,z=D.arrow?.y,B=0!==D.arrow?.centerOffset,[H,U]=l.useState();return Vn((()=>{y&&U(window.getComputedStyle(y).zIndex)}),[y]),(0,Je.jsx)("div",{ref:k.setFloating,"data-radix-popper-content-wrapper":"",style:{...P,transform:R?P.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,Je.jsx)(tv,{scope:n,placedSide:L,onArrowChange:S,arrowX:F,arrowY:z,shouldHideArrow:B,children:(0,Je.jsx)(Ag.div,{"data-side":L,"data-align":I,...g,ref:b,style:{...g.style,animation:R?void 0:"none"}})})})}));rv.displayName=ev;var ov="PopperArrow",iv={top:"bottom",right:"left",bottom:"top",left:"right"},av=l.forwardRef((function(e,t){const{__scopePopper:n,...r}=e,o=nv(ov,n),i=iv[o.placedSide];return(0,Je.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,Je.jsx)(Vg,{...r,ref:t,style:{...r.style,display:"block"}})})}));function sv(e){return null!==e}av.displayName=ov;var lv=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,c]=cv(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+s/2;let p="",h="";return"bottom"===l?(p=i?u:`${d}px`,h=-s+"px"):"top"===l?(p=i?u:`${d}px`,h=`${r.floating.height+s}px`):"right"===l?(p=-s+"px",h=i?u:`${f}px`):"left"===l&&(p=`${r.floating.width+s}px`,h=i?u:`${f}px`),{data:{x:p,y:h}}}});function cv(e){const[t,n="center"]=e.split("-");return[t,n]}var uv=Jg,dv=Qg,fv=rv,pv=av,hv=l.forwardRef(((e,t)=>{const{container:n,...r}=e,[o,i]=l.useState(!1);Vn((()=>i(!0)),[]);const a=n||o&&globalThis?.document?.body;return a?p.createPortal((0,Je.jsx)(Ag.div,{...r,ref:t}),a):null}));hv.displayName="Portal";var mv=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=l.useState(),r=l.useRef(null),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=function(e,t){return l.useReducer(((e,n)=>t[e][n]??e),e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect((()=>{const e=gv(r.current);i.current="mounted"===s?e:"none"}),[s]),Vn((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=gv(t);c(e?"MOUNT":"none"===a||"none"===t?.display?"UNMOUNT":n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,c]),Vn((()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,a=i=>{const a=gv(r.current).includes(i.animationName);if(i.target===t&&a&&(c("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout((()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)}))}},s=e=>{e.target===t&&(i.current=gv(r.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback((e=>{r.current=e?getComputedStyle(e):null,n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):l.Children.only(n),i=Dn(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof n||r.isPresent?l.cloneElement(o,{ref:i}):null};function gv(e){return e?.animationName||"none"}mv.displayName="Presence";var vv=c[" useInsertionEffect ".trim().toString()]||Vn;function yv({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=function({defaultProp:e,onChange:t}){const[n,r]=l.useState(e),o=l.useRef(n),i=l.useRef(t);return vv((()=>{i.current=t}),[t]),l.useEffect((()=>{o.current!==n&&(i.current?.(n),o.current=n)}),[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:o;{const t=l.useRef(void 0!==e);l.useEffect((()=>{const e=t.current;e!==s&&console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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=s}),[s,r])}return[c,l.useCallback((t=>{if(s){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&a.current?.(n)}else i(t)}),[s,e,i,a])]}var wv="Popover",[bv,xv]=kn(wv,[Gg]),Sv=Gg(),[Ev,Cv]=bv(wv),Av=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Sv(t),c=l.useRef(null),[u,d]=l.useState(!1),[f,p]=yv({prop:r,defaultProp:o??!1,onChange:i,caller:wv});return(0,Je.jsx)(uv,{...s,children:(0,Je.jsx)(Ev,{scope:t,contentId:Xn(),triggerRef:c,open:f,onOpenChange:p,onOpenToggle:l.useCallback((()=>p((e=>!e))),[p]),hasCustomAnchor:u,onCustomAnchorAdd:l.useCallback((()=>d(!0)),[]),onCustomAnchorRemove:l.useCallback((()=>d(!1)),[]),modal:a,children:n})})};Av.displayName=wv;var Tv="PopoverAnchor";l.forwardRef(((e,t)=>{const{__scopePopover:n,...r}=e,o=Cv(Tv,n),i=Sv(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return l.useEffect((()=>(a(),()=>s())),[a,s]),(0,Je.jsx)(dv,{...i,...r,ref:t})})).displayName=Tv;var Ov="PopoverTrigger",jv=l.forwardRef(((e,t)=>{const{__scopePopover:n,...r}=e,o=Cv(Ov,n),i=Sv(n),a=Dn(t,o.triggerRef),s=(0,Je.jsx)(Ag.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":zv(o.open),...r,ref:a,onClick:Bn(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?s:(0,Je.jsx)(dv,{asChild:!0,...i,children:s})}));jv.displayName=Ov;var Nv="PopoverPortal",[_v,kv]=bv(Nv,{forceMount:void 0}),Pv=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Cv(Nv,t);return(0,Je.jsx)(_v,{scope:t,forceMount:n,children:(0,Je.jsx)(mv,{present:n||i.open,children:(0,Je.jsx)(hv,{asChild:!0,container:o,children:r})})})};Pv.displayName=Nv;var Mv="PopoverContent",Rv=l.forwardRef(((e,t)=>{const n=kv(Mv,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Cv(Mv,e.__scopePopover);return(0,Je.jsx)(mv,{present:r||i.open,children:i.modal?(0,Je.jsx)(Lv,{...o,ref:t}):(0,Je.jsx)(Iv,{...o,ref:t})})}));Rv.displayName=Mv;var Dv=xg("PopoverContent.RemoveScroll"),Lv=l.forwardRef(((e,t)=>{const n=Cv(Mv,e.__scopePopover),r=l.useRef(null),o=Dn(t,r),i=l.useRef(!1);return l.useEffect((()=>{const e=r.current;if(e)return gl(e)}),[]),(0,Je.jsx)(cl,{as:Dv,allowPinchZoom:!0,children:(0,Je.jsx)($v,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Bn(e.onCloseAutoFocus,(e=>{e.preventDefault(),i.current||n.triggerRef.current?.focus()})),onPointerDownOutside:Bn(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:Bn(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})})})),Iv=l.forwardRef(((e,t)=>{const n=Cv(Mv,e.__scopePopover),r=l.useRef(!1),o=l.useRef(!1);return(0,Je.jsx)($v,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const i=t.target;n.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})})),$v=l.forwardRef(((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,f=Cv(Mv,n),p=Sv(n);return Ss(),(0,Je.jsx)(Ig,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,Je.jsx)(kg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1),children:(0,Je.jsx)(fv,{"data-state":zv(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})})),Fv="PopoverClose";l.forwardRef(((e,t)=>{const{__scopePopover:n,...r}=e,o=Cv(Fv,n);return(0,Je.jsx)(Ag.button,{type:"button",...r,ref:t,onClick:Bn(e.onClick,(()=>o.onOpenChange(!1)))})})).displayName=Fv;function zv(e){return e?"open":"closed"}l.forwardRef(((e,t)=>{const{__scopePopover:n,...r}=e,o=Sv(n);return(0,Je.jsx)(pv,{...o,...r,ref:t})})).displayName="PopoverArrow";var Bv=Av,Hv=jv,Uv=Pv,Wv=Rv;(0,l.memo)((0,l.forwardRef)((({id:e,className:t,count:n,name:r,imageSrc:o,variant:i,element:a=Af,href:s,emptyFavoritesText:c="You have not added any objects to your Favorites yet.",emptyListsText:u="You have not added any objects to your List yet.",blankListText:d="Create your first List.",editListText:f="Edit List",deleteListText:p="Delete List",onEdit:h,onDelete:m,formatlotStr:g=(e,t=(e>1?"LOTS":"LOT"))=>`${e} ${t}`,...v},y)=>{const{className:w,...b}=ct({id:e,...v},"FavoritesCollectionTile"),x=(0,l.useRef)(null),S=r&&null!=n,E=0===n;return(0,Je.jsx)("div",{...b,className:On(w,t),ref:y,id:e,children:(0,Je.jsxs)("div",{className:`${w}__content`,children:[(0,Je.jsxs)("div",{className:`${w}__header`,children:[(0,Je.jsxs)("div",{className:`${w}__info`,children:[S&&(0,Je.jsx)(Cf,{element:"span",className:`${w}__count`,variant:xf.body3,children:g&&S&&g(n)}),(0,Je.jsx)(Cf,{element:"h3",className:`${w}__title`,variant:xf.heading5,children:r})]}),(0,Je.jsx)(Je.Fragment,{children:S&&("lists"===i||"favorites"===i&&!E)&&(0,Je.jsxs)(Bv,{children:[(0,Je.jsx)(Hv,{asChild:!0,children:(0,Je.jsx)("div",{className:`${w}__actions`,"data-testid":"menu-trigger",tabIndex:0,role:"button",onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),e.target.click())},children:(0,Je.jsx)(Ei,{icon:"Icon",width:24,height:24,color:"$dark-gray",className:`${w}__icon-rotate`})})}),(0,Je.jsx)(Uv,{children:(0,Je.jsx)(Wv,{sideOffset:5,className:`${w}__popover-content`,children:(0,Je.jsxs)("div",{className:`${w}__dropdown`,"data-testid":"dropdown-menu",children:[(0,Je.jsx)("button",{className:`${w}__dropdown--item`,onClick:t=>h?.(e,t),type:"button",children:f}),(0,Je.jsx)("button",{className:`${w}__dropdown--item`,onClick:t=>m?.(e,t),type:"button",children:p})]})})})]})})]}),(0,Je.jsxs)(a,{href:s,className:`${w}__media-link`,tabIndex:0,children:[E&&"favorites"===i&&(0,Je.jsx)("div",{className:`${w}__media-container`,"data-testid":"favorites","aria-label":"Favorites",children:(0,Je.jsx)("div",{className:On(`${w}__empty`,`${w}__empty--favorites`),children:(0,Je.jsxs)("div",{className:`${w}__empty__content`,children:[(0,Je.jsx)(Ei,{icon:"Favorite",width:24,height:24,color:"$dark-gray",className:`${w}__icon`}),(0,Je.jsx)("div",{className:`${w}__text`,children:c})]})})}),(E||!S)&&"lists"===i&&(0,Je.jsx)("div",{className:`${w}__media-container`,"data-testid":"list","aria-label":"Lists",children:(0,Je.jsx)("div",{className:On(`${w}__empty`,`${w}__empty--list`),children:(0,Je.jsxs)("div",{className:`${w}__empty__content`,children:[(0,Je.jsx)(Ei,{icon:S&&E?"Favorite":"Add",width:24,height:24,color:"$dark-gray",className:`${w}__icon`}),(0,Je.jsx)("div",{className:`${w}__text`,children:S&&E?u:d})]})})}),!E&&S&&(0,Je.jsx)("div",{className:`${w}__media-container`,ref:x,children:(0,Je.jsx)(Rm,{alt:r,aspectRatio:"1/1",className:`${w}__media`,objectFit:"cover",src:o,style:{cursor:"pointer"}})})]})]})})})));var Vv=(e=>(e.default="default",e.compact="compact",e))(Vv||{});let qv={};function Yv(){return qv}const Gv={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Kv(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Xv={date:Kv({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Kv({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Kv({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Jv={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Zv(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function Qv(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,(e=>e.test(a)));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(a.length)}}}function ey(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(o.length)}}}const ty={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=Gv[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:Xv,formatRelative:(e,t,n,r)=>Jv[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Zv({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Zv({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zv({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Zv({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Zv({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:ey({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:Qv({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Qv({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:Qv({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Qv({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Qv({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},ny=["years","months","weeks","days","hours","minutes","seconds"];const ry=({duration:e,unit:t,locale:n,formatDurationStr:r=e=>e})=>{const o=`${lt}-duration`,i=function(e,t){const n=Yv(),r=t?.locale??n.locale??ty,o=t?.format??ny,i=t?.zero??!1,a=t?.delimiter??" ";return r.formatDistance?o.reduce(((t,n)=>{const o=`x${n.replace(/(^.)/,(e=>e.toUpperCase()))}`,a=e[n];return void 0!==a&&(i||e[n])?t.concat(r.formatDistance(o,a)):t}),[]).join(a):""}(e,{format:[t],zero:!0,locale:n}).split(" ");return(0,Je.jsxs)("div",{className:o,children:[(0,Je.jsx)("span",{children:i[0].padStart(2,"0")}),(0,Je.jsx)("span",{children:r(i[1])})]})},oy={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},iy={date:Kv({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:Kv({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:Kv({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ay=6048e5,sy=864e5,ly=36e5,cy=Symbol.for("constructDateFrom");function uy(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&cy in e?e[cy](t):e instanceof Date?new e.constructor(t):new Date(t)}function dy(e,...t){const n=uy.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)}function fy(e,t){return uy(t||e,e)}function py(e,t){const n=Yv(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=fy(e,t?.in),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function hy(e,t,n){const r="eeee p";return function(e,t,n){const[r,o]=dy(n?.in,e,t);return+py(r,n)==+py(o,n)}(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}const my={lastWeek:hy,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:hy,other:"PP p"},gy={code:"zh-CN",formatDistance:(e,t,n)=>{let r;const o=oy[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},formatLong:iy,formatRelative:(e,t,n,r)=>{const o=my[e];return"function"==typeof o?o(t,n,r):o},localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},era:Zv({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:Zv({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zv({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:Zv({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:Zv({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:ey({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:Qv({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:Qv({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:Qv({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:Qv({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:Qv({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};function vy(e){const t=fy(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function yy(e,t){const n=fy(e,t?.in);return n.setHours(0,0,0,0),n}function wy(e,t,n){const[r,o]=dy(n?.in,e,t),i=yy(r),a=yy(o),s=+i-vy(i),l=+a-vy(a);return Math.round((s-l)/sy)}function by(e,t,n){const[r,o]=dy(n?.in,e,t),i=xy(r,o),a=Math.abs(wy(r,o));r.setDate(r.getDate()-i*a);const s=i*(a-+(xy(r,o)===-i));return 0===s?0:s}function xy(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Sy(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function Ey(e,t,n){const[r,o]=dy(n?.in,e,t),i=(+r-+o)/ly;return Sy(n?.roundingMethod)(i)}function Cy(e,t){return+fy(e)-+fy(t)}function Ay(e,t,n){const r=Cy(e,t)/6e4;return Sy(n?.roundingMethod)(r)}function Ty(e,t,n){const r=Cy(e,t)/1e3;return Sy(n?.roundingMethod)(r)}const Oy=(0,l.forwardRef)((({endDateTime:e,formatDurationStr:t,label:n="Lots Close in",intervalDescription:r,className:o,locale:i="en",showBottomBorder:a=!0,variant:s=Vv.default,getCurrentDateTime:c=()=>new Date,...u},d)=>{const{className:f,...p}=ct(u,"Countdown"),[h,m]=(0,l.useState)(c()||new Date),g=i===bn.zh?gy:ty,v={days:by(e,h)>0?by(e,h):0,hours:Ey(e,h)>0?Ey(e,h)%24:0,minutes:Ay(e,h)>0?Ay(e,h)%60:0,seconds:(Ty(e,h)>0?Ty(e,h)%60:0)%60};(0,l.useEffect)((()=>{const e=setInterval((()=>{m(c()||new Date)}),1e3);return()=>clearInterval(e)}),[e,c]);const y=(0,l.useMemo)((()=>{const t=c();return!!t&&new Date(e).getTime()>t.getTime()}),[e,c]),w=Cy(e,h)<=18e4;return y?(0,Je.jsxs)("div",{...p,className:On(f,o,{[`${f}--compact`]:s===Vv.compact,[`${f}--show-bottom-border`]:a,[`${f}--closing-lot`]:w}),...u,ref:d,children:[(0,Je.jsxs)("div",{className:`${f}__countdown-container`,role:"timer","aria-label":n,children:[(0,Je.jsx)("span",{className:`${f}__label`,children:n}),v.days>0?(0,Je.jsx)(ry,{duration:v,unit:"days",locale:g,formatDurationStr:t}):null,v.days>0||v.hours>0?(0,Je.jsx)(ry,{duration:v,unit:"hours",locale:g,formatDurationStr:t}):null,0===v.days?(0,Je.jsx)(ry,{duration:v,unit:"minutes",locale:g,formatDurationStr:t}):null,0===v.days&&0===v.hours?(0,Je.jsx)(ry,{duration:v,unit:"seconds",locale:g,formatDurationStr:t}):null]}),s===Vv.default?(0,Je.jsx)("span",{children:r}):null]}):null}));Oy.displayName="Countdown";const jy=(0,l.forwardRef)((({children:e,className:t,...n},r)=>{const{className:o,...i}=ct(n,"PageContentWrapper");return(0,Je.jsx)("div",{...i,className:On(o,t),...n,ref:r,children:e})}));jy.displayName="PageContentWrapper";const Ny=(0,l.forwardRef)((({auctionEndTime:e,auctionTitle:t,imageSrcUrl:n,imageSrcSet:r,imageSizes:o,imageLoading:i,imageFetchPriority:a,location:s,countdownTimerLabel:l,countdownFormatDuration:c,auctionState:u,occurrenceInformation:d,onClick:f,children:p,className:h,footerElement:m,headerLabel:g,showTimer:v,getCurrentDateTime:y,...w},b)=>{const{className:x,...S}=ct(w,"SaleHeaderBanner"),E=u===xn.live,C={endDateTime:e,label:l,formatDurationStr:c,getCurrentDateTime:y};return(0,Je.jsxs)("div",{...S,className:On(x,h),...w,ref:b,children:[E&&e&&v?(0,Je.jsx)(wn.Media,{lessThan:"md",children:(0,Je.jsx)("div",{className:`${x}__stack__countdown`,children:(0,Je.jsx)(Oy,{...C,showBottomBorder:!1})})}):null,(0,Je.jsx)(Rm,{aspectRatio:"16/9",src:n,alt:String(t),objectFit:"cover",className:`${x}__image`,srcSet:r,sizes:o,loading:i,fetchPriority:a}),(0,Je.jsx)(jy,{className:`${x}__stack-wrapper`,...S,...w,ref:b,children:(0,Je.jsxs)("div",{className:`${x}__stack`,children:[E&&e&&v?(0,Je.jsx)(wn.Media,{greaterThanOrEqual:"md",children:(0,Je.jsx)("div",{className:`${x}__stack__countdown`,children:(0,Je.jsx)(Oy,{...C})})}):null,(0,Je.jsx)(Cf,{variant:xf.badge,children:g}),(0,Je.jsx)(Cf,{variant:xf.title1,children:t}),(0,Je.jsx)(Cf,{variant:xf.string2,className:`${x}__location`,children:s}),(0,Je.jsxs)("div",{className:`${x}__occurrence-details`,children:[d.map((({date:e,occurrenceLabel:t})=>(0,Je.jsxs)("div",{className:`${x}__occurrence-details-text`,children:[(0,Je.jsx)(Cf,{variant:xf.string2,children:t}),(0,Je.jsx)(Cf,{variant:xf.string2,className:`${x}__date`,children:e})]},String(e)))),p]}),m]})})]})}));Ny.displayName="SaleHeaderBanner";(0,l.forwardRef)((({ctaText:e="View Calendar",ctaLabel:t="Browse Upcoming Sale",className:n,...r},o)=>{const{className:i}=ct(r,"SaleHeaderBanner");return(0,Je.jsxs)("div",{className:`${i}__occurrence-details-text`,children:[(0,Je.jsx)(Cf,{variant:xf.string2,children:t}),(0,Je.jsx)(Af,{href:"/calendar",children:e})]})})).displayName="SaleHeaderBrowseAuctions";const _y=({className:e,children:t,titleText:n="Never Miss A Moment",buttonText:r="Subscribe To Our Newsletter",onSubscribeClick:o,...i})=>{const{className:a,...s}=ct(i,"Social");return(0,Je.jsxs)("div",{...s,className:On(a,e),...i,children:[(0,Je.jsx)(Cf,{variant:xf.heading4,className:`${a}__header`,children:n}),(0,Je.jsx)(Nn,{onClick:o,variant:jn.tertiary,className:`${a}__button`,children:r}),t]})};var ky=(e=>(e.Default="default",e.Loading="loading",e.Invalid="invalid",e.Error="error",e.Success="success",e))(ky||{});const Py=({autoFocus:e=!0,blurb:t,buttonText:n="Sign Up",buttonProps:r,className:o,element:i="form",inputLabelText:a="Enter Your Email Address To Sign Up*",inputPlaceholder:s="example@email.com",title:l="Never Miss A Moment",loadingText:c="Loading...",invalidText:u="",errorText:d="An error occurred. Please try again.",successText:f,privacyText:p="By signing up, you agree to receive email communications from Phillips.",subscriptionState:h=ky.Default,id:m,...g})=>{const{className:v,...y}=ct({id:m,...g},"Subscribe"),w=h===ky.Invalid,b=h===ky.Loading,x=h===ky.Success,S=h===ky.Error,E={invalid:u,success:f,loading:c,error:d},C=h!==ky.Default?E[h]:"",A=x||b,T=w||S;return(0,Je.jsxs)(i,{id:m,...y,className:On(v,o),noValidate:!0,...g,children:[(0,Je.jsx)("h3",{className:`${v}__title`,children:l}),t?(0,Je.jsx)("p",{className:`${v}__blurb`,children:t}):null,(0,Je.jsx)(bf,{autoFocus:e,className:`${v}__input`,type:"email",name:"email",placeholder:s,labelText:a,invalid:T,invalidText:C,warn:A,warnText:C,required:!0,id:`${m}-input`}),(0,Je.jsx)(Nn,{className:`${v}__button ${o}`,variant:jn.secondary,type:"submit",...r,children:n}),p?(0,Je.jsx)("p",{className:`${v}__privacy`,children:p}):null]})};var My=1,Ry=.9,Dy=.8,Ly=.17,Iy=.1,$y=.999,Fy=.9999,zy=.99,By=/[\\\/_+.#"@\[\(\{&]/,Hy=/[\\\/_+.#"@\[\(\{&]/g,Uy=/[\s-]/,Wy=/[\s-]/g;function Vy(e,t,n,r,o,i,a){if(i===t.length)return o===e.length?My:zy;var s=`${o},${i}`;if(void 0!==a[s])return a[s];for(var l,c,u,d,f=r.charAt(i),p=n.indexOf(f,o),h=0;p>=0;)(l=Vy(e,t,n,r,p+1,i+1,a))>h&&(p===o?l*=My:By.test(e.charAt(p-1))?(l*=Dy,(u=e.slice(o,p-1).match(Hy))&&o>0&&(l*=Math.pow($y,u.length))):Uy.test(e.charAt(p-1))?(l*=Ry,(d=e.slice(o,p-1).match(Wy))&&o>0&&(l*=Math.pow($y,d.length))):(l*=Ly,o>0&&(l*=Math.pow($y,p-o))),e.charAt(p)!==t.charAt(i)&&(l*=Fy)),(l<Iy&&n.charAt(p-1)===r.charAt(i+1)||r.charAt(i+1)===r.charAt(i)&&n.charAt(p-1)!==r.charAt(i))&&((c=Vy(e,t,n,r,p+1,i+2,a))*Iy>l&&(l=c*Iy)),l>h&&(h=l),p=n.indexOf(f,p+1);return a[s]=h,h}function qy(e){return e.toLowerCase().replace(Wy," ")}function Yy(e,t,n){return Vy(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,qy(e),qy(t),0,0,{})}var Gy='[cmdk-group=""]',Ky='[cmdk-group-items=""]',Xy='[cmdk-item=""]',Jy=`${Xy}:not([aria-disabled="true"])`,Zy="cmdk-item-select",Qy="data-value",ew=(e,t,n)=>Yy(e,t,n),tw=l.createContext(void 0),nw=()=>l.useContext(tw),rw=l.createContext(void 0),ow=()=>l.useContext(rw),iw=l.createContext(void 0),aw=l.forwardRef(((e,t)=>{let n=bw((()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}})),r=bw((()=>new Set)),o=bw((()=>new Map)),i=bw((()=>new Map)),a=bw((()=>new Set)),s=yw(e),{label:c,children:u,value:d,onValueChange:f,filter:p,shouldFilter:h,loop:m,disablePointerSelection:g=!1,vimBindings:v=!0,...y}=e,w=Xn(),b=Xn(),x=Xn(),S=l.useRef(null),E=Ew();ww((()=>{if(void 0!==d){let e=d.trim();n.current.value=e,C.emit()}}),[d]),ww((()=>{E(6,_)}),[]);let C=l.useMemo((()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var o,i,a,l;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)N(),O(),E(1,j);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(x);e?e.focus():null==(o=document.getElementById(w))||o.focus()}if(E(7,(()=>{var e;n.current.selectedItemId=null==(e=k())?void 0:e.id,C.emit()})),r||E(5,_),void 0!==(null==(i=s.current)?void 0:i.value)){let e=t??"";return void(null==(l=(a=s.current).onValueChange)||l.call(a,e))}}C.emit()}},emit:()=>{a.current.forEach((e=>e()))}})),[]),A=l.useMemo((()=>({value:(e,t,r)=>{var o;t!==(null==(o=i.current.get(e))?void 0:o.value)&&(i.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),E(2,(()=>{O(),C.emit()})))},item:(e,t)=>(r.current.add(e),t&&(o.current.has(t)?o.current.get(t).add(e):o.current.set(t,new Set([e]))),E(3,(()=>{N(),O(),n.current.value||j(),C.emit()})),()=>{i.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=k();E(4,(()=>{N(),t?.getAttribute("id")===e&&j(),C.emit()}))}),group:e=>(o.current.has(e)||o.current.set(e,new Set),()=>{i.current.delete(e),o.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:w,inputId:x,labelId:b,listInnerRef:S})),[]);function T(e,t){var r,o;let i=null!=(o=null==(r=s.current)?void 0:r.filter)?o:ew;return e?i(e,n.current.search,t):0}function O(){if(!n.current.search||!1===s.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{let r=o.current.get(n),i=0;r.forEach((t=>{let n=e.get(t);i=Math.max(n,i)})),t.push([n,i])}));let r=S.current;P().sort(((t,n)=>{var r,o;let i=t.getAttribute("id"),a=n.getAttribute("id");return(null!=(r=e.get(a))?r:0)-(null!=(o=e.get(i))?o:0)})).forEach((e=>{let t=e.closest(Ky);t?t.appendChild(e.parentElement===t?e:e.closest(`${Ky} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${Ky} > *`))})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t;let n=null==(t=S.current)?void 0:t.querySelector(`${Gy}[${Qy}="${encodeURIComponent(e[0])}"]`);n?.parentElement.appendChild(n)}))}function j(){let e=P().find((e=>"true"!==e.getAttribute("aria-disabled"))),t=e?.getAttribute(Qy);C.setState("value",t||void 0)}function N(){var e,t,a,l;if(!n.current.search||!1===s.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let c=0;for(let o of r.current){let r=T(null!=(t=null==(e=i.current.get(o))?void 0:e.value)?t:"",null!=(l=null==(a=i.current.get(o))?void 0:a.keywords)?l:[]);n.current.filtered.items.set(o,r),r>0&&c++}for(let[e,t]of o.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=c}function _(){var e,t,n;let r=k();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(Gy))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function k(){var e;return null==(e=S.current)?void 0:e.querySelector(`${Xy}[aria-selected="true"]`)}function P(){var e;return Array.from((null==(e=S.current)?void 0:e.querySelectorAll(Jy))||[])}function M(e){let t=P()[e];t&&C.setState("value",t.getAttribute(Qy))}function R(e){var t;let n=k(),r=P(),o=r.findIndex((e=>e===n)),i=r[o+e];null!=(t=s.current)&&t.loop&&(i=o+e<0?r[r.length-1]:o+e===r.length?r[0]:r[o+e]),i&&C.setState("value",i.getAttribute(Qy))}function D(e){let t,n=k(),r=n?.closest(Gy);for(;r&&!t;)r=e>0?gw(r,Gy):vw(r,Gy),t=r?.querySelector(Jy);t?C.setState("value",t.getAttribute(Qy)):R(e)}let L=()=>M(P().length-1),I=e=>{e.preventDefault(),e.metaKey?L():e.altKey?D(1):R(1)},$=e=>{e.preventDefault(),e.metaKey?M(0):e.altKey?D(-1):R(-1)};return l.createElement(Wn.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=y.onKeyDown)||t.call(y,e);let n=e.nativeEvent.isComposing||229===e.keyCode;if(!e.defaultPrevented&&!n)switch(e.key){case"n":case"j":v&&e.ctrlKey&&I(e);break;case"ArrowDown":I(e);break;case"p":case"k":v&&e.ctrlKey&&$(e);break;case"ArrowUp":$(e);break;case"Home":e.preventDefault(),M(0);break;case"End":e.preventDefault(),L();break;case"Enter":{e.preventDefault();let t=k();if(t){let e=new Event(Zy);t.dispatchEvent(e)}}}}},l.createElement("label",{"cmdk-label":"",htmlFor:A.inputId,id:A.labelId,style:Aw},c),Cw(e,(e=>l.createElement(rw.Provider,{value:C},l.createElement(tw.Provider,{value:A},e)))))})),sw=l.forwardRef(((e,t)=>{var n,r;let o=Xn(),i=l.useRef(null),a=l.useContext(iw),s=nw(),c=yw(e),u=null!=(r=null==(n=c.current)?void 0:n.forceMount)?r:a?.forceMount;ww((()=>{if(!u)return s.item(o,a?.id)}),[u]);let d=Sw(o,i,[e.value,e.children,i],e.keywords),f=ow(),p=xw((e=>e.value&&e.value===d.current)),h=xw((e=>!(!u&&!1!==s.filter())||(!e.search||e.filtered.items.get(o)>0)));function m(){var e,t;g(),null==(t=(e=c.current).onSelect)||t.call(e,d.current)}function g(){f.setState("value",d.current,!0)}if(l.useEffect((()=>{let t=i.current;if(t&&!e.disabled)return t.addEventListener(Zy,m),()=>t.removeEventListener(Zy,m)}),[h,e.onSelect,e.disabled]),!h)return null;let{disabled:v,value:y,onSelect:w,forceMount:b,keywords:x,...S}=e;return l.createElement(Wn.div,{ref:Rn(i,t),...S,id:o,"cmdk-item":"",role:"option","aria-disabled":!!v,"aria-selected":!!p,"data-disabled":!!v,"data-selected":!!p,onPointerMove:v||s.getDisablePointerSelection()?void 0:g,onClick:v?void 0:m},e.children)})),lw=l.forwardRef(((e,t)=>{let{heading:n,children:r,forceMount:o,...i}=e,a=Xn(),s=l.useRef(null),c=l.useRef(null),u=Xn(),d=nw(),f=xw((e=>!(!o&&!1!==d.filter())||(!e.search||e.filtered.groups.has(a))));ww((()=>d.group(a)),[]),Sw(a,s,[e.value,e.heading,c]);let p=l.useMemo((()=>({id:a,forceMount:o})),[o]);return l.createElement(Wn.div,{ref:Rn(s,t),...i,"cmdk-group":"",role:"presentation",hidden:!f||void 0},n&&l.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),Cw(e,(e=>l.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},l.createElement(iw.Provider,{value:p},e)))))})),cw=l.forwardRef(((e,t)=>{let{alwaysRender:n,...r}=e,o=l.useRef(null),i=xw((e=>!e.search));return n||i?l.createElement(Wn.div,{ref:Rn(o,t),...r,"cmdk-separator":"",role:"separator"}):null})),uw=l.forwardRef(((e,t)=>{let{onValueChange:n,...r}=e,o=null!=e.value,i=ow(),a=xw((e=>e.search)),s=xw((e=>e.selectedItemId)),c=nw();return l.useEffect((()=>{null!=e.value&&i.setState("search",e.value)}),[e.value]),l.createElement(Wn.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":s,id:c.inputId,type:"text",value:o?e.value:a,onChange:e=>{o||i.setState("search",e.target.value),n?.(e.target.value)}})})),dw=l.forwardRef(((e,t)=>{let{children:n,label:r="Suggestions",...o}=e,i=l.useRef(null),a=l.useRef(null),s=xw((e=>e.selectedItemId)),c=nw();return l.useEffect((()=>{if(a.current&&i.current){let e,t=a.current,n=i.current,r=new ResizeObserver((()=>{e=requestAnimationFrame((()=>{let e=t.offsetHeight;n.style.setProperty("--cmdk-list-height",e.toFixed(1)+"px")}))}));return r.observe(t),()=>{cancelAnimationFrame(e),r.unobserve(t)}}}),[]),l.createElement(Wn.div,{ref:Rn(i,t),...o,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":r,id:c.listId},Cw(e,(e=>l.createElement("div",{ref:Rn(a,c.listInnerRef),"cmdk-list-sizer":""},e))))})),fw=l.forwardRef(((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:o,contentClassName:i,container:a,...s}=e;return l.createElement(Kl,{open:n,onOpenChange:r},l.createElement(Xl,{container:a},l.createElement(Jl,{"cmdk-overlay":"",className:o}),l.createElement(Zl,{"aria-label":e.label,"cmdk-dialog":"",className:i},l.createElement(aw,{ref:t,...s}))))})),pw=l.forwardRef(((e,t)=>xw((e=>0===e.filtered.count))?l.createElement(Wn.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),hw=l.forwardRef(((e,t)=>{let{progress:n,children:r,label:o="Loading...",...i}=e;return l.createElement(Wn.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},Cw(e,(e=>l.createElement("div",{"aria-hidden":!0},e))))})),mw=Object.assign(aw,{List:dw,Item:sw,Input:uw,Group:lw,Separator:cw,Dialog:fw,Empty:pw,Loading:hw});function gw(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function vw(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function yw(e){let t=l.useRef(e);return ww((()=>{t.current=e})),t}var ww=typeof window>"u"?l.useEffect:l.useLayoutEffect;function bw(e){let t=l.useRef();return void 0===t.current&&(t.current=e()),t}function xw(e){let t=ow(),n=()=>e(t.snapshot());return l.useSyncExternalStore(t.subscribe,n,n)}function Sw(e,t,n,r=[]){let o=l.useRef(),i=nw();return ww((()=>{var a;let s=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():o.current}})(),l=r.map((e=>e.trim()));i.value(e,s,l),null==(a=t.current)||a.setAttribute(Qy,s),o.current=s})),o}var Ew=()=>{let[e,t]=l.useState(),n=bw((()=>new Map));return ww((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function Cw({asChild:e,children:t},n){return e&&l.isValidElement(t)?l.cloneElement(function(e){let t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(t),{ref:t.ref},n(t.props.children)):n(t)}var Aw={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const Tw=l.forwardRef((function({options:e=[],className:t,id:n,labelText:r,placeholder:o,inputValue:i="",setInputValue:a,ariaLabelDropdown:s,ariaLabelInput:c,ariaLabelClear:u,ariaLabelContent:d,hideLabel:f=!1,autoClearInput:p=!0,popoverContainerRef:h,noOptionsMessage:m="No Options.",...g},v){const{className:y,...w}=ct({id:n},"ComboBox"),[b,x]=l.useState(!1),S=l.useRef(null),E=lo,C=po,A=l.useRef(null),T=l.useRef({}),O=e.filter((e=>e.value.toLowerCase().includes(i.toLowerCase())||e.label&&e.label.toLowerCase().includes(i.toLowerCase())));return mm(A,(e=>{e.target.closest(`.${y}__item`)||e.target.closest(`.${y}__content`)||(!O.some((e=>e.value.toLowerCase()===i.toLowerCase()))&&p&&a(""),x(!1),e.stopPropagation())})),(0,Je.jsx)("div",{ref:v,className:On(y,t),id:n,...w,...g,children:(0,Je.jsxs)("div",{ref:A,children:[(0,Je.jsx)("label",{htmlFor:`${n}-input`,className:On(`${y}__label`,{[`${y}__label--hidden`]:f}),"data-testid":`${n}-label`,children:r}),(0,Je.jsx)(mw,{loop:!0,onKeyDown:e=>{setTimeout((()=>{"Escape"===e.key&&x(!1)}),0)},children:(0,Je.jsxs)(Bv,{open:!0,children:[(0,Je.jsxs)("div",{className:`${y}__input-wrapper`,children:[(0,Je.jsx)(Hv,{asChild:!0,children:(0,Je.jsx)(uw,{ref:S,placeholder:o,value:i,onValueChange:e=>{a(e),x(!0)},onKeyDown:e=>{"Tab"===e.key&&x(!1)},onFocus:()=>{x((e=>!e)),a(i)},className:`${y}__input`,tabIndex:0,"aria-label":c||`${n}-input`,"data-testid":`${n}-input`})}),i.length>0&&(0,Je.jsx)("button",{className:`${y}__close-button`,"data-testid":`${n}-item-close-button`,onClick:()=>a(""),"aria-label":u||`${n}-clear`,tabIndex:-1,children:(0,Je.jsx)("div",{className:`${y}__icon`,children:(0,Je.jsx)(C,{color:Jr("","$primary-black"),height:18,width:18,className:`${y}__icon-button`})})}),(0,Je.jsx)("button",{"aria-label":s||`${n}-dropdown`,className:`${y}__dropdown-button`,onClick:()=>S.current?.focus(),"data-testid":`${n}-dropdown`,tabIndex:-1,children:(0,Je.jsx)("div",{className:On(`${y}__icon`,{[`${y}__icon--flipped`]:b}),children:(0,Je.jsx)(E,{color:Jr("","$pure-black"),height:18,width:18,className:`${y}__icon-button`})})})]}),(0,Je.jsx)(Uv,{container:h?.current,children:(0,Je.jsx)(Wv,{className:`${y}__content`,"aria-label":d||`${n}-content`,children:b&&(0,Je.jsx)(dw,{className:`${y}__list`,children:O.some((e=>e.value.toLowerCase().includes(i.toLowerCase())||e.label&&e.label.toLowerCase().includes(i.toLowerCase())))?(0,Je.jsx)(lw,{children:O.map(((e,t)=>(e.value.toLowerCase().includes(i.toLowerCase())||e.label&&e.label.toLowerCase().includes(i.toLowerCase()))&&(0,Je.jsx)(sw,{className:`${y}__item`,value:e.label?`${e.label} ${e.value}`:e.value,ref:t=>T.current[e.value]=t,onSelect:e=>{a(e),x(!1)},children:e.label?`${e.label} ${e.value}`:e.value},`${e.value}-${t}`)))}):(0,Je.jsx)(mw.Empty,{children:m})})})})]})})]})})}));Tw.displayName="ComboBox";(0,l.forwardRef)((({"aria-label":e="Loading",isCentered:t=!0,className:n,...r},o)=>(0,Je.jsx)("span",{ref:o,...r,className:On(n,`${lt}-loader`,{[`${lt}-loader--centered`]:t}),"data-testid":"loader",role:"status","aria-live":"polite","aria-label":e}))).displayName="Loader";const Ow=({children:e,className:t,copyright:n=`© ${ft} Phillips Auctioneers, LLC`,id:r})=>(0,Je.jsxs)("footer",{"data-testid":r||"footer",id:r,className:On(`${lt}-footer`,{className:t}),children:[(0,Je.jsx)("div",{className:`${lt}-footer__links`,children:e}),(0,Je.jsxs)("div",{className:`${lt}-footer__copyright`,children:[(0,Je.jsx)("h3",{"data-testid":"footer-logo",className:`${lt}-footer__logo`,children:(0,Je.jsx)("a",{href:"/","aria-label":"logo",children:(0,Je.jsx)(Ei,{icon:"PhillipsLogo",width:"94px"})})}),(0,Je.jsx)(Cf,{variant:xf.body3,children:n})]})]});var jw=c[" useInsertionEffect ".trim().toString()]||Vn;function Nw({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=function({defaultProp:e,onChange:t}){const[n,r]=l.useState(e),o=l.useRef(n),i=l.useRef(t);return jw((()=>{i.current=t}),[t]),l.useEffect((()=>{o.current!==n&&(i.current?.(n),o.current=n)}),[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:o;{const t=l.useRef(void 0!==e);l.useEffect((()=>{const e=t.current;e!==s&&console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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=s}),[s,r])}return[c,l.useCallback((t=>{if(s){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&a.current?.(n)}else i(t)}),[s,e,i,a])]}function _w(e){const t=l.forwardRef(((e,t)=>{const{children:n,...r}=e,o=l.isValidElement(n)?function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n):void 0,i=Dn(o,t);if(l.isValidElement(n)){const e=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(e.ref=i),l.cloneElement(n,e)}return l.Children.count(n)>1?l.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}var kw=Symbol("radix.slottable");function Pw(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===kw}var Mw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce(((e,t)=>{const n=function(e){const t=_w(e),n=l.forwardRef(((e,n)=>{const{children:r,...o}=e,i=l.Children.toArray(r),a=i.find(Pw);if(a){const e=a.props.children,r=i.map((t=>t===a?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t));return(0,Je.jsx)(t,{...o,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,Je.jsx)(t,{...o,ref:n,children:r})}));return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=l.forwardRef(((e,r)=>{const{asChild:o,...i}=e,a=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,Je.jsx)(a,{...i,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});function Rw(e){const t=Dw(e),n=l.forwardRef(((e,n)=>{const{children:r,...o}=e,i=l.Children.toArray(r),a=i.find(Iw);if(a){const e=a.props.children,r=i.map((t=>t===a?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t));return(0,Je.jsx)(t,{...o,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,Je.jsx)(t,{...o,ref:n,children:r})}));return n.displayName=`${e}.Slot`,n}function Dw(e){const t=l.forwardRef(((e,t)=>{const{children:n,...r}=e,o=l.isValidElement(n)?function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n):void 0,i=Dn(o,t);if(l.isValidElement(n)){const e=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(e.ref=i),l.cloneElement(n,e)}return l.Children.count(n)>1?l.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}var Lw=Symbol("radix.slottable");function Iw(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Lw}function $w(e){const t=e+"CollectionProvider",[n,r]=kn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{const{scope:t,children:n}=e,r=l.useRef(null),i=l.useRef(new Map).current;return(0,Je.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};a.displayName=t;const s=e+"CollectionSlot",c=Rw(s),u=l.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=Dn(t,i(s,n).collectionRef);return(0,Je.jsx)(c,{ref:o,children:r})}));u.displayName=s;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=Rw(d),h=l.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,a=l.useRef(null),s=Dn(t,a),c=i(d,n);return l.useEffect((()=>(c.itemMap.set(a,{ref:a,...o}),()=>{c.itemMap.delete(a)}))),(0,Je.jsx)(p,{[f]:"",ref:s,children:r})}));return h.displayName=d,[{Provider:a,Slot:u,ItemSlot:h},function(t){const n=i(e+"CollectionConsumer",t);return l.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}var Fw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce(((e,t)=>{const n=Rw(`Primitive.${t}`),r=l.forwardRef(((e,r)=>{const{asChild:o,...i}=e,a=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,Je.jsx)(a,{...i,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});function zw(e,t){e&&p.flushSync((()=>e.dispatchEvent(t)))}var Bw,Hw="dismissableLayer.update",Uw="dismissableLayer.pointerDownOutside",Ww="dismissableLayer.focusOutside",Vw=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qw=l.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,u=l.useContext(Vw),[d,f]=l.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=l.useState({}),m=Dn(t,(e=>f(e))),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),w=d?g.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=w>=y,S=function(e,t=globalThis?.document){const n=Hn(e),r=l.useRef(!1),o=l.useRef((()=>{}));return l.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){Gw(Uw,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...u.branches].some((e=>e.contains(t)));!x||n||(o?.(e),a?.(e),e.defaultPrevented||s?.())}),p),E=function(e,t=globalThis?.document){const n=Hn(e),r=l.useRef(!1);return l.useEffect((()=>{const e=e=>{e.target&&!r.current&&Gw(Ww,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...u.branches].some((e=>e.contains(t)))||(i?.(e),a?.(e),e.defaultPrevented||s?.())}),p);return ts((e=>{w===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),p),l.useEffect((()=>{if(d)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(Bw=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Yw(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=Bw)}}),[d,p,n,u]),l.useEffect((()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Yw())}),[d,u]),l.useEffect((()=>{const e=()=>h({});return document.addEventListener(Hw,e),()=>document.removeEventListener(Hw,e)}),[]),(0,Je.jsx)(Fw.div,{...c,ref:m,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:Bn(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Bn(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Bn(e.onPointerDownCapture,S.onPointerDownCapture)})}));qw.displayName="DismissableLayer";function Yw(){const e=new CustomEvent(Hw);document.dispatchEvent(e)}function Gw(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?zw(o,i):o.dispatchEvent(i)}l.forwardRef(((e,t)=>{const n=l.useContext(Vw),r=l.useRef(null),o=Dn(t,r);return l.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),(0,Je.jsx)(Fw.div,{...e,ref:o})})).displayName="DismissableLayerBranch";var Kw="focusScope.autoFocusOnMount",Xw="focusScope.autoFocusOnUnmount",Jw={bubbles:!1,cancelable:!0},Zw=l.forwardRef(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=l.useState(null),u=Hn(o),d=Hn(i),f=l.useRef(null),p=Dn(t,(e=>c(e))),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect((()=>{if(r){let e=function(e){if(h.paused||!s)return;const t=e.target;s.contains(t)?f.current=t:nb(f.current,{select:!0})},t=function(e){if(h.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||nb(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&nb(s)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[r,s,h.paused]),l.useEffect((()=>{if(s){rb.add(h);const e=document.activeElement;if(!s.contains(e)){const t=new CustomEvent(Kw,Jw);s.addEventListener(Kw,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(nb(r,{select:t}),document.activeElement!==n)return}(function(e){return e.filter((e=>"A"!==e.tagName))}(Qw(s)),{select:!0}),document.activeElement===e&&nb(s))}return()=>{s.removeEventListener(Kw,u),setTimeout((()=>{const t=new CustomEvent(Xw,Jw);s.addEventListener(Xw,d),s.dispatchEvent(t),t.defaultPrevented||nb(e??document.body,{select:!0}),s.removeEventListener(Xw,d),rb.remove(h)}),0)}}}),[s,u,d,h]);const m=l.useCallback((e=>{if(!n&&!r||h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=Qw(e),n=eb(t,e),r=eb(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&nb(i,{select:!0})):(e.preventDefault(),n&&nb(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,h.paused]);return(0,Je.jsx)(Fw.div,{tabIndex:-1,...a,ref:p,onKeyDown:m})}));function Qw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const 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 eb(e,t){for(const n of e)if(!tb(n,{upTo:t}))return n}function tb(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function nb(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}Zw.displayName="FocusScope";var rb=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=ob(e,t),e.unshift(t)},remove(t){e=ob(e,t),e[0]?.resume()}}}();function ob(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var ib=l.forwardRef(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return(0,Je.jsx)(Fw.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,Je.jsx)("polygon",{points:"0,0 30,0 15,10"})})}));ib.displayName="Arrow";var ab=ib,sb="Popper",[lb,cb]=kn(sb),[ub,db]=lb(sb),fb=e=>{const{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return(0,Je.jsx)(ub,{scope:t,anchor:r,onAnchorChange:o,children:n})};fb.displayName=sb;var pb="PopperAnchor",hb=l.forwardRef(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=db(pb,n),a=l.useRef(null),s=Dn(t,a);return l.useEffect((()=>{i.onAnchorChange(r?.current||a.current)})),r?null:(0,Je.jsx)(Fw.div,{...o,ref:s})}));hb.displayName=pb;var mb="PopperContent",[gb,vb]=lb(mb),yb=l.forwardRef(((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:m,...g}=e,v=db(mb,n),[y,w]=l.useState(null),b=Dn(t,(e=>w(e))),[x,S]=l.useState(null),E=Mu(x),C=E?.width??0,A=E?.height??0,T=r+("center"!==i?"-"+i:""),O="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},j=Array.isArray(u)?u:[u],N=j.length>0,_={padding:O,boundary:j.filter(Sb),altBoundary:N},{refs:k,floatingStyles:P,placement:M,isPositioned:R,middlewareData:D}=Su({strategy:"fixed",placement:T,whileElementsMounted:(...e)=>lu(...e,{animationFrame:"always"===h}),elements:{reference:v.anchor},middleware:[Cu({mainAxis:o+A,alignmentAxis:a}),c&&Au({mainAxis:!0,crossAxis:!1,limiter:"partial"===f?Tu():void 0,..._}),c&&Ou({..._}),ju({..._,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),x&&_u({element:x,padding:s}),Eb({arrowWidth:C,arrowHeight:A}),p&&Nu({strategy:"referenceHidden",..._})]}),[L,I]=Cb(M),$=Hn(m);Vn((()=>{R&&$?.()}),[R,$]);const F=D.arrow?.x,z=D.arrow?.y,B=0!==D.arrow?.centerOffset,[H,U]=l.useState();return Vn((()=>{y&&U(window.getComputedStyle(y).zIndex)}),[y]),(0,Je.jsx)("div",{ref:k.setFloating,"data-radix-popper-content-wrapper":"",style:{...P,transform:R?P.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,Je.jsx)(gb,{scope:n,placedSide:L,onArrowChange:S,arrowX:F,arrowY:z,shouldHideArrow:B,children:(0,Je.jsx)(Fw.div,{"data-side":L,"data-align":I,...g,ref:b,style:{...g.style,animation:R?void 0:"none"}})})})}));yb.displayName=mb;var wb="PopperArrow",bb={top:"bottom",right:"left",bottom:"top",left:"right"},xb=l.forwardRef((function(e,t){const{__scopePopper:n,...r}=e,o=vb(wb,n),i=bb[o.placedSide];return(0,Je.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,Je.jsx)(ab,{...r,ref:t,style:{...r.style,display:"block"}})})}));function Sb(e){return null!==e}xb.displayName=wb;var Eb=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,c]=Cb(n),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+s/2;let p="",h="";return"bottom"===l?(p=i?u:`${d}px`,h=-s+"px"):"top"===l?(p=i?u:`${d}px`,h=`${r.floating.height+s}px`):"right"===l?(p=-s+"px",h=i?u:`${f}px`):"left"===l&&(p=`${r.floating.width+s}px`,h=i?u:`${f}px`),{data:{x:p,y:h}}}});function Cb(e){const[t,n="center"]=e.split("-");return[t,n]}var Ab=fb,Tb=hb,Ob=yb,jb=xb,Nb=l.forwardRef(((e,t)=>{const{container:n,...r}=e,[o,i]=l.useState(!1);Vn((()=>i(!0)),[]);const a=n||o&&globalThis?.document?.body;return a?p.createPortal((0,Je.jsx)(Fw.div,{...r,ref:t}),a):null}));Nb.displayName="Portal";var _b=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=l.useState(),r=l.useRef(null),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=function(e,t){return l.useReducer(((e,n)=>t[e][n]??e),e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect((()=>{const e=kb(r.current);i.current="mounted"===s?e:"none"}),[s]),Vn((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=kb(t);c(e?"MOUNT":"none"===a||"none"===t?.display?"UNMOUNT":n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,c]),Vn((()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,a=i=>{const a=kb(r.current).includes(i.animationName);if(i.target===t&&a&&(c("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout((()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)}))}},s=e=>{e.target===t&&(i.current=kb(r.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback((e=>{r.current=e?getComputedStyle(e):null,n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):l.Children.only(n),i=Dn(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof n||r.isPresent?l.cloneElement(o,{ref:i}):null};function kb(e){return e?.animationName||"none"}_b.displayName="Presence";var Pb=c[" useInsertionEffect ".trim().toString()]||Vn;function Mb({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=function({defaultProp:e,onChange:t}){const[n,r]=l.useState(e),o=l.useRef(n),i=l.useRef(t);return Pb((()=>{i.current=t}),[t]),l.useEffect((()=>{o.current!==n&&(i.current?.(n),o.current=n)}),[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:o;{const t=l.useRef(void 0!==e);l.useEffect((()=>{const e=t.current;e!==s&&console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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=s}),[s,r])}return[c,l.useCallback((t=>{if(s){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&a.current?.(n)}else i(t)}),[s,e,i,a])]}var Rb="rovingFocusGroup.onEntryFocus",Db={bubbles:!1,cancelable:!0},Lb="RovingFocusGroup",[Ib,$b,Fb]=$w(Lb),[zb,Bb]=kn(Lb,[Fb]),[Hb,Ub]=zb(Lb),Wb=l.forwardRef(((e,t)=>(0,Je.jsx)(Ib.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,Je.jsx)(Ib.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,Je.jsx)(Vb,{...e,ref:t})})})));Wb.displayName=Lb;var Vb=l.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=l.useRef(null),h=Dn(t,p),m=pr(i),[g,v]=Mb({prop:a,defaultProp:s??null,onChange:c,caller:Lb}),[y,w]=l.useState(!1),b=Hn(u),x=$b(n),S=l.useRef(!1),[E,C]=l.useState(0);return l.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(Rb,b),()=>e.removeEventListener(Rb,b)}),[b]),(0,Je.jsx)(Hb,{scope:n,orientation:r,dir:m,loop:o,currentTabStopId:g,onItemFocus:l.useCallback((e=>v(e)),[v]),onItemShiftTab:l.useCallback((()=>w(!0)),[]),onFocusableItemAdd:l.useCallback((()=>C((e=>e+1))),[]),onFocusableItemRemove:l.useCallback((()=>C((e=>e-1))),[]),children:(0,Je.jsx)(Fw.div,{tabIndex:y||0===E?-1:0,"data-orientation":r,...f,ref:h,style:{outline:"none",...e.style},onMouseDown:Bn(e.onMouseDown,(()=>{S.current=!0})),onFocus:Bn(e.onFocus,(e=>{const t=!S.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(Rb,Db);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=x().filter((e=>e.focusable));Kb([e.find((e=>e.active)),e.find((e=>e.id===g)),...e].filter(Boolean).map((e=>e.ref.current)),d)}}S.current=!1})),onBlur:Bn(e.onBlur,(()=>w(!1)))})})})),qb="RovingFocusGroupItem",Yb=l.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:a,...s}=e,c=Xn(),u=i||c,d=Ub(qb,n),f=d.currentTabStopId===u,p=$b(n),{onFocusableItemAdd:h,onFocusableItemRemove:m,currentTabStopId:g}=d;return l.useEffect((()=>{if(r)return h(),()=>m()}),[r,h,m]),(0,Je.jsx)(Ib.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:(0,Je.jsx)(Fw.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...s,ref:t,onMouseDown:Bn(e.onMouseDown,(e=>{r?d.onItemFocus(u):e.preventDefault()})),onFocus:Bn(e.onFocus,(()=>d.onItemFocus(u))),onKeyDown:Bn(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void d.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return Gb[r]}(e,d.orientation,d.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=p().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();const r=n.indexOf(e.currentTarget);n=d.loop?function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(n,r+1):n.slice(r+1)}setTimeout((()=>Kb(n)))}})),children:"function"==typeof a?a({isCurrentTabStop:f,hasTabStop:null!=g}):a})})}));Yb.displayName=qb;var Gb={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Kb(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var Xb=Wb,Jb=Yb,Zb=["Enter"," "],Qb=["ArrowUp","PageDown","End"],ex=["ArrowDown","PageUp","Home",...Qb],tx={ltr:[...Zb,"ArrowRight"],rtl:[...Zb,"ArrowLeft"]},nx={ltr:["ArrowLeft"],rtl:["ArrowRight"]},rx="Menu",[ox,ix,ax]=$w(rx),[sx,lx]=kn(rx,[ax,cb,Bb]),cx=cb(),ux=Bb(),[dx,fx]=sx(rx),[px,hx]=sx(rx),mx=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,s=cx(t),[c,u]=l.useState(null),d=l.useRef(!1),f=Hn(i),p=pr(o);return l.useEffect((()=>{const e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}}),[]),(0,Je.jsx)(Ab,{...s,children:(0,Je.jsx)(dx,{scope:t,open:n,onOpenChange:f,content:c,onContentChange:u,children:(0,Je.jsx)(px,{scope:t,onClose:l.useCallback((()=>f(!1)),[f]),isUsingKeyboardRef:d,dir:p,modal:a,children:r})})})};mx.displayName=rx;var gx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e,o=cx(n);return(0,Je.jsx)(Tb,{...o,...r,ref:t})}));gx.displayName="MenuAnchor";var vx="MenuPortal",[yx,wx]=sx(vx,{forceMount:void 0}),bx=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=fx(vx,t);return(0,Je.jsx)(yx,{scope:t,forceMount:n,children:(0,Je.jsx)(_b,{present:n||i.open,children:(0,Je.jsx)(Nb,{asChild:!0,container:o,children:r})})})};bx.displayName=vx;var xx="MenuContent",[Sx,Ex]=sx(xx),Cx=l.forwardRef(((e,t)=>{const n=wx(xx,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=fx(xx,e.__scopeMenu),a=hx(xx,e.__scopeMenu);return(0,Je.jsx)(ox.Provider,{scope:e.__scopeMenu,children:(0,Je.jsx)(_b,{present:r||i.open,children:(0,Je.jsx)(ox.Slot,{scope:e.__scopeMenu,children:a.modal?(0,Je.jsx)(Ax,{...o,ref:t}):(0,Je.jsx)(Tx,{...o,ref:t})})})})})),Ax=l.forwardRef(((e,t)=>{const n=fx(xx,e.__scopeMenu),r=l.useRef(null),o=Dn(t,r);return l.useEffect((()=>{const e=r.current;if(e)return gl(e)}),[]),(0,Je.jsx)(jx,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Bn(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})})),Tx=l.forwardRef(((e,t)=>{const n=fx(xx,e.__scopeMenu);return(0,Je.jsx)(jx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})})),Ox=Rw("MenuContent.ScrollLock"),jx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,disableOutsideScroll:m,...g}=e,v=fx(xx,n),y=hx(xx,n),w=cx(n),b=ux(n),x=ix(n),[S,E]=l.useState(null),C=l.useRef(null),A=Dn(t,C,v.onContentChange),T=l.useRef(0),O=l.useRef(""),j=l.useRef(0),N=l.useRef(null),_=l.useRef("right"),k=l.useRef(0),P=m?cl:l.Fragment,M=m?{as:Ox,allowPinchZoom:!0}:void 0,R=e=>{const t=O.current+e,n=x().filter((e=>!e.disabled)),r=document.activeElement,o=n.find((e=>e.ref.current===r))?.textValue,i=function(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(e,Math.max(o,0));1===r.length&&(i=i.filter((e=>e!==n)));const a=i.find((e=>e.toLowerCase().startsWith(r.toLowerCase())));return a!==n?a:void 0}(n.map((e=>e.textValue)),t,o),a=n.find((e=>e.textValue===i))?.ref.current;(function e(t){O.current=t,window.clearTimeout(T.current),""!==t&&(T.current=window.setTimeout((()=>e("")),1e3))})(t),a&&setTimeout((()=>a.focus()))};l.useEffect((()=>()=>window.clearTimeout(T.current)),[]),Ss();const D=l.useCallback((e=>_.current===N.current?.side&&function(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e],s=t[i],l=a.x,c=a.y,u=s.x,d=s.y;c>r!=d>r&&n<(u-l)*(r-c)/(d-c)+l&&(o=!o)}return o}(n,t)}(e,N.current?.area)),[]);return(0,Je.jsx)(Sx,{scope:n,searchRef:O,onItemEnter:l.useCallback((e=>{D(e)&&e.preventDefault()}),[D]),onItemLeave:l.useCallback((e=>{D(e)||(C.current?.focus(),E(null))}),[D]),onTriggerLeave:l.useCallback((e=>{D(e)&&e.preventDefault()}),[D]),pointerGraceTimerRef:j,onPointerGraceIntentChange:l.useCallback((e=>{N.current=e}),[]),children:(0,Je.jsx)(P,{...M,children:(0,Je.jsx)(Zw,{asChild:!0,trapped:o,onMountAutoFocus:Bn(i,(e=>{e.preventDefault(),C.current?.focus({preventScroll:!0})})),onUnmountAutoFocus:a,children:(0,Je.jsx)(qw,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,children:(0,Je.jsx)(Xb,{asChild:!0,...b,dir:y.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:E,onEntryFocus:Bn(c,(e=>{y.isUsingKeyboardRef.current||e.preventDefault()})),preventScrollOnEntryFocus:!0,children:(0,Je.jsx)(Ob,{role:"menu","aria-orientation":"vertical","data-state":eS(v.open),"data-radix-menu-content":"",dir:y.dir,...w,...g,ref:A,style:{outline:"none",...g.style},onKeyDown:Bn(g.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&R(e.key));const o=C.current;if(e.target!==o||!ex.includes(e.key))return;e.preventDefault();const i=x().filter((e=>!e.disabled)).map((e=>e.ref.current));Qb.includes(e.key)&&i.reverse(),function(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)})),onBlur:Bn(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(T.current),O.current="")})),onPointerMove:Bn(e.onPointerMove,rS((e=>{const t=e.target,n=k.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>k.current?"right":"left";_.current=t,k.current=e.clientX}})))})})})})})})}));Cx.displayName=xx;var Nx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,Je.jsx)(Fw.div,{role:"group",...r,ref:t})}));Nx.displayName="MenuGroup";var _x=l.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,Je.jsx)(Fw.div,{...r,ref:t})}));_x.displayName="MenuLabel";var kx="MenuItem",Px="menu.itemSelect",Mx=l.forwardRef(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=l.useRef(null),a=hx(kx,e.__scopeMenu),s=Ex(kx,e.__scopeMenu),c=Dn(t,i),u=l.useRef(!1);return(0,Je.jsx)(Rx,{...o,ref:c,disabled:n,onClick:Bn(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(Px,{bubbles:!0,cancelable:!0});e.addEventListener(Px,(e=>r?.(e)),{once:!0}),zw(e,t),t.defaultPrevented?u.current=!1:a.onClose()}})),onPointerDown:t=>{e.onPointerDown?.(t),u.current=!0},onPointerUp:Bn(e.onPointerUp,(e=>{u.current||e.currentTarget?.click()})),onKeyDown:Bn(e.onKeyDown,(e=>{const t=""!==s.searchRef.current;n||t&&" "===e.key||Zb.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))})}));Mx.displayName=kx;var Rx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=Ex(kx,n),s=ux(n),c=l.useRef(null),u=Dn(t,c),[d,f]=l.useState(!1),[p,h]=l.useState("");return l.useEffect((()=>{const e=c.current;e&&h((e.textContent??"").trim())}),[i.children]),(0,Je.jsx)(ox.ItemSlot,{scope:n,disabled:r,textValue:o??p,children:(0,Je.jsx)(Jb,{asChild:!0,...s,focusable:!r,children:(0,Je.jsx)(Fw.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:Bn(e.onPointerMove,rS((e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))}))),onPointerLeave:Bn(e.onPointerLeave,rS((e=>a.onItemLeave(e)))),onFocus:Bn(e.onFocus,(()=>f(!0))),onBlur:Bn(e.onBlur,(()=>f(!1)))})})})})),Dx=l.forwardRef(((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return(0,Je.jsx)(Ux,{scope:e.__scopeMenu,checked:n,children:(0,Je.jsx)(Mx,{role:"menuitemcheckbox","aria-checked":tS(n)?"mixed":n,...o,ref:t,"data-state":nS(n),onSelect:Bn(o.onSelect,(()=>r?.(!!tS(n)||!n)),{checkForDefaultPrevented:!1})})})}));Dx.displayName="MenuCheckboxItem";var Lx="MenuRadioGroup",[Ix,$x]=sx(Lx,{value:void 0,onValueChange:()=>{}}),Fx=l.forwardRef(((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=Hn(r);return(0,Je.jsx)(Ix,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,Je.jsx)(Nx,{...o,ref:t})})}));Fx.displayName=Lx;var zx="MenuRadioItem",Bx=l.forwardRef(((e,t)=>{const{value:n,...r}=e,o=$x(zx,e.__scopeMenu),i=n===o.value;return(0,Je.jsx)(Ux,{scope:e.__scopeMenu,checked:i,children:(0,Je.jsx)(Mx,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":nS(i),onSelect:Bn(r.onSelect,(()=>o.onValueChange?.(n)),{checkForDefaultPrevented:!1})})})}));Bx.displayName=zx;var Hx="MenuItemIndicator",[Ux,Wx]=sx(Hx,{checked:!1}),Vx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=Wx(Hx,n);return(0,Je.jsx)(_b,{present:r||tS(i.checked)||!0===i.checked,children:(0,Je.jsx)(Fw.span,{...o,ref:t,"data-state":nS(i.checked)})})}));Vx.displayName=Hx;var qx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,Je.jsx)(Fw.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})}));qx.displayName="MenuSeparator";var Yx=l.forwardRef(((e,t)=>{const{__scopeMenu:n,...r}=e,o=cx(n);return(0,Je.jsx)(jb,{...o,...r,ref:t})}));Yx.displayName="MenuArrow";var[Gx,Kx]=sx("MenuSub"),Xx="MenuSubTrigger",Jx=l.forwardRef(((e,t)=>{const n=fx(Xx,e.__scopeMenu),r=hx(Xx,e.__scopeMenu),o=Kx(Xx,e.__scopeMenu),i=Ex(Xx,e.__scopeMenu),a=l.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=i,u={__scopeMenu:e.__scopeMenu},d=l.useCallback((()=>{a.current&&window.clearTimeout(a.current),a.current=null}),[]);return l.useEffect((()=>d),[d]),l.useEffect((()=>{const e=s.current;return()=>{window.clearTimeout(e),c(null)}}),[s,c]),(0,Je.jsx)(gx,{asChild:!0,...u,children:(0,Je.jsx)(Rx,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":eS(n.open),...e,ref:Rn(t,o.onTriggerChange),onClick:t=>{e.onClick?.(t),!e.disabled&&!t.defaultPrevented&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Bn(e.onPointerMove,rS((t=>{i.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout((()=>{n.onOpenChange(!0),d()}),100))}))),onPointerLeave:Bn(e.onPointerLeave,rS((e=>{d();const t=n.content?.getBoundingClientRect();if(t){const r=n.content?.dataset.side,o="right"===r,a=o?-5:5,l=t[o?"left":"right"],c=t[o?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:l,y:t.top},{x:c,y:t.top},{x:c,y:t.bottom},{x:l,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout((()=>i.onPointerGraceIntentChange(null)),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}}))),onKeyDown:Bn(e.onKeyDown,(t=>{const o=""!==i.searchRef.current;e.disabled||o&&" "===t.key||tx[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())}))})})}));Jx.displayName=Xx;var Zx="MenuSubContent",Qx=l.forwardRef(((e,t)=>{const n=wx(xx,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=fx(xx,e.__scopeMenu),a=hx(xx,e.__scopeMenu),s=Kx(Zx,e.__scopeMenu),c=l.useRef(null),u=Dn(t,c);return(0,Je.jsx)(ox.Provider,{scope:e.__scopeMenu,children:(0,Je.jsx)(_b,{present:r||i.open,children:(0,Je.jsx)(ox.Slot,{scope:e.__scopeMenu,children:(0,Je.jsx)(jx,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:u,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{a.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:Bn(e.onFocusOutside,(e=>{e.target!==s.trigger&&i.onOpenChange(!1)})),onEscapeKeyDown:Bn(e.onEscapeKeyDown,(e=>{a.onClose(),e.preventDefault()})),onKeyDown:Bn(e.onKeyDown,(e=>{const t=e.currentTarget.contains(e.target),n=nx[a.dir].includes(e.key);t&&n&&(i.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())}))})})})})}));function eS(e){return e?"open":"closed"}function tS(e){return"indeterminate"===e}function nS(e){return tS(e)?"indeterminate":e?"checked":"unchecked"}function rS(e){return t=>"mouse"===t.pointerType?e(t):void 0}Qx.displayName=Zx;var oS=mx,iS=gx,aS=bx,sS=Cx,lS=Nx,cS=_x,uS=Mx,dS=Dx,fS=Fx,pS=Bx,hS=Vx,mS=qx,gS=Yx,vS=Jx,yS=Qx,wS="DropdownMenu",[bS,xS]=kn(wS,[lx]),SS=lx(),[ES,CS]=bS(wS),AS=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,c=SS(t),u=l.useRef(null),[d,f]=Nw({prop:o,defaultProp:i??!1,onChange:a,caller:wS});return(0,Je.jsx)(ES,{scope:t,triggerId:Xn(),triggerRef:u,contentId:Xn(),open:d,onOpenChange:f,onOpenToggle:l.useCallback((()=>f((e=>!e))),[f]),modal:s,children:(0,Je.jsx)(oS,{...c,open:d,onOpenChange:f,dir:r,modal:s,children:n})})};AS.displayName=wS;var TS="DropdownMenuTrigger",OS=l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=CS(TS,n),a=SS(n);return(0,Je.jsx)(iS,{asChild:!0,...a,children:(0,Je.jsx)(Mw.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:Rn(t,i.triggerRef),onPointerDown:Bn(e.onPointerDown,(e=>{!r&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())})),onKeyDown:Bn(e.onKeyDown,(e=>{r||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})})}));OS.displayName=TS;var jS=e=>{const{__scopeDropdownMenu:t,...n}=e,r=SS(t);return(0,Je.jsx)(aS,{...r,...n})};jS.displayName="DropdownMenuPortal";var NS="DropdownMenuContent",_S=l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=CS(NS,n),i=SS(n),a=l.useRef(!1);return(0,Je.jsx)(sS,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:Bn(e.onCloseAutoFocus,(e=>{a.current||o.triggerRef.current?.focus(),a.current=!1,e.preventDefault()})),onInteractOutside:Bn(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(a.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));_S.displayName=NS;l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(lS,{...o,...r,ref:t})})).displayName="DropdownMenuGroup";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(cS,{...o,...r,ref:t})})).displayName="DropdownMenuLabel";var kS=l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(uS,{...o,...r,ref:t})}));kS.displayName="DropdownMenuItem";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(dS,{...o,...r,ref:t})})).displayName="DropdownMenuCheckboxItem";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(fS,{...o,...r,ref:t})})).displayName="DropdownMenuRadioGroup";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(pS,{...o,...r,ref:t})})).displayName="DropdownMenuRadioItem";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(hS,{...o,...r,ref:t})})).displayName="DropdownMenuItemIndicator";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(mS,{...o,...r,ref:t})})).displayName="DropdownMenuSeparator";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(gS,{...o,...r,ref:t})})).displayName="DropdownMenuArrow";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(vS,{...o,...r,ref:t})})).displayName="DropdownMenuSubTrigger";l.forwardRef(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=SS(n);return(0,Je.jsx)(yS,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})})).displayName="DropdownMenuSubContent";var PS=AS,MS=OS,RS=jS,DS=_S,LS=kS,IS={},$S={},FS={},zS={};let BS="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",HS=e=>crypto.getRandomValues(new Uint8Array(e)),US=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return(i=t)=>{let a="";for(;;){let t=n(o),s=o;for(;s--;)if(a+=e[t[s]&r]||"",a.length===i)return a}}},WS=(e,t=21)=>US(e,t,HS),VS=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_"),"");const qS=An(a);Object.defineProperty(zS,"__esModule",{value:!0}),zS.headerDefaults=zS.eventDefaults=void 0;var YS=qS;zS.headerDefaults=function(){return{productId:"adamgibbons/ics",method:"PUBLISH"}},zS.eventDefaults=function(){return{title:"Untitled event",uid:(0,YS.nanoid)(),timestamp:Date.now()}},Object.defineProperty(FS,"__esModule",{value:!0}),FS.buildEvent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return JS(Object.assign({},(0,GS.eventDefaults)(),e))},FS.buildHeader=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return JS(Object.assign({},(0,GS.headerDefaults)(),e))};var GS=zS;function KS(e){return(KS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function XS(e,t,n){return t=function(e){var t=function(e,t){if("object"!==KS(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==KS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===KS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JS(e){return Object.entries(e).reduce((function(e,t){return typeof t[1]<"u"?Object.assign(e,XS({},t[0],t[1])):e}),{})}var ZS={},QS={},eE={};!function(e){function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utc",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"local";if("string"==typeof e)return e;if(Array.isArray(e)&&3===e.length){var i=t(e,3),a=i[0],s=i[1],l=i[2];return"".concat(a).concat(r(s)).concat(r(l))}var c=new Date;if(Array.isArray(e)&&e.length>0&&e[0]){var u=t(e,6),d=u[0],f=u[1],p=u[2],h=u[3],m=void 0===h?0:h,g=u[4],v=void 0===g?0:g,y=u[5],w=void 0===y?0:y;c="local"===o?new Date(d,f-1,p,m,v,w):new Date(Date.UTC(d,f-1,p,m,v,w))}else Array.isArray(e)||(c=new Date(e));return"local"===n?[c.getFullYear(),r(c.getMonth()+1),r(c.getDate()),"T",r(c.getHours()),r(c.getMinutes()),r(c.getSeconds())].join(""):[c.getUTCFullYear(),r(c.getUTCMonth()+1),r(c.getUTCDate()),"T",r(c.getUTCHours()),r(c.getUTCMinutes()),r(c.getUTCSeconds()),"Z"].join("")};var r=function(e){return e<10?"0".concat(e):"".concat(e)}}(eE);var tE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=e.lat,n=e.lon;return"".concat(t,";").concat(n)}}(tE);var nE={},rE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return'"'.concat(e.replaceAll('"','\\"'),'"')}}(rE),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var n=e.name,r=e.email,o=e.rsvp,i=e.dir,a=e.partstat,s=e.role,l=e.cutype,c=e.xNumGuests,u=[];return void 0!==o&&u.push(o?"RSVP=TRUE":"RSVP=FALSE"),l&&u.push("CUTYPE=".concat((0,t.default)(l))),void 0!==c&&u.push("X-NUM-GUESTS=".concat(c)),s&&u.push("ROLE=".concat((0,t.default)(s))),a&&u.push("PARTSTAT=".concat((0,t.default)(a))),i&&u.push("DIR=".concat((0,t.default)(i))),u.push("CN=".concat((0,t.default)(n||"Unnamed attendee"))),u.join(";").concat(r?":mailto:".concat(r):"")};var t=function(e){return e&&e.__esModule?e:{default:e}}(rE)}(nE);var oE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var n=e.name,r=e.email,o=e.dir,i=e.sentBy,a="";return a+=o?"DIR=".concat((0,t.default)(o),";"):"",a+=i?"SENT-BY=".concat((0,t.default)("MAILTO:".concat(i)),";"):"",a+="CN=",a+=(0,t.default)(n||"Organizer"),a+=r?":MAILTO:".concat(r):""};var t=function(e){return e&&e.__esModule?e:{default:e}}(rE)}(oE);var iE,aE={},sE={},lE={exports:{}},cE={exports:{}};n(23184);lE.exports=function(){if(iE)return cE.exports;var e;iE=1,function(e){e[e.HIGH_SURROGATE_START=55296]="HIGH_SURROGATE_START",e[e.HIGH_SURROGATE_END=56319]="HIGH_SURROGATE_END",e[e.LOW_SURROGATE_START=56320]="LOW_SURROGATE_START",e[e.REGIONAL_INDICATOR_START=127462]="REGIONAL_INDICATOR_START",e[e.REGIONAL_INDICATOR_END=127487]="REGIONAL_INDICATOR_END",e[e.FITZPATRICK_MODIFIER_START=127995]="FITZPATRICK_MODIFIER_START",e[e.FITZPATRICK_MODIFIER_END=127999]="FITZPATRICK_MODIFIER_END",e[e.VARIATION_MODIFIER_START=65024]="VARIATION_MODIFIER_START",e[e.VARIATION_MODIFIER_END=65039]="VARIATION_MODIFIER_END",e[e.DIACRITICAL_MARKS_START=8400]="DIACRITICAL_MARKS_START",e[e.DIACRITICAL_MARKS_END=8447]="DIACRITICAL_MARKS_END",e[e.SUBDIVISION_INDICATOR_START=127988]="SUBDIVISION_INDICATOR_START",e[e.TAGS_START=917504]="TAGS_START",e[e.TAGS_END=917631]="TAGS_END",e[e.ZWJ=8205]="ZWJ"}(e||(e={}));const t=Object.freeze([776,2359,2367,2984,3007,3021,3633,3635,3648,3657,4352,4449,4520]);var n;function r(e){if("string"!=typeof e)throw new TypeError("string cannot be undefined or null");const t=[];let n=0,r=0;for(;n<e.length;)r+=o(n+r,e),l(e[n+r])&&r++,a(e[n+r])&&r++,s(e[n+r])&&r++,c(e[n+r])?r++:(t.push(e.substring(n,n+r)),n+=r,r=0);return t}function o(e,t){const n=t[e];if(!function(e){return e&&d(e[0].charCodeAt(0),55296,56319)}(n)||e===t.length-1)return 1;const r=n+t[e+1];let o=t.substring(e+2,e+5);return i(r)&&i(o)?4:function(e){return d(u(e),127988,127988)}(r)&&function(e){const t=e.codePointAt(0);return"string"==typeof e&&"number"==typeof t&&d(t,917504,917631)}(o)?t.slice(e).indexOf(String.fromCodePoint(917631))+2:function(e){return d(u(e),127995,127999)}(o)?4:2}function i(e){return d(u(e),127462,127487)}function a(e){return"string"==typeof e&&d(e.charCodeAt(0),65024,65039)}function s(e){return"string"==typeof e&&d(e.charCodeAt(0),8400,8447)}function l(e){return"string"==typeof e&&t.includes(e.charCodeAt(0))}function c(e){return"string"==typeof e&&8205===e.charCodeAt(0)}function u(e){return(e.charCodeAt(0)-55296<<10)+(e.charCodeAt(1)-56320)+65536}function d(e,t,n){return e>=t&&e<=n}function f(e,t,n){const o=r(e);if(void 0===t)return e;if(t>=o.length)return"";const i=o.length-t;let a=t+(void 0===n?i:n);return a>t+i&&(a=void 0),o.slice(t,a).join("")}return function(e){e[e.unit_1=1]="unit_1",e[e.unit_2=2]="unit_2",e[e.unit_4=4]="unit_4"}(n||(n={})),Object.defineProperty(r,"runes",{value:r}),Object.defineProperty(r,"default",{value:r}),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"substr",{value:f}),Object.defineProperty(r,"substring",{value:f}),Object.defineProperty(r,"EnumRunesCode",{value:e}),Object.defineProperty(r,"EnumCodeUnits",{value:n}),Object.defineProperty(r,"GRAPHEMES",{value:t}),cE.exports=r,cE.exports}();var uE=lE.exports;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){for(var n=[],r=75;(0,t.runes)(e).length>r;)n.push((0,t.substring)(e,0,r)),e=(0,t.substring)(e,r),r=74;return n.push(e),n.join("\r\n\t")};var t=uE}(sE);var dE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return e.replace(/\r?\n/gm,"\\n")}}(dE),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=e.action,a=e.repeat,s=e.description,l=e.duration,c=e.attach,u=e.attachType,d=e.trigger,f=e.summary,p="BEGIN:VALARM\r\n";p+=(0,n.default)("ACTION:".concat((0,r.default)(function(e){return e.toUpperCase()}(o))))+"\r\n",p+=a?(0,n.default)("REPEAT:".concat(a))+"\r\n":"",p+=s?(0,n.default)("DESCRIPTION:".concat((0,r.default)(s)))+"\r\n":"",p+=l?(0,n.default)("DURATION:".concat(i(l)))+"\r\n":"";var h=u||"FMTTYPE=audio/basic";return p+=c?(0,n.default)((0,r.default)("ATTACH;".concat(h,":").concat(c)))+"\r\n":"",p+=d?function(e){var n="";if(Array.isArray(e)||"number"==typeof e||"string"==typeof e)n="TRIGGER;VALUE=DATE-TIME:".concat((0,r.default)((0,t.default)(e)),"\r\n");else{var o=e.before?"-":"";n="TRIGGER:".concat((0,r.default)(o+i(e)),"\r\n")}return n}(d):"",p+=f?(0,n.default)("SUMMARY:".concat((0,r.default)(f)))+"\r\n":"",p+="END:VALARM\r\n"};var t=o(eE),n=o(sE),r=o(dE);function o(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.weeks,n=e.days,r=e.hours,o=e.minutes,i=e.seconds,a="P";return a+=t?"".concat(t,"W"):"",a+=n?"".concat(n,"D"):"",a+="T",a+=r?"".concat(r,"H"):"",a+=o?"".concat(o,"M"):"",a+=i?"".concat(i,"S"):""}}(aE);var fE={},pE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return e.replace(/\\/gm,"\\\\").replace(/\r?\n/gm,"\\n").replace(/;/gm,"\\;").replace(/,/gm,"\\,")}}(pE),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,t.default)(e)};var t=function(e){return e&&e.__esModule?e:{default:e}}(pE)}(fE);var hE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,t.default)(e)};var t=function(e){return e&&e.__esModule?e:{default:e}}(pE)}(hE);var mE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.weeks,n=e.days,r=e.hours,o=e.minutes,i=e.seconds,a="P";return a+=t?"".concat(t,"W"):"",a+=n?"".concat(n,"D"):"",a+="T",a+=r?"".concat(r,"H"):"",a+=o?"".concat(o,"M"):"",a+=i?"".concat(i,"S"):""}}(mE);var gE={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,t.default)(e)};var t=function(e){return e&&e.__esModule?e:{default:e}}(pE)}(gE),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"encodeParamValue",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"foldLine",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"formatDate",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"formatDuration",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"setAlarm",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"setContact",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"setDescription",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"setGeolocation",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"setLocation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"setOrganizer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"setSummary",{enumerable:!0,get:function(){return s.default}});var t=f(eE),n=f(tE),r=f(nE),o=f(oE),i=f(aE),a=f(fE),s=f(hE),l=f(mE),c=f(sE),u=f(gE),d=f(rE);function f(e){return e&&e.__esModule?e:{default:e}}}(QS),Object.defineProperty(ZS,"__esModule",{value:!0}),ZS.formatEvent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.uid,r=e.sequence,o=e.timestamp,i=e.start,a=e.startType,s=e.startInputType,l=e.startOutputType,c=e.duration,u=e.end,d=e.endInputType,f=e.endOutputType,p=e.description,h=e.url,m=e.geo,g=e.location,v=e.status,y=e.categories,w=e.organizer,b=e.attendees,x=e.alarms,S=e.recurrenceRule,E=e.exclusionDates,C=e.busyStatus,A=e.transp,T=e.classification,O=e.created,j=e.lastModified,N=e.htmlContent,_="";return _+="BEGIN:VEVENT\r\n",_+=(0,vE.foldLine)("UID:".concat((0,yE.default)(n)))+"\r\n",_+=t?(0,vE.foldLine)("SUMMARY:".concat((0,yE.default)((0,vE.setSummary)(t))))+"\r\n":"",_+=(0,vE.foldLine)("DTSTAMP:".concat((0,yE.default)((0,vE.formatDate)(o))))+"\r\n",_+=(0,vE.foldLine)("DTSTART".concat(i&&3==i.length?";VALUE=DATE":"",":").concat((0,yE.default)((0,vE.formatDate)(i,l||a,s))))+"\r\n",(!u||3!==u.length||i.length!==u.length||i.some((function(e,t){return e!==u[t]})))&&u&&(_+=(0,vE.foldLine)("DTEND".concat(3===u.length?";VALUE=DATE":"",":").concat((0,yE.default)((0,vE.formatDate)(u,f||l||a,d||s))))+"\r\n"),_+=typeof r<"u"?"SEQUENCE:".concat(r,"\r\n"):"",_+=p?(0,vE.foldLine)("DESCRIPTION:".concat((0,yE.default)((0,vE.setDescription)(p))))+"\r\n":"",_+=h?(0,vE.foldLine)("URL:".concat((0,yE.default)(h)))+"\r\n":"",_+=m?(0,vE.foldLine)("GEO:".concat((0,vE.setGeolocation)(m)))+"\r\n":"",_+=g?(0,vE.foldLine)("LOCATION:".concat((0,yE.default)((0,vE.setLocation)(g))))+"\r\n":"",_+=v?(0,vE.foldLine)("STATUS:".concat((0,yE.default)(v)))+"\r\n":"",_+=y?(0,vE.foldLine)("CATEGORIES:".concat((0,yE.default)(y.join(","))))+"\r\n":"",_+=w?(0,vE.foldLine)("ORGANIZER;".concat((0,vE.setOrganizer)(w)))+"\r\n":"",_+=C?(0,vE.foldLine)("X-MICROSOFT-CDO-BUSYSTATUS:".concat((0,yE.default)(C)))+"\r\n":"",_+=A?(0,vE.foldLine)("TRANSP:".concat((0,yE.default)(A)))+"\r\n":"",_+=T?(0,vE.foldLine)("CLASS:".concat((0,yE.default)(T)))+"\r\n":"",_+=O?"CREATED:"+(0,yE.default)((0,vE.formatDate)(O))+"\r\n":"",_+=j?"LAST-MODIFIED:"+(0,yE.default)((0,vE.formatDate)(j))+"\r\n":"",_+=N?(0,vE.foldLine)("X-ALT-DESC;FMTTYPE=text/html:".concat((0,yE.default)(N)))+"\r\n":"",b&&b.forEach((function(e){_+=(0,vE.foldLine)("ATTENDEE;".concat((0,yE.default)((0,vE.setContact)(e))))+"\r\n"})),_+=S?(0,vE.foldLine)("RRULE:".concat((0,yE.default)(S)))+"\r\n":"",_+=E?(0,vE.foldLine)("EXDATE:".concat((0,yE.default)(E.map((function(e){return(0,vE.formatDate)(e)})).join(","))))+"\r\n":"",_+=c?(0,vE.foldLine)("DURATION:".concat((0,vE.formatDuration)(c)))+"\r\n":"",x&&x.forEach((function(e){_+=(0,vE.setAlarm)(e)})),_+="END:VEVENT\r\n"},ZS.formatFooter=function(){return"END:VCALENDAR\r\n"},ZS.formatHeader=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.productId,n=e.method,r=e.calName,o="";return o+="BEGIN:VCALENDAR\r\n",o+="VERSION:2.0\r\n",o+="CALSCALE:GREGORIAN\r\n",o+=(0,vE.foldLine)("PRODID:".concat((0,yE.default)(t)))+"\r\n",o+=(0,vE.foldLine)("METHOD:".concat((0,yE.default)(n)))+"\r\n",o+=r?(0,vE.foldLine)("X-WR-CALNAME:".concat((0,yE.default)(r)))+"\r\n":"",o+="X-PUBLISHED-TTL:PT1H\r\n"};var vE=QS,yE=function(e){return e&&e.__esModule?e:{default:e}}(dE);var wE={},bE={};function xE(e){this._maxSize=e,this.clear()}xE.prototype.clear=function(){this._size=0,this._values=Object.create(null)},xE.prototype.get=function(e){return this._values[e]},xE.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var SE=/[^.^\]^[]+|(?=\[\]|\.\.)/g,EE=/^\d+$/,CE=/^\d/,AE=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,TE=/^\s*(['"]?)(.*?)(\1)\s*$/,OE=new xE(512),jE=new xE(512),NE=new xE(512),_E={Cache:xE,split:PE,normalizePath:kE,setter:function(e){var t=kE(e);return jE.get(e)||jE.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=kE(e);return NE.get(e)||NE.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(ME(t)||EE.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,s=e.length;for(o=0;o<s;o++)(r=e[o])&&(RE(r)&&(r='"'+r+'"'),a=ME(r),i=!a&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:PE(e),t,n)}};function kE(e){return OE.get(e)||OE.set(e,PE(e).map((function(e){return e.replace(TE,"$2")})))}function PE(e){return e.match(SE)||[""]}function ME(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function RE(e){return!ME(e)&&(function(e){return e.match(CE)&&!e.match(EE)}(e)||function(e){return AE.test(e)}(e))}const DE=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,LE=e=>e.match(DE)||[],IE=(e,t)=>LE(e).join(t).toLowerCase(),$E=e=>LE(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");var FE=$E,zE=e=>IE(e,"_"),BE={exports:{}};function HE(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||l(e[i],i,new Set);return r;function l(e,t,i){if(i.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch{c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var u=a.get(e)||new Set;if(t=(u=Array.from(u)).length){i.add(e);do{var d=u[--t];l(d,s.get(d),i)}while(t);i.delete(e)}r[--n]=e}}}BE.exports=function(e){return HE(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},BE.exports.array=HE;const UE=Cn(BE.exports),WE=Object.prototype.toString,VE=Error.prototype.toString,qE=RegExp.prototype.toString,YE=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",GE=/^Symbol\((.*)\)(.*)$/;function KE(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return YE.call(e).replace(GE,"Symbol($1)");const r=WE.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+VE.call(e)+"]":"RegExp"===r?qE.call(e):null}function XE(e,t){let n=KE(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=KE(this[e],t);return null!==r?r:n}),2)}function JE(e){return null==e?[]:[].concat(e)}let ZE,QE,eC,tC=/\$\{\s*(\w+)\s*\}/g;ZE=Symbol.toStringTag;class nC{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[ZE]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],JE(e).forEach((e=>{if(rC.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}QE=Symbol.hasInstance,eC=Symbol.toStringTag;class rC extends Error{static formatError(e,t){const n=t.label||t.path||"this";return t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e?e.replace(tC,((e,n)=>XE(t[n]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,o){const i=new nC(e,t,n,r);if(o)return i;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[eC]="Error",this.name=i.name,this.message=i.message,this.type=i.type,this.value=i.value,this.path=i.path,this.errors=i.errors,this.inner=i.inner,Error.captureStackTrace&&Error.captureStackTrace(this,rC)}static[QE](e){return nC[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let oC={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=null!=r&&r!==n?` (cast from the value \`${XE(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${XE(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${XE(n,!0)}\``+o}},iC={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},aC={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},sC={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},lC={isValue:"${path} field must be ${value}"},cC={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},uC={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},dC={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${XE(n,!0)}\``;if(n.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${XE(n,!0)}\``}return rC.formatError(oC.notType,e)}};var fC=Object.assign(Object.create(null),{mixed:oC,string:iC,number:aC,date:sC,object:cC,array:uC,boolean:lC,tuple:dC});const pC=e=>e&&e.__isYupSchema__;class hC{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:o}=t,i="function"==typeof n?n:(...e)=>e.every((e=>e===n));return new hC(e,((e,t)=>{var n;let a=i(...e)?r:o;return null!=(n=a?.(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(t?.value,t?.parent,t?.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!pC(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const mC="$",gC=".";function vC(e,t){return new yC(e,t)}class yC{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===mC,this.isValue=this.key[0]===gC,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?mC:this.isValue?gC:"";this.path=this.key.slice(n.length),this.getter=this.path&&_E.getter(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,t?.parent,t?.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}yC.prototype.__isYupRef=!0;const wC=e=>null==e;function bC(e){function t({value:t,path:n="",options:r,originalValue:o,schema:i},a,s){const{name:l,test:c,params:u,message:d,skipAbsent:f}=e;let{parent:p,context:h,abortEarly:m=i.spec.abortEarly,disableStackTrace:g=i.spec.disableStackTrace}=r;function v(e){return yC.isRef(e)?e.getValue(t,p,h):e}function y(e={}){const r=Object.assign({value:t,originalValue:o,label:i.spec.label,path:e.path||n,spec:i.spec,disableStackTrace:e.disableStackTrace||g},u,e.params);for(const e of Object.keys(r))r[e]=v(r[e]);const a=new rC(rC.formatError(e.message||d,r),t,r.path,e.type||l,r.disableStackTrace);return a.params=r,a}const w=m?a:s;let b={path:n,parent:p,type:l,from:r.from,createError:y,resolve:v,options:r,originalValue:o,schema:i};const x=e=>{rC.isError(e)?w(e):e?s(null):w(y())},S=e=>{rC.isError(e)?w(e):a(e)};if(f&&wC(t))return x(!0);let E;try{var C;if(E=c.call(b,t,b),"function"==typeof(null==(C=E)?void 0:C.then)){if(r.sync)throw new Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(E).then(x,S)}}catch(e){return void S(e)}x(E)}return t.OPTIONS=e,t}function xC(e,t,n,r=n){let o,i,a;return t?(_E.forEach(t,((s,l,c)=>{let u=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:r,parent:o,value:n})).type,f=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&f>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[f],e=d?e.spec.types[f]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[u],e=e.fields[u]}i=u,a=l?"["+s+"]":"."+s})),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}function SC(e,t,n,r){return xC(e,t,n,r).schema}class EC extends Set{describe(){const e=[];for(const t of this.values())e.push(yC.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new EC(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function CC(e,t=new Map){if(pC(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=CC(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,CC(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(CC(r,t))}else{if(!(e instanceof Object))throw Error(`Unable to clone ${e}`);n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=CC(o,t)}return n}class AC{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new EC,this._blacklist=new EC,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(oC.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},e?.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=CC(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!!(this.spec.nullable&&null===e||this.spec.optional&&void 0===e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,o;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(o=e.disableStackTrace)?o:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&wC(o))return o;let i=XE(e),a=XE(o);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${i} \n`+(a!==i?`result of cast: ${a}`:""))}return o}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:o,originalValue:i=e,strict:a=this.spec.strict}=t,s=e;a||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let e of Object.values(this.internalTests))e&&l.push(e);this.runTests({path:o,value:s,originalValue:i,options:t,tests:l},n,(e=>{if(e.length)return r(e,s);this.runTests({path:o,value:s,originalValue:i,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:o,value:i,originalValue:a,path:s,options:l}=e,c=e=>{r||(r=!0,t(e,i))},u=e=>{r||(r=!0,n(e,i))},d=o.length,f=[];if(!d)return u([]);let p={value:i,originalValue:a,path:s,options:l,schema:this};for(let e=0;e<o.length;e++){(0,o[e])(p,c,(function(e){e&&(Array.isArray(e)?f.push(...e):f.push(e)),--d<=0&&u(f)}))}}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:o,options:i}){const a=e??t;if(null==a)throw TypeError("Must include `key` or `index` for nested validations");const s="number"==typeof a;let l=n[a];const c=Object.assign({},i,{strict:!0,parent:n,value:l,originalValue:o[a],key:void 0,[s?"index":"key"]:a,path:s||a.includes(".")?`${r||""}[${s?a:`"${a}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(c)._validate(l,c,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=t?.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,i)=>r._validate(e,t,((e,t)=>{rC.isError(e)&&(e.value=t),i(e)}),((e,t)=>{e.length?i(new rC(e,t,void 0,void 0,o)):n(t)}))))}validateSync(e,t){var n;let r,o=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=t?.disableStackTrace)?n:o.spec.disableStackTrace;return o._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw rC.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new rC(t,e,void 0,void 0,i);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(rC.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(rC.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):CC(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=bC({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=bC({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=oC.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=oC.notNull){return this.nullability(!1,e)}required(e=oC.required){return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=oC.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=bC(t),o=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>!(e.OPTIONS.name===t.name&&(o||e.OPTIONS.test===r.OPTIONS.test)))),n.tests.push(r),n}when(e,t){!Array.isArray(e)&&"string"!=typeof e&&(t=e,e=".");let n=this.clone(),r=JE(e).map((e=>new yC(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new hC(r,t):hC.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=bC({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=oC.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=bC({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=oC.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=bC({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:o,nullable:i}=t.spec;return{meta:r,label:n,optional:o,nullable:i,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))}}}AC.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])AC.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:a}=xC(this,t,n,r.context);return a[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])AC.prototype[e]=AC.prototype.oneOf;for(const e of["not","nope"])AC.prototype[e]=AC.prototype.notOneOf;const TC=()=>!0;function OC(e){return new jC(e)}class jC extends AC{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:TC},e))}}function NC(){return new _C}OC.prototype=jC.prototype;class _C extends AC{constructor(){super({type:"boolean",check(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}isTrue(e=lC.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test(e){return wC(e)||!0===e}})}isFalse(e=lC.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test(e){return wC(e)||!1===e}})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}NC.prototype=_C.prototype;const kC=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function PC(e){var t,n;const r=kC.exec(e);return r?{year:MC(r[1]),month:MC(r[2],1)-1,day:MC(r[3],1),hour:MC(r[4]),minute:MC(r[5]),second:MC(r[6]),millisecond:r[7]?MC(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:MC(r[10]),minuteOffset:MC(r[11])}:null}function MC(e,t=0){return Number(e)||t}let RC=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,DC=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,LC=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,IC=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),$C=e=>wC(e)||e===e.trim(),FC={}.toString();function zC(){return new BC}class BC extends AC{constructor(){super({type:"string",check(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e)||Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===FC?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||oC.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e,t=iC.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=iC.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=iC.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,o=!1;return t&&("object"==typeof t?({excludeEmptyString:o=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||iC.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&o||-1!==t.search(e)})}email(e=iC.email){return this.matches(RC,{name:"email",message:e,excludeEmptyString:!0})}url(e=iC.url){return this.matches(DC,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=iC.uuid){return this.matches(LC,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"==typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(IC,{name:"datetime",message:r||iC.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||iC.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=PC(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||iC.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||null==n)return!0;const t=PC(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=iC.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:$C})}lowercase(e=iC.lowercase){return this.transform((e=>wC(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>wC(e)||e===e.toLowerCase()})}uppercase(e=iC.uppercase){return this.transform((e=>wC(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>wC(e)||e===e.toUpperCase()})}}zC.prototype=BC.prototype;function HC(){return new UC}class UC extends AC{constructor(){super({type:"number",check(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e)}}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"==typeof r){if(r=r.replace(/\s/g,""),""===r)return NaN;r=+r}return n.isType(r)||null===r?r:parseFloat(r)}))}))}min(e,t=aC.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=aC.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=aC.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=aC.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=aC.positive){return this.moreThan(0,e)}negative(e=aC.negative){return this.lessThan(0,e)}integer(e=aC.integer){return this.test({name:"integer",message:e,skipAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform((e=>wC(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>wC(t)?t:Math[e](t)))}}HC.prototype=UC.prototype;let WC=new Date("");function VC(){return new qC}class qC extends AC{constructor(){super({type:"date",check(e){return(e=>"[object Date]"===Object.prototype.toString.call(e))(e)&&!isNaN(e.getTime())}}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=PC(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?qC.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(yC.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=sC.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=sC.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function YC(e,t){let n=1/0;return e.some(((e,r)=>{var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function GC(e){return(t,n)=>YC(e,t)-YC(e,n)}qC.INVALID_DATE=WC,VC.prototype=qC.prototype,VC.INVALID_DATE=WC;const KC=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function XC(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=XC(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=XC(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(XC)}):"optional"in e?e.optional():e}let JC=e=>"[object Object]"===Object.prototype.toString.call(e);function ZC(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}const QC=GC([]);function eA(e){return new tA(e)}class tA extends AC{constructor(e){super({type:"object",check(e){return JC(e)||"function"==typeof e}}),this.fields=Object.create(null),this._sortErrors=QC,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let o=this.fields,i=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(const e of a){let n=o[e],a=e in r;if(n){let o,i=r[e];l.path=(t.path?`${t.path}.`:"")+e,n=n.resolve({value:i,context:t.context,parent:s});let a=n instanceof AC?n.spec:void 0,u=a?.strict;if(null!=a&&a.strip){c=c||e in r;continue}o=t.__validating&&u?r[e]:n.cast(r[e],l),void 0!==o&&(s[e]=o)}else a&&!i&&(s[e]=r[e]);(a!==e in s||s[e]!==r[e])&&(c=!0)}return c?s:r}_validate(e,t={},n,r){let{from:o=[],originalValue:i=e,recursive:a=this.spec.recursive}=t;t.from=[{schema:this,value:i},...o],t.__validating=!0,t.originalValue=i,super._validate(e,t,n,((e,o)=>{if(!a||!JC(o))return void r(e,o);i=i||o;let s=[];for(let e of this._nodes){let n=this.fields[e];!n||yC.isRef(n)||s.push(n.asNestedTest({options:t,key:e,parent:o,parentPath:t.path,originalParent:i}))}this.runTests({tests:s,value:o,originalValue:i,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),o)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){const r=n[e];n[e]=void 0===r?t:r}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach((n=>{var r;const o=this.fields[n];let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t[n]=o&&"getDefault"in o?o.getDefault(i):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,o=new Set(t.map((([e,t])=>`${e}-${t}`)));function i(e,t){let i=_E.split(e)[0];r.add(i),o.has(`${t}-${i}`)||n.push([t,i])}for(const t of Object.keys(e)){let n=e[t];r.add(t),yC.isRef(n)&&n.isSibling?i(n.path,t):pC(n)&&"deps"in n&&n.deps.forEach((e=>i(e,t)))}return UE.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=GC(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return XC(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((([t,n])=>e.includes(t)&&e.includes(n))))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=_E.getter(e,!0);return this.transform((o=>{if(!o)return o;let i=o;return((e,t)=>{const n=[..._E.normalizePath(t)];if(1===n.length)return n[0]in e;let r=n.pop(),o=_E.getter(_E.join(n),!0)(e);return!(!o||!(r in o))})(o,e)&&(i=Object.assign({},o),n||delete i[e],i[t]=r(o)),i}))}json(){return this.transform(KC)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||cC.exact,test(e){if(null==e)return!0;const t=ZC(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=cC.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=ZC(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=cC.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(FE)}snakeCase(){return this.transformKeys(zE)}constantCase(){return this.transformKeys((e=>zE(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[o,i]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[o]})),n.fields[o]=i.describe(t)}return n}}function nA(e){return new rA(e)}eA.prototype=tA.prototype;class rA extends AC{constructor(e){super({type:"array",spec:{types:e},check(e){return Array.isArray(e)}}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const o=n.map(((e,n)=>{const o=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return o!==e&&(r=!0),o}));return r?o:n}_validate(e,t={},n,r){var o;let i=this.innerType,a=null!=(o=t.recursive)?o:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((o,s)=>{var l;if(!a||!i||!this._typeCheck(s))return void r(o,s);let c=new Array(s.length);for(let n=0;n<s.length;n++){var u;c[n]=i.asNestedTest({options:t,index:n,parent:s,parentPath:t.path,originalParent:null!=(u=t.originalValue)?u:e})}this.runTests({value:s,tests:c,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,(e=>r(e.concat(o),s)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(KC)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!pC(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+XE(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=uC.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||uC.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||uC.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),n.innerType=t.innerType.describe(o)}return n}}function oA(e){return new iA(e)}nA.prototype=rA.prototype;class iA extends AC{constructor(e){super({type:"tuple",spec:{types:e},check(e){const t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation((()=>{this.typeError(dC.notType)}))}_cast(e,t){const{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let o=!1;const i=n.map(((e,n)=>{const i=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`}));return i!==r[n]&&(o=!0),i}));return o?i:r}_validate(e,t={},n,r){let o=this.spec.types;super._validate(e,t,n,((i,a)=>{var s;if(!this._typeCheck(a))return void r(i,a);let l=[];for(let[n,r]of o.entries()){var c;l[n]=r.asNestedTest({options:t,index:n,parent:a,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e})}this.runTests({value:a,tests:l,originalValue:null!=(s=t.originalValue)?s:e,options:t},n,(e=>r(e.concat(i),a)))}))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map(((t,n)=>{var r;let o=e;return null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t.describe(o)})),n}}function aA(e){return new lA(e)}function sA(e){try{return e()}catch(e){if(rC.isError(e))return Promise.reject(e);throw e}}oA.prototype=iA.prototype;class lA{constructor(e){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(e,t={})=>{let n=this.builder(e,t);if(!pC(n))throw new TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(n=n.optional()),n.resolve(t)},this.builder=e,this.spec={meta:void 0,optional:!1}}clone(e){const t=new lA(this.builder);return t.spec=Object.assign({},this.spec,e),t}optionality(e){return this.clone({optional:e})}optional(){return this.optionality(!0)}resolve(e){return this._resolve(e.value,e)}cast(e,t){return this._resolve(e,t).cast(e,t)}asNestedTest(e){let{key:t,index:n,parent:r,options:o}=e,i=r[n??t];return this._resolve(i,Object.assign({},o,{value:i,parent:r})).asNestedTest(e)}validate(e,t){return sA((()=>this._resolve(e,t).validate(e,t)))}validateSync(e,t){return this._resolve(e,t).validateSync(e,t)}validateAt(e,t,n){return sA((()=>this._resolve(t,n).validateAt(e,t,n)))}validateSyncAt(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)}isValid(e,t){try{return this._resolve(e,t).isValid(e,t)}catch(e){if(rC.isError(e))return Promise.resolve(!1);throw e}}isValidSync(e,t){return this._resolve(e,t).isValidSync(e,t)}describe(e){return e?this.resolve(e).describe(e):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}}function cA(e){Object.keys(e).forEach((t=>{Object.keys(e[t]).forEach((n=>{fC[t][n]=e[t][n]}))}))}function uA(e,t,n){if(!e||!pC(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!=typeof t)throw new TypeError("A Method name must be provided");if("function"!=typeof n)throw new TypeError("Method function must be provided");e.prototype[t]=n}const dA=An(s);Object.defineProperty(bE,"__esModule",{value:!0}),bE.urlRegex=void 0,bE.validateHeader=function(e){try{return{error:null,value:AA.validateSync(e,{abortEarly:!1,strict:!0})}}catch(e){return{error:Object.assign({},e),value:void 0}}},bE.validateHeaderAndEvent=function(e){try{return{error:null,value:OA.validateSync(e,{abortEarly:!1,strict:!0})}}catch(e){return{error:Object.assign({},e),value:void 0}}};var fA=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==hA(e)&&"function"!=typeof e)return{default:e};var n=pA(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(dA);function pA(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(pA=function(e){return e?n:t})(e)}function hA(e){return(hA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mA(Object(n),!0).forEach((function(t){vA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vA(e,t,n){return t=function(e){var t=function(e,t){if("object"!==hA(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==hA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===hA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yA=bE.urlRegex=/^(?:([a-z0-9+.-]+):\/\/)(?:\S+(?::\S*)?@)?(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/,wA=function(e){var t=e.required;return fA.lazy((function(e){return"number"==typeof e?fA.number().integer().min(0):"string"==typeof e?fA.string().required():!t&&typeof e>"u"?fA.mixed().oneOf([void 0]):fA.array().required().min(3).max(7).of(fA.lazy((function(e,t){var n=t.parent.indexOf(t.value);return[fA.number().integer(),fA.number().integer().min(1).max(12),fA.number().integer().min(1).max(31),fA.number().integer().min(0).max(23),fA.number().integer().min(0).max(60),fA.number().integer().min(0).max(60)][n]})))}))},bA=fA.object().shape({before:fA.boolean(),weeks:fA.number(),days:fA.number(),hours:fA.number(),minutes:fA.number(),seconds:fA.number()}).noUnknown(),xA=fA.object().shape({name:fA.string(),email:fA.string().email(),rsvp:fA.boolean(),dir:fA.string().matches(yA),partstat:fA.string(),role:fA.string(),cutype:fA.string(),xNumGuests:fA.number()}).noUnknown(),SA=fA.object().shape({name:fA.string(),email:fA.string().email(),dir:fA.string(),sentBy:fA.string()}).noUnknown(),EA=fA.object().shape({action:fA.string().matches(/^(audio|display|email)$/).required(),trigger:fA.mixed().required(),description:fA.string(),duration:bA,repeat:fA.number(),attach:fA.string(),attachType:fA.string(),summary:fA.string(),attendee:xA,"x-prop":fA.mixed(),"iana-prop":fA.mixed()}).noUnknown(),CA={productId:fA.string(),method:fA.string(),calName:fA.string()},AA=fA.object().shape(CA).noUnknown(),TA={summary:fA.string(),timestamp:wA({required:!1}),title:fA.string(),uid:fA.string(),sequence:fA.number().integer().max(2147483647),start:wA({required:!0}),duration:bA,startType:fA.string().matches(/^(utc|local)$/),startInputType:fA.string().matches(/^(utc|local)$/),startOutputType:fA.string().matches(/^(utc|local)$/),end:wA({required:!1}),endInputType:fA.string().matches(/^(utc|local)$/),endOutputType:fA.string().matches(/^(utc|local)$/),description:fA.string(),url:fA.string().matches(yA),geo:fA.object().shape({lat:fA.number(),lon:fA.number()}),location:fA.string(),status:fA.string().matches(/^(TENTATIVE|CANCELLED|CONFIRMED)$/i),categories:fA.array().of(fA.string()),organizer:SA,attendees:fA.array().of(xA),alarms:fA.array().of(EA),recurrenceRule:fA.string(),busyStatus:fA.string().matches(/^(TENTATIVE|FREE|BUSY|OOF)$/i),transp:fA.string().matches(/^(TRANSPARENT|OPAQUE)$/i),classification:fA.string(),created:wA({required:!1}),lastModified:wA({required:!1}),exclusionDates:fA.array().of(wA({required:!0})),htmlContent:fA.string()},OA=fA.object().shape(gA(gA({},CA),TA)).test("xor","object should have end or duration (but not both)",(function(e){var t=!!e.end,n=!!e.duration;return t&&!n||!t&&n||!t&&!n})).noUnknown();!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=bE;Object.keys(t).forEach((function(n){"default"===n||"__esModule"===n||n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})}))}(wE),function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildEvent",{enumerable:!0,get:function(){return t.buildEvent}}),Object.defineProperty(e,"buildHeader",{enumerable:!0,get:function(){return t.buildHeader}}),Object.defineProperty(e,"formatEvent",{enumerable:!0,get:function(){return n.formatEvent}}),Object.defineProperty(e,"formatFooter",{enumerable:!0,get:function(){return n.formatFooter}}),Object.defineProperty(e,"formatHeader",{enumerable:!0,get:function(){return n.formatHeader}}),Object.defineProperty(e,"urlRegex",{enumerable:!0,get:function(){return r.urlRegex}}),Object.defineProperty(e,"validateHeader",{enumerable:!0,get:function(){return r.validateHeader}}),Object.defineProperty(e,"validateHeaderAndEvent",{enumerable:!0,get:function(){return r.validateHeaderAndEvent}});var t=FS,n=ZS,r=wE}($S),Object.defineProperty(IS,"__esModule",{value:!0}),IS.convertTimestampToArray=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"local",n=[],r=new Date(e);return n.push("local"===t?r.getFullYear():r.getUTCFullYear()),n.push(("local"===t?r.getMonth():r.getUTCMonth())+1),n.push("local"===t?r.getDate():r.getUTCDate()),n.push("local"===t?r.getHours():r.getUTCHours()),n.push("local"===t?r.getMinutes():r.getUTCMinutes()),n};var jA=IS.createEvent=function(e,t){return DA([e],t)};IS.createEvents=DA,IS.isValidURL=function(e){return NA.urlRegex.test(e)};var NA=$S;function _A(e){return(_A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kA(Object(n),!0).forEach((function(t){MA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MA(e,t,n){return t=function(e){var t=function(e,t){if("object"!==_A(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==_A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_A(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RA(e){return(0,NA.validateHeaderAndEvent)(PA(PA({},(0,NA.buildHeader)(e)),(0,NA.buildEvent)(e)))}function DA(e,t,n){var r,o="object"===_A(t)?t:{},i=3===arguments.length?n:"function"==typeof t?t:null;try{r=function(){if(!e)return{error:new Error("one argument is required"),value:null};var t=0===e.length?function(e){return(0,NA.validateHeader)((0,NA.buildHeader)(e))}(o):RA(PA(PA({},e[0]),o)),n=t.error,r=t.value;if(n)return{error:n,value:null};var i="";i+=(0,NA.formatHeader)(r);for(var a=0;a<e.length;a++){var s=RA(e[a]),l=s.error,c=s.value;if(l)return{error:l,value:null};i+=(0,NA.formatEvent)(c)}return{error:null,value:i+=(0,NA.formatFooter)()}}()}catch(e){r={error:e,value:null}}return i?i(r.error,r.value):r}function LA(e){return!(!function(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e||isNaN(+fy(e)))}function IA(e,t){const n=function(e){return FA[e]||(FA[e]=BA?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),FA[e]}(t);return"formatToParts"in n?function(e,t){try{const n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){const t=$A[n[e].type];void 0!==t&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(n,e):function(e,t){const n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}(n,e)}const $A={year:0,month:1,day:2,hour:3,minute:4,second:5};const FA={},zA=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),BA="06/25/2014, 00:00:00"===zA||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===zA;function HA(e,t,n,r,o,i,a){const s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,o,i,a),s}const UA=36e5,WA=6e4,VA={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function qA(e,t,n){if(!e)return 0;let r,o,i=VA.timezoneZ.exec(e);if(i)return 0;if(i=VA.timezoneHH.exec(e),i)return r=parseInt(i[1],10),GA(r)?-r*UA:NaN;if(i=VA.timezoneHHMM.exec(e),i){r=parseInt(i[2],10);const e=parseInt(i[3],10);return GA(r,e)?(o=Math.abs(r)*UA+e*WA,"+"===i[1]?-o:o):NaN}if(function(e){if(KA[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),KA[e]=!0,!0}catch{return!1}}(e)){t=new Date(t||Date.now());const r=n?t:function(e){return HA(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),o=YA(r,e);return-(n?o:function(e,t,n){let r=e.getTime()-t;const o=YA(new Date(r),n);if(t===o)return t;r-=o-t;const i=YA(new Date(r),n);return o===i?o:Math.max(o,i)}(t,o,e))}return NaN}function YA(e,t){const n=IA(e,t),r=HA(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime();let o=e.getTime();const i=o%1e3;return o-=i>=0?i:1e3+i,r-o}function GA(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}const KA={};function XA(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const JA=36e5,ZA=6e4,QA=2,eT={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function tT(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);const n=null==t.additionalDigits?QA:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);const r=function(e){const t={};let n,r=eT.dateTimePattern.exec(e);if(r?(t.date=r[1],n=r[3]):(r=eT.datePattern.exec(e),r?(t.date=r[1],n=r[2]):(t.date=null,n=e)),n){const e=eT.timeZone.exec(n);e?(t.time=n.replace(e[1],""),t.timeZone=e[1].trim()):t.time=n}return t}(e),{year:o,restDateString:i}=function(e,t){if(e){const n=eT.YYY[t],r=eT.YYYYY[t];let o=eT.YYYY.exec(e)||r.exec(e);if(o){const t=o[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(o=eT.YY.exec(e)||n.exec(e),o){const t=o[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),a=function(e,t){if(null===t)return null;let n,r,o;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let i=eT.MM.exec(e);if(i)return n=new Date(0),r=parseInt(i[1],10)-1,aT(t,r)?(n.setUTCFullYear(t,r),n):new Date(NaN);if(i=eT.DDD.exec(e),i){n=new Date(0);const e=parseInt(i[1],10);return function(e,t){if(t<1)return!1;const n=iT(e);return!(n&&t>366||!n&&t>365)}(t,e)?(n.setUTCFullYear(t,0,e),n):new Date(NaN)}if(i=eT.MMDD.exec(e),i){n=new Date(0),r=parseInt(i[1],10)-1;const e=parseInt(i[2],10);return aT(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(NaN)}if(i=eT.Www.exec(e),i)return o=parseInt(i[1],10)-1,sT(o)?nT(t,o):new Date(NaN);if(i=eT.WwwD.exec(e),i){o=parseInt(i[1],10)-1;const e=parseInt(i[2],10)-1;return sT(o,e)?nT(t,o,e):new Date(NaN)}return null}(i,o);if(null===a||isNaN(a.getTime()))return new Date(NaN);if(a){const e=a.getTime();let n,o=0;if(r.time&&(o=function(e){let t,n,r=eT.HH.exec(e);if(r)return t=parseFloat(r[1].replace(",",".")),lT(t)?t%24*JA:NaN;if(r=eT.HHMM.exec(e),r)return t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")),lT(t,n)?t%24*JA+n*ZA:NaN;if(r=eT.HHMMSS.exec(e),r){t=parseInt(r[1],10),n=parseInt(r[2],10);const e=parseFloat(r[3].replace(",","."));return lT(t,n,e)?t%24*JA+n*ZA+1e3*e:NaN}return null}(r.time),null===o||isNaN(o)))return new Date(NaN);if(r.timeZone||t.timeZone){if(n=qA(r.timeZone||t.timeZone,new Date(e+o)),isNaN(n))return new Date(NaN)}else n=XA(new Date(e+o)),n=XA(new Date(e+o+n));return new Date(e+o+n)}return new Date(NaN)}function nT(e,t,n){t=t||0,n=n||0;const r=new Date(0);r.setUTCFullYear(e,0,4);const o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}const rT=[31,28,31,30,31,30,31,31,30,31,30,31],oT=[31,29,31,30,31,30,31,31,30,31,30,31];function iT(e){return e%400==0||e%4==0&&e%100!=0}function aT(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;const r=iT(e);if(r&&n>oT[t]||!r&&n>rT[t])return!1}return!0}function sT(e,t){return!(e<0||e>52||null!=t&&(t<0||t>6))}function lT(e,t,n){return!(e<0||e>=25||null!=t&&(t<0||t>=60)||null!=n&&(n<0||n>=60))}function cT(e,t,n){const r=qA(t,e=tT(e,n),!0),o=new Date(e.getTime()-r),i=new Date(0);return i.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),i.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),i}function uT(e,t){const n=fy(e,t?.in);return wy(n,function(e,t){const n=fy(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n))+1}function dT(e,t){return py(e,{...t,weekStartsOn:1})}function fT(e,t){const n=fy(e,t?.in),r=n.getFullYear(),o=uy(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=dT(o),a=uy(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=dT(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function pT(e,t){const n=fy(e,t?.in),r=+dT(n)-+function(e,t){const n=fT(e,t),r=uy(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),dT(r)}(n);return Math.round(r/ay)+1}function hT(e,t){const n=fy(e,t?.in),r=n.getFullYear(),o=Yv(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,a=uy(t?.in||e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const s=py(a,t),l=uy(t?.in||e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const c=py(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function mT(e,t){const n=fy(e,t?.in),r=+py(n,t)-+function(e,t){const n=Yv(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=hT(e,t),i=uy(t?.in||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),py(i,t)}(n,t);return Math.round(r/ay)+1}function gT(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const vT={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return gT("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):gT(n+1,2)},d(e,t){return gT(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h(e,t){return gT(e.getHours()%12||12,t.length)},H(e,t){return gT(e.getHours(),t.length)},m(e,t){return gT(e.getMinutes(),t.length)},s(e,t){return gT(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds();return gT(Math.trunc(r*Math.pow(10,n-3)),t.length)}},yT="midnight",wT="noon",bT="morning",xT="afternoon",ST="evening",ET="night",CT={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return vT.y(e,t)},Y:function(e,t,n,r){const o=hT(e,r),i=o>0?o:1-o;if("YY"===t){return gT(i%100,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):gT(i,t.length)},R:function(e,t){return gT(fT(e),t.length)},u:function(e,t){return gT(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return gT(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return gT(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return vT.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return gT(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=mT(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):gT(o,t.length)},I:function(e,t,n){const r=pT(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):gT(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):vT.d(e,t)},D:function(e,t,n){const r=uT(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):gT(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return gT(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return gT(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return gT(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?wT:0===r?yT:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?ST:r>=12?xT:r>=4?bT:ET,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return vT.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):vT.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):gT(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):gT(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):vT.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):vT.s(e,t)},S:function(e,t){return vT.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return TT(r);case"XXXX":case"XX":return OT(r);default:return OT(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return TT(r);case"xxxx":case"xx":return OT(r);default:return OT(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+AT(r,":");default:return"GMT"+OT(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+AT(r,":");default:return"GMT"+OT(r,":")}},t:function(e,t,n){return gT(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return gT(+e,t.length)}};function AT(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+gT(i,2)}function TT(e,t){return e%60==0?(e>0?"-":"+")+gT(Math.abs(e)/60,2):OT(e,t)}function OT(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+gT(Math.trunc(r/60),2)+t+gT(r%60,2)}const jT=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},NT=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},_T={p:NT,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return jT(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",jT(r,t)).replace("{{time}}",NT(o,t))}},kT=/^D+$/,PT=/^Y+$/,MT=["D","DD","YY","YYYY"];const RT=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,DT=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,LT=/^'([^]*?)'?$/,IT=/''/g,$T=/[a-zA-Z]/;function FT(e,t,n){const r=Yv(),o=r.locale??ty,i=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=fy(e,n?.in);if(!LA(s))throw new RangeError("Invalid time value");let l=t.match(DT).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,_T[t])(e,o.formatLong)}return e})).join("").match(RT).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:zT(e)};if(CT[t])return{isToken:!0,value:e};if(t.match($T))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return l.map((n=>{if(!n.isToken)return n.value;const r=n.value;(function(e){return PT.test(e)}(r)||function(e){return kT.test(e)}(r))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),MT.includes(e))throw new RangeError(r)}(r,t,String(e));return(0,CT[r[0]])(s,r,o.localize,c)})).join("")}function zT(e){const t=e.match(LT);return t?t[1].replace(IT,"'"):e}function BT(e,t,n){return function(e,t){return uy(e,+fy(e)+t)}(e,t*ly)}const HT="https://calendar.google.com/calendar/u/0/r/eventedit",UT="https://outlook.office.com/calendar/0/deeplink/compose",WT="https://calendar.yahoo.com/",VT=e=>new URLSearchParams(e),qT=(e,t)=>{if(!t.start||!LA(t.start))return console.error("Invalid event start date:",t),"#";const n=(()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return console.warn("Unable to determine user's timezone. Using UTC as a fallback."),"UTC"}})(),r=cT(t.start,"google"===e?t.timezone:n),o=t.end?cT(t.end,"google"===e?t.timezone:n):null;switch(e){case"google":return YT(r,o,t);case"outlook":return GT(r,o,t);case"yahoo":return KT(r,o,t);default:return console.error("Invalid calendar type:",e),"#"}},YT=(e,t,n)=>{const r=VT({text:n.title,dates:t?`${FT(e,"yyyyMMdd'T'HHmmss")}/${FT(t,"yyyyMMdd'T'HHmmss")}`:`${FT(e,"yyyyMMdd'T'HHmmss")}/${FT(BT(e,1),"yyyyMMdd'T'HHmmss")}`,ctz:n.timezone,details:n.description,location:n.location}),o=new URL(HT);return o.search=r.toString(),o.toString()},GT=(e,t,n)=>{const r=VT({path:"/calendar/action/compose",rru:"addevent",subject:n.title,startdt:FT(e,"yyyy-MM-dd'T'HH:mm:ssXXX"),enddt:FT(t||BT(e,1),"yyyy-MM-dd'T'HH:mm:ssXXX"),body:n.description,location:n.location,allday:"false"}),o=new URL(UT);return o.search=r.toString(),o.toString()},KT=(e,t,n)=>{const r=encodeURIComponent(n.title),o=encodeURIComponent(n.description),i=encodeURIComponent(n.location),a=FT(e,"yyyyMMdd'T'HHmmss"),s=FT(t||BT(e,1),"yyyyMMdd'T'HHmmss");return`${WT}?v=60&view=d&type=20&title=${r}&st=${a}&et=${s}&desc=${o}&in_loc=${i}`},XT=e=>qT("google",e),JT=e=>qT("outlook",e),ZT=e=>qT("yahoo",e);(0,l.forwardRef)((({className:e,event:t,label:n="Add to calendar",linkElement:r=Af,...o},i)=>{const{className:a,...s}=ct(o,"AddToCalendar"),[c,u]=(0,l.useState)(!1),d=(e,n)=>{"file"===e?(e=>{if(!e.start)return void console.error("Invalid event start date:",e);const t=e.end?e.end:BT(e.start,1);jA({title:e.title,description:e.description,start:[e.start.getFullYear(),e.start.getMonth()+1,e.start.getDate(),e.start.getHours(),e.start.getMinutes()],end:[t.getFullYear(),t.getMonth()+1,t.getDate(),t.getHours(),t.getMinutes()],location:e.location},((t,n)=>{if(t)console.error("Error creating iCalendar event:",t);else{const t=new File([n],`${e.title}.ics`,{type:"text/calendar"}),r=URL.createObjectURL(t),o=document.createElement("a");o.href=r,o.download=t.name,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(r)}}))})(t):"link"===e&&n&&window.open(n,"_blank")},f=[{label:"iCalendar",action:"file"},{label:"Google Calendar",action:"link",link:XT(t)},{label:"Outlook",action:"file"},{label:"Outlook Online",action:"link",link:JT(t)},{label:"Yahoo Calendar",action:"link",link:ZT(t)}];return(0,Je.jsx)("div",{...s,className:On(a,e),...o,ref:i,children:(0,Je.jsxs)(PS,{open:c,onOpenChange:u,children:[(0,Je.jsx)(MS,{asChild:!0,children:(0,Je.jsx)(_n,{children:(0,Je.jsx)(Ei,{icon:c?"CloseX":"Calendar",title:n})})}),(0,Je.jsx)(RS,{children:(0,Je.jsx)(DS,{sideOffset:5,align:"start",side:"bottom","data-side":"bottom",avoidCollisions:!1,className:`${a}-atcb-list`,children:f.map((e=>(0,Je.jsx)(LS,{className:`${a}-atcb-item`,onSelect:()=>d(e.action,e.link),children:"link"===e.action?(0,Je.jsx)(r,{className:`${a}-atcb-item-link`,href:e.link,children:e.label}):(0,Je.jsx)("button",{className:`${a}-atcb-item-link`,children:(0,Je.jsx)(Cf,{variant:xf.body2,children:e.label})})},e.label)))})})]})})})).displayName="AddToCalendar";const QT=(0,l.forwardRef)((({className:e,imageSrc:t,label:n,header:r,description:o,linkElement:i=Af,linkLabel:a,linkHref:s,...l},c)=>{const{className:u,...d}=ct(l,"Article");return(0,Je.jsxs)("article",{...d,className:On(u,e),...l,ref:c,children:[t?(0,Je.jsx)(Rm,{aspectRatio:"16/9",src:t,alt:"bull"}):null,(0,Je.jsxs)("div",{className:`${u}__content`,children:[n?(0,Je.jsx)(Cf,{variant:xf.label,className:`${u}__content-label`,children:n}):null,r?(0,Je.jsx)(Cf,{variant:xf.heading3,className:`${u}__content-title`,children:r}):null,o?(0,Je.jsx)(Cf,{variant:xf.body2,className:`${u}__content-description`,children:o}):null,a?(0,Je.jsx)(i,{href:s,className:`${u}__content-link`,children:a}):null]})]})}));QT.displayName="Article";const eO=(0,l.forwardRef)((({className:e,imageSrc:t,imageAlt:n="Auction Image",type:r,title:o,date:i,location:a,...s},l)=>{const{className:c,...u}=ct(s,"AuctionTile"),d={...u,...s};return(0,Je.jsxs)("div",{...d,className:On(c,e),ref:l,children:[(0,Je.jsx)("div",{className:`${c}__image`,children:(0,Je.jsx)("img",{src:t,alt:n})}),(0,Je.jsxs)("div",{className:`${c}__details`,children:[(0,Je.jsx)(Cf,{variant:xf.badge,children:r}),(0,Je.jsx)(Cf,{variant:xf.title4,children:o}),(0,Je.jsxs)("div",{className:`${c}__date_location`,children:[(0,Je.jsx)(Cf,{variant:xf.string2,children:i}),(0,Je.jsx)("span",{className:`${c}__separator`,children:"•"}),(0,Je.jsx)(Cf,{variant:xf.string2,children:a})]})]})]})}));eO.displayName="AuctionTile";const tO=(0,l.forwardRef)((({className:e,element:t,...n},r)=>{const o=t||"div",{className:i}=ct(n,"Divider");return(0,Je.jsx)(o,{className:On(i,e),...n,"data-testid":`divider-${n.id}`,ref:r,children:(0,Je.jsx)("hr",{className:`${i}-line`})})}));tO.displayName="Divider";(0,l.forwardRef)((({className:e,actionAddText:t="Add to",actionRemoveText:n="Remove from",isLotInList:r,listTitle:o,numberOfObjects:i,onClick:a,...s},l)=>{const{className:c,...u}=ct(s,"FavoritingTileButton");return(0,Je.jsxs)("button",{...u,className:On(c,e,{[`${c}--lot-in-list`]:r}),onClick:a,ref:l,id:s?.id,"aria-label":`${r?n:t} ${o}`,"aria-pressed":r,role:"switch",children:[(0,Je.jsxs)("div",{className:`${c}__text`,children:[(0,Je.jsx)(Cf,{variant:xf.button,children:r?n:t}),(0,Je.jsx)(Cf,{variant:xf.string2,children:o})]}),(0,Je.jsx)(Cf,{variant:xf.button,children:i})]})})).displayName="FavoritingTileButton";const nO=(0,l.forwardRef)((({className:e,heading:t,isViewingAll:n=!1,setViewAllFilter:r,setIsClosing:o,...i},a)=>{const{className:s,...l}=ct(i,"FilterHeader");return(0,Je.jsxs)("div",{...l,className:On(s,e),...i,ref:a,children:[(0,Je.jsx)(Cf,{variant:xf.heading4,className:`${s}__heading`,element:e=>(0,Je.jsx)("legend",{...e,children:t})}),n?(0,Je.jsxs)(Nn,{variant:jn.tertiary,onClick:()=>{o?.(!0),setTimeout((()=>{r?.(null),o?.(!1)}),300)},className:`${s}__back`,children:[(0,Je.jsx)(Ei,{icon:"ChevronLeft"}),"Back to all"]}):null]})}));nO.displayName="FilterHeader";const rO=(0,l.forwardRef)((({className:e,children:t,name:n,viewAllLimit:r=10,isViewingAll:o=!1,isHidden:i=!1,setViewAllFilter:a,viewAllLabel:s="View All",...c},u)=>{const[d,f]=(0,l.useState)(!1),{className:p,...h}=ct(c,"Filter"),m=l.Children.toArray(t),g={isViewingAll:o,setViewAllFilter:a,setIsClosing:f},v=pt(m,nO)?.[0],y=(0,l.isValidElement)(v)?(0,l.cloneElement)(v,g):null,w=ht(m,[nO])?.map(((e,t)=>(0,l.isValidElement)(e)?(0,l.cloneElement)(e,{hidden:!o&&t+1>r}):e));return(0,Je.jsxs)("div",{...h,className:On(p,e,{[`${lt}-filter--hidden`]:i,"is-closing":d}),...c,ref:u,children:[(0,Je.jsxs)("fieldset",{name:n,className:`${p}__fieldset`,children:[y,(0,Je.jsx)("div",{className:`${p}__filters`,children:w})]}),m.length>r&&!o?(0,Je.jsxs)(Nn,{className:`${p}__view-all`,variant:jn.tertiary,onClick:()=>{a?.(n)},children:[s,(0,Je.jsx)(Ei,{icon:"ChevronRight",className:`${p}__chevron`})]}):null]})}));rO.displayName="Filter";(0,l.forwardRef)((({className:e,type:t="checkbox",name:n,hidden:r,onChange:o,...i},a)=>{const{className:s}=ct(i,"FilterInput");return(0,Je.jsx)(bf,{...i,onChange:o,ref:a,type:t,className:`${s}__input`,hidden:r,hideLabel:r,name:n,size:"lg"})})).displayName="FilterValue";(0,l.forwardRef)((({className:e,pictogram:t,size:n,color:r,...o},i)=>{const{className:a,...s}=ct(o,"Pictogram"),l={...s,...o};return(0,Je.jsx)(Ei,{...l,className:On(a,e),icon:t,height:n,width:n,color:r,isPictogram:!0,ref:i})})).displayName="Pictogram";function oO(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function iO(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function aO(...e){return t=>{let n=!1;const r=e.map((e=>{const r=iO(e,t);return!n&&"function"==typeof r&&(n=!0),r}));if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():iO(e[t],null)}}}}function sO(...e){return l.useCallback(aO(...e),e)}function lO(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>l.createContext(e)));return function(n){const r=n?.[e]||t;return l.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=l.createContext(r),i=n.length;n=[...n,r];const a=t=>{const{scope:n,children:r,...a}=t,s=n?.[e]?.[i]||o,c=l.useMemo((()=>a),Object.values(a));return(0,Je.jsx)(s.Provider,{value:c,children:r})};return a.displayName=t+"Provider",[a,function(n,a){const s=a?.[e]?.[i]||o,c=l.useContext(s);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},cO(r,...t)]}function cO(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return l.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}function uO(e){const t=dO(e),n=l.forwardRef(((e,n)=>{const{children:r,...o}=e,i=l.Children.toArray(r),a=i.find(pO);if(a){const e=a.props.children,r=i.map((t=>t===a?l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null:t));return(0,Je.jsx)(t,{...o,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,Je.jsx)(t,{...o,ref:n,children:r})}));return n.displayName=`${e}.Slot`,n}function dO(e){const t=l.forwardRef(((e,t)=>{const{children:n,...r}=e;if(l.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),o=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(o.ref=t?aO(t,e):e),l.cloneElement(n,o)}return l.Children.count(n)>1?l.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}(0,l.forwardRef)((({className:e,id:t,isSkeletonLoading:n,labelText:r,maxLength:o=3e3,name:i,rows:a=2,...s},c)=>{const u=`${lt}-text-area`,d=(0,l.useId)();return(0,Je.jsxs)("div",{className:On(`${u}__wrapper`),children:[(0,Je.jsx)("label",{"data-testid":`text-area-${t??d}-label`,htmlFor:t??d,className:On(`${lt}-input__label`,{[`${lt}-skeleton`]:n}),children:r}),(0,Je.jsx)("textarea",{...s,className:On(u,e,{[`${lt}-skeleton`]:n}),id:t??d,rows:a,maxLength:o,name:i,ref:c,"data-testid":`text-area-${t??d}-input`}),(0,Je.jsx)("div",{className:`${u}-resizer__icon`,children:(0,Je.jsx)(Ei,{icon:"Menu"})})]})})).displayName="TextArea";var fO=Symbol("radix.slottable");function pO(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===fO}var hO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce(((e,t)=>{const n=uO(`Primitive.${t}`),r=l.forwardRef(((e,r)=>{const{asChild:o,...i}=e,a=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,Je.jsx)(a,{...i,ref:r})}));return r.displayName=`Primitive.${t}`,{...e,[t]:r}}),{});function mO(e,t){e&&p.flushSync((()=>e.dispatchEvent(t)))}function gO(e){const t=l.useRef(e);return l.useEffect((()=>{t.current=e})),l.useMemo((()=>(...e)=>t.current?.(...e)),[])}var vO,yO="dismissableLayer.update",wO="dismissableLayer.pointerDownOutside",bO="dismissableLayer.focusOutside",xO=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),SO=l.forwardRef(((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,u=l.useContext(xO),[d,f]=l.useState(null),p=d?.ownerDocument??globalThis?.document,[,h]=l.useState({}),m=sO(t,(e=>f(e))),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),w=d?g.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=w>=y,S=function(e,t=globalThis?.document){const n=gO(e),r=l.useRef(!1),o=l.useRef((()=>{}));return l.useEffect((()=>{const e=e=>{if(e.target&&!r.current){let r=function(){AO(wO,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...u.branches].some((e=>e.contains(t)));!x||n||(o?.(e),a?.(e),e.defaultPrevented||s?.())}),p),E=function(e,t=globalThis?.document){const n=gO(e),r=l.useRef(!1);return l.useEffect((()=>{const e=e=>{e.target&&!r.current&&AO(bO,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...u.branches].some((e=>e.contains(t)))||(i?.(e),a?.(e),e.defaultPrevented||s?.())}),p);return function(e,t=globalThis?.document){const n=gO(e);l.useEffect((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})}),[n,t])}((e=>{w===u.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),p),l.useEffect((()=>{if(d)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(vO=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),CO(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=vO)}}),[d,p,n,u]),l.useEffect((()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),CO())}),[d,u]),l.useEffect((()=>{const e=()=>h({});return document.addEventListener(yO,e),()=>document.removeEventListener(yO,e)}),[]),(0,Je.jsx)(hO.div,{...c,ref:m,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:oO(e.onFocusCapture,E.onFocusCapture),onBlurCapture:oO(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:oO(e.onPointerDownCapture,S.onPointerDownCapture)})}));SO.displayName="DismissableLayer";var EO=l.forwardRef(((e,t)=>{const n=l.useContext(xO),r=l.useRef(null),o=sO(t,r);return l.useEffect((()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}}),[n.branches]),(0,Je.jsx)(hO.div,{...e,ref:o})}));function CO(){const e=new CustomEvent(yO);document.dispatchEvent(e)}function AO(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mO(o,i):o.dispatchEvent(i)}EO.displayName="DismissableLayerBranch";var TO=SO,OO=EO,jO=globalThis?.document?l.useLayoutEffect:()=>{},NO=l.forwardRef(((e,t)=>{const{container:n,...r}=e,[o,i]=l.useState(!1);jO((()=>i(!0)),[]);const a=n||o&&globalThis?.document?.body;return a?p.createPortal((0,Je.jsx)(hO.div,{...r,ref:t}),a):null}));NO.displayName="Portal";var _O=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=l.useState(),r=l.useRef(null),o=l.useRef(e),i=l.useRef("none"),a=e?"mounted":"unmounted",[s,c]=function(e,t){return l.useReducer(((e,n)=>t[e][n]??e),e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect((()=>{const e=kO(r.current);i.current="mounted"===s?e:"none"}),[s]),jO((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=kO(t);c(e?"MOUNT":"none"===a||"none"===t?.display?"UNMOUNT":n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,c]),jO((()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,a=i=>{const a=kO(r.current).includes(i.animationName);if(i.target===t&&a&&(c("ANIMATION_END"),!o.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout((()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)}))}},s=e=>{e.target===t&&(i.current=kO(r.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback((e=>{r.current=e?getComputedStyle(e):null,n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):l.Children.only(n),i=sO(r.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof n||r.isPresent?l.cloneElement(o,{ref:i}):null};function kO(e){return e?.animationName||"none"}_O.displayName="Presence";var PO=c[" useInsertionEffect ".trim().toString()]||jO;function MO({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=function({defaultProp:e,onChange:t}){const[n,r]=l.useState(e),o=l.useRef(n),i=l.useRef(t);return PO((()=>{i.current=t}),[t]),l.useEffect((()=>{o.current!==n&&(i.current?.(n),o.current=n)}),[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:o;{const t=l.useRef(void 0!==e);l.useEffect((()=>{const e=t.current;e!==s&&console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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=s}),[s,r])}return[c,l.useCallback((t=>{if(s){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&a.current?.(n)}else i(t)}),[s,e,i,a])]}var RO=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"}),DO=l.forwardRef(((e,t)=>(0,Je.jsx)(hO.span,{...e,ref:t,style:{...RO,...e.style}})));DO.displayName="VisuallyHidden";var LO="ToastProvider",[IO,$O,FO]=function(e){const t=e+"CollectionProvider",[n,r]=lO(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{const{scope:t,children:n}=e,r=l.useRef(null),i=l.useRef(new Map).current;return(0,Je.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};a.displayName=t;const s=e+"CollectionSlot",c=uO(s),u=l.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=sO(t,i(s,n).collectionRef);return(0,Je.jsx)(c,{ref:o,children:r})}));u.displayName=s;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=uO(d),h=l.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,a=l.useRef(null),s=sO(t,a),c=i(d,n);return l.useEffect((()=>(c.itemMap.set(a,{ref:a,...o}),()=>{c.itemMap.delete(a)}))),(0,Je.jsx)(p,{[f]:"",ref:s,children:r})}));return h.displayName=d,[{Provider:a,Slot:u,ItemSlot:h},function(t){const n=i(e+"CollectionConsumer",t);return l.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}("Toast"),[zO,BO]=lO("Toast",[FO]),[HO,UO]=zO(LO),WO=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,c]=l.useState(null),[u,d]=l.useState(0),f=l.useRef(!1),p=l.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${LO}\`. Expected non-empty \`string\`.`),(0,Je.jsx)(IO.Provider,{scope:t,children:(0,Je.jsx)(HO,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:s,onViewportChange:c,onToastAdd:l.useCallback((()=>d((e=>e+1))),[]),onToastRemove:l.useCallback((()=>d((e=>e-1))),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:a})})};WO.displayName=LO;var VO="ToastViewport",qO=["F8"],YO="toast.viewportPause",GO="toast.viewportResume",KO=l.forwardRef(((e,t)=>{const{__scopeToast:n,hotkey:r=qO,label:o="Notifications ({hotkey})",...i}=e,a=UO(VO,n),s=$O(n),c=l.useRef(null),u=l.useRef(null),d=l.useRef(null),f=l.useRef(null),p=sO(t,f,a.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),m=a.toastCount>0;l.useEffect((()=>{const e=e=>{0!==r.length&&r.every((t=>e[t]||e.code===t))&&f.current?.focus()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r]),l.useEffect((()=>{const e=c.current,t=f.current;if(m&&e&&t){const n=()=>{if(!a.isClosePausedRef.current){const e=new CustomEvent(YO);t.dispatchEvent(e),a.isClosePausedRef.current=!0}},r=()=>{if(a.isClosePausedRef.current){const e=new CustomEvent(GO);t.dispatchEvent(e),a.isClosePausedRef.current=!1}},o=t=>{!e.contains(t.relatedTarget)&&r()},i=()=>{e.contains(document.activeElement)||r()};return e.addEventListener("focusin",n),e.addEventListener("focusout",o),e.addEventListener("pointermove",n),e.addEventListener("pointerleave",i),window.addEventListener("blur",n),window.addEventListener("focus",r),()=>{e.removeEventListener("focusin",n),e.removeEventListener("focusout",o),e.removeEventListener("pointermove",n),e.removeEventListener("pointerleave",i),window.removeEventListener("blur",n),window.removeEventListener("focus",r)}}}),[m,a.isClosePausedRef]);const g=l.useCallback((({tabbingDirection:e})=>{const t=s().map((t=>{const n=t.ref.current,r=[n,...pj(n)];return"forwards"===e?r:r.reverse()}));return("forwards"===e?t.reverse():t).flat()}),[s]);return l.useEffect((()=>{const e=f.current;if(e){const t=t=>{const n=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!n){const n=document.activeElement,r=t.shiftKey;if(t.target===e&&r)return void u.current?.focus();const o=g({tabbingDirection:r?"backwards":"forwards"}),i=o.findIndex((e=>e===n));hj(o.slice(i+1))?t.preventDefault():r?u.current?.focus():d.current?.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}}),[s,g]),(0,Je.jsxs)(OO,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:m?void 0:"none"},children:[m&&(0,Je.jsx)(JO,{ref:u,onFocusFromOutsideViewport:()=>{hj(g({tabbingDirection:"forwards"}))}}),(0,Je.jsx)(IO.Slot,{scope:n,children:(0,Je.jsx)(hO.ol,{tabIndex:-1,...i,ref:p})}),m&&(0,Je.jsx)(JO,{ref:d,onFocusFromOutsideViewport:()=>{hj(g({tabbingDirection:"backwards"}))}})]})}));KO.displayName=VO;var XO="ToastFocusProxy",JO=l.forwardRef(((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=UO(XO,n);return(0,Je.jsx)(DO,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:e=>{const t=e.relatedTarget;!i.viewport?.contains(t)&&r()}})}));JO.displayName=XO;var ZO="Toast",QO=l.forwardRef(((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[s,l]=MO({prop:r,defaultProp:o??!0,onChange:i,caller:ZO});return(0,Je.jsx)(_O,{present:n||s,children:(0,Je.jsx)(nj,{open:s,...a,ref:t,onClose:()=>l(!1),onPause:gO(e.onPause),onResume:gO(e.onResume),onSwipeStart:oO(e.onSwipeStart,(e=>{e.currentTarget.setAttribute("data-swipe","start")})),onSwipeMove:oO(e.onSwipeMove,(e=>{const{x:t,y:n}=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",`${n}px`)})),onSwipeCancel:oO(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:oO(e.onSwipeEnd,(e=>{const{x:t,y:n}=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",`${n}px`),l(!1)}))})})}));QO.displayName=ZO;var[ej,tj]=zO(ZO,{onClose(){}}),nj=l.forwardRef(((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:m,...g}=e,v=UO(ZO,n),[y,w]=l.useState(null),b=sO(t,(e=>w(e))),x=l.useRef(null),S=l.useRef(null),E=o||v.duration,C=l.useRef(0),A=l.useRef(E),T=l.useRef(0),{onToastAdd:O,onToastRemove:j}=v,N=gO((()=>{y?.contains(document.activeElement)&&v.viewport?.focus(),a()})),_=l.useCallback((e=>{!e||e===1/0||(window.clearTimeout(T.current),C.current=(new Date).getTime(),T.current=window.setTimeout(N,e))}),[N]);l.useEffect((()=>{const e=v.viewport;if(e){const t=()=>{_(A.current),u?.()},n=()=>{const e=(new Date).getTime()-C.current;A.current=A.current-e,window.clearTimeout(T.current),c?.()};return e.addEventListener(YO,n),e.addEventListener(GO,t),()=>{e.removeEventListener(YO,n),e.removeEventListener(GO,t)}}}),[v.viewport,E,c,u,_]),l.useEffect((()=>{i&&!v.isClosePausedRef.current&&_(E)}),[i,E,v.isClosePausedRef,_]),l.useEffect((()=>(O(),()=>j())),[O,j]);const k=l.useMemo((()=>y?uj(y):null),[y]);return v.viewport?(0,Je.jsxs)(Je.Fragment,{children:[k&&(0,Je.jsx)(rj,{__scopeToast:n,role:"status","aria-live":"foreground"===r?"assertive":"polite","aria-atomic":!0,children:k}),(0,Je.jsx)(ej,{scope:n,onClose:N,children:p.createPortal((0,Je.jsx)(IO.ItemSlot,{scope:n,children:(0,Je.jsx)(TO,{asChild:!0,onEscapeKeyDown:oO(s,(()=>{v.isFocusedToastEscapeKeyDownRef.current||N(),v.isFocusedToastEscapeKeyDownRef.current=!1})),children:(0,Je.jsx)(hO.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...g,ref:b,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:oO(e.onKeyDown,(e=>{"Escape"===e.key&&(s?.(e.nativeEvent),e.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,N()))})),onPointerDown:oO(e.onPointerDown,(e=>{0===e.button&&(x.current={x:e.clientX,y:e.clientY})})),onPointerMove:oO(e.onPointerMove,(e=>{if(!x.current)return;const t=e.clientX-x.current.x,n=e.clientY-x.current.y,r=!!S.current,o=["left","right"].includes(v.swipeDirection),i=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,a=o?i(0,t):0,s=o?0:i(0,n),l="touch"===e.pointerType?10:2,c={x:a,y:s},u={originalEvent:e,delta:c};r?(S.current=c,dj("toast.swipeMove",f,u,{discrete:!1})):fj(c,v.swipeDirection,l)?(S.current=c,dj("toast.swipeStart",d,u,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(n)>l)&&(x.current=null)})),onPointerUp:oO(e.onPointerUp,(e=>{const t=S.current,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),S.current=null,x.current=null,t){const n=e.currentTarget,r={originalEvent:e,delta:t};fj(t,v.swipeDirection,v.swipeThreshold)?dj("toast.swipeEnd",m,r,{discrete:!0}):dj("toast.swipeCancel",h,r,{discrete:!0}),n.addEventListener("click",(e=>e.preventDefault()),{once:!0})}}))})})}),v.viewport)})]}):null})),rj=e=>{const{__scopeToast:t,children:n,...r}=e,o=UO(ZO,t),[i,a]=l.useState(!1),[s,c]=l.useState(!1);return function(e=()=>{}){const t=gO(e);jO((()=>{let e=0,n=0;return e=window.requestAnimationFrame((()=>n=window.requestAnimationFrame(t))),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}}),[t])}((()=>a(!0))),l.useEffect((()=>{const e=window.setTimeout((()=>c(!0)),1e3);return()=>window.clearTimeout(e)}),[]),s?null:(0,Je.jsx)(NO,{asChild:!0,children:(0,Je.jsx)(DO,{...r,children:i&&(0,Je.jsxs)(Je.Fragment,{children:[o.label," ",n]})})})},oj=l.forwardRef(((e,t)=>{const{__scopeToast:n,...r}=e;return(0,Je.jsx)(hO.div,{...r,ref:t})}));oj.displayName="ToastTitle";l.forwardRef(((e,t)=>{const{__scopeToast:n,...r}=e;return(0,Je.jsx)(hO.div,{...r,ref:t})})).displayName="ToastDescription";var ij="ToastAction",aj=l.forwardRef(((e,t)=>{const{altText:n,...r}=e;return n.trim()?(0,Je.jsx)(cj,{altText:n,asChild:!0,children:(0,Je.jsx)(lj,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${ij}\`. Expected non-empty \`string\`.`),null)}));aj.displayName=ij;var sj="ToastClose",lj=l.forwardRef(((e,t)=>{const{__scopeToast:n,...r}=e,o=tj(sj,n);return(0,Je.jsx)(cj,{asChild:!0,children:(0,Je.jsx)(hO.button,{type:"button",...r,ref:t,onClick:oO(e.onClick,o.onClose)})})}));lj.displayName=sj;var cj=l.forwardRef(((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return(0,Je.jsx)(hO.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})}));function uj(e){const t=[];return Array.from(e.childNodes).forEach((e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),function(e){return e.nodeType===e.ELEMENT_NODE}(e)){const n=e.ariaHidden||e.hidden||"none"===e.style.display,r=""===e.dataset.radixToastAnnounceExclude;if(!n)if(r){const n=e.dataset.radixToastAnnounceAlt;n&&t.push(n)}else t.push(...uj(e))}})),t}function dj(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mO(o,i):o.dispatchEvent(i)}var fj=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return"left"===t||"right"===t?i&&r>n:!i&&o>n};function pj(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const 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 hj(e){const t=document.activeElement;return e.some((e=>e===t||(e.focus(),document.activeElement!==t)))}var mj=QO,gj=oj,vj=aj,yj=lj;(0,l.forwardRef)((({className:e,title:t,actionElement:n,actionAltText:r,closeButtonLabel:o,...i},a)=>{const{className:s,...l}=ct(i,"Toast");return(0,Je.jsxs)(mj,{...l,className:On(s,e),ref:a,children:[(0,Je.jsxs)("div",{className:`${s}__content`,children:[(0,Je.jsx)(gj,{children:t}),n&&r&&(0,Je.jsx)(vj,{asChild:!0,altText:r,className:`${s}__action`,children:n})]}),(0,Je.jsx)(yj,{className:`${s}__close`,"aria-label":o,asChild:!0,children:(0,Je.jsx)(_n,{variant:jn.link,children:(0,Je.jsx)(Ei,{icon:"CloseX",title:o,color:"$white","aria-hidden":!0})})})]})})).displayName="Toast";typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);new Uint8Array(16);const wj=[];for(let e=0;e<256;++e)wj.push((e+256).toString(16).slice(1));(0,l.createContext)(void 0);const bj=(0,l.forwardRef)((({className:e,title:t,subtitle:n,actionButtons:r,overline:o,showDivider:i=!0,...a},s)=>{const{className:l,...c}=ct(a,"AccountPageHeader"),u=r?.find((e=>e.isPrimary)),d=r?.filter((e=>!e.isPrimary));return(0,Je.jsxs)("div",{...c,className:On(l,e),ref:s,children:[(0,Je.jsxs)("div",{className:`${l}__container`,children:[o&&(0,Je.jsx)(Cf,{variant:xf.string2,className:`${l}__overline`,children:o}),(0,Je.jsxs)("div",{className:`${l}__title-wrapper`,children:[(0,Je.jsx)(Cf,{variant:xf.title1,className:`${l}__title`,children:t}),r&&r.length>0&&(0,Je.jsxs)("div",{className:`${l}__button-wrapper`,children:[d&&(0,Je.jsx)(Je.Fragment,{children:d.map((e=>(0,Je.jsx)(_n,{onClick:e.onClick,"aria-label":e.ariaLabel,children:(0,Je.jsx)(Ei,{icon:e.icon,"aria-label":e.ariaLabel,title:e.ariaLabel})},`icon-button-${e.icon}`)))}),u&&(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsx)(wn.Media,{greaterThanOrEqual:"md",children:(0,Je.jsxs)(Nn,{variant:jn.secondary,onClick:u.onClick,children:[(0,Je.jsx)(Ei,{icon:u.icon})," ",u.label]})}),(0,Je.jsx)(wn.Media,{lessThan:"md",children:(0,Je.jsx)(_n,{onClick:u.onClick,"aria-label":u.ariaLabel,children:(0,Je.jsx)(Ei,{icon:u.icon,title:u.ariaLabel})})})]})]})]}),n&&(0,Je.jsx)(Cf,{variant:xf.string2,className:`${l}__subtitle`,children:n})]}),i&&(0,Je.jsx)(tO,{className:`${l}__divider`})]})}));bj.displayName="AccountPageHeader";var xj=(e=>(e.positive="POSITIVE",e.negative="NEGATIVE",e))(xj||{}),Sj=(e=>(e.Winning="winning",e.Losing="losing",e.Won="won",e.Lost="lost",e))(Sj||{});const Ej=({className:e,hasIcon:t=!0,message:n,variant:r=xj.positive,...o})=>{const{className:i,...a}=ct(o,"BidMessage"),s=r===xj.positive?(0,Je.jsx)(Ei,{icon:"IconGreenCircle",height:8,width:8}):(0,Je.jsx)(Ei,{icon:"IconRedCircle",height:8,width:8});return(0,Je.jsxs)("div",{...a,className:On(i,e),...o,children:[t?s:null,(0,Je.jsx)(Cf,{variant:xf.string2,className:`${i}-text`,children:n})]})};function Cj(e,t){return+fy(e)>+fy(t)}const Aj=e=>1===e?`${e} bid`:`${e} bids`,Tj=(0,l.forwardRef)((({lotStatus:e=Sn.ready,bidStatus:t,bidsLabelText:n=Aj,children:r,className:o,closingText:i="Closes in",currency:a="$",currentBid:s,currentBidText:l="Current bid",formatDurationStr:c=e=>e.replace(/seconds?/,"sec").replace(/minutes?/,"min"),lang:u="en",saleCloseDate:d,lotCloseDate:f,numberOfBids:p=0,startingBid:h,startingBidText:m="Starting bid",soldPrice:g,soldForText:v="Sold for",wonForText:y="Won for",getCurrentDateTime:w=()=>new Date,...b},x)=>{const{className:S,...E}=ct(b,"BidSnapshot"),C=null!==s&&p>0,A=e===Sn.ready,T=e===Sn.live,O=e===Sn.past,j=w()||new Date,N=T&&f&&Cj(f,j)&&d&&(Ay(d,j)<60||Cj(j,d)),_=pt(r,Ej),k=ht(r,[Ej]),P=On(S,o,{[`${S}--live`]:T,[`${S}--has-bids`]:C||O});return(0,Je.jsxs)("div",{...E,...b,ref:x,className:P,children:[(0,Je.jsxs)(bg,{hasSeparators:!0,className:`${S}__text`,children:[O?(0,Je.jsx)(es,{label:t===Sj.Won?y:v,value:g?`${a}${g?.toLocaleString()}`:"",hasWrap:!1}):null,T&&C?(0,Je.jsx)(es,{label:l,subLabel:`(${n(p)})`,value:`${a}${s?.toLocaleString()}`,hasWrap:!1}):null,h&&(A||T&&!C)?(0,Je.jsx)(es,{label:m,value:`${a}${h?.toLocaleString()}`,hasWrap:!1}):null]}),t&&!A?_:null,k,N?(0,Je.jsx)(Oy,{endDateTime:f,label:i,variant:Vv.compact,locale:bn[u],formatDurationStr:c,showBottomBorder:!1,getCurrentDateTime:w}):null]})}));Tj.displayName="BidSnapshot";(0,l.forwardRef)((({className:e,children:t,element:n="form",...r},o)=>{const{className:i,...a}=ct(r,"FilterMenu"),[s,c]=(0,l.useState)(null),u=s?.length,d=l.Children.map(t,(e=>l.isValidElement(e)&&e.type===rO?(0,l.cloneElement)(e,{setViewAllFilter:c,hidden:!!u&&s!==e.props.name,isViewingAll:u,className:u&&On(e.props.className,"is-opening")}):e));return(0,Je.jsx)(n,{...a,...r,className:On(i,e),ref:o,children:d})})).displayName="FilterControl";const Oj=(0,l.memo)((0,l.forwardRef)((({badgeText:e,className:t,children:n,element:r,estimate:o,estimateLabelText:i="Estimate",estimateOnRequestText:a,badgeElement:s,favoriteElement:l,imageAlt:c="Brought to you by Phillips",imageUrl:u="",imageSrcSet:d,imageSizes:f,imageLoading:p,imageFetchPriority:h,lotNumber:m,makerText:g,modelText:v,referenceNumber:y,titleText:w,withdrawnText:b,...x},S)=>{const{className:E,...C}=ct(x,"ObjectTile"),A=r??"a",T=o||a;return(0,Je.jsxs)(A,{...C,className:On(E,t),...x,ref:S,children:[(0,Je.jsx)(Rm,{alt:c,aspectRatio:"1/1",className:`${E}__img`,objectFit:"contain",src:u,srcSet:d,sizes:f,loading:p,fetchPriority:h}),b?null:(0,Je.jsx)(Cf,{element:"span",className:`${E}__badge`,variant:xf.badge,children:e}),(0,Je.jsxs)("div",{className:`${E}__lot-number-like`,children:[(0,Je.jsx)(Cf,{element:"span",className:`${E}__lot-number`,variant:xf.heading4,children:m}),s&&(0,Je.jsx)("div",{className:`${E}__lot-badge`,children:(0,Je.jsx)(s,{})}),l&&(0,Je.jsx)(l,{})]}),b?(0,Je.jsx)(Cf,{element:"span",className:`${E}__withdrawn`,variant:xf.heading4,children:b}):(0,Je.jsxs)(Je.Fragment,{children:[(0,Je.jsxs)("div",{className:`${E}__meta`,children:[g?(0,Je.jsx)(Cf,{element:"span",className:`${E}__maker`,variant:xf.heading4,children:g}):null,w?(0,Je.jsx)(Cf,{className:`${E}__title ${E}__token-fix ${E}__token-fix--no-transform`,variant:xf.heading4,element:"cite",children:w}):null,y?(0,Je.jsx)(Cf,{className:`${E}__reference-number ${E}__token-fix`,variant:xf.heading4,element:"span",children:y}):null,v?(0,Je.jsx)(Cf,{className:`${E}__model ${E}__token-fix`,variant:xf.heading4,element:"span",children:v}):null]}),T?(0,Je.jsx)(bg,{hasSeparators:!0,className:`${E}__estimate ${E}__section`,children:(0,Je.jsx)(es,{className:`${E}__estimate__label`,label:i,value:o||a,hasWrap:!1})}):null,(0,Je.jsx)("div",{className:`${E}__section`,children:n})]})]})})));function jj(e){return function(e){if(Array.isArray(e))return Ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ke(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Oj.displayName="ObjectTile";var Nj=n(15313),_j=n.n(Nj),kj=n(16951),Pj=n.n(kj),Mj=function(e){var t=R(),n=_j()(e.hideModal)?function(){t({type:"MODAL_HIDE"})}:e.hideModal;return u().createElement("div",{className:Pj().apply(void 0,["phillips-modal"].concat(jj(e.customClasses)))},u().createElement("button",{className:"modal-overlay",onClick:n,type:"button"}),u().createElement("div",{className:"modal"},u().createElement("button",{className:"close",onClick:n,type:"button"}),u().createElement("div",{className:"modal-content"},e.children)))};Mj.defaultProps={customClasses:[],hideModal:null},Mj.propTypes={hideModal:I().func,children:I().oneOfType([I().element,I().arrayOf(I().element)]).isRequired,customClasses:I().arrayOf(I().string)};var Rj=Mj,Dj=n(25616),Lj=n.n(Dj),Ij=JSON.parse('{"EN":{"EN":null,"Disruptors: Evening Sale of Modern & Contemporary Art, Design and Watches":"Disruptors: Evening Sale of Modern & Contemporary Art, Design and Watches","$HT Coin by White Male Artist (AKA: Cassils)":"$HT Coin by White Male Artist (AKA: Cassils)","Modern & Contemporary Art":"Modern & Contemporary Art","Modern & Contemporary ArtDepartmentTitle":"Modern & Contemporary Art Auctions | New York, London & Hong Kong","Modern & Contemporary Art: Online Auction, Hong Kong":"Modern & Contemporary Art: Online Auction, Hong Kong","Modern & Contemporary Art & Design Day Sale":"Modern & Contemporary Art & Design Day Sale","Modern & Contemporary Art & Design Day Sale in Association with Poly Auction":"Modern & Contemporary Art & Design Day Sale in Association with Poly Auction","Modern & Contemporary Art and Design Day Sale":"Modern & Contemporary Art and Design Day Sale","Modern & Contemporary Art and Design Day Sale in Association with Poly Auction":"Modern & Contemporary Art and Design Day Sale in Association with Poly Auction","Modern & Contemporary Art and Design Day Sale, Morning Session":"Modern & Contemporary Art and Design Day Sale, Morning Session","Modern & Contemporary Art Day Sale":"Modern & Contemporary Art Day Sale","Modern & Contemporary Art Day Sale, Afternoon Session":"Modern & Contemporary Art Day Sale, Afternoon Session","Modern & Contemporary Art Day Sale, Morning Session":"Modern & Contemporary Art Day Sale, Morning Session","Modern & Contemporary Art Evening Sale":"Modern & Contemporary Art Evening Sale","Modern & Contemporary Art Evening Sale in Association with Poly Auction":"Modern & Contemporary Art Evening Sale in Association with Poly Auction","ModernAndContemporaryArtDaySale":"Modern & Contemporary Art Day Sale","ModernContemporaryArt":"Modern & Contemporary Art","modernContemporaryArt":"Modern & Contemporary Art","modernAndContemporaryArt":"Modern & Contemporary Art","ModernAndContemporaryArt":"Modern & Contemporary Art","Modern&ContemporaryArt":"Modern & Contemporary Art","ModernAndContemporaryArtAndDesignDaySaleAfternoonSession":"Modern & Contemporary Art and Design Day Sale, Afternoon Session","ModernAndContemporaryArtDaySaleAfternoonSession":"Modern & Contemporary Art Day Sale, Afternoon Session","ModernAndContemporaryArtDaySaleMorning Session":"Modern & Contemporary Art Day Sale, Morning Session","Modern & Contemporary Art & Design Day Sale in association with Yongle":"Modern & Contemporary Art & Design Day Sale in association with Yongle","Modern & Contemporary Art Evening Sale in association with Yongle":"Modern & Contemporary Art Evening Sale in association with Yongle","24/7: Online Auction":"24/7: Online Auction","account":"Account","about":"About {0}","aboutTheArtist":"About the Artist","aboutUs":"About Us","absenteeAndTelephone":"Absentee & Telephone","absenteeTelephoneBids":"Absentee and Telephone Bids","acceptingConsignments":"Accepting Consignments","accessories":"Accessories","accountDetails":"Account Details","active":"Active","addedToList":"Added to List","addItem":"Add {0}","addToCalendar":"Add To Calendar","addToCart":"Add To Cart","addToFavorites":"Add to Favorites","aGoodShowForStrangeTimes":"A Good Show For Strange Times ","allDepartments":"All Departments","allFieldsRequired":"All fields required","allLots":"All Lots","allVideos":"All Videos","alreadyCreatedAccount":"Already created an account?","antwerp":"Antwerp","applyNow":"Apply Now","april":"April","artickerBulletin":"The Articker Bulletin","artickerBulletinContent":"Real-time, daily analysis of the art world using algorithmic intelligence to mine millions of online articles and identify emerging markets.","artickerHeadlines":"Recent {0} headlines, Powered by Articker","article":"Article","articles":"Articles","articlesVideos":"Articles & Videos","artist":"Artist","artistAtoZ":"Artist: A - Z","artistBiography":"Artist Biography","artists":"Artists","artistsAndMakers":"Artists & Makers","artistZtoA":"Artist: Z - A","artsPartnerships":"Arts Partnerships","askingPrice":"Asking Price","auction":"Auction","auctionCalendar":"Calendar","auctionHighlights":"Auction Highlights","auctionInfo":"Auction Info","auctionInProgress":"Auction in progress.","auctionNow":"Auction Now","auctionResults":"Auction Results","auctions":"Auctions","auctionInformationAndServices":"Auction Information & Services","auctionTimerEndMessage":"Auction has ended:","auctionTimerLiveMessage":"<strong>Auction Ends in</strong>","auctionTimerMessage":"Auction <strong>Starts in</strong>","auctionToday":"Auction Today","auctionViewingLocation":"Auction & Viewing Location","august":"August","backTo":"Back to {0}","backToTop":"Back to Top","beginConsignmentInquiry":"Begin Consignment Inquiry","bidAnywhere":"Bid Anywhere","downloadThePhillipsApp":"Download the Phillips Live Auction App","bidAnywhereContent":"Download our app and bid in live auctions from your iOS or Android device.","biddingNotAvailable":"Bidding no longer available","biddingOpen":"Bidding Open","bidNow":"Bid Now","bidsAndRegistration":"Bids and Registration","bidsGeneva":"Bids Geneva","bidsHongKong":"Bids Hong Kong","bidsLondon":"Bids London","bidsNewYork":"Bids New York","biography":"Biography","braceletStrap":"Bracelet/Strap","brand":"Brand","brazil":"Brazil","browseArticlesVideos":"Browse Articles & Videos","browseArtists":"Browse Artists","browseExhibition":"Browse Exhibition","browseLots":"Browse Lots","browseSale":"Browse Sale","buyAndSell":"Buy & Sell","buyCatalogues":"Buy Catalogues","buyCataloguesContent":"Purchase individual catalogues or subscribe to receive all of our seasonal publications.","buyNowNewsletter":"Join Our Perpetual Email List.","buyersGuide":"Buyer\'s Guide","buyersGuideContemporary":"Buyer\'s Guide: Modern & Contemporary Art &sol; Editions, Photographs and Design","buyersGuideJewels":"Buyer\'s Guide: Jewelry","buyersGuideJewelsWatches":"Buyer\'s Guide: Jewels & Watches","buyersGuideJewelsWatchesBreak":"Buyer\'s Guide: <br />Jewels & Watches","buyersGuideWatches":"Buyer\'s Guide: Watches","buyersPremium":"Buyer\'s Premium","BuyersPremiumNotice":"Our Buyer\'s Premium has been updated. View our Conditions of Sale.","buying":"Buying","buyWatch":"Buy","calendar":"Calendar","calendarMetadata":"Discover upcoming auctions, exhibitions, and events at Phillips.","calibre":"Calibre","cancel":"Cancel","cancelEdit":"Cancel Edit","caption":"Caption","careerDetails":"Career Details","careerOpportunities":"Career Opportunities","careerOpportunitiesContent":"<p>Some of the world&apos;s greatest works of contemporary art and design are bought and sold at Phillips. As an ambitious, value-driven organization, we&apos;re looking for collaborative team members who will bring their passion, energy, expertise and ideas to work every day.</p><p>We&apos;re an international business, offering opportunities to expand your knowledge, capabilities and career across different locations, departments and disciplines. For a dynamic, rewarding role at the cutting edge of the arts industry, please apply for a specific position in a Specialist or Business Support department or register your interest.</p><p>Phillips is an Equal Opportunity employer.</p>","careers":"Careers","careersVideoTitleTheChair":"The Chair","careersSubtitleTheChair":"Find out what it’s like to work at Phillips from the voices of our own staff.","careersVideoTitle01":"Phillips is a rebel","careersVideoTitle02":"Phillips is family for me","carousel":"Carousel","carouselType":"Carousel Type","caseNumber":"Case No","catalogue":"Catalogue","catalogueEssay":"Catalogue Essay","catalogues":"Catalogues","catalogueSubscriptions":"Catalogue Subscriptions","cataloguingAndConditionReport":"Cataloguing & Condition Report","characterLimit":"{0} character limit","chicago":"Chicago","cityGuides":"CITY GUIDES","classBuckle":"Clasp/Buckle","clearAll":"Clear All","clientAdvisory":"Client Advisory","clientServicesHongKong":"Client Services Hong Kong","clientServicesLondon":"Client Services London","clientServicesNewYork":"Client Services New York","close":"Close","closesIn":"Closes in: {0}","closingNow":"Closing Now","closingSoon":"Closing Soon","collectionShippingStorage":"Collection, Shipping and Storage","cologne":"Cologne","comments":"Comments","completeTheFormMessage":"Complete the form opposite with as much detail as possible.","concluded":"Concluded","conditionReport":"Condition Report","conditionReportDisclaimer":"<em>Please note: Condition reports are prepared by the department as a convenience to clients and should be used as a guide only. Phillips uses due care when preparing condition reports, however, our staff are not professional restorers or conservators. Prospective purchasers are in all cases responsible for inspecting the property themselves during the pre-sale exhibition or by private viewing. Condition reports are not warranties and each lot is sold \\"as is\\" in accordance with the terms and conditions of sale, as listed in the catalogue. Should you require any further information please </em>","conditionReportError":"There was an error handling your request.","conditionReportFormDescription":"Have a question or need assistance? Enter the details here, and we\'ll get back to you shortly.","conditionReportMessage":"After viewing this condition report, a specialist may contact you to assist you with this lot.","conditionReportSuccessDescription":"A specialist will be in contact with you shortly.","conditionReportSuccessTitle":"Thank you for your request.","conditionReportTooltip":"To learn more or ask a question, please inquire.","conditions":"Conditions","conditionsOfSale":"Conditions of Sale","conditionsOfSaleContemporary":"Conditions of Sale:<br/> Modern & Contemporary Art &sol; Editions, Photographs and Design","conditionsOfSaleCryptoPayments":"Conditions of Sale, Cryptocurrency Payments","conditionsOfSaleDropshop":"Conditions of sale,<br/> Dropshop","conditionsOfSaleShopify":"Conditions of sale,<br/> PhillipsX","conditionsOfSaleGenevaJewels":"Conditions of Sale: <br />Jewelry, Geneva","conditionsOfSaleGenevaWatches":"Conditions of Sale: <br />Watches, Geneva","conditionsOfSaleHongKong":"Conditions of Sale, Hong Kong","conditionsOfSaleJewels":"Conditions of Sale: Jewelry","conditionsOfSaleJewelsWatches":"Conditions of Sale: Jewelry & Watches","conditionsOfSaleWatches":"Conditions of Sale: Watches ","conditionsOfSaleLondon":"Conditions of Sale, London","conditionsOfSaleNewYork":"Conditions of Sale, New York","conditionsOfSaleNFT":"Conditions of Sale, NFT","conditionsOfSalePerpetual":"Conditions of Sale, <br />Perpetual","consignForHongKong":"Consign for Hong Kong","consignForLondon":"Consign for London","consignForNewYork":"Consign for New York","consignmentMetadata":"Ready to sell at auction? Phillips offers complimentary estimates for modern & contemporary art, design, photographs, and more. Submit your collection now.","consignmentSubmissionSuccess":"{0}, thank you for submitting {2}\'s {1} for consignment. A specialist will be in touch with you within the next 10 days.","consignmentSubmissionSuccessNoMaker":"{0}, thank you for submitting <em>{1}</em> for consignment. A specialist will be in touch with you within the next 10 days.","consignmentSubmissionSuccessGeneric":"{0}, thank you for submitting your item for consignment. A specialist will be in touch with you within the next 10 days.","consignmentText":"Consignment submissions are open for upcoming season.","consignToday":"Consign Today","consignToUpcomingDepartmentSale":"Consign to an upcoming {0} sale.","consignWithUs":"Consign With Us","contact":"Contact","contactBidsDepartment":"Please contact our Bids department with any questions.","contactSpecialist":"Contact Specialist","contactUs":"Contact Us","contemporaryArt":"Contemporary Art","contemporaryArtDepartment":"Contemporary Art Department","contemporaryArtDesignWatchesAndJewelsAuctions":"Contemporary Art, Design, Watches and Jewels Auctions","contentType":"Content Type","contractAddress":"Contract Address","cookiePolicy":"<p>We use cookies (small text files stored on your device) to improve your experience when visting www.phillips.com and using the Phillips app. Our <a href=\\"/About/CookiePolicy\\">Cookie Policy</a> explains this in more detail.</p>","cookiePolicyLabel":"Cookie Policy","copenhagen":"Copenhagen","covid19Announcement":"Covid-19 Announcement","create":"Create","createAccount":"Create Account","createAccountWords":"Create your Phillips account to stay informed.","createListAndSave":"Create List & Save","createNewList":"Create New List","creditCardForm":"Credit Card Form","cultureInfoLocale":"en-US","curatedList":"Curated List","Current password is not correct.":"Current password is not correct.","currentVacancies":"Current Vacancies","dateFormatReact":"EEEE, LLLL d, y","dateFormatReactShort":"LLLL y","Day Sale":"Day Sale","days":"Days","daySaleSession1Modern":"Day Sale Session 1 (Modern)","daySaleSession2PostWar":"Day Sale Session 2 (Post-War)","daySaleSession3Contemporary":"Day Sale Session 3 (Contemporary)","dearCustomer":"Dear {0}","december":"December","default":"Default","delete":"delete","deleteList":"Delete List","denver":"Denver","department":"Department","departmentInfo":"Department Info","departments":"Departments","deputyChairman":"Deputy Chairmen and Chairwomen","description":"Description","design":"Design","Design":"Design","DesignDepartmentTitle":"Design Auctions | Furniture, Lighting, Ceramics & More","designDepartment":"Design Department","digital":"Digital","digitalSaleroom":"Digital Saleroom","dimensions":"Dimensions","displayOrder":"Display Order","doNotHaveAccount":"Don\'t have an account yet?","dontHaveAnAccount":"Don’t have an account? ","download":"Download","downloadCatalogue":"Download Catalogue","downloadPDF":"Download PDF","edit":"Edit","Editions":"Editions","EditionsDepartmentTitle":"Editions | Prints & Multiples Auctions","editions":"Editions","Editions & Works on Paper":"Editions & Works on Paper","Editions Contemporary: Online Auction":"Editions Contemporary: Online Auction","Editions, Photographs and Design":"Editions, Photographs and Design","editionsDepartment":"Editions Department","editItem":"Edit {0}","editLots":"Edit Lots","editorial":"Editorial","editorialTitle":"Art and Luxury Editorial","editorialDescriptionMetadata":"Discover articles and video about art, design, luxury, culture, and lifestyle at Phillips auction house.","email":"Email","emailAgreement":"By signing up, you agree to receive email communications from Phillips.","emailLabel":"Enter Your Email Address To Sign Up","enterDescription":"Enter a description for this list","enterGallery":"Enter Gallery","enterGalleryOne":"Enter Gallery One","enterWatchesStore":"Enter Watches Store","enterYourEmail":"Enter Your Email","error":"Error","Error changing password, email TBD":"Error changing password, email {0}","Error changing password.":"Error changing password.","Error Registering user":"Error Registering user","Error Registering user TBD":"Error Registering user {0}","Error sending password recovery email":"Error sending password recovery email","Error setting new password":"Error setting new password","Error setting new password for user. TBD":"Error setting new password for user {0}.","estimate":"Estimate","estimateHighLow":"Estimate: High - Low","estimateLowHigh":"Estimate: Low - High","estimateOnRequest":"Estimate On Request","Evening & Day Editions":"Evening & Day Editions","Evening Sale":"Evening Sale","eveningAndDayEditions":"Evening & Day Editions","executive":"Executive","exhibitAndTour":"Exhibit & Tour","exhibited":"Exhibited","exhibitionInfo":"Exhibition Info","exhibitions":"Exhibitions","exhibitionsCalendar":"Exhibitions Calendar","exploreMore":"Explore More","facebook":"Facebook","faq":"FAQ","favorite":"Favorite","favorited":"Favorited","favoriteLot":"Favorite Lot","fax":"Fax","faxNumber":"Fax Number","featuredArticles":"Featured Articles","featuredContent":"Featured Content","features":"Features","february":"February","fiduciaryServices":"Fiduciary Services","Fiduciary Services":"Fiduciary Services","filters":"Filters","firstName":"First Name","Flawless: Jewels":"Flawless: Jewels","Flawless: Shaun Leane":"Flawless: Shaun Leane","flawlessJewels":"Flawless: Jewels","flawlessShaunLeane":"Flawless: Shaun Leane","follow":"Follow","followArtist":"Follow Artist","followed":"Followed","followLot":"Follow Lot","followMaker":"Follow Maker","followUs":"Follow Us.","followUsSocial":"Follow Us on Social","forgotPassword":"Forgot Your Password?","frequentlyAskedQuestions":"Frequently Asked Questions","fullCataloguing":"Full Cataloguing","furtherInsights":"Further Insights","furtherNotes":"Further Notes","Gallery One: The Phillips Weekly Auction":"Gallery One: The Phillips Weekly Auction","galleryOne":"Gallery One","galleryOneDescription":"Introducing the next-generation auction experience. A dynamic digital destination for buying and selling art, unbound by the traditional auction calendar.","generalEnquiries":"General Enquiries","geneva":"Geneva","genevaGuide":"Geneva Guide","goTo":"Go to","goToForm":"Go to Form","goToLot":"Go To Lot","goToSaleroom":"Go to Saleroom","grid":"Grid","gridView":"Grid view","highlights":"Highlights","hoChiMinhCity":"Ho Chi Minh City","homepage":"Art, Design, Watches, and Jewels","homepageMetadata":"Phillips Auction House: Discover Modern & Contemporary Art, Photographs, Editions, Design, Jewels, and Watches. Buy and sell with us","hongKong":"Hong Kong","hongKongGuide":"Hong Kong Guide","hongKongWatches":"Hong Kong Watches","HK_MCA_Conditions_of_Sale":"View our <a href=\\"${GLOBAL_CDN_URL}docs/forms/HK_MCA_Conditions_of_Sale_EN.pdf\\" > Conditions of Sale</a>.","hours":"Hours","howToBuy":"How To Buy","howToSafelyVisitUs":"How to Safely Visit Us","howToSell":"How To Sell","iAccept":"I Accept","ifYouHaveAnyQuestionsAboutShippingAndDeliveryOfYourPurchasePleaseContactA":"If you have any questions regarding your recent purchase or about shipping & delivery, please contact {0}","ifYouHaveAnyQuestionsPleaseContactA":"If you have any questions, please contact {0}","ifYouWouldLikeToRegisterYourInterest":"If you would like to register your interest in working at Phillips, but no appropriate vacancies are advertised, please submit your resume and cover letter to <a href=\\"mailto:careers@phillips.com\\">careers@phillips.com</a>. Please indicate in your cover letter the location and department you are interested in joining.","illustrated":"Illustrated","image":"Image","image360Interation":"Drag Image for 360 view","inactive":"Inactive","includeEnhancedContent":"Include Enhanced Lot Content","information":"Information","inPerson":"In-Person","inProgress":"In-Progress","inquire":"Inquire","inquireAbout":"","inquireFormItem":"{0} by {1}","inquireFormItemNoMaker":"{0}","inquireFormDescriptionPerpetual":"Thank you for your interest in this item. Please write your message below, and our team will follow up with you shortly.","inquireFormDescriptionPrivatesale":"Thank you for your interest in {0} by {1}. Please add any comments below, and our Private Sales team will follow up with you shortly.","inquireFormPerpetualNoMaker":"Thank you for your interest in {0}. Please add any comments below, and our Watches team will follow up with you shortly.","inquireFormPrivateSalesNoMaker":"Thank you for your interest in {0}. Please add any comments below, and our Private Sales team will follow up with you shortly.","inquireFormTitlePrivateSales":"Private Sales Inquiry","inquireFromTitlePerpetual":"Perpetual Inquiry","inquireNow":"Inquire Now","inquiries":"Inquiries","insights":"Insights","internships":"Internships","Intersect Online Auction - Art, Jewels, Watches":"Intersect Online Auction - Art, Jewels, Watches","Intersect Online Auction - Art, Watches, Jewels":"Intersect Online Auction - Art, Watches, Jewels","is already taken TBD":"{0} is already taken","is not a valid email address TBD":"Error setting new password for user {0}.","itemsBeingShippedToYou":"Your Items:","january":"January","jewelry":"Jewelry","Jewels":"Jewels","JewelsDepartmentTitle":"Jewels | Fine Jewelry: Estate, Vintage, & Rare Gems Auctions","jewels":"Jewels","Jewels & Jadeite":"Jewels & Jadeite","Jewels and Jadeite":"Jewels and Jadeite","jewelsDepartment":"Jewels Department","joinDepartmentEmailList":"Join the {0} Email List.","july":"July","jumpTo":"Jump to","june":"June","knowYourClientDetails":"Know Your Client Details","language":"Language","lastName":"Last Name","Latin America":"Latin America","latinAmerica":"Latin America","launchDigitalCatalogue":"Launch Digital Catalogue","learnMore":"Learn More","Let Loose: Online Auction":"Let Loose: Online Auction","list":"List","listOptions":"List Options","lists":"Lists","listView":"List view","literature":"Literature","liveAuctionExperience":"Live Auction Experience","liveIn":"Live in {0}","liveNow":"Live now","login":"Login","loading":"Loading","location":"Location","locations":"Locations","Log In":"Log In","logIn":"Login","logOut":"Log Out","london":"London","London":"London","londonGuide":"London Guide","losAngeles":"Los Angeles","LosAngeles":"Los Angeles","lot":"Lot","lotDetails":"Lot Details","lotListCreateDescription":"Select an existing list or create a new list to share and manage lots you follow.","lotListCreateTitle":"Create your first list.","lotListNew":"New List","lotListSuccess":"Success! You can access your list under Your Account.","lotNoLongerAvailable":"This lot is no longer available.","lotNoReserve":"Lot offered with No Reserve","lotNumber":"Lot Number","lotPageCounter":"of {0} lots","lots":"lots","lotsG1":"{0} Lots","lotsSelected":"Lots Selected","lotWithdrawn":"Lot Withdrawn","mainMenu":"Main Menu","makeAnOffer":"Make an offer","maker":"Maker","makerAtoZ":"Maker: A - Z","makerBiography":"Maker Biography","makers":"Makers","makerZtoA":"Maker: Z - A","manufacturer":"Manufacturer","march":"March","material":"Material","may":"May","medium":"Medium","mediums":"Mediums","meetTheTeam":"Meet the Team","message":"Message","mexicoCity":"Mexico City","miami":"Miami","milan":"Milan","mintedOn":"Minted on April 11, 2021, this work is unique.","minutes":"Min","model":"Model","modelName":"Model Name","modernSlaveryPolicy":"Modern Slavery Policy","morePastAuctions":"More Past Auctions","moreVideos":"More Videos","Morning Sale":"Morning Sale","moscow":"Moscow","movementNumber":"Movement No","mp4":"MP4","munich":"Munich","myAccount":"My Account","myArtists":"My Artists","myBids":"My Bids","myCart":"My Cart","myFavorites":"My Favorites","myLists":"My Lists","name":"Name","newest":"Newest","newListName":"New List Name","newNow":"New Now","New Now & Design":"New Now & Design","New Now: Modern & Contemporary Art":"New Now: Modern & Contemporary Art","New Now: Modern & Contemporary Art and Design":"New Now: Modern & Contemporary Art and Design","newsAndResults":"News and Results","newsletter":"Newsletter","newsletterSubscribeCheckbox":"Would you like to receive emails from Phillips about our upcoming auctions, exhibitions and special events?","newsletterSubscribeDisclaimer":"You can update your email preferences or unsubscribe at any time from your account page.","newYork":"New York","newYorkGuide":"New York Guide","next":"Next","nextAuction":"Next Auction","nextAuctions":"Next Auctions","nftContractAddress":"Contract Address","nftTokenId":"Token ID","nftTokenIds":"Token IDs","nftTokenType":"Non-Fungible Token","nftTokenTypes":"Non-Fungible Tokens","noLists":"You have not created any lists. Please go to the Auctions page to start the process.","noLotMessage":"This lot is no longer available.","nonFungibleToken":"Non-Fungible Token","nonFungibleTokens":"Non-Fungible Tokens","nordicDesignOnlineAuction":"Nordic Design: Online Auction","noReserve":"No Reserve","note":"Note","november":"November","nowPlaying":"Now Playing","october":"October","offerModalBelowThreshold":"is below the minimum threshold.","offerModalStatus":"has been {0}.","offerModalYourOffer":"{0}, your offer of {1}","offerStatus":"Offer Status","oldest":"Oldest","online":"Online","onlineAndMobile":"Online & Mobile","onlineAuction":"Online Auction","onlineBiddingGuide":"Online Bidding Guide","onlineConditions":"Online Conditions","onlineGuide":"Online Guide","onlineOnlyDisclaimer":"Please note that once you\'ve placed your bid, <br /> it cannot be cancelled.","openFilters":"Open Filters","opensIn":"Opens in: {0}","or":"or","ourBuyingGuideToNewNowWithArtsy":"Our Buying Guide to New Now with Artsy","ourHistory":"Our History","ourTeam":"Our Team","ourSpecialistDepartments":"Our Specialist Departments","ourServices":"Our Services","policies":"Policies","siteMap":"Site Map","subscribeToNewsletterAction":"Subscribe To Our Newsletter","overview":"Overview","pageDescription":"Phillips is the leading auction house for art, design, watches and more. Browse upcoming auctions and past results from New York, London, Hong Kong & Geneva.","pageDescriptionDesign":"Buy and sell exceptional Design works at Phillips — from Art Deco to European Modernism, Contemporary Design, Studio Ceramics and more.","pageDescriptionMCA":"Discover the best in Modern & Contemporary Art at Phillips. Explore upcoming auctions and bid now.","pageDescriptionEditions":"Phillips defines the Editions category. Our curated auctions feature museum-quality Modern and Contemporary prints and multiples in New York and London.","pageDescriptionJewels":"Buy and sell rare and timeless jewels at Phillips — from fine diamonds and colored gems to signed offerings from Bulgari, Cartier, Tiffany & Co., Van Cleef & Arpels, and more.","pageDescriptionPhotographs":"From iconic photographers to emerging talent, explore a diverse selection of captivating works in Phillips\' Photographs auctions.","pageDescriptionWatches":"Discover iconic timepieces at Phillips to add to your collection. Join us for upcoming auctions in Geneva, New York, and Hong Kong.","pageDescriptionDiscover":"Discover","pageDescriptionBy":"by","pageDescriptionIn":"in","pageDescriptionLearnMore":". Learn more about the work, artist, and Phillips\' Private Sales department","palmBeach":"Palm Beach","paris":"Paris","parisGuide":"Paris Guide","password":"Password","passwordConfirmation":"Confirm Password","passwordMatchError":"Your passwords did not match. Please try again.","passwordRequirement":"Password must be at least 8 characters and contain one uppercase letter, one lowercase letter and a number.","past":"Past","pastAuctions":"Past Auctions","pastLots":"Past Lots","paymentCancelled":"Payment Cancelled","paymentCancelledTitle":"Payment Cancelled","paymentConfirmation":"Payment Confirmation","paymentConfirmed":"Payment Confirmed","paymentInfo":"Payment Info","pdfNote":"When sending in written bids or making enquiries please refer to this sale as {0} or {1}.","pending":"pending","perpetual":"Perpetual","perpetualMetadata":"Phillips Perpetual: Buy & sell rare luxury watches online & in-store. Discover rare Rolex, Patek Philippe, Audemars Piguet, and more.","Perpetual: Watches":"Perpetual: Watches","perpetualWatches":"Perpetual: Watches","phillipsXArtsyEndlessSummer":"Phillips X Artsy: Endless Summer","phillipsXGerhardRichter":"Phillips X: Gerhard Richter","phillpsMetadataDefaultDescription":"Phillips is synonymous with contemporary culture. As the most forward-looking of the international auction houses, we have set ourselves apart through our focus on the defining aesthetic movements of the 20th century as well as today\'s most cutting-edge art. Headquartered in New York and London, with offices throughout the world, Phillips conducts sales in a select number of categories: Contemporary Art, Photographs, Editions, Design and Jewelry. Additionally, our core art business includes curating exhibitions, brokering private sales, advising estates and corporate clients and consulting with private individuals on the management of their collections. Accordingly, Phillips boutique, ‘white glove’ service best positions our firm to provide superior counsel to new and seasoned collectors alike.","phillpsMetadataDefaultTitle":"PHILLIPS: 20th Century and Contemporary Art and Design Auctions","photographs":"Photographs","Photographs":"Photographs","PhotographsDepartmentTitle":"Photographs | Photography Auctions in New York and London","photographsDepartment":"Photographs Department","pinterest":"Pinterest","placeAdvanceBid":"Place Advance Bid","placeAdvanceBidsNowOrBidLiveOnTheDayOfTheSale":"You can place advance bids now or bid live on the day of the sale.","placeBid":"Place Bid","placeBidArtsy":"Place Bid on Artsy","placeYourMaxBidsNow":"Place your max bids now.","pleaseChoose":"Please Choose","png":"PNG","portugal":"Portugal","postAuctionOfferings":"Post Auction Offerings","posted":"Posted","postSaleOfferCheckbox":"By checking this box and submitting my offer to buy, I agree to the <a href=\\"${GLOBAL_CDN_URL}docs/forms/perpetual_colors.pdf\\">terms and conditions</a>.","postSaleOfferOpen":"This lot is still available to purchase. Enter an offer amount below and a specialist will follow up with you. Standard buyer\'s premium will be added to your offer.","press":"Press","previous":"Previous","price":"Price","priceFilter":"{0}{1}","priceFilterOver":"Over {0}{1}","priceFilterUnder":"Under {0}{1}","priceHighToLow":"Price High to Low","priceLowToHigh":"Price Low to High","priceUponRequest":"Price Upon Request","print":"Print","printSale":"Print Sale","privacyPolicy":"Privacy Policy","privateSales":"Private Sales","privateSalesContent":"Phillips’ Private Sales department provides our clients with a uniquely personalized approach to collecting. We utilize innovative, targeted approaches that combine personal relationships with collectors and market intelligence.","privateSalesDepartment":"Private Sales Department","privateSalesOfferOpen":"This work is available to buy via private sale. You can submit an offer below.","privateSalesNewsletter":"Join Our Private Sales Email List.","privateSalesNewsletterFormCopy":"Sign up to receive emails about upcoming exhibitions and special events at Phillips.","privateServices":"Private Services","professionalAdvisorServices":"Professional & Advisor Services","professionalAdvisorServicesContent":"Phillips’ Professional & Advisor Services team builds valuable client partnerships, leveraging expertise to deliver tailored solutions for collectors, beneficiaries, attorneys, executors, fiduciaries, institutions, and industry professionals across the art world. ","provenance":"Provenance","purchaseCatalogue":"Purchase Catalogue","quantityMax":"{0} Max","Racing Pulse":"Racing Pulse","readLess":"Read Less","readMore":"Read More","received":"received","recommendedLotsdescription":"Based on artists you follow and lots you have liked","recommendedLotsTitle":"Lots that might interest you ({0})","referenceNumber":"Reference No","referenceNumberShort":"Ref. {0}","registerAndBid":"Register & Bid","registerAndBidContemporary":"Register & Bid: Modern & Contemporary Art &sol; Editions, Photographs and Design","registerAndBidGeneva":"Register & Bid Geneva","registerAndBidHongKong":"Register & Bid Hong Kong","registerAndBidHongKongWatches":"Register & Bid Hong Kong Watches","registerAndBidJewels":"Register & Bid: Jewels ","registerAndBidJewelry":"Register & Bid: Jewelry","registerAndBidLondon":"Register & Bid London","registerAndBidNewYork":"Register & Bid New York","registerAndBidNewYorkWatches":"Register & Bid New York Watches","registerAndBidOnline":"Register & Bid Online","registerAndBidWatches":"Register & Bid: Watches","registerNow":"Register Now","registerNowToBidOnline":"Register now to bid online.","registerNowToPlaceAdvanceBidsOrBidLiveInOurDigitalSaleroom":"Register now to place advance bids or bid live in our digital saleroom.","registerToBid":"Register to Bid","registerYourInterest":"Register Your Interest","registrationIsOpen":"Registration is Open","rejected":"rejected","relatedArticlesHeader":"<strong>Related Articles From <em>Voices</em></strong>","rememberMe":"Remember Me","remoteBidding":"Remote Bidding","remove":"Remove","removeLots":"Remove Lots","requestConditionReport":"Request Condition Report","requestConditionReportSuccess":"<h2>Thank you</h2><h3>for your request.</h3><br /><h4>The Condition Report<br />will be sent shortly.</h4>","required":"Required","requiredField":"Required Field","requiredPropertyError":"{0} is required.","resetPassword":"Reset Password","resetPasswordSendLink":"Enter your email address and we’ll send you a new link to reset your password.","Retrospective: 2000 - 2020":"Retrospective: 2000 - 2020","rioDeJaneiro":"Rio de Janeiro","saleDesignation":"Sale Designation","saleInfo":"Sale Info","saleNumber":"Sale number","saleOfferStatus":"offer {0}","Satellite: Online Auction":"Satellite: Online Auction","save":"Save","search":"Search","seattle":"Seattle","seconds":"Sec","seeFullTeam":"See Full Team","selectALanguage":"Select a Language","selling":"Selling","sellWithUs":"Sell with us","sellWithUsCopy":"We are inviting consignments for our upcoming auctions.","sellWithUsDesc":"We are inviting consignment submissions for our upcoming sale.","sellWithUsMakerDesc":"We are inviting consignment submissions for {0}","sellWithUsTitle":"Sell at Auction with Phillips","sendConditionReportVia":"Send me the Report Via","seniorAdvisors":"Chairmen, President and Senior Advisor","seoul":"Seoul","september":"September","sessions":"Sessions","shanghai":"Shanghai","share":"Share","shareYourGoodFortuneWithYourFriends":"Share your good fortune with your friends","shipping":"Shipping","shippingWatches":"Shipping: Watches","shippingJewelry":"Shipping: Jewelry","shippingContemporary":"Shipping: Modern & Contemporary Art &sol; Editions, Photographs and Design","shippingJewelsAndWatches":"Shipping: <br />Jewels & Watches","shippingQuote":"Shipping Quote","shopCatalogues":"Shop Catalogues","show":"Show","showingAllLots":"Showing All {0} Lots","showingLots":"Showing {0} lots ","showLess":"Show Less","showLot":"Show Lot","showMore":"Show More","showOfferings":"Show Offerings - {0} Lots","showShareoptions":"Show Share options","signed":"Signed","signIn":"Sign In","signingUp":"Signing up","signUp":"Sign Up","signUpDisclosure":"By signing up, you agree to receive email communications from Phillips","signUpFormBottomMessage":"By creating a <b>Phillips</b> account you agree<br /> to our<a className=\\"user-form__link\\" href=\\"/buysell/buy\\" target=\\"_blank\\" > Terms of Use </a> and <a className=\\"user-form__link\\" href=\\"/about/privacy\\" target=\\"_blank\\">Privacy Policy</a>.","signUpLinkText":"signup","signUpThanks":"Thank you for signing up.","signUpToReceiveEmailsAboutUpcoming":"Sign up to receive emails about upcoming auctions, exhibitions and special events at Phillips.","slide":"Slide","sold":"Sold","soldFor":"Sold for ","sort":"Sort","sortAndFilters":"Sort & Filters","sortBy":"Sort By","sorts":"Sorts","southampton":"Southampton","specialist":"Specialist(s)","specialistDetails":"Specialist Details","specialistFollowUp":"A specialist will follow up with you.","specialistFollowUpThreeDays":"A specialist will follow up with you within three days.","submit":"Submit","submitNow":"Submit Now","submitOffer":"Submit Offer","submitOfferError":"You must agree to terms and conditions to submit an offer for this item","submitQuery":"Submit Inquiry","submitRequest":"Submit Request","subscribe":"Subscribe","subscribeToNewsletter":"Never Miss a Moment","footerSubscribeDescription":"Receive exclusive content about our auctions, exhibitions, and special events.","footerSubscribeLoading":"Subscribing...","footerSubscribeSuccess":"Success","footerSocialTitle":"Follow On Social","subscribeToOurNewsletterAndReceive":"Subscribe to our newsletter and receive exclusive content about our auctions, exhibitions, and special events.","subscribeToOurNewsletterAndReceiveBuyNow":"Sign up to receive emails about our latest timepieces on offer, alongside news, stories, and special events. ","taipei":"Taipei","taiwan":"Taiwan","thankYou":"Thank you.","thankYouForBiddingAtPhillips":"Thank you for bidding at Phillips.","thankYouForPurchaseFromA":"Thank you for your purchase of \\"{0}\\"","The Geneva Jewels Auction: ONE":"The Geneva Jewels Auction: ONE","The Geneva Watch Auction: XII":"The Geneva Watch Auction: XII","The Geneva Watch Auction: XIII":"The Geneva Watch Auction: XIII","The Hong Kong Jewels Auction":"The Hong Kong Jewels Auction","The Hong Kong Watch Auction: XI":"The Hong Kong Watch Auction: XI","The Hong Kong Watch Auction: XII":"The Hong Kong Watch Auction: XII","The Hong Kong Watch Auction: XIV":"The Hong Kong Watch Auction: XIV","The Hong Kong Watch Auction: XVI":"The Hong Kong Watch Auction: XVI","The Hong Kong Watch Auction: XV":"The Hong Kong Watch Auction: XV","The New York Jewels Auction":"The New York Jewels Auction","The Imperial Patek Philippe Sale":"The Imperial Patek Philippe Sale","The Room: Contemporary Art, Editions, & Photographs":"The Room: Contemporary Art, Editions, & Photographs","The user name or password is incorrect.":"The user name or password is incorrect.","theNextGeneration":"The Next Generation","theRoomContemporaryArtEditionsPhotographs":"The Room: Contemporary Art, Editions, & Photographs","thumbnail":"Thumbnail","title":"Title","todayAtPhillips":"Today at Phillips","tokenId":"Token ID","tokenIds":"Token IDs","tokyo":"Tokyo","toViewTheConditionReportPleaseSignIn":"To view the Condition Report please Sign In","trustsEstatesAndValuations":"Trusts, Estates & Valuations","trustsEstatesAndValuationsContent":"Phillips’ Trusts, Estates and Valuations Department works with private clients, lawyers, bankers, advisors, family offices, and insurance brokers to assist with various aspects of collection management.","twitter":"Twitter","typeToFill":"Type to Fill","typeToSearch":"Type to Search","unfollow":"Unfollow","upcoming":"Upcoming","upcomingLots":"Upcoming Lots","user":"User","user not found TBD":"user {0} not found","User does not exist. TBD":"User {0} does not exist.","User doesn\'t exist.":"User doesn\'t exist.","user not found":"user not found","validEmailError":"You must enter a valid email","vatGuide":"Vat Guide","video":"Video","videoCarouselCopy":"Add, edit, and order videos to display on homepage","videoCarouselLabel":"Video Carousel (CMS Only)","videos":"Videos","videosOnCareers":"Videos","videoThumbnailToolTip":"Thumbnails will display in 16 x 9 format","view":"View","viewAll":"View All","viewAllAuctions":"View All Auctions","viewAllResultsFor":"View all results for {0}","viewAuctionCalendar":"View Auction Calendar","viewConditionReport":"View Condition Report","viewECatalogue":"View e-Catalogue","viewHighlights":"View Highlights","viewInRoom":"View in Room","viewMoreWorks":"View More Works","viewSale":"View Sale","visitCalendar":"Please visit CALENDAR for upcoming sales.","visitingGuidelines":"Visiting Guidelines","visitUsCopy1":"Guidelines and Auction Updates.","visitUsCopy2":"The latest information on location closures, private appointments, sale dates, and more.","voices":"Voices","watchBidLive":"Watch & Bid Live","Watches":"Watches","WatchesDepartmentTitle":"Watches | Vintage and Iconic Watch Auctions","watches":"Watches","watchesDepartment":"Watches Department","watchesForSale":"{0} watches for sale","watchLiveAuction":"Watch Live Auction","weeklyDropsGalleryOne":"Weekly Drops: Gallery One","welcomeMessage":"Welcome, you will now receive an email from Phillips. Create an account to get more out of your Phillips experience","What Now?: Online Auction":"What Now?: Online Auction","widgetConnectFailure":"<h3>Network Connection</h3><p>We\'ve detected a network problem with your connection. Please reload the page to see updated information.</p>","Wired: Online Auction":"Wired: Online Auction","worksForSaleUpcomingAuctionsAndPastResults":"Works for Sale, Upcoming Auctions & Past Results","year":"Year","You will receive an email with a link to reset your password.":"You will receive an email with a link to reset your password.","youAreAlreadySubscribed":"You are already subscribed.","youAreNotFollowingArtist":"You are not following any artists","youAreRegisteredForBidding":"You are registered for bidding in this sale.","Your password has been reset.":"Your password has been reset.","yourPaddleNumber":"Your Paddle No. is","yourPaymentHasBeenAccepted":"your payment has been accepted","yourPaymentHasBeenCancelled":"Your payment has been cancelled","yourRegistrationIsConfirmed":"Your Registration <strong>is Confirmed</strong>","yourRegistrationIsPending":"Your Registration <strong>is Pending</strong>","youWillReceivePaddleNumber":"You will receive a Paddle No. upon approval.","zurich":"Zürich"},"FR":{"$HT Coin by White Male Artist (AKA: Cassils)":"","Modern & Contemporary Art":"","Modern & Contemporary Art & Design Day Sale in Association with Poly Auction":"","Modern & Contemporary Art and Design Day Sale":"","Modern & Contemporary Art and Design Day Sale in Association with Poly Auction":"","Modern & Contemporary Art and Design Day Sale, Morning Session":"","Modern & Contemporary Art Day Sale":"","Modern & Contemporary Art Day Sale, Afternoon Session":"","Modern & Contemporary Art Day Sale, Morning Session":"","Modern & Contemporary Art Evening Sale":"二十世紀及當代藝術晚間拍賣","Modern & Contemporary Art Evening Sale in Association with Poly Auction":"","ModernContemporaryArt":"","ModernContemporaryArttDaySale":"","20thCenturyContemporaryArt":"","20thCenturyContemporaryArtAndDesignDaySaleAfternoonSession":"","20thCenturyContemporaryArtDaySaleAfternoonSession":"","20thCenturyContemporaryArtDaySaleMorning Session":"","24/7: Online Auction":"","aboutTheArtist":"","aboutUs":"","absenteeAndTelephone":"","acceptingConsignments":"","accessories":"","addToCalendar":"","addToCart":"","aGoodShowForStrangeTimes":"","allDepartments":"","allFieldsRequired":"","allVideos":"","alreadyCreatedAccount":"","antwerp":"","applyNow":"","april":"","artickerBulletin":"","artickerBulletinContent":"","artickerHeadlines":"","articlesVideos":"","artist":"","artistBiography":"","artists":"","artistsAndMakers":"","askingPrice":"","auction":"","auctionCalendar":"","auctionHighlights":"","auctionInfo":"","auctionInProgress":"En cours d’enregistrement","auctionNow":"","auctionResults":"","auctions":"","auctionTimerEndMessage":"","auctionTimerLiveMessage":"","auctionToday":"","august":"","backTo":"","bidAnywhere":"","bidAnywhereContent":"","biddingNotAvailable":"","biddingOpen":"","bidNow":"","bidsGeneva":"","bidsHongKong":"","bidsLondon":"","bidsNewYork":"","biography":"","braceletStrap":"","brand":"","brazil":"","browseArtists":"","browseExhibition":"","browseSale":"","buyAndSell":"","buyCatalogues":"","buyCataloguesContent":"","buyNowNewsletter":"","buyersGuide":"","buyersGuideContemporary":"","buyersGuideJewelsWatches":"","buyersGuideJewelsWatchesBreak":"","buyersPremium":"","BuyersPremiumNotice":"","buying":"","calendar":"","calendarMetadata":"","calibre":"","cancel":"","cancelEdit":"","careerDetails":"","careerOpportunities":"","careerOpportunitiesContent":"","careers":"","caseNumber":"","catalogue":"","catalogueEssay":"","catalogues":"","catalogueSubscriptions":"","chicago":"","classBuckle":"","clearAll":"","clientAdvisory":"","clientServicesHongKong":"","clientServicesLondon":"","clientServicesNewYork":"","close":"","closesIn":"","closingNow":"","closingSoon":"","collectionShippingStorage":"","cologne":"","comments":"","completeTheFormMessage":"","conditionReport":"","conditionReportDisclaimer":"","conditionReportError":"","conditionReportFormDescription":"","conditionReportMessage":"","conditionReportSuccessDescription":"","conditionReportSuccessTitle":"","conditionReportTooltip":"","conditions":"","conditionsOfSale":"","conditionsOfSaleContemporary":"","conditionsOfSaleGenevaWatches":"","conditionsOfSaleGenevaJewels":"","conditionsOfSaleHongKong":"","conditionsOfSaleJewelsWatches":"","conditionsOfSaleLondon":"","conditionsOfSaleNewYork":"","conditionsOfSaleNFT":"","consignForHongKong":"","consignForLondon":"","consignForNewYork":"","consignmentSubmissionSuccess":"{0}, Merci d’avoir soumis votre demande de consignation pour votre œuvre <em>{1}</em> de {2}. Un spécialiste vous contactera dans un délai de 10 jours.","consignmentSubmissionSuccessNoMaker":"{0}, Merci d’avoir soumis votre demande de consignation pour votre œuvre <em>{1}</em>. Un spécialiste vous contactera dans un délai de 10 jours.","consignmentSubmissionSuccessGeneric":"{0}, Merci d’avoir soumis votre demande de consignation. Un spécialiste vous contactera dans un délai de 10 jours.","contact":"","contactBidsDepartment":"","contactSpecialist":"","contactUs":"","contemporaryArt":"","contemporaryArtDesignWatchesAndJewelsAuctions":"","cookiePolicy":"","copenhagen":"","covid19Announcement":"","create":"","createAccount":"","createAccountWords":"","creditCardForm":"","cultureInfoLocale":"fr-FR","Current password is not correct.":"","currentVacancies":"","dateFormatReact":"EEEE, LLLL d, y","Day Sale":"","days":"","dearCustomer":"","december":"","default":"","deleteList":"","denver":"","department":"","departmentInfo":"","departments":"","deputyChairman":"","description":"","design":"","Design":"","digitalSaleroom":"","dimensions":"","doNotHaveAccount":"","dontHaveAnAccount":"","downloadCatalogue":"","downloadPDF":"","edit":"","editions":"","Editions":"","Editions & Works on Paper":"","Editions Contemporary: Online Auction":"","editLots":"","editorial":"","email":"","enterDescription":"","enterGallery":"","enterWatchesStore":"","enterYourEmail":"Adresse Email","error":"","Error changing password, email TBD":"","Error changing password.":"","Error Registering user":"","Error Registering user TBD":"","Error sending password recovery email":"","Error setting new password":"","Error setting new password for user. TBD":"","estimate":"","estimateOnRequest":"","Evening & Day Editions":"","Evening Sale":"","eveningAndDayEditions":"","executive":"","exhibited":"","exhibitionInfo":"","exhibitions":"","exhibitionsCalendar":"","exploreMore":"","facebook":"","faq":"","favorite":"","favorited":"","favoriteLot":"","fax":"","faxNumber":"","featuredArticles":"","features":"","february":"","fiduciaryServices":"","filters":"","firstName":"","Flawless: Jewels":"","Flawless: Shaun Leane":"","flawlessJewels":"","flawlessShaunLeane":"","follow":"","followArtist":"","followed":"","followMaker":"","followUs":"","forgotPassword":"","frequentlyAskedQuestions":"","fullCataloguing":"","Gallery One: The Phillips Weekly Auction":"","galleryOne":"","generalEnquiries":"","geneva":"","genevaGuide":"","goTo":"","goToForm":"","goToSaleroom":"","grid":"","highlights":"","hongKong":"","hongKongGuide":"","hongKongWatches":"","hours":"","howToBuy":"","howToSafelyVisitUs":"","howToSell":"","iAccept":"","ifYouHaveAnyQuestionsAboutShippingAndDeliveryOfYourPurchasePleaseContactA":"","ifYouHaveAnyQuestionsPleaseContactA":"","ifYouWouldLikeToRegisterYourInterest":"","image360Interation":"","inPerson":"","inquire":"","inquireFormDescriptionPerpetual":"","inquireFormDescriptionPrivatesale":"","inquireFormTitlePrivateSales":"","inquireFromTitlePerpetual":"","inquireNow":"","inquiries":"","insights":"","internships":"","Intersect Online Auction - Art, Jewels, Watches":"","Intersect Online Auction - Art, Watches, Jewels":"","is already taken TBD":"","is not a valid email address TBD":"","itemsBeingShippedToYou":"","january":"","jewels":"","Jewels":"","Jewels & Jadeite":"","july":"","june":"","knowYourClientDetails":"","lastName":"","Latin America":"","latinAmerica":"","learnMore":"","lists":"","literature":"","liveAuctionExperience":"","liveIn":"","loading":"","location":"","locations":"","logIn":"","logOut":"","London":"","london":"","londonGuide":"","losAngeles":"","LosAngeles":"","lot":"","lotListCreateDescription":"","lotListCreateTitle":"","lotListNew":"","lotNoReserve":"","lotNumber":"","lotPageCounter":"","lots":"","lotsG1":"","makeAnOffer":"","maker":"","makerAtoZ":"","makerBiography":"","makers":"","makerZtoA":"","manufacturer":"","march":"","material":"","may":"","medium":"","mediums":"","mexicoCity":"","miami":"","milan":"","minutes":"","model":"","modelName":"","ModernAndContemporaryArt":"Modern & Contemporary Art","modernSlaveryPolicy":"","morePastAuctions":"","moreVideos":"","Morning Sale":"","moscow":"","movementNumber":"","munich":"","myAccount":"","myArtists":"","myBids":"","myCart":"","myFavorites":"","myLists":"","name":"","newest":"","newNow":"","New Now: Modern & Contemporary Art":"","newsAndResults":"","newsletter":"Notre Newsletter ","newsletterSubscribeCheckbox":"Souhaitez-vous recevoir des emails de la part de Phillips sur nos prochaines ventes aux enchères, expositions et événements?","newsletterSubscribeDisclaimer":"Vous pouvez mettre à jour vos préférences d’adresse email ou vous désabonner à tout moment sur la page de votre compte personnel.","newYork":"","newYorkGuide":"","next":"","nextAuction":"","nextAuctions":"","noLists":"","noLotMessage":"","nordicDesignOnlineAuction":"","noReserve":"","november":"","nowPlaying":"","october":"","offerModalBelowThreshold":"","offerModalStatus":"","offerModalYourOffer":"","offerStatus":"","oldest":"","onlineAndMobile":"","onlineAuction":"","onlineBiddingGuide":"","onlineConditions":"","onlineGuide":"","onlineOnlyDisclaimer":"","opensIn":"","or":"","ourBuyingGuideToNewNowWithArtsy":"","ourHistory":"","ourTeam":"","pageDescription":"","pageDescriptionDesign":"","pageDescriptionMCA":"","pageDescriptionEditions":"","pageDescriptionJewels":"","pageDescriptionPhotographs":"","pageDescriptionWatches":"","pageDescriptionDiscover":"","pageDescriptionBy":"","pageDescriptionIn":"","pageDescriptionLearnMore":"","palmBeach":"","paris":"","parisGuide":"","password":"","passwordConfirmation":"","passwordMatchError":"","passwordRequirement":"","past":"","pastAuctions":"","pastLots":"","paymentCancelled":"","paymentCancelledTitle":"","paymentConfirmation":"","paymentConfirmed":"","paymentInfo":"","pending":"","Perpetual: Watches":"","perpetualWatches":"","phillipsXArtsyEndlessSummer":"","phillipsXGerhardRichter":"","phillpsMetadataDefaultDescription":"","phillpsMetadataDefaultTitle":"","photographs":"","Photographs":"","pinterest":"","placeAdvanceBid":"","placeAdvanceBidsNowOrBidLiveOnTheDayOfTheSale":"","placeBid":"","placeBidArtsy":"","placeYourMaxBidsNow":"","portugal":"","postAuctionOfferings":"","postSaleOfferCheckbox":"","postSaleOfferOpen":"","press":"","previous":"","price":"","priceFilter":"","priceFilterOver":"","priceFilterUnder":"","priceHighToLow":"","priceLowToHigh":"","priceUponRequest":"","privacyPolicy":"","privateSales":"","privateSalesContent":"","privateSalesDepartment":"","privateSalesOfferOpen":"","privateServices":"","provenance":"","purchaseCatalogue":"","Racing Pulse":"","readLess":"","readMore":"","received":"","recommendedLotsdescription":"","recommendedLotsTitle":"","referenceNumber":"","referenceNumberShort":"","registerAndBid":"","registerAndBidContemporary":"","registerAndBidGeneva":"","registerAndBidHongKong":"","registerAndBidHongKongWatches":"","registerAndBidJewels":"","registerAndBidLondon":"","registerAndBidNewYork":"","registerAndBidOnline":"","registerAndBidWatches":"","registerNow":"","registerNowToBidOnline":"","registerNowToPlaceAdvanceBidsOrBidLiveInOurDigitalSaleroom":"","registerToBid":"","registerYourInterest":"","registrationIsOpen":"","rejected":"","rememberMe":"","remoteBidding":"","removeLots":"","requestConditionReport":"","requestConditionReportSuccess":"","required":"","requiredPropertyError":"","resetPassword":"","resetPasswordSendLink":"","Retrospective: 2000 - 2020":"","rioDeJaneiro":"","saleInfo":"","saleOfferStatus":"","save":"","search":"","seattle":"","seconds":"","selling":"","sellWithUs":"","sellWithUsCopy":"","sellWithUsDesc":"","sellWithUsMakerDesc":"","sellWithUsTitle":"","sendConditionReportVia":"","seniorAdvisors":"","seoul":"","september":"","shanghai":"","share":"","shareYourGoodFortuneWithYourFriends":"","shipping":"","shippingContemporary":"","shippingJewelsAndWatches":"","shippingQuote":"","showingLots":"","showLot":"","showOfferings":"","showShareoptions":"","signed":"","signIn":"","signingUp":"","signUp":"","signUpDisclosure":"","signUpFormBottomMessage":"","signUpThanks":"","sold":"","soldFor":"","sortAndFilters":"","sortBy":"","sorts":"","southampton":"","specialistFollowUp":"","specialistFollowUpThreeDays":"","submit":"","submitNow":"","submitOffer":"","submitOfferError":"","subscribe":"Souscrire","subscribeToOurNewsletterAndReceive":"Abonnez-vous à notre newsletter pour recevoir des informations exclusives sur nos prochaines ventes et notre actualité.","subscribeToOurNewsletterAndReceiveBuyNow":"Sign up to receive emails about our latest timepieces on offer, alongside news, stories, and special events. ","taipei":"","taiwan":"","thankYou":"","thankYouForBiddingAtPhillips":"","thankYouForPurchaseFromA":"","The Geneva Watch Auction: XII":"","The Geneva Watch Auction: XIII":"","The Imperial Patek Philippe Sale":"","The Hong Kong Watch Auction: XI":"","The Hong Kong Watch Auction: XII":"","The Hong Kong Watch Auction: XVI":"","The Room: Contemporary Art, Editions, & Photographs":"","The user name or password is incorrect.":"","theNextGeneration":"","theRoomContemporaryArtEditionsPhotographs":"","todayAtPhillips":"","tokyo":"","toViewTheConditionReportPleaseSignIn":"","trustsEstatesAndValuations":"","trustsEstatesAndValuationsContent":"","twitter":"","unfollow":"","upcoming":"","upcomingLots":"","user":"","user not found TBD":"","User does not exist. TBD":"","User doesn\'t exist.":"","user not found":"","validEmailError":"","vatGuide":"","video":"","videos":"","view":"","viewAll":"","viewAllResultsRor":"","viewAuctionCalendar":"","viewConditionReport":"","viewECatalogue":"","viewHighlights":"","viewInRoom":"","viewMoreWorks":"","viewSale":"","visitingGuidelines":"","visitUsCopy1":"","visitUsCopy2":"","voices":"","watchBidLive":"","watches":"","Watches":"","watchesForSale":"","watchLiveAuction":"","weeklyDropsGalleryOne":"","welcomeMessage":"Bienvenue, vous recevrez dorénavant les emails de la part de Phillips","widgetConnectFailure":"","Wired: Online Auction":"","worksForSaleUpcomingAuctionsAndPastResults":"","year":"","You will receive an email with a link to reset your password.":"","youAreAlreadySubscribed":"","youAreNotFollowingArtist":"","youAreRegisteredForBidding":"","Your password has been reset.":"","yourPaddleNumber":"","yourPaymentHasBeenAccepted":"","yourPaymentHasBeenCancelled":"","yourRegistrationIsPending":"","zurich":""},"ZH":{"Disruptors: Evening Sale of Modern & Contemporary Art, Design and Watches":"《Disruptors》：現代及當代藝術，設計和鐘錶晚間拍賣","$HT Coin by White Male Artist (AKA: Cassils)":"白人男性藝術家（卡西斯）作品《$HT Coin》","Modern & Contemporary Art: Online Auction, Hong Kong":"現代及當代藝術：香港網上拍賣","Modern & Contemporary Art":"現代及當代藝術","Modern & Contemporary ArtDepartmentTitle":"現代及當代藝術拍賣| 紐約、倫敦及香港","Modern & Contemporary Art & Design Day Sale":"現代及當代藝術和設計日間拍賣","Modern & Contemporary Art & Design Day Sale in Association with Poly Auction":"富藝斯與保利拍賣聯合呈獻現代及當代藝術和設計日間拍賣","Modern & Contemporary Art and Design Day Sale":"現代及當代藝術和設計日間拍賣","Modern & Contemporary Art and Design Day Sale in Association with Poly Auction":"富藝斯與保利拍賣聯合呈獻現代及當代藝術和設計日間拍賣","Modern & Contemporary Art and Design Day Sale, Morning Session":"現代及當代藝術和設計日間拍賣, 上午場","Modern & Contemporary Art Day Sale":"現代及當代藝術日間拍賣","Modern & Contemporary Art Day Sale, Afternoon Session":"現代及當代藝術日間拍賣(下午部分)","Modern & Contemporary Art Day Sale, Morning Session":"現代及當代藝術日間拍賣(上午部分)","Modern & Contemporary Art Evening Sale":"現代及當代藝術晚間拍賣","Modern & Contemporary Art Evening Sale in Association with Poly Auction":"富藝斯與保利拍賣聯合呈獻現代及當代藝術晚間拍賣","ModernContemporaryArt":"現代及當代藝術","modernContemporaryArt":"現代及當代藝術","ModernContemporaryArtDaySale":"現代及當代藝術日間拍賣","modernAndContemporaryArt":"現代及當代藝術","ModernAndContemporaryArt":"現代及當代藝術","Modern&ContemporaryArt":"現代及當代藝術","modern-and-contemporary-art":"現代及當代藝術","ModernContemporaryArtAndDesignDaySaleAfternoonSession":"現代及當代藝術和設計日間拍賣, 下午場","ModernContemporaryArtDaySaleAfternoonSession":"現代及當代藝術日間拍賣, 下午場","ModernContemporaryArtDaySaleMorning Session":"現代及當代藝術日間拍賣, 上午場","Modern & Contemporary Art & Design Day Sale in association with Yongle":"富藝斯與永樂拍賣聯合呈獻現代及當代藝術和設計日間拍賣","Modern & Contemporary Art Evening Sale in association with Yongle":"富藝斯與永樂拍賣聯合呈獻現代及當代藝術晚間拍賣","24/7: Online Auction":"24/7 : 網上拍賣","account":"帳戶詳情","about":"關於{0}","aboutTheArtist":"關於藝術家 ","aboutUs":"關於我們","absenteeAndTelephone":"書面及電話競投","absenteeTelephoneBids":"書面及電話投標","acceptingConsignments":"接受委託","accessories":"配件","accountDetails":"帳戶詳情","active":"現正進行","addedToList":"","addItem":"加入 {0}","addToCalendar":" 加入日程表","addToCart":"加入購物車","addToFavorites":"加入最喜愛拍品","aGoodShowForStrangeTimes":"A Good Show For Strange Times ","allDepartments":"所有部門","allFieldsRequired":"所有欄位必須填寫","allLots":"所有拍品","allVideos":"所有視頻","alreadyCreatedAccount":"已經建立帳戶?","antwerp":"安特衛普","applyNow":"現在申請","april":"四月","artickerBulletin":"Articker快訊","artickerBulletinContent":"透過算法智能在無數網上文章為閣下帶來藝術世界和市場趨勢相關的最新實時分析。 ","artickerHeadlines":"{0}的近期熱門文章，由Articker提供。","article":"文章","articles":"文章","articlesVideos":"文章及視頻","artist":"藝術家","artistAtoZ":"藝術家 ( 由英文名稱 A-Z)","artistBiography":"藝術家簡介","artists":"藝術家","artistsAndMakers":"藝術家和設計師","artistZtoA":"藝術家 ( 由英文名稱 Z-A)","artsPartnerships":"藝術合作夥伴","askingPrice":"價格","auction":"拍賣","auctionCalendar":"拍賣日程","auctionHighlights":"拍賣精選","auctionInfo":"拍賣詳情","auctionInProgress":"拍賣進行中","auctionNow":"目前拍賣","auctionResults":"拍賣結果","auctions":"拍賣","auctionInformationAndServices":"拍賣資訊及服務","auctionTimerEndMessage":"拍賣已結束","auctionTimerLiveMessage":"拍賣剩餘時間","auctionTimerMessage":"拍賣開始時間：","auctionToday":"現場實時拍賣","auctionViewingLocation":"拍賣及預展地點","august":"八月","backTo":"返回{0}","backToTop":"返回頂部","beginConsignmentInquiry":"展開拍品徵集查詢","bidAnywhere":"隨處出價","downloadThePhillipsApp":"下載富藝斯現場拍賣應用程式","bidAnywhereContent":"請立即到 App Store或Google Play 下載富藝斯應用程式參與競投。","biddingNotAvailable":"投標已結束","biddingOpen":"開始競投","bidNow":"立刻競投","bidsAndRegistration":"競投及登記","bidsGeneva":"日內瓦投標部","bidsHongKong":"香港投標部","bidsLondon":"倫敦投標部","bidsNewYork":"紐約投標部","biography":"簡歷","braceletStrap":"錶帶/ 錶鏈","brand":"品牌","brazil":"巴西","browseArticlesVideos":"瀏覽文章及視頻","browseArtists":"瀏覽藝術家","browseExhibition":"瀏覽展覽","browseLots":"瀏覽拍品","browseSale":"瀏覽拍賣","buyAndSell":"購藏及出售","buyCatalogues":"購買拍賣圖錄","buyCataloguesContent":"購買特定拍賣圖錄或訂閱季度拍賣圖錄集","buyNowNewsletter":"Join Our Perpetual Email List.","buyersGuide":"準買家指引","buyersGuideContemporary":"準買家指引:<br />現代及當代藝術 &sol; 限量版畫、攝影及設計","buyersGuideJewels":"準買家指引:珠寶","buyersGuideJewelsWatches":"準買家指引:珠寶和鐘錶","buyersGuideJewelsWatchesBreak":"準買家指引:珠寶和鐘錶","buyersGuideWatches":"準買家指引:鐘錶","buyersPremium":"買家酬金","BuyersPremiumNotice":"我們的買家應支付酬金已被更新，請參閱業務規定。","buying":"購藏","buyWatch":"購藏","calendar":"日程","calendarMetadata":"Discover upcoming auctions, exhibitions, and events at Phillips.","calibre":"機芯","cancel":"取消","cancelEdit":"取消修改","caption":"簡述","careerDetails":"加入富藝斯","careerOpportunities":"工作機會","careerOpportunitiesContent":"<p>一些世界上最頂尖的當代藝術和設計作品曾於富藝斯成交。作為一家充滿抱負和價值導向的企業，我們正在尋找能將熱情、活力、專業與創意投入每天工作的團隊成員。</p><p>作為一家跨國企業，富藝斯為您提供不同地區、部門、專業、能擴充知識和能力的職業發展機會。若您希望在前端的藝術行業參與一份具活力和意義的工作，立即申請以下職位或登記您的興趣吧。</p><p>富藝斯是平等機會僱主。</p>","careers":"加入富藝斯","careersVideoTitleTheChair":"席上之珍","careersSubtitleTheChair":"通過員工之聲了解富藝斯工作環境","careersVideoTitle01":"富藝斯代表專心致志","careersVideoTitle02":"富藝斯代表憶昔撫今","carousel":"輪播","carouselType":"巡迴類別","caseNumber":"錶殼號碼","catalogue":"圖錄","catalogueEssay":"圖錄文章","catalogues":"拍賣圖錄","catalogueSubscriptions":"訂閱拍賣圖錄","cataloguingAndConditionReport":"拍品詳情和狀況報告","characterLimit":"{0} 字母限制","chicago":"芝加哥","cityGuides":"城市指南","classBuckle":"錶扣","clearAll":"清除所有","clientAdvisory":"客戶咨詢","clientServicesHongKong":"客戶服務-香港","clientServicesLondon":"客戶服務-倫敦","clientServicesNewYork":"客戶服務-紐約","close":"關閉","closesIn":"結束：{0}","closingNow":"馬上關閉","closingSoon":"即將關閉","collectionShippingStorage":"貨物提取、付運及儲存","cologne":"科隆","comments":"留言","completeTheFormMessage":"填寫「拍品徵集表格」並提供所知詳情","concluded":"拍賣完結","conditionReport":"品狀報告","conditionReportDisclaimer":"請注意：品狀報告由專家部門撰寫準備以方便客戶，只供參考之用。富藝斯以盡責謹慎的態度準備品狀報告，惟本公司職員並非專業修復者或經過訓練的保養人員。在任何情況下，準買家都有責任於預展或私人鑑賞時親自檢查拍品。品狀報告並非保證書，每件拍品均按照圖錄中列出的業務規定及條款以「現狀」出售。如欲了解更多詳情，請","conditionReportError":"處理您的要求時出現錯誤。","conditionReportFormDescription":"有疑問或需要協助？請在下方說明詳情，我們會盡快回覆。","conditionReportMessage":"閱覽此份品狀報告後，我們的專家或會與您聯絡以提供相關協助。","conditionReportSuccessDescription":"我們的專家會盡快與您聯絡。","conditionReportSuccessTitle":"感謝您對拍品的興趣。","conditionReportTooltip":"如有任何疑問或想獲取更多資訊，歡迎閣下查詢。","conditions":"拍品狀況","conditionsOfSale":"業務規定","conditionsOfSaleContemporary":"業務規定:<br />現代及當代藝術 &sol; 限量版畫、攝影及設計","conditionsOfSaleCryptoPayments":"業務規定:虛擬貨幣付款","conditionsOfSaleDropshop":"業務規定:<br/> Dropshop","conditionsOfSaleShopify":"業務規定:<br/> PhillipsX","conditionsOfSaleGenevaWatches":"業務規定-日內瓦","conditionsOfSaleGenevaJewels":"業務規定-日內瓦","conditionsOfSaleHongKong":"業務規定-香港","conditionsOfSaleJewels":"業務規定:珠寶","conditionsOfSaleJewelsWatches":"業務規定:珠寶和鐘錶","conditionsOfSaleWatches":"業務規定:鐘錶","conditionsOfSaleLondon":"業務規定-倫敦","conditionsOfSaleNewYork":"業務規定-紐約","conditionsOfSaleNFT":"業務規定-NFT","conditionsOfSalePerpetual":"業務規定-Perpetual","consignForHongKong":"香港－拍品徵集","consignForLondon":"倫敦－拍品徵集","consignForNewYork":"紐約－拍品徵集","consignmentMetadata":"Ready to sell at auction? Phillips offers complimentary estimates for modern & contemporary art, design, photographs, and more. Submit your collection now.","consignmentSubmissionSuccess":"您好{0}，感謝閣下提供 {2} 的 <em>{1}</em> 之資料，以作拍品徵集用途。專家將在未來五個工作日內與您聯繫。","consignmentSubmissionSuccessNoMaker":"您好{0}，感謝閣下提供 <em>{1}</em> 之資料，以作拍品徵集用途。專家將在未來五個工作日內與您聯繫。","consignmentSubmissionSuccessGeneric":"您好{0}，感謝閣下提供 之資料，以作拍品徵集用途。專家將在未來五個工作日內與您聯繫。","consignmentText":"來季拍賣已開始接受拍品徵集。","consignToday":"立即委託","consignToUpcomingDepartmentSale":"參與即將舉行的{0} 拍品徵集。","consignWithUs":"委託富藝斯拍賣","contact":"聯絡詳情","contactBidsDepartment":"如有任何問題，請與我們的投標部聯絡。","contactSpecialist":"聯絡專家","contactUs":"聯絡我們","contemporaryArt":"當代藝術","contemporaryArtDepartment":"當代藝術部","contemporaryArtDesignWatchesAndJewelsAuctions":"當代藝術,設計,鐘錶和珠寶拍賣","contentType":"內容類別","contractAddress":"合約地址","cookiePolicy":"<p>我們使用cookies（儲存在您的電腦或裝置上的小型文本文件）為閣下於瀏覽www.phillips.com及Phillips手機應用程式時提供最完善的網上體驗。<a href=\\"/About/CookiePolicy\\">Cookie政策。</a>，。</p>","cookiePolicyLabel":"Cookie政策","copenhagen":"哥本哈根","covid19Announcement":"新型冠狀病毒最新消息","create":"建立","createAccount":"建立帳戶","createAccountWords":"登記你的富藝斯帳戶以接收最新消息。","createListAndSave":"建立清單並儲存","createNewList":"建立全新清單","creditCardForm":"信用卡表格","cultureInfoLocale":"zh-HK","curatedList":"精選清單","Current password is not correct.":"現有密碼不正確 。","currentVacancies":"職位空缺","dateFormatReact":"y年L月d日","dateFormatReactShort":"y年L月","Day Sale":"日間拍賣","days":"天","daySaleSession1Modern":"日間拍賣 第一部分 (現代)","daySaleSession2PostWar":"日間拍賣 第二部分 (戰後)","daySaleSession3Contemporary":"日間拍賣 第三部分 (當代)","dearCustomer":"親愛的{0}","december":"十二月","default":"默認選項","delete":"刪除","deleteList":"消除清單","denver":"丹佛","department":"部門","departmentInfo":"部門詳情","departments":"部門","deputyChairman":"副主席","description":"拍品詳情","design":"設計","Design":"設計","DesignDepartmentTitle":"設計拍賣 | 家具、燈飾、瓷器及更多","designDepartment":"設計部","digital":"數碼作品","digitalSaleroom":"網上拍賣廳","dimensions":"尺寸","displayOrder":"顯示訂單","doNotHaveAccount":"還未建立帳戶?","dontHaveAnAccount":"尚未登記富藝斯賬戶？","download":"下載","downloadCatalogue":"下載圖錄","downloadPDF":"下載PDF","edit":"修改","Editions":"限量版畫","EditionsDepartmentTitle":"限量版畫 | 絲網印刷和限量版次作品拍賣","editions":"限量版畫","Editions & Works on Paper":"限量版畫及紙本作品","Editions Contemporary: Online Auction":" Editions Contemporary: 網上拍賣","Editions, Photographs and Design":"限量版畫、攝影及設計","editionsDepartment":"限量版畫部","editItem":"編輯 {0}","editLots":"修改拍品","editorial":"專題內容","editorialTitle":"專題內容","editorialDescriptionMetadata":"Discover articles and video about art, design, luxury, culture, and lifestyle at Phillips auction house.","email":"電郵地址","emailAgreement":"成功登記代表閣下同意接收富藝斯電郵通訊。","emailLabel":"輸入個人電郵地址開始登記","enterDescription":"輸入清單簡述","enterGallery":"進入拍賣","enterGalleryOne":"進入Gallery One","enterWatchesStore":"進入鐘錶精品店 ","enterYourEmail":"提供您的電郵地址","error":"錯誤","Error changing password, email TBD":"更改密碼時出現錯誤，請發電郵至 {0}。","Error changing password.":"更改密碼時出現錯誤 。","Error Registering user":"登記賬戶時出錯","Error Registering user TBD":"登記 {0}賬戶時出錯","Error sending password recovery email":"無法送出電郵重設密碼","Error setting new password":"重設密碼出現錯誤 。","Error setting new password for user. TBD":"為賬戶{0}設置新密碼時出錯。","estimate":"估價","estimateHighLow":"估價:高至低","estimateLowHigh":"估價:低至高","estimateOnRequest":"估價待詢","Evening & Day Editions":"晚間及日間限量版畫","Evening Sale":"晚間拍賣","eveningAndDayEditions":"限量版畫日間及晚間拍賣","executive":"行政","exhibitAndTour":"展覽和巡展","exhibited":"過往展覽","exhibitionInfo":"展覽詳情","exhibitions":"展覽","exhibitionsCalendar":"展覽日程","exploreMore":"瀏覽更多","facebook":"Facebook","faq":"常見問題","favorite":"最喜愛","favorited":"已標籤為最喜愛","favoriteLot":"喜愛拍品","fax":"傳真","faxNumber":"傳真號碼","featuredArticles":"專題文章","featuredContent":"精選內容","features":"專題","february":"二月","fiduciaryServices":"信托服務","Fiduciary Services":"信託服務","filters":"篩選","firstName":"名字","Flawless: Jewels":"FLAWLESS: 珠寶","Flawless: Shaun Leane":"Flawless: Shaun Leane","flawlessJewels":"FLAWLESS: 珠寶","flawlessShaunLeane":"Flawless: Shaun Leane","follow":"關注","followArtist":"關注藝術家","followed":"已關注","followLot":"關注拍品","followMaker":"關注設計師","followUs":"關注我們","followUsSocial":"關注我們","forgotPassword":"忘記密碼","frequentlyAskedQuestions":"常見問題","fullCataloguing":"拍品資料詳情","furtherInsights":"更多資訊","furtherNotes":"更多說明","Gallery One: The Phillips Weekly Auction":"Gallery One: 富藝斯每周拍賣","galleryOne":"Gallery One","galleryOneDescription":"不受傳統拍賣日程規限，Gallery One為您提供靈活的藝術買賣平台，帶來嶄新拍賣體驗。","generalEnquiries":"一般查詢","geneva":"日內瓦","genevaGuide":"日內瓦拍賣指南","goTo":"前往","goToForm":"填寫表格","goToLot":"瀏覽拍品","goToSaleroom":"進入拍賣廳","grid":"網格","gridView":"多格排列","highlights":"精選拍品","hoChiMinhCity":"胡志明市","homepage":"Art, Design, Watches, and Jewels","homepageMetadata":"Phillips Auction House: Discover Modern & Contemporary Art, Photographs, Editions, Design, Jewels, and Watches. Buy and sell with us","hongKong":"香港","hongKongGuide":"香港拍賣指南","hongKongWatches":"香港鐘錶","HK_MCA_Conditions_of_Sale":"瀏覽 <a href=\\"${GLOBAL_CDN_URL}docs/forms/HK_MCA_Conditions_of_Sale_CH.pdf\\" > 業務規定</a>.","hours":"小時","howToBuy":"如何參與競投","howToSafelyVisitUs":"訪客安全須知","howToSell":"如何委託拍賣","iAccept":"我同意","ifYouHaveAnyQuestionsAboutShippingAndDeliveryOfYourPurchasePleaseContactA":"如果閣下對拍品的運送和交收有任何疑問，請聯絡{0}","ifYouHaveAnyQuestionsPleaseContactA":"如果閣下有任何疑問，請聯絡{0}","ifYouWouldLikeToRegisterYourInterest":"若您想加入富藝斯而未能找到合適職位，歡迎把履歷表和求職信電郵到<a href=\\"mailto:careers@phillips.com\\">careers@phillips.com</a>。請在求職信列明您感興趣的地區和部門。","illustrated":"圖中顯示","image":"圖像","image360Interation":"拖曳圖片即可360度觀賞","inactive":"未在進行","includeEnhancedContent":"包括拍品詳盡內容","information":"訊息","inPerson":"現場競投","inProgress":"進行中","inquire":"查詢","inquireAbout":"","inquireFormDescriptionPerpetual":"謝謝您對{0} 和 {1}的興趣，請在以下位置留言，鐘錶部專家會盡快與您聯絡。 ","inquireFormDescriptionPrivatesale":"謝謝您對{0} 和 {1}的興趣，請在以下位置留言，私人洽購部專家會盡快與您聯絡。 ","inquireFormPerpetualNoMaker":"","inquireFormPrivateSalesNoMaker":"","inquireFormTitlePrivateSales":"查詢私人洽購","inquireFromTitlePerpetual":"查詢Perpetual","inquireNow":"立即查詢","inquiries":"查詢","insights":"分析","internships":"實習 ","Intersect Online Auction - Art, Jewels, Watches":"Intersect 網上拍賣 – 藝術、珠寶、鐘錶","Intersect Online Auction - Art, Watches, Jewels":"Intersect 網上拍賣 – 藝術、鐘錶、珠寶","is already taken TBD":"{0}已被採用","is not a valid email address TBD":"為賬戶{0}設置新密碼時出現錯誤 。","itemsBeingShippedToYou":"以下拍品即將送到：","january":"一月","jewelry":"珠寶","Jewels":"珠寶","JewelsDepartmentTitle":"珠寶 | 珍貴珠寶：遺產珍藏、古董及珍稀寶石拍賣","jewels":"珠寶","Jewels & Jadeite":"珠寶和翡翠","Jewels and Jadeite":"珠寶和翡翠","jewelsDepartment":"珠寶部","joinDepartmentEmailList":"加入{0}電郵系列。","july":"七月","jumpTo":"跳至","june":"六月","knowYourClientDetails":"「了解您的客戶」詳情","language":"語言 (ENG) / 語言 (中文)","lastName":"姓氏","Latin America":"拉丁美洲藝術","latinAmerica":"拉丁美洲藝術","launchDigitalCatalogue":"開啟(電子/數碼)圖錄","learnMore":"瀏覽詳情","Let Loose: Online Auction":"《Let Loose》網上拍賣","list":" 清單","listOptions":"清單選項","lists":"清單","listView":"清單排列","literature":"文學","liveAuctionExperience":"實時拍賣體驗","liveIn":"於{0}舉行","liveNow":"實時進行","loading":"下載中","location":"業務網絡","locations":"業務網絡","login":"登入","Log In":"登入","logIn":"登入","logOut":"登出","london":"倫敦","London":"倫敦","londonGuide":"倫敦拍賣指南","losAngeles":"洛杉磯","LosAngeles":"洛杉磯","lot":"拍品","lotDetails":"","lotListCreateDescription":"分享及管理拍品的方法。","lotListCreateTitle":"建立您的首份清單。","lotListNew":"新清單","lotListSuccess":"您已成功建立清單，可點擊清單名稱查看完整內容。","lotNoLongerAvailable":"","lotNoReserve":"無底價拍品","lotNumber":"拍品編號","lotPageCounter":"共 {0} 件拍品當中的","lots":"拍品","lotsG1":"{0}件拍品","lotsSelected":"所挑選拍品","lotWithdrawn":"被撤回拍品","mainMenu":"主目錄","makeAnOffer":"進行出價","maker":"設計師","makerAtoZ":"藝術家 ( 由英文名稱 A – Z)","makerBiography":"設計師簡介","makers":"設計師","makerZtoA":"藝術家 ( 由英文名稱 Z – A)","manufacturer":"製造商","march":"三月","material":"材料","may":"五月","medium":"材質","mediums":"材質","meetTheTeam":"認識富藝斯團隊","mexicoCity":"墨西哥城","miami":"邁阿密","milan":"米蘭","mintedOn":"2021年4月11日製，此作爲獨版。","minutes":"分鐘","model":"型號名稱","modelName":"型號名稱","modernSlaveryPolicy":"Modern Slavery Policy","morePastAuctions":"更多以往拍賣","moreVideos":"更多視頻","Morning Sale":"早間拍賣","moscow":"莫斯科","movementNumber":"機芯編號","mp4":"視頻","munich":"慕尼黑","myAccount":"我的賬戶","myArtists":"我的藝術家","myBids":"我的競投","myCart":"我的購物車","myFavorites":"我的最愛","myLists":"我的清單","name":"姓名","newest":"最新的","newListName":"全新清單名稱","newNow":"New Now","New Now & Design":"New Now 及設計拍賣","New Now: Modern & Contemporary Art":"NEW NOW: 現代及當代藝術","New Now: Modern & Contemporary Art and Design":"New Now: 現代及當代藝術和設計","newsAndResults":"新聞及拍賣結果","newsletter":"富藝斯快訊","newsletterSubscribeCheckbox":"您想透過富藝斯電郵獲取更多關於拍賣,展覽和活動的訊息嗎?","newsletterSubscribeDisclaimer":"您可以隨時到賬戶頁面更新電郵喜好設定或取消訂閱。","newYork":"紐約","newYorkGuide":"紐約拍賣指南","next":"下一個","nextAuction":"下個拍賣","nextAuctions":"下次拍賣","nftContractAddress":"智能合約地址","nftTokenId":"代幣ID","nftTokenIds":"代幣IDs","nftTokenType":"非同質化代幣","nftTokenTypes":"非同質化代幣","noLists":"您還未設置任何清單，請到拍賣頁面建立個人清單。","noLotMessage":"此拍品已不再提供買賣。","nonFungibleToken":"NFT","nonFungibleTokens":"NFTs","nordicDesignOnlineAuction":"北歐設計:網上拍賣","noReserve":"無底價","note":"提示","november":"十一月","nowPlaying":"現正播放","october":"十月","offerModalBelowThreshold":"低於下限。","offerModalStatus":"已被 {0}。","offerModalYourOffer":"{0}，您的 {1} 出價","offerStatus":"出價狀況","oldest":"最早的","online":"網上","onlineAndMobile":"網頁及手機程式","onlineAuction":"網上拍賣","onlineBiddingGuide":"網上競投指南","onlineConditions":"網上業務規定","onlineGuide":"網上拍賣指南","onlineOnlyDisclaimer":"請注意，出價一經提交，<br />不能取消。","openFilters":"瀏覽篩選項目","opensIn":"展開：{0}","or":"或","ourBuyingGuideToNewNowWithArtsy":"New Now with Artsy拍賣指南","ourHistory":"富藝斯簡介","ourTeam":"富藝斯團隊","ourSpecialistDepartments":"富藝斯專家部門","ourServices":"富藝斯服務","policies":"政策","siteMap":"網站地圖","subscribeToNewsletterAction":"訂閱富藝斯快訊","overview":"詳情","pageDescription":"富藝斯是全球頂尖拍賣行，聚焦藝術、設計和鐘錶等類別。 瀏覽即將於紐約、倫敦、香港和日內瓦舉行的拍賣詳情及過往拍賣的結果。","pageDescriptionDesign":"競投和託售設計傑作：富藝斯設計拍賣涵蓋裝飾藝術、歐洲現代主義、當代設計、英國 Studio Ceramics 等各類作品。","pageDescriptionMCA":"探索富藝斯現當代藝術部蒐羅的頂級臻品。瀏覽相關拍賣資訊，競投心愛作品。","pageDescriptionEditions":"富藝斯定義版本作品門類，專場拍賣由紐約及倫敦專家團隊精心策劃，蒐羅博物館藏品級別的現當代版畫和複製品。","pageDescriptionJewels":"競投和託售珍稀珠寶精品：富藝斯珠寶拍賣蒐羅頂級鑽石和彩色寶石，以及包括寶格麗、蒂芙尼、梵克雅寶等著名品牌飾品。","pageDescriptionPhotographs":"瀏覽富藝斯攝影拍賣的多元精選，涵蓋來自攝影大師及攝影新貴的佳作。","pageDescriptionWatches":"探索富藝斯鐘內部蒐羅的標誌性時計瑰寶，參與位處日內瓦、紐約、香港的拍賣。","pageDescriptionDiscover":"探索","pageDescriptionBy":"展覽，其中蒐羅","pageDescriptionIn":"名作","pageDescriptionLearnMore":"。瀏覽相關展品、藝術家，以及富藝斯私人洽購部的資訊。","palmBeach":"棕櫚灘","paris":"巴黎","parisGuide":"巴黎拍賣指南","password":"密碼","passwordConfirmation":"確認密碼","passwordMatchError":"密碼不正確，請重新輸入","passwordRequirement":"密碼必須至少包含8個字符，並且包含一個大寫字母、一個小寫字母和一個數字。","past":"過往的","pastAuctions":"過往的拍賣","pastLots":"過往拍品","paymentCancelled":"取消付費","paymentCancelledTitle":"付費已取消","paymentConfirmation":"確認付費 ","paymentConfirmed":"付費已確認","paymentInfo":"付款","pdfNote":"在發送書面投標或進行詢問時，請將此次拍賣稱為 {0} 或 {1}。","pending":"處理中","Perpetual: Watches":"Perpetual: 鐘錶","perpetualWatches":"Perpetual: 鐘錶","perpetual":"Perpetual：鐘錶","perpetualMetadata":"","phillipsXArtsyEndlessSummer":"富藝斯 X Artsy: Endless Summer","phillipsXGerhardRichter":"Phillips X: 格哈特‧里希特","phillpsMetadataDefaultDescription":"富藝斯是當代文化的代名詞。作為最具前瞻性的國際拍賣行之一，我們憑藉專注於二十世紀具定義性的美學運動以及當今最先鋒的藝術，在同儕脫穎而出。富藝斯總部設於紐約及倫敦，並於全球各地設立辦事處，拍賣範疇涵蓋多個類別：當代藝術、攝影作品、版畫、設計以及珠寶。此外，我們的核心藝術業務包括策劃展覽、代理私人洽購、就遺產相關及企業客戶提供顧問服務，以及為私人藏家的收藏管理提供建議。細心高質的精品式服務造就富藝斯坐擁最佳位置，為新晉及資深藏家帶來卓越的專業諮詢服務。","phillpsMetadataDefaultTitle":"富藝斯:二十世紀及當代藝術和設計拍賣","photographs":"攝影","Photographs":"攝影","PhotographsDepartmentTitle":"攝影 | 紐約及倫敦攝影拍賣","photographsDepartment":"攝影部","pinterest":"Pinterest","placeAdvanceBid":"預先出價競投","placeAdvanceBidsNowOrBidLiveOnTheDayOfTheSale":"您可現在立即作出預先競投，或於拍賣會當天進行實時競投。","placeBid":"出價競投","placeBidArtsy":"於Artsy出價競投","placeYourMaxBidsNow":"立即提交最高出價。","pleaseChoose":"請選擇","png":"圖像","portugal":"葡萄牙","postAuctionOfferings":"於過往拍賣的出價","posted":"刊登於:","postSaleOfferCheckbox":"剔選此格並提交我的出價，即表示我同意<a href=\\"${GLOBAL_CDN_URL}docs/forms/perpetual_colors.pdf\\">條款及細則</a>。","postSaleOfferOpen":"此拍品仍可供購買。在下方輸入您的出價，我們的專家會與您跟進。標準買家酬金將被加入到您的出價中。","press":"新聞中心","previous":"上一個","price":"價格","priceFilter":"{0}{1}","priceFilterOver":"高於 {0}{1}","priceFilterUnder":" {0}{1}以下","priceHighToLow":"價格:由高至低","priceLowToHigh":"價格:由低至高","priceUponRequest":"價格待詢","print":"列印","printSale":"列印拍賣資料","privacyPolicy":"私穩政策","privateSales":"私人洽購","privateSalesContent":"富藝斯私人洽購部門為客戶提供獨特和個人化的購藏方式，充分發揮革新精神，帶來精準的購藏方式，與藏家建立密切關係，為他們提供最新市場資訊。","privateSalesDepartment":"私人洽購部門","privateSalesOfferOpen":"此作品可供私人洽購。您可於下方提交出價。","privateSalesNewsletter":"訂閱富藝斯私人洽購部電郵名單。","privateSalesNewsletterFormCopy":"接收有關富藝斯即將舉行的展覽和特別活動的電郵訊息。","privateServices":"私人服務","professionalAdvisorServices":"專業顧問服務","professionalAdvisorServicesContent":"富藝斯專業顧問服務部致力建立客戶合作關係，並且利用專業知識，特為藏家、受益人、律師、執行人、受託人、機構及藝術同業等，提供量身訂製的解決方案。","provenance":"來源","purchaseCatalogue":"購買圖錄","quantityMax":"最多顯示{0}件","Racing Pulse":"Racing Pulse","readLess":"閱讀更少","readMore":"閱讀詳情","received":"已收到閣下指示","recommendedLotsdescription":"根據您關注的藝術家和您按讚的拍品","recommendedLotsTitle":"您可能感興趣的拍品","referenceNumber":"型號","referenceNumberShort":"型號 {0}","registerAndBid":"競投及投標者登記","registerAndBidContemporary":"競投及投標者登記:<br />現代及當代藝術 &sol; 限量版畫、攝影及設計","registerAndBidGeneva":"競投及投標者登記-日內瓦","registerAndBidHongKong":"競投及投標者登記-香港","registerAndBidHongKongWatches":"競投及投標者登記-香港鐘錶","registerAndBidJewels":"競投及投標者登記:珠寶","registerAndBidJewelry":"競投及投標者登記:珠寶","registerAndBidLondon":"競投及投標者登記-倫敦","registerAndBidNewYork":"競投及投標者登記-紐約","registerAndBidNewYorkWatches":"競投及投標者登記-紐約鐘錶","registerAndBidOnline":"網上競投及投標者登記","registerAndBidWatches":"競投及投標者登記:鐘錶","registerNow":"立即登記","registerNowToBidOnline":"立即登記作網上競投 ","registerNowToPlaceAdvanceBidsOrBidLiveInOurDigitalSaleroom":"立即登記，即可預先競投或參與實時拍賣","registerToBid":"登記以參與競投","registerYourInterest":"登記您的興趣","registrationIsOpen":"現正接受登記 ","rejected":"不獲通過","relatedArticlesHeader":"相關專題文章","rememberMe":"記住我","remoteBidding":" 遠程競投","remove":"移除","removeLots":"移除拍品","requestConditionReport":"想獲取品狀報告","requestConditionReportSuccess":"感謝閣下對此拍品的興趣，我們會盡快把品狀報告傳送給您。","required":"必填","requiredField":"此欄必須填寫","requiredPropertyError":"{0}是必填欄目","resetPassword":"重設密碼","resetPasswordSendLink":"輸入您的電郵地址，我們會向您發送重設密碼的連結。","Retrospective: 2000 - 2020":"Retrospective: 2000 - 2020","rioDeJaneiro":"里約熱內盧","saleDesignation":"拍賣註明","saleInfo":"拍賣詳情","saleNumber":"拍賣編號","saleOfferStatus":"出價 {0}","Satellite: Online Auction":"《衛星》網上拍賣","save":"保存","search":"搜尋","seattle":"西雅圖","seconds":"秒","seeFullTeam":"瀏覽專家團隊","selectALanguage":"選擇語言","selling":"委託拍賣","sellWithUs":"誠徵拍品","sellWithUsCopy":"我們現為即將舉行的拍賣徵集拍品。","sellWithUsDesc":"我們現為來季拍賣徵集拍品。","sellWithUsMakerDesc":"我們現正徵集{0}的拍品。","sellWithUsTitle":"委託拍賣","sendConditionReportVia":"把報告發送至","seniorAdvisors":"Chairmen, President and Senior Advisor","seoul":"首爾","september":"九月","sessions":"部分拍品","shanghai":"上海","share":"分享","shareYourGoodFortuneWithYourFriends":"與你的好友分享喜悅","shipping":"貨物付運","shippingJewelry":"Shipping: Jewelry","shippingWatches":"Shipping: Watches","shippingContemporary":"貨物付運:<br />現代及當代藝術 &sol; 限量版畫、攝影及設計","shippingJewelsAndWatches":"貨物付運:珠寶和鐘錶","shippingQuote":"貨物付運報價","shopCatalogues":"購買圖錄","show":"展示","showingAllLots":"顯示全部{0} 件拍品","showingLots":"顯示{0}件拍品","showLess":"","showLot":"顯示拍品","showMore":"","showOfferings":"顯示出價- {0}號拍品","showShareoptions":"顯示分享途徑選項","signed":"簽名","signIn":"登入","signingUp":"訂閱","signUp":"註冊","signUpDisclosure":"成功登記表示　閣下同意接收來自富藝斯的電郵通訊。","signUpFormBottomMessage":"建立<b>富藝斯</b>賬戶即表示您同意<br />我們的<a className=\\"user-form__link\\" href=\\"/buysell/buy\\" target=\\"_blank\\" >使用條款</a>及<a className=\\"user-form__link\\" href=\\"/about/privacy\\" target=\\"_blank\\">私隱政策</a>。","signUpLinkText":"注冊","signUpThanks":"感謝閣下登記。","signUpToReceiveEmailsAboutUpcoming":"歡迎閣下登記獲取富藝斯將舉行的拍賣、展覽和活動的相關訊息。","slide":"頁面","sold":"已成交","soldFor":"成交價","sort":"排序","sortAndFilters":"排序及篩選","sortBy":"排序","sorts":"排序","southampton":"南安普敦","specialist":"","specialistDetails":"專家詳情","specialistFollowUp":"部門專家會與您聯絡。","specialistFollowUpThreeDays":"部門專家會於3個工作天內與您聯絡。","submit":"提交","submitNow":"立即提交","submitOffer":"提交出價","submitOfferError":"您必須同意條款及細則才可向此件拍品提交出價。","submitQuery":"","submitRequest":"提交","subscribe":"訂閱","subscribeToNewsletter":"精彩一刻 不容錯過","footerSocialTitle":"關注我們","footerSubscribeDescription":"獲取有關拍賣，展覽和特別活動的獨家資訊","footerSubscribeLoading":"訂閱中","footerSubscribeSuccess":"成功登記","subscribeToOurNewsletterAndReceive":"訂閱富藝斯快訊以獲取有關拍賣，展覽和特別活動的獨家資訊。","subscribeToOurNewsletterAndReceiveBuyNow":"Sign up to receive emails about our latest timepieces on offer, alongside news, stories, and special events. ","taipei":"台北","taiwan":"台灣","thankYou":"謝謝。","thankYouForBiddingAtPhillips":"感謝閣下於富藝斯參與競投。","thankYouForPurchaseFromA":"感謝閣下購買\\"{0}\\"","The Geneva Jewels Auction: ONE":"珍貴珠寶：日內瓦","The Geneva Watch Auction: XII":"名錶薈萃─日内瓦XII","The Geneva Watch Auction: XIII":"名錶薈萃─日内瓦XIII","The Imperial Patek Philippe Sale":"御藏百達翡麗專場","The Hong Kong Jewels Auction":"珍貴珠寶：香港","The Hong Kong Watch Auction: XI":"名錶薈萃: 香港 XI","The Hong Kong Watch Auction: XII":"名錶薈萃: 香港 XII","The Hong Kong Watch Auction: XIV":"名錶薈萃: 香港 XIV","The Hong Kong Watch Auction: XV":"名錶薈萃: 香港XV","The Hong Kong Watch Auction: XVI":"名錶薈萃：香港XVI","The New York Jewels Auction":"珍貴珠寶：紐約","The Room: Contemporary Art, Editions, & Photographs":"The Room: 當代藝術，限量版畫和攝影","The user name or password is incorrect.":" 賬戶名稱和密碼不正確。","theNextGeneration":"新世代","theRoomContemporaryArtEditionsPhotographs":"The Room: 當代藝術，限量版畫和攝影","thumbnail":"縮略圖","title":"標題","todayAtPhillips":"今天在富藝斯","tokenId":"代幣帳號","tokenIds":"代幣帳號","tokyo":"東京","toViewTheConditionReportPleaseSignIn":"To view the Condition Report please Sign In","trustsEstatesAndValuations":"信託，遺產和估值","trustsEstatesAndValuationsContent":"富藝斯信託、遺產和估值部門與私人客戶、律師、銀行家、顧問、家族辦公室和保險經紀緊密合作，為客戶安排各項珍藏管理的事項。","twitter":"Twitter","typeToFill":"輸入","typeToSearch":"搜尋","unfollow":"取消關注","upcoming":"即將舉行","upcomingLots":"即將推出的拍品","user":"賬戶","user not found TBD":"找不到賬戶 {0} ","User does not exist. TBD":"賬戶{0}並不存在。","User doesn\'t exist.":"此賬戶不存在。","user not found":"找不到此賬戶","validEmailError":"您必須輸入有效的電郵地址","vatGuide":"增值稅須知","video":"視頻","videoCarouselCopy":"加入、編輯、訂購短片以在主頁展示","videoCarouselLabel":"巡迴播放短片（只適用於CMS）","videos":"視頻","videosOnCareers":"瀏覽視頻","videoThumbnailToolTip":"縮略圖以16x9格式展示","view":"瀏覽","viewAll":"瀏覽所有內容","viewAllAuctions":"所有拍賣","viewAllResultsFor":"瀏覽{0}的所有結果","viewAuctionCalendar":"瀏覽拍賣日程","viewConditionReport":"瀏覽品狀報告","viewECatalogue":"瀏覽網上圖錄","viewHighlights":"瀏覽精選拍品","viewInRoom":"於虛擬空間瀏覽","viewMoreWorks":"瀏覽更多作品","viewSale":"瀏覽拍賣","visitCalendar":"瀏覽拍賣日程","visitingGuidelines":"訪客須知","visitUsCopy1":"最新拍賣詳情和活動指引:","visitUsCopy2":"瀏覽有關場地開放時間、私人預約和拍賣日期等的最新信息。","voices":"專題內容","watchBidLive":"現場觀看和競標","Watches":"鐘錶","WatchesDepartmentTitle":"鐘錶 | 古董及經典鐘錶拍賣","watches":"鐘錶","watchesDepartment":"鐘錶部","watchesForSale":"{0}件鐘錶精品","watchLiveAuction":"觀看現場拍賣","weeklyDropsGalleryOne":"每週拍品：Gallery One","welcomeMessage":"閣下將會收到富藝斯的電郵。您亦可建立富藝斯帳戶以獲得更多相關訊息。","What Now?: Online Auction":"《現在流行什麼呀？》網上拍賣","widgetConnectFailure":"<h3>網絡連接</h3><p>我們偵測到您的連接存在網絡問題，請重新載入頁面以查閱最新資訊。</p>","Wired: Online Auction":"Wired:  網上拍賣","worksForSaleUpcomingAuctionsAndPastResults":"拍賣品，即將舉行的拍賣及過去拍賣成績","year":"年份","You will receive an email with a link to reset your password.":"您將會透過電郵接收到重設密碼的連結。","youAreAlreadySubscribed":"閣下已經訂閱富藝斯快訊。","youAreNotFollowingArtist":"您並沒有關注任何藝術家。","youAreRegisteredForBidding":"您已登記參與競投此拍賣","Your password has been reset.":"您的密碼已重設。","yourPaddleNumber":"您的競投牌號碼是","yourPaymentHasBeenAccepted":"閣下的付款已被接納","yourPaymentHasBeenCancelled":"閣下的付款已被取消","yourRegistrationIsConfirmed":"您的登記已被接納","yourRegistrationIsPending":"您的登記現正處理中。","youWillReceivePaddleNumber":"確認完成後您將獲取競投牌號碼。","zurich":"蘇黎世"},"KO":{"createAccount":"계정 생성","consignmentSubmissionSuccess":"{0}님 께, {2} 작가의 {1} 작품을 위탁 문의 주셔서 감사합니다. 필립스 스페셜리스트 리뷰 후 10일 이내 회신드리도록 하겠습니다.","consignmentSubmissionSuccessNoMaker":"{0}님 께, {1} 작품을 위탁 문의 주셔서 감사합니다. 필립스 스페셜리스트 리뷰 후 10일 이내 회신드리도록 하겠습니다.","consignmentSubmissionSuccessGeneric":"{0}님 께, 작품을 위탁 문의 주셔서 감사합니다. 필립스 스페셜리스트 리뷰 후 10일 이내 회신드리도록 하겠습니다.","enterYourEmail":"이메일 신청","newsletter":"뉴스레터","newsletterSubscribeCheckbox":"예정 경매, 전시 및 특별 행사에 대한 필립스 옥션의 이메일을 받으시겠습니까?","newsletterSubscribeDisclaimer":"계정 페이지에서 언제든지 이메일 기본 설정을 업데이트하거나 구독을 취소할 수 있습니다.","submit":"제출","subscribeToOurNewsletterAndReceive":"뉴스레터 구독 및 경매, 전시, 특별 이벤트에 관한 알림 신청","welcomeMessage":"앞으로 필립스로부터 이메일을 받게 됩니다 계정을 생성하시면 필립스에 관해 더 자세한 정보를 얻으실 수 있습니다."},"WUU":{"createAccount":"建立帐户","consignmentSubmissionSuccess":"您好{0}，感谢阁下提供{2}的{1}之资料，以作拍品征集用途。专家将在接下来的十个工作日内与您联系。","consignmentSubmissionSuccessNoMaker":"您好{0}，感谢阁下提供{1}之资料，以作拍品征集用途。专家将在接下来的十个工作日内与您联系。","consignmentSubmissionSuccessGeneric":"您好{0}，感谢阁下提供 之资料，以作拍品征集用途。专家将在接下来的十个工作日内与您联系。","enterYourEmail":"提供你的电子邮箱","newsletter":"富艺斯快讯","newsletterSubscribeCheckbox":"您想经电邮获取有关富艺斯的拍卖，展览和特别活动的独家资讯吗?","newsletterSubscribeDisclaimer":"阁下可随时从帐户页面更新电子邮件选项或取消订阅。","submit":"提交","subscribeToOurNewsletterAndReceive":"订阅富艺斯快讯以获取有关拍卖，展览和特别活动的独家资讯","welcomeMessage":"阁下将会收到富艺斯的电邮。您亦可建立富艺斯帐户以获得更多相关讯息。"}}'),$j=["58561057","69138631"],Fj=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";return function(t){var n=t.label,r=void 0===n?"auctions":n,o=t.args,i=void 0===o?[]:o,a=t.defaultValue,s=void 0===a?void 0:a,l=t.value,c=void 0===l?"":l;try{if(0===r.length&&0===c.length)return"You must pass a label OR value property";var u=Ij[e.toUpperCase()]||Ij.EN;if(c.length>0){var d=u[Lj()(c)];return d||c}var f=u[r];if(!f||0===f.length){if(void 0!==s)return s;var p=Ij.EN;if(!p[r])return r;f=p[r]}var h=/{\d}/g;return h.test(f)?f.replace(h,(function(e){return i[parseInt(e.replace(/[{}]/,""),0)]})):f}catch(e){return console.error("There was an error on getI18nLabel: ",e,e.stack),"Error looking for ".concat(r)}}};function zj(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Bj(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){zj(i,r,o,a,s,"next",e)}function s(e){zj(i,r,o,a,s,"throw",e)}a(void 0)}))}}var Hj=n(66192),Uj=n.n(Hj),Wj=function(e){return new Promise((function(t,n){if(void 0!==phillips[e])t(phillips[e]);else var r=0,o=setInterval((function(){void 0!==phillips[e]?(clearInterval(o),t(phillips[e])):r>=5&&(clearInterval(o),n(new Error("could not find user model"))),r+=1}),500)}))};function Vj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,F(r.key),r)}}n(35319);var qj,Yj=n(31280),Gj=n.n(Yj);var Kj,Xj=(Kj=qj=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"trackActivity",value:(r=Bj(Uj().mark((function e(t){var n;return Uj().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(this.apiDomain,"api/externalclient/metacapi"),e.next=3,fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});case 3:if(e.sent.ok){e.next=6;break}throw new Error("AnalyticsService failed");case 6:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})}],t&&Vj(e.prototype,t),n&&Vj(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,r}(),void Object.defineProperties(Kj.prototype,{apiDomain:{get:function(){var e="http://localhost:8001/";return localStorage&&localStorage.getItem("apiAddress")?e=localStorage.getItem("apiAddress"):window&&Gj().get("apiAddress")&&(e=Gj().get("apiAddress")),e}},cmsApiDomain:{get:function(){var e="http://localhost:8000/";return localStorage&&localStorage.getItem("cmsApiAddress")&&(e=localStorage.getItem("cmsApiAddress")),e}}})||qj),Jj=new Xj,Zj=function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""){case"Advance Bid Clicks":return"place_advance_bid";case"Inquiry Submission - Flawless":return"<Flawless_Submission>";case"Inquiry Submission - Private Sales":return"<Private_Sales_Inquiry_Submission>";case"Inquiry Submission - Perpetual":return"<Perpetual_Inquiry_Submission>";case"Inquire - Flawless":return"<Flawless_Inquire>";case"Inquire - Private Sales":return"<Private_Sales_Inquire>";case"Inquire - Perpetual Store":return"<Perpetual_Inquire>";case"Signed Up":return"<Account_Creation>";case"Favorite Lot":return"client_portal__favoriteLot_click";case"Follow Maker":return"client_portal__followMaker_success";case"Logged In":return"<Logged_In>";case"Submitted Consignment":return"submitted_consignment";case"newsletter subscribe":case"Newsletter Sign-Ups":return"newsletter_subscribe";default:return""}};var Qj=function(e){var t=e.eventCategory,n=e.eventAction,r=e.eventLabel,o=e.eventValue,i=void 0===o?0:o,a=e.userEmail,s=void 0===a?"":a;if("function"==typeof gtag&&gtag("event",n,{eventCategory:t,eventLabel:r,eventValue:i}),"undefined"!=typeof fbq&&Zj(n).length>0){var l="<Account_Creation>"===Zj(n)?"N/A":r;fbq("trackCustom",Zj(n),{content_category:t,content_name:n,content_label:l})}var c=function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""){case"Favorite Lot":return"client_portal__favoriteLot_click";case"Follow Maker":return"client_portal__followMaker_success";case"Submitted Consignment":return"submitted_consignment";case"Advance Bid Clicks":return"place_advance_bid";case"Newsletter Sign-Ups":return"newsletter_subscribe";default:return null}}(n);c&&Jj.trackActivity({data:[{event_name:c,event_time:Date.now(),action_source:"website",user_data:{em:[s]}}]})},eN=function(e){var t,n,r,o,i=e.language,a=Fj(i),s=(t=Xe((0,l.useState)("default"),2),n=t[0],r=t[1],o=function(){var e=Bj(Uj().mark((function e(t,n){return Uj().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r("loading");try{Qj({eventCategory:"Newsletter Sign-Ups",eventAction:"Newsletter Sign-Ups",eventLabel:""})}catch(e){console.log("err",e)}return e.prev=2,e.next=5,fetch("/SaveEmailSignup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t})});case 5:if(e.sent.ok){e.next=8;break}throw new Error("Subscription failed");case 8:r("success"),n.reset(),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),r("error");case 15:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(t,n){return e.apply(this,arguments)}}(),{state:n,subscribe:function(e){e.preventDefault();var t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries()),a=null==i?void 0:i.email,s=t[0];if(""!==a){if(!(e=>/(.+)@(.+){2,}\.(.+){2,}/i.test(e))(a))return r("invalid"),void s.focus();o(a,t),console.log("Form submitted for email -",null==i?void 0:i.email)}else s.focus()}}),c=s.state,d=s.subscribe,f=function(e,t){var n=e({label:"subscribeToNewsletter"}),r=React.createElement("div",null,React.createElement("div",null,e({label:"footerSubscribeDescription"}))),o=e({label:"emailLabel"}),i=e("success"===t?{label:"footerSubscribeSuccess"}:{label:"submit"}),a=e({label:"footerSubscribeLoading"});return{title:n,blurb:r,inputLabelText:o,buttonText:i,inputPlaceholder:"example@email.com",validEmailError:e({label:"validEmailError"}),loadingString:a,successText:e({label:"signUpThanks"}),emailAgreement:e({label:"emailAgreement"})}}(a,c);return c===ky.Success?u().createElement(Cf,{variant:xf.heading3},f.successText):u().createElement(Py,{title:f.title,blurb:f.blurb,inputLabelText:f.inputLabelText,buttonText:f.buttonText,inputPlaceholder:f.inputPlaceholder,subscriptionState:c,invalidText:f.validEmailError,successText:f.successText,loadingText:f.loadingString,privacyText:f.emailAgreement,onSubmit:d})};eN.propTypes={language:I().string.isRequired};var tN=eN,nN=function(e,t){return u().createElement("ul",null,u().createElement("li",null,u().createElement("a",{href:e("/about")},t({label:"ourHistory"}))),u().createElement("li",null,u().createElement("a",{href:e("/team")},t({label:"ourTeam"}))),u().createElement("li",null,u().createElement("a",{href:e("/location")},t({label:"locations"}))),u().createElement("li",null,u().createElement("a",{href:e("/press")},t({label:"press"}))),u().createElement("li",null,u().createElement("a",{href:e("/careers")},t({label:"careers"}))),u().createElement("li",null,u().createElement("a",{href:e("/sitemap")},t({label:"siteMap"}))))},rN=function(e,t){return u().createElement("ul",null,u().createElement("li",null,u().createElement("a",{href:e("/buysell/buy")},t({label:"howToBuy"}))),u().createElement("li",null,u().createElement("a",{href:e("/buysell/sell")},t({label:"howToSell"}))),u().createElement("li",null,u().createElement("a",{href:e("/buysell/private")},t({label:"privateServices"}))),u().createElement("li",null,u().createElement("a",{href:e("/professional-advisor-services")},t({label:"professionalAdvisorServices"}))),u().createElement("li",null,u().createElement("a",{href:e("/fiduciaryservices")},t({label:"fiduciaryServices"}))))},oN=function(e,t){return u().createElement("ul",null,u().createElement("li",null,u().createElement("a",{href:e("/about/privacy")},t({label:"privacyPolicy"}))),u().createElement("li",null,u().createElement("a",{href:e("/about/cookiepolicy")},t({label:"cookiePolicyLabel"}))),u().createElement("li",null,u().createElement("a",{href:e("/about/modernslaverypolicy")},t({label:"modernSlaveryPolicy"}))))},iN=function(){var e=(0,l.useRef)(null),t=A((function(e){return e})),n=t.language,r=t.location,o=Xe((0,l.useState)(!1),2),i=o[0],a=o[1],s=Xe((0,l.useState)(!1),2),c=s[0],d=s[1],f=Xe((0,l.useState)(!1),2),p=f[0],h=f[1],m=function(e){return function(t){var n="/"===t&&"en"===e?"/":t.replace(/\/$/g,"");if(n.indexOf("/article/")>-1){var r=n.split("/").filter((function(e){return e.length>0})),o=r[r.indexOf("article")+1];if($j.indexOf(o)>-1)switch(o){case"58561057":return"zh"===e?n.replace("58561057/auction-bidding-anywhere","65563948/bids-anywhere-cn/zh"):"".concat(n);case"69138631":return"zh"===e?n.replace("69138631/2021-office-gallery-closures-procedures","70020146/2021-office-gallery-closures-procedures-cn/zh"):"".concat(n)}}var i=n.split("?");return 2===i.length?"en"===e?"".concat(i[0],"?").concat(i[1]):"".concat(i[0],"/").concat(e,"?").concat(i[1]):"en"===e?"".concat(i[0]):"".concat(i[0],"/").concat(e)}}(n),g=R(),v=Fj(n);!function(e){var t=e.dispatch,n=e.phillipsEvents,r=e.language,o=e.location;(0,l.useEffect)((function(){var e=function(e){t(e)};Wj("Events").then((function(i){n.current=i,n.current.on("update",e),"en"!==r&&"ROUTES_DEFAULT"===o.type&&t({type:"ROUTES_LANGUAGE",payload:{language:r}})})).catch((function(e){return console.error("There was an error fetching phillips.Events: ",e)}))}),[t,r])}({dispatch:g,phillipsEvents:e,language:n,location:r});var y=[{href:"https://www.instagram.com/phillipsauction/",name:"insta",src:"footer-instagram-new",onClick:function(){}},{href:"https://www.linkedin.com/company/phillips/",name:"linkedin",src:"footer-linkedin",onClick:function(){}},{href:"https://weixin.qq.com/r/qDuLk0-EKhJVrQvw9266",name:"wechat",src:"footer-wechat-new",onClick:function(e){e.preventDefault(),d((function(e){return!e}))}},{href:"https://www.xiaohongshu.com/user/profile/611e10a8000000000101ddf7",name:"red",src:"footer-red",onClick:function(e){e.preventDefault(),h((function(e){return!e}))}},{href:"https://www.facebook.com/phillipsauction/",name:"facebook",src:"footer-facebook",onClick:function(){}}];return u().createElement(u().Fragment,null,u().createElement(Ow,null,u().createElement("div",{className:"phillips-footer-desktop"},u().createElement(Cf,{variant:xf.heading4,className:"phillips-footer-desktop__header"},v({label:"aboutUs"})),nN(m,v)),u().createElement("div",{className:"phillips-footer-desktop"},u().createElement(Cf,{variant:xf.heading4,className:"phillips-footer-desktop__header"},v({label:"ourServices"})),rN(m,v)),u().createElement("div",{className:"phillips-footer-desktop"},u().createElement(Cf,{variant:xf.heading4,className:"phillips-footer-desktop__header"},v({label:"policies"})),oN(m,v)),u().createElement(Kr,{className:"phillips-footer-mobile"},u().createElement(Ti,{isLocked:!1,variation:"",label:v({label:"aboutUs"}),key:"accordion-key-about-us",id:"accordion-item-about-us"},nN(m,v)),u().createElement(Ti,{isLocked:!1,variation:"",label:v({label:"ourServices"}),key:"accordion-key-our-services",id:"accordion-item-our-services"},rN(m,v)),u().createElement(Ti,{isLocked:!1,variation:"",label:v({label:"policies"}),isLastItem:!0,key:"accordion-key-policies",id:"accordion-item-policies"},oN(m,v))),u().createElement(_y,{onSubscribeClick:function(){return a(!0)},titleText:v({label:"subscribeToNewsletter"}),buttonText:v({label:"subscribeToNewsletterAction"})},u().createElement("ul",{className:"phillips-social-desktop"},y.map((function(e){var t=e.href,n=e.name,r=e.src,o=e.onClick;return u().createElement("li",{key:n},u().createElement(Af,{href:t,onClick:o,target:"_blank",rel:"noreferrer",variant:"list"},u().createElement("img",{src:"/images/".concat(r,".svg"),alt:n,title:n})))}))),u().createElement("ul",{className:"phillips-social-mobile"},y.map((function(e){var t=e.href,n=e.name,r=e.src;return u().createElement("li",{key:n},u().createElement(Af,{href:t,onClick:function(){return{}},target:"_blank",rel:"noreferrer",variant:"list"},u().createElement("img",{src:"/images/".concat(r,".svg"),alt:n,title:n})))}))),u().createElement(nc,{isOpen:i,onClose:function(){return a(!1)},id:"subscribe-drawer"},u().createElement(tN,{language:n})))),c?u().createElement(Rj,{customClasses:["phillips-modal__qrcode"],hideModal:function(){return d(!1)}},u().createElement("div",{id:"qr-code",className:"show"},u().createElement("div",{id:"qr-code-image-wechat"}))):null,p?u().createElement(Rj,{customClasses:["phillips-modal__qrcode"],hideModal:function(){return h(!1)}},u().createElement("div",{id:"qr-code",className:"show"},u().createElement("div",{id:"qr-code-image-red"}))):null)},aN=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"ROUTES_DEFAULT":case"ROUTES_FILTERSORT":case"ROUTES_FILTER":case"ROUTES_SORT":return"en"===e?e:"en";case"ROUTES_LANGUAGE":case"ROUTES_FILTERSORT_LANGUAGE":case"ROUTES_FILTER_LANGUAGE":case"ROUTES_SORT_LANGUAGE":return e===r.language?e:r.language;default:return e}},sN={ROUTES_DEFAULT:"/",ROUTES_LANGUAGE:"/:language"},lN={ROUTES_DEFAULT:"/:saleType/:saleNumber",ROUTES_LANGUAGE:"/:saleType/:saleNumber/:language",ROUTES_PREVIEW_CURATED:"/:saleType/:saleNumber?previewCuratedAuction=true",ROUTES_FILTER:"/:saleType/:saleNumber/filter/:filter",ROUTES_FILTER_LANGUAGE:"/:saleType/:saleNumber/filter/:filter/:language",ROUTES_SORT:"/:saleType/:saleNumber/sort/:sort",ROUTES_SORT_LANGUAGE:"/:saleType/:saleNumber/sort/:sort/:language",ROUTES_FILTERSORT:"/:saleType/:saleNumber/filter/:filter/sort/:sort",ROUTES_FILTERSORT_LANGUAGE:"/:saleType/:saleNumber/filter/:filter/sort/:sort/:language"},cN={ROUTES_DEFAULT:"",ROUTES_LETTER:"/:letter",ROUTES_LANGUAGE:"/:letter/:language"};n(15954);function uN(e){var t=e.replace(/[\s!'()*.,?/@#$%^&+_={};:<>"~`]/g,"-");return(t=t.replace(/-+/g,"-")).endsWith("-")&&(t=t.substring(0,t.length-1)),t.toLowerCase()}var dN={ROUTES_DEFAULT:{path:"/:makerName/:saleNumber/:lotNumberFull",toPath:function(e,t){return"makerName"===t?uN(e).toLowerCase():e}},ROUTES_NO_MAKER:{path:"/:saleNumber/:lotNumberFull"},ROUTES_LANGUAGE:{path:"/:makerName/:saleNumber/:lotNumberFull/:language",toPath:function(e,t){return"makerName"===t?uN(e).toLowerCase():e}}},fN={ROUTES_DEFAULT:"/",ROUTES_LANGUAGE:"/:language",ROUTES_FILTER:"/filter/:filter",ROUTES_FILTER_LANGUAGE:"/filter/:filter/:language",ROUTES_SORT:"/sort/:sort",ROUTES_SORT_LANGUAGE:"/sort/:sort/:language",ROUTES_FILTERSORT:"/filter/:filter/sort/:sort",ROUTES_FILTERSORT_LANGUAGE:"/filter/:filter/sort/:sort/:language"},pN=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/").filter((function(e){return e.length>0}));return{routes:fN,options:{basename:"galleryone"===t[0].toLowerCase()?"/".concat(t[0],"/").concat(t[1]):"/".concat(t[0]),initialEntries:[e],initialDispatch:!1}}},hN={ROUTES_DEFAULT:"/",ROUTES_LANGUAGE:"/:language",ROUTES_FILTER:"/filter/:filter",ROUTES_FILTER_LANGUAGE:"/filter/:filter/:language",ROUTES_SORT:"/sort/:sort",ROUTES_SORT_LANGUAGE:"/sort/:sort/:language",ROUTES_FILTERSORT:"/filter/:filter/sort/:sort",ROUTES_FILTERSORT_LANGUAGE:"/filter/:filter/sort/:sort/:language"},mN=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/").filter((function(e){return e.length>0}));return{routes:hN,options:{basename:"/".concat(t[0],"/").concat(t[1]),initialEntries:[e]}}},gN={ROUTES_DEFAULT:"/",ROUTES_LANGUAGE:"/:language",ROUTES_FILTER:"/feed/filter/:filter",ROUTES_FILTER_LANGUAGE:"/feed/filter/:filter/:language",ROUTES_INIT:"/feed",ROUTES_INIT_LANGUAGE:"/feed/:language",ROUTES_SORT:"/feed/sort/:sort",ROUTES_SORT_LANGUAGE:"/feed/sort/:sort/:language",ROUTES_FILTERSORT:"/feed/filter/:filter/sort/:sort",ROUTES_FILTERSORT_LANGUAGE:"/feed/filter/:filter/sort/:sort/:language"},vN=function(e){return{routes:gN,options:{basename:"/editorial",initialEntries:[e],initialDispatch:!1}}},yN={ROUTES_DEFAULT:"/",ROUTES_LANGUAGE:"/:language"},wN=/(\/zh\/?)$/g,bN=function(e){var t=Xe(e.split(wN),1)[0];switch(e){case e.indexOf(["/artists/"])>-1:return{routes:cN,options:{basename:"/artists",initialEntries:[e],initialDispatch:!1}};case e.indexOf("/auctions/")>-1:return{routes:lN,options:{basename:"/auctions",initialEntries:[e],initialDispatch:!1}};case e.indexOf(["/detail/"])>-1:return{routes:dN,options:{basename:e,initialEntries:[e],initialDispatch:!1}};case["/","/zh"].indexOf(e)>-1:return{routes:sN,options:{basename:"/",initialEntries:[e],initialDispatch:!1}};case e.indexOf("/store/")>-1:return mN(e);case e.indexOf("galleryone")>-1:return pN(e);case e.indexOf("/editorial")>-1:return vN(e);default:return{routes:yN,options:{basename:t,initialEntries:[e],initialDispatch:!1}}}},xN=function(e){var t=e.language,n=e.location,r=bN(n),o=r.routesMap,i=r.options,a=Ye({language:aN},{language:t},o,i);return u().createElement(_,{store:a},u().createElement(iN,null))};xN.propTypes={language:I().string.isRequired,location:I().string.isRequired}},16951:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},31280:function(e,t,n){var r;!function(o,i){"use strict";var a=function(e){if("object"!=typeof e.document)throw new Error("Cookies.js requires a `window` with a `document` object");var t=function(e,n,r){return 1===arguments.length?t.get(e):t.set(e,n,r)};return t._document=e.document,t._cacheKeyPrefix="cookey.",t._maxExpireDate=new Date("Fri, 31 Dec 9999 23:59:59 UTC"),t.defaults={path:"/",secure:!1},t.get=function(e){t._cachedDocumentCookie!==t._document.cookie&&t._renewCache();var n=t._cache[t._cacheKeyPrefix+e];return n===i?i:decodeURIComponent(n)},t.set=function(e,n,r){return(r=t._getExtendedOptions(r)).expires=t._getExpiresDate(n===i?-1:r.expires),t._document.cookie=t._generateCookieString(e,n,r),t},t.expire=function(e,n){return t.set(e,i,n)},t._getExtendedOptions=function(e){return{path:e&&e.path||t.defaults.path,domain:e&&e.domain||t.defaults.domain,expires:e&&e.expires||t.defaults.expires,secure:e&&e.secure!==i?e.secure:t.defaults.secure}},t._isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t._getExpiresDate=function(e,n){if(n=n||new Date,"number"==typeof e?e=e===1/0?t._maxExpireDate:new Date(n.getTime()+1e3*e):"string"==typeof e&&(e=new Date(e)),e&&!t._isValidDate(e))throw new Error("`expires` parameter cannot be converted to a valid Date instance");return e},t._generateCookieString=function(e,t,n){var r=(e=(e=e.replace(/[^#$&+\^`|]/g,encodeURIComponent)).replace(/\(/g,"%28").replace(/\)/g,"%29"))+"="+(t=(t+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent));return r+=(n=n||{}).path?";path="+n.path:"",r+=n.domain?";domain="+n.domain:"",r+=n.expires?";expires="+n.expires.toUTCString():"",r+=n.secure?";secure":""},t._getCacheFromString=function(e){for(var n={},r=e?e.split("; "):[],o=0;o<r.length;o++){var a=t._getKeyValuePairFromCookieString(r[o]);n[t._cacheKeyPrefix+a.key]===i&&(n[t._cacheKeyPrefix+a.key]=a.value)}return n},t._getKeyValuePairFromCookieString=function(e){var t=e.indexOf("=");t=t<0?e.length:t;var n,r=e.substr(0,t);try{n=decodeURIComponent(r)}catch(e){console&&"function"==typeof console.error&&console.error('Could not decode cookie with key "'+r+'"',e)}return{key:n,value:e.substr(t+1)}},t._renewCache=function(){t._cache=t._getCacheFromString(t._document.cookie),t._cachedDocumentCookie=t._document.cookie},t._areEnabled=function(){var e="cookies.js",n="1"===t.set(e,1).get(e);return t.expire(e),n},t.enabled=t._areEnabled(),t},s=o&&"object"==typeof o.document?a(o):a;(r=function(){return s}.call(t,n,t,e))===i||(e.exports=r)}("undefined"==typeof window?this:window)},45956:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},85048:function(e,t,n){var r=n(96940),o=n(76482);void 0===o.PhillipsFooter&&(o.PhillipsFooter=r),e.exports=r},76482:function(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},35319:function(e,t,n){var r;!function(o){"use strict";function i(e){var t=e&&e.Promise||o.Promise,n=e&&e.XMLHttpRequest||o.XMLHttpRequest,r=o;return function(){var e=Object.create(r,{fetch:{value:void 0,writable:!0}});return function(e){if(!e.fetch){var r="URLSearchParams"in e,o="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in e,s="ArrayBuffer"in e;if(s)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=function(e){return e&&DataView.prototype.isPrototypeOf(e)},u=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};g.prototype.append=function(e,t){e=p(e),t=h(t);var n=this.map[e];this.map[e]=n?n+","+t:t},g.prototype.delete=function(e){delete this.map[p(e)]},g.prototype.get=function(e){return e=p(e),this.has(e)?this.map[e]:null},g.prototype.has=function(e){return this.map.hasOwnProperty(p(e))},g.prototype.set=function(e,t){this.map[p(e)]=h(t)},g.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},g.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),m(e)},g.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),m(e)},g.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),m(e)},o&&(g.prototype[Symbol.iterator]=g.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];S.prototype.clone=function(){return new S(this,{body:this._bodyInit})},x.call(S.prototype),x.call(C.prototype),C.prototype.clone=function(){return new C(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},C.error=function(){var e=new C(null,{status:0,statusText:""});return e.type="error",e};var f=[301,302,303,307,308];C.redirect=function(e,t){if(-1===f.indexOf(t))throw new RangeError("Invalid status code");return new C(null,{status:t,headers:{location:e}})},e.Headers=g,e.Request=S,e.Response=C,e.fetch=function(e,r){return new t((function(t,o){var a=new S(e,r),s=new n;s.onload=function(){var e,n,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",n=new g,e.split(/\r?\n/).forEach((function(e){var t=e.split(":"),r=t.shift().trim();if(r){var o=t.join(":").trim();n.append(r,o)}})),n)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;t(new C(o,r))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.open(a.method,a.url,!0),"include"===a.credentials&&(s.withCredentials=!0),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),s.send(void 0===a._bodyInit?null:a._bodyInit)}))},e.fetch.polyfill=!0}function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function h(e){return"string"!=typeof e&&(e=String(e)),e}function m(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function g(e){this.map={},e instanceof g?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function v(e){if(e.bodyUsed)return t.reject(new TypeError("Already read"));e.bodyUsed=!0}function y(e){return new t((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function w(e){var t=new FileReader,n=y(t);return t.readAsArrayBuffer(e),n}function b(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(i&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(a&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(r&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(s&&i&&c(e))this._bodyArrayBuffer=b(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!s||!ArrayBuffer.prototype.isPrototypeOf(e)&&!u(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=b(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return t.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return t.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return t.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||t.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var e,n,r,o=v(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,n=new FileReader,r=y(n),n.readAsText(e),r;if(this._bodyArrayBuffer)return t.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return t.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}function S(e,t){var n,r,o=(t=t||{}).body;if(e instanceof S){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new g(e.headers)),this.method=e.method,this.mode=e.mode,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new g(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),d.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function E(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function C(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new g(t.headers),this.url=t.url||"",this._initBody(e)}}(void 0!==e?e:this),{fetch:e.fetch,Headers:e.Headers,Request:e.Request,Response:e.Response}}()}void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}("undefined"==typeof self?this:self)},2396:function(e,t,n){"use strict";var r=n(80261),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},72701:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},93508:function(e){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},8284:function(e){e.exports=function(e){return e.split("")}},9243:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},31482:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},84742:function(e){e.exports=function(e){return e}},81308:function(e,t,n){var r=n(31482);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},86937:function(e,t,n){var r=n(81308),o=n(68344),i=n(16966),a=n(12832);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},2925:function(e,t,n){var r=n(93508),o=n(59510),i=n(22431),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},68344:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},84612:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},16966:function(e,t,n){var r=n(8284),o=n(68344),i=n(55564);e.exports=function(e){return o(e)?i(e):r(e)}},55564:function(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},47947:function(e){var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+i+s+n+r+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+o+"]",h="(?:"+c+"|"+u+")",m="(?:"+p+"|"+u+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",b=w+y+("(?:\\u200d(?:"+["[^"+t+"]",d,f].join("|")+")"+w+y+")*"),x="(?:"+[l,d,f].join("|")+")"+b,S=RegExp([p+"?"+c+"+"+g+"(?="+[a,p,"$"].join("|")+")",m+"+"+v+"(?="+[a,p+h,"$"].join("|")+")",p+"?"+h+"+"+g,p+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,x].join("|"),"g");e.exports=function(e){return e.match(S)||[]}},25616:function(e,t,n){var r=n(33734),o=n(2925)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},33734:function(e,t,n){var r=n(12832),o=n(4254);e.exports=function(e){return o(r(e).toLowerCase())}},59510:function(e,t,n){var r=n(84742);e.exports=function(e){return null==e?"":r(e)}},15313:function(e){e.exports=function(e){return null===e}},12832:function(e){e.exports=function(e){return e}},4254:function(e,t,n){var r=n(86937)("toUpperCase");e.exports=r},22431:function(e,t,n){var r=n(9243),o=n(84612),i=n(12832),a=n(47947);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},20334:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))n.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},97712:function(e,t,n){var r=n(43225);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(a,p),a=p+d.length,f)s+=f[1];else{var h=e[a],m=n[2],g=n[3],v=n[4],y=n[5],w=n[6],b=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=h&&h!==m,S="+"===w||"*"===w,E="?"===w||"*"===w,C=n[2]||u,A=v||y;r.push({name:g||i++,prefix:m||"",delimiter:C,optional:E,repeat:S,partial:x,asterisk:!!b,pattern:A?c(A):b?".*":"[^"+l(C)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var f=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),a+=p=c.optional?c.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",u(new RegExp("^"+a,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(i(e,n),t,n)}(e,t,n)}},43225:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},23184:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=a(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},90856:function(e,t,n){"use strict";var r=n(7183);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},97598:function(e,t,n){e.exports=n(90856)()},7183:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98985:function(e,t,n){"use strict";var r=n(13182),o=n(20334),i=n(45956);function a(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function l(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function c(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=o({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:i(a),n(i(o),a,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=s(n):e[t]=n,e}),Object.create(null))):r}t.extract=l,t.parse=c,t.stringify=function(e,t){!1===(t=o({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[a(t,e),"[",r,"]"].join(""):[a(t,e),"[",a(r,e),"]=",a(n,e)].join("")};case"bracket":return function(t,n){return null===n?a(t,e):[a(t,e),"[]=",a(n,e)].join("")};default:return function(t,n){return null===n?a(t,e):[a(t,e),"=",a(n,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(r){var o=e[r];if(void 0===o)return"";if(null===o)return a(r,t);if(Array.isArray(o)){var i=[];return o.slice().forEach((function(e){void 0!==e&&i.push(n(r,e,i.length))})),i.join("&")}return a(r,t)+"="+a(o,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:c(l(e),t)}}},54505:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b||e.$$typeof===v)},t.typeOf=x},80261:function(e,t,n){"use strict";e.exports=n(54505)},40291:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},99479:function(e,t,n){"use strict";n(40291)},89094:function(e,t,n){"use strict";var r=n(41594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},36870:function(e,t,n){"use strict";e.exports=n(89094)},81107:function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},t.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},t.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},7176:function(e,t,n){"use strict";t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(51199)),i=s(n(88552)),a=n(42344);function s(e){return e&&e.__esModule?e:{default:e}}t.createLocation=function(e,t,n,i){var s=void 0;"string"==typeof e?(s=(0,a.parsePath)(e)).state=t:(void 0===(s=r({},e)).pathname&&(s.pathname=""),s.search?"?"!==s.search.charAt(0)&&(s.search="?"+s.search):s.search="",s.hash?"#"!==s.hash.charAt(0)&&(s.hash="#"+s.hash):s.hash="",void 0!==t&&void 0===s.state&&(s.state=t));try{s.pathname=decodeURI(s.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+s.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(s.key=n),i?s.pathname?"/"!==s.pathname.charAt(0)&&(s.pathname=(0,o.default)(s.pathname,i.pathname)):s.pathname=i.pathname:s.pathname||(s.pathname="/"),s},t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,i.default)(e.state,t.state)}},42344:function(e,t){"use strict";t.__esModule=!0;t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e};var n=t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};t.stripBasename=function(e,t){return n(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},50234:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=d(n(1609)),a=d(n(72701)),s=n(7176),l=n(42344),c=d(n(80346)),u=n(81107);function d(e){return e&&e.__esModule?e:{default:e}}var f="popstate",p="hashchange",h=function(){try{return window.history.state||{}}catch(e){return{}}};t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.default)(u.canUseDOM,"Browser history needs a DOM");var t=window.history,n=(0,u.supportsHistory)(),d=!(0,u.supportsPopStateOnHashChange)(),m=e.forceRefresh,g=void 0!==m&&m,v=e.getUserConfirmation,y=void 0===v?u.getConfirmation:v,w=e.keyLength,b=void 0===w?6:w,x=e.basename?(0,l.stripTrailingSlash)((0,l.addLeadingSlash)(e.basename)):"",S=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return(0,i.default)(!x||(0,l.hasBasename)(a,x),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+x+'".'),x&&(a=(0,l.stripBasename)(a,x)),(0,s.createLocation)(a,r,n)},E=function(){return Math.random().toString(36).substr(2,b)},C=(0,c.default)(),A=function(e){o($,e),$.length=t.length,C.notifyListeners($.location,$.action)},T=function(e){(0,u.isExtraneousPopstateEvent)(e)||N(S(e.state))},O=function(){N(S(h()))},j=!1,N=function(e){if(j)j=!1,A();else{C.confirmTransitionTo(e,"POP",y,(function(t){t?A({action:"POP",location:e}):_(e)}))}},_=function(e){var t=$.location,n=P.indexOf(t.key);-1===n&&(n=0);var r=P.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(j=!0,R(o))},k=S(h()),P=[k.key],M=function(e){return x+(0,l.createPath)(e)},R=function(e){t.go(e)},D=0,L=function(e){1===(D+=e)?((0,u.addEventListener)(window,f,T),d&&(0,u.addEventListener)(window,p,O)):0===D&&((0,u.removeEventListener)(window,f,T),d&&(0,u.removeEventListener)(window,p,O))},I=!1,$={length:t.length,action:"POP",location:k,createHref:M,push:function(e,o){(0,i.default)(!("object"===(void 0===e?"undefined":r(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var a="PUSH",l=(0,s.createLocation)(e,o,E(),$.location);C.confirmTransitionTo(l,a,y,(function(e){if(e){var r=M(l),o=l.key,s=l.state;if(n)if(t.pushState({key:o,state:s},null,r),g)window.location.href=r;else{var c=P.indexOf($.location.key),u=P.slice(0,-1===c?0:c+1);u.push(l.key),P=u,A({action:a,location:l})}else(0,i.default)(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}}))},replace:function(e,o){(0,i.default)(!("object"===(void 0===e?"undefined":r(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var a="REPLACE",l=(0,s.createLocation)(e,o,E(),$.location);C.confirmTransitionTo(l,a,y,(function(e){if(e){var r=M(l),o=l.key,s=l.state;if(n)if(t.replaceState({key:o,state:s},null,r),g)window.location.replace(r);else{var c=P.indexOf($.location.key);-1!==c&&(P[c]=l.key),A({action:a,location:l})}else(0,i.default)(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}}))},go:R,goBack:function(){return R(-1)},goForward:function(){return R(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.setPrompt(e);return I||(L(1),I=!0),function(){return I&&(I=!1,L(-1)),t()}},listen:function(e){var t=C.appendListener(e);return L(1),function(){L(-1),t()}}};return $}},18241:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=u(n(1609)),a=u(n(72701)),s=n(42344),l=n(7176),c=u(n(80346));function u(e){return e&&e.__esModule?e:{default:e}}var d=function(e,t,n){return Math.min(Math.max(e,t),n)},f=!("undefined"==typeof window||void 0===window.confirm),p=function(e,t){return(0,a.default)(f,"Environment needs a window + window.confirm function. You can provideyour own confirmation UI via the getUserConfirmation option."),t(window.confirm(e))};t.A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=void 0===t?p:t,a=e.initialEntries,u=void 0===a?["/"]:a,f=e.initialIndex,h=void 0===f?0:f,m=e.keyLength,g=void 0===m?6:m,v=e.basename?(0,s.stripTrailingSlash)((0,s.addLeadingSlash)(e.basename)):"",y=(0,c.default)(),w=function(e){o(A,e),A.length=A.entries.length,y.notifyListeners(A.location,A.action)},b=function(){return Math.random().toString(36).substr(2,g)},x=d(h,0,u.length-1),S=function(e){return v?(0,s.stripBasename)(e,v):e},E=u.map((function(e){return"string"==typeof e?(0,l.createLocation)(S(e),void 0,b()):(0,l.createLocation)(S(e),void 0,e.key||b())})),C=function(e){var t=d(A.index+e,0,A.entries.length-1),r=A.entries[t];y.confirmTransitionTo(r,"POP",n,(function(e){e?w({action:"POP",location:r,index:t}):w()}))},A={length:E.length,action:"POP",location:E[x],index:x,entries:E,createHref:function(e){return v+(0,s.createPath)(e)},push:function(e,t){(0,i.default)(!("object"===(void 0===e?"undefined":r(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var o="PUSH",a=(0,l.createLocation)(S(e),t,b(),A.location);y.confirmTransitionTo(a,o,n,(function(e){if(e){var t=A.index+1,n=A.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),w({action:o,location:a,index:t,entries:n})}}))},replace:function(e,t){(0,i.default)(!("object"===(void 0===e?"undefined":r(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var o="REPLACE",a=(0,l.createLocation)(S(e),t,b(),A.location);y.confirmTransitionTo(a,o,n,(function(e){e&&(A.entries[A.index]=a,w({action:o,location:a}))}))},go:C,goBack:function(){return C(-1)},goForward:function(){return C(1)},canGo:function(e){var t=A.index+e;return t>=0&&t<A.entries.length},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return y.setPrompt(e)},listen:function(e){return y.appendListener(e)}};return A}},80346:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(1609),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){var e=null,t=[];return{setPrompt:function(t){return(0,i.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):((0,i.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}},51199:function(e,t,n){"use strict";function r(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.r(t),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&r(e),s=t&&r(t),l=a||s;if(e&&r(e)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var c=void 0;if(i.length){var u=i[i.length-1];c="."===u||".."===u||""===u}else c=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!l)for(;d--;d)i.unshift("..");!l||""===i[0]||i[0]&&r(i[0])||i.unshift("");var h=i.join("/");return c&&"/"!==h.substr(-1)&&(h+="/"),h}},88552:function(e,t,n){"use strict";n.r(t);var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var o=void 0===t?"undefined":r(t);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var s=Object.keys(t),l=Object.keys(n);return s.length===l.length&&s.every((function(r){return e(t[r],n[r])}))}return!1}},64516:function(e,t,n){"use strict";t.compileParamsToPath=t.compilePath=void 0;var r,o=n(97712),i=(r=o)&&r.__esModule?r:{default:r};var a={},s=0,l=t.compilePath=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.end,r=void 0===n||n,o=t.strict,l=(r?"t":"f")+(void 0!==o&&o?"t":"f"),c=a[l]||(a[l]={});if(c[e])return c[e];var u=[],d={re:(0,i.default)(e,u,t),keys:u};return s<1e4&&(c[e]=d,s++),d},c={};t.compileParamsToPath=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=c[e]||i.default.compile(e);return c[e]=n,n(t)}},13182:function(e){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},15954:function(){String.prototype.endsWith||function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),t={}.toString,n=function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,o=String(e),i=o.length,a=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(a=s?Number(s):0)!=a&&(a=0)}var l=Math.min(Math.max(a,0),r)-i;if(l<0)return!1;for(var c=-1;++c<i;)if(n.charCodeAt(l+c)!=o.charCodeAt(c))return!1;return!0};e?e(String.prototype,"endsWith",{value:n,configurable:!0,writable:!0}):String.prototype.endsWith=n}()},76785:function(e,t,n){"use strict";var r=n(41594);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},92462:function(e,t,n){"use strict";var r=n(41594),o=n(73634);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var p=a(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},73634:function(e,t,n){"use strict";e.exports=n(76785)},61100:function(e,t,n){"use strict";e.exports=n(92462)},1609:function(e){"use strict";e.exports=function(){}},41594:function(e){"use strict";e.exports=React},59541:function(e,t,n){var r=n(30998).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),a=new M(r||[]);return s(i,"_invoke",{value:N(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var m="suspendedStart",g="suspendedYield",v="executing",y="completed",w={};function b(){}function x(){}function S(){}var E={};f(E,c,(function(){return this}));var C=Object.getPrototypeOf,A=C&&C(C(R([])));A&&A!==i&&a.call(A,c)&&(E=A);var T=S.prototype=b.prototype=Object.create(E);function O(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,s,l){var c=h(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function N(e,n,r){var o=m;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=_(s,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var c=h(e,n,r);if("normal"===c.type){if(o=r.done?y:g,c.arg===w)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,w;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,w):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,w)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function R(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return x.prototype=S,s(T,"constructor",{value:S,configurable:!0}),s(S,"constructor",{value:x,configurable:!0}),x.displayName=f(S,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,f(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},n.awrap=function(e){return{__await:e}},O(j.prototype),f(j.prototype,u,(function(){return this})),n.AsyncIterator=j,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new j(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(T),f(T,d,"Generator"),f(T,c,(function(){return this})),f(T,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=R,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),w}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},30998:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},66192:function(e,t,n){var r=n(59541)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e].call(i.exports,i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,function(){"use strict";o(85048)}()}();
//# sourceMappingURL=phillipsFooter.bundle.js.map
