PageSourceSearch

https://frontend.assets.timetreeapp.com/assets/useDesktop-DT1L4YnD.js

js timetreeapp.com collected 2026-10-01 11:49:58 UTC 145,054 bytes, 11 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`c4890495cc0f2c676a88d39157b936836159a858`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:timetree":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f0faafa1-6d2a-4a47-b92e-346c1cfd4028`,e._sentryDebugIdIdentifier=`sentry-dbid-f0faafa1-6d2a-4a47-b92e-346c1cfd4028`)}catch{}})();import{a as e,i as t,n,r,t as i}from"./rolldown-runtime-CY0Fc9z2.js";import{_t as a}from"./ttfont.css-CZ-u2wYw.js";import{h as o,r as s,t as c}from"./clsx-BXb_WIzi.js";import{ot as l}from"./mutation-CNi4Glc0.js";import{$n as u,Xn as d,Yn as f,Zn as p,_a as m,_s as h,m as g,vs as _,ys as v}from"./getLocation-O-hPJisY.js";/* empty css                 */function y(e){return function t(n,r,i){switch(arguments.length){case 0:return t;case 1:return v(n)?t:h(function(t,r){return e(n,t,r)});case 2:return v(n)&&v(r)?t:v(n)?h(function(t,n){return e(t,r,n)}):v(r)?h(function(t,r){return e(n,t,r)}):_(function(t){return e(n,r,t)});default:return v(n)&&v(r)&&v(i)?t:v(n)&&v(r)?h(function(t,n){return e(t,n,i)}):v(n)&&v(i)?h(function(t,n){return e(t,r,n)}):v(r)&&v(i)?h(function(t,r){return e(n,t,r)}):v(n)?_(function(t){return e(t,r,i)}):v(r)?_(function(t){return e(n,t,i)}):v(i)?_(function(t){return e(n,r,t)}):e(n,r,i)}}}function b(e){return Object.prototype.toString.call(e)===`[object Number]`}var x=h(function(e,t){if(!(b(e)&&b(t)))throw TypeError(`Both arguments to range must be numbers`);for(var n=e<t?Math.ceil(t-e):0,r=Array(n),i=0;i<n;)r[i]=i+e,i+=1;return r}),S=h(function(e,t){var n=Number(t);if(n<0||isNaN(n))throw RangeError(`n must be a non-negative number`);for(var r=0,i=Array(n);r<n;)i[r]=e(r),r+=1;return i}),C=s(),w=e(o(),1),T=(0,w.createContext)({dragDropManager:void 0});function E(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 D=(function(){return typeof Symbol==`function`&&Symbol.observable||`@@observable`})(),O=function(){return Math.random().toString(36).substring(7).split(``).join(`.`)},k={INIT:`@@redux/INIT`+O(),REPLACE:`@@redux/REPLACE`+O(),PROBE_UNKNOWN_ACTION:function(){return`@@redux/PROBE_UNKNOWN_ACTION`+O()}};function ee(e){if(typeof e!=`object`||!e)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function A(e,t,n){var r;if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(E(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(E(1));return n(A)(e,t)}if(typeof e!=`function`)throw Error(E(2));var i=e,a=t,o=[],s=o,c=!1;function l(){s===o&&(s=o.slice())}function u(){if(c)throw Error(E(3));return a}function d(e){if(typeof e!=`function`)throw Error(E(4));if(c)throw Error(E(5));var t=!0;return l(),s.push(e),function(){if(t){if(c)throw Error(E(6));t=!1,l();var n=s.indexOf(e);s.splice(n,1),o=null}}}function f(e){if(!ee(e))throw Error(E(7));if(e.type===void 0)throw Error(E(8));if(c)throw Error(E(9));try{c=!0,a=i(a,e)}finally{c=!1}for(var t=o=s,n=0;n<t.length;n++){var r=t[n];r()}return e}function p(e){if(typeof e!=`function`)throw Error(E(10));i=e,f({type:k.REPLACE})}function m(){var e,t=d;return e={subscribe:function(e){if(typeof e!=`object`||!e)throw Error(E(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}},e[D]=function(){return this},e}return f({type:k.INIT}),r={dispatch:f,subscribe:d,getState:u,replaceReducer:p},r[D]=m,r}function j(e,t,...n){if(te()&&t===void 0)throw Error(`invariant requires an error message argument`);if(!e){let e;if(t===void 0)e=Error(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{let r=0;e=Error(t.replace(/%s/g,function(){return n[r++]})),e.name=`Invariant Violation`}throw e.framesToPop=1,e}}function te(){return typeof process<`u`&&!0}function ne(e,t,n){return t.split(`.`).reduce((e,t)=>
vendor: 45,040 bytes, lines 1-2
1e&&e[t]?e[t]:n||null,e)}function re(e,t){return e.filter(e=>e!==t)}function ie(e){return typeof e==`object`}function ae(e,t){let n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);let i=[];return n.forEach((e,t)=>{e===1&&i.push(t)}),i}function oe(e,t){return e.filter(e=>t.indexOf(e)>-1)}var se=`dnd-core/INIT_COORDS`,ce=`dnd-core/BEGIN_DRAG`,le=`dnd-core/PUBLISH_DRAG_SOURCE`,ue=`dnd-core/HOVER`,M=`dnd-core/DROP`,de=`dnd-core/END_DRAG`;function fe(e,t){return{type:se,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}var pe={type:se,payload:{clientOffset:null,sourceClientOffset:null}};function me(e){return function(t=[],n={publishSource:!0}){let{publishSource:r=!0,clientOffset:i,getSourceClientOffset:a}=n,o=e.getMonitor(),s=e.getRegistry();e.dispatch(fe(i)),he(t,o,s);let c=ve(t,o);if(c==null){e.dispatch(pe);return}let l=null;if(i){if(!a)throw Error(`getSourceClientOffset must be defined`);ge(a),l=a(c)}e.dispatch(fe(i,l));let u=s.getSource(c).beginDrag(o,c);return u==null?void 0:(_e(u),s.pinSource(c),{type:ce,payload:{itemType:s.getSourceType(c),item:u,sourceId:c,clientOffset:i||null,sourceClientOffset:l||null,isSourcePublic:!!r}})}}function he(e,t,n){j(!t.isDragging(),`Cannot call beginDrag while dragging.`),e.forEach(function(e){j(n.getSource(e),`Expected sourceIds to be registered.`)})}function ge(e){j(typeof e==`function`,`When clientOffset is provided, getSourceClientOffset must be a function.`)}function _e(e){j(ie(e),`Item must be an object.`)}function ve(e,t){let n=null;for(let r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ye(e,t,n[t])})}return e}function N(e){return function(t={}){let n=e.getMonitor(),r=e.getRegistry();xe(n),we(n).forEach((i,a)=>{let o={type:M,payload:{dropResult:be({},t,Se(i,a,r,n))}};e.dispatch(o)})}}function xe(e){j(e.isDragging(),`Cannot call drop while not dragging.`),j(!e.didDrop(),`Cannot call drop twice during one drag operation.`)}function Se(e,t,n,r){let i=n.getTarget(e),a=i?i.drop(r,e):void 0;return Ce(a),a===void 0&&(a=t===0?{}:r.getDropResult()),a}function Ce(e){j(e===void 0||ie(e),`Drop result must either be an object or undefined.`)}function we(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function Te(e){return function(){let t=e.getMonitor(),n=e.getRegistry();Ee(t);let r=t.getSourceId();return r!=null&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:de}}}function Ee(e){j(e.isDragging(),`Cannot call endDrag while not dragging.`)}function De(e,t){return t===null?e===null:Array.isArray(e)?e.some(e=>e===t):e===t}function Oe(e){return function(t,{clientOffset:n}={}){ke(t);let r=t.slice(0),i=e.getMonitor(),a=e.getRegistry();return je(r,a,i.getItemType()),Ae(r,i,a),Me(r,i,a),{type:ue,payload:{targetIds:r,clientOffset:n||null}}}}function ke(e){j(Array.isArray(e),`Expected targetIds to be an array.`)}function Ae(e,t,n){j(t.isDragging(),`Cannot call hover while not dragging.`),j(!t.didDrop(),`Cannot call hover after drop.`);for(let t=0;t<e.length;t++){let r=e[t];j(e.lastIndexOf(r)===t,`Expected targetIds to be unique in the passed array.`),j(n.getTarget(r),`Expected targetIds to be registered.`)}}function je(e,t,n){for(let r=e.length-1;r>=0;r--){let i=e[r];De(t.getTargetType(i),n)||e.splice(r,1)}}function Me(e,t,n){e.forEach(function(e){n.getTarget(e).hover(t,e)})}function Ne(e){return function(){if(e.getMonitor().isDragging())return{type:le}}}function Pe(e){return{beginDrag:me(e),publishDragSource:Ne(e),hover:Oe(e),drop:N(e),endDrag:Te(e)}}var Fe=class{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){let e=this,{dispatch:t}=this.store;function n(n){return(...r)=>{let i=n.apply(e,r);i!==void 0&&t(i)}}let r=Pe(this);return Object.keys(r).reduce((e,t)=>{let i=r[t];return e[t]=n(i),e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}};function Ie(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Le(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Re(e){let{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:r}=e;return!t||!n||!r?null:Le(Ie(t,r),n)}function ze(e){let{clientOffset:t,initialClientOffset:n}=e;return!t||!n?null:Le(t,n)}var Be=[],Ve=[];Be.__IS_NONE__=!0,Ve.__IS_ALL__=!0;function He(e,t){return e===Be?!1:e===Ve||t===void 0||oe(t,e).length>0}var Ue=class{subscribeToStateChange(e,t={}){let{handlerIds:n}=t;j(typeof e==`function`,`listener must be a function.`),j(n===void 0||Array.isArray(n),`handlerIds, when specified, must be an array of strings.`);let r=this.store.getState().stateId;return this.store.subscribe(()=>{let t=this.store.getState(),i=t.stateId;try{i===r||i===r+1&&!He(t.dirtyHandlerIds,n)||e()}finally{r=i}})}subscribeToOffsetChange(e){j(typeof e==`function`,`listener must be a function.`);let t=this.store.getState().dragOffset;return this.store.subscribe(()=>{let n=this.store.getState().dragOffset;n!==t&&(t=n,e())})}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return j(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return j(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop()?!1:De(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return j(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic()||this.registry.getSourceType(e)!==this.getItemType()?!1:t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:n}=t;if(!this.isDragging())return!1;let r=this.registry.getTargetType(e),i=this.getItemType();if(i&&!De(r,i))return!1;let a=this.getTargetIds();if(!a.length)return!1;let o=a.indexOf(e);return n?o===a.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return Re(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return ze(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}},We=typeof global<`u`?global:self,Ge=We.MutationObserver||We.WebKitMutationObserver;function Ke(e){return function(){let t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}function qe(e){let t=1,n=new Ge(e),r=document.createTextNode(``);return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}var Je=typeof Ge==`function`?qe:Ke,Ye=class{enqueueTask(e){let{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=Je(this.flush),this.requestErrorThrow=Ke(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},Xe=class{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}},Ze=class{create(e){let t=this.freeTasks,n=t.length?t.pop():new Xe(this.onError,e=>t[t.length]=e);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}},Qe=new Ye,$e=new Ze(Qe.registerPendingError);function et(e){Qe.enqueueTask($e.create(e))}var tt=`dnd-core/ADD_SOURCE`,nt=`dnd-core/ADD_TARGET`,rt=`dnd-core/REMOVE_SOURCE`,it=`dnd-core/REMOVE_TARGET`;function at(e){return{type:tt,payload:{sourceId:e}}}function ot(e){return{type:nt,payload:{targetId:e}}}function st(e){return{type:rt,payload:{sourceId:e}}}function ct(e){return{type:it,payload:{targetId:e}}}function lt(e){j(typeof e.canDrag==`function`,`Expected canDrag to be a function.`),j(typeof e.beginDrag==`function`,`Expected beginDrag to be a function.`),j(typeof e.endDrag==`function`,`Expected endDrag to be a function.`)}function ut(e){j(typeof e.canDrop==`function`,`Expected canDrop to be a function.`),j(typeof e.hover==`function`,`Expected hover to be a function.`),j(typeof e.drop==`function`,`Expected beginDrag to be a function.`)}function dt(e,t){if(t&&Array.isArray(e)){e.forEach(e=>dt(e,!1));return}j(typeof e==`string`||typeof e==`symbol`,t?`Type can only be a string, a symbol, or an array of either.`:`Type can only be a string or a symbol.`)}var P;(function(e){e.SOURCE=`SOURCE`,e.TARGET=`TARGET`})(P||={});var ft=0;function pt(){return ft++}function mt(e){let t=pt().toString();switch(e){case P.SOURCE:return`S${t}`;case P.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}function ht(e){switch(e[0]){case`S`:return P.SOURCE;case`T`:return P.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function gt(e,t){let n=e.entries(),r=!1;do{let{done:e,value:[,i]}=n.next();if(i===t)return!0;r=!!e}while(!r);return!1}var _t=class{addSource(e,t){dt(e),lt(t);let n=this.addHandler(P.SOURCE,e,t);return this.store.dispatch(at(n)),n}addTarget(e,t){dt(e,!0),ut(t);let n=this.addHandler(P.TARGET,e,t);return this.store.dispatch(ot(n)),n}containsHandler(e){return gt(this.dragSources,e)||gt(this.dropTargets,e)}getSource(e,t=!1){return j(this.isSourceId(e),`Expected a valid source ID.`),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return j(this.isTargetId(e),`Expected a valid target ID.`),this.dropTargets.get(e)}getSourceType(e){return j(this.isSourceId(e),`Expected a valid source ID.`),this.types.get(e)}getTargetType(e){return j(this.isTargetId(e),`Expected a valid target ID.`),this.types.get(e)}isSourceId(e){return ht(e)===P.SOURCE}isTargetId(e){return ht(e)===P.TARGET}removeSource(e){j(this.getSource(e),`Expected an existing source.`),this.store.dispatch(st(e)),et(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){j(this.getTarget(e),`Expected an existing target.`),this.store.dispatch(ct(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);j(t,`Expected an existing source.`),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){j(this.pinnedSource,`No source is pinned at the time.`),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){let r=mt(e);return this.types.set(r,t),e===P.SOURCE?this.dragSources.set(r,n):e===P.TARGET&&this.dropTargets.set(r,n),r}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}},vt=(e,t)=>e===t;function yt(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function bt(e,t,n=vt){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}function xt(e=Be,t){switch(t.type){case ue:break;case tt:case nt:case it:case rt:return Be;case ce:case le:case de:case M:default:return Ve}let{targetIds:n=[],prevTargetIds:r=[]}=t.payload,i=ae(n,r);if(!(i.length>0||!bt(n,r)))return Be;let a=r[r.length-1],o=n[n.length-1];return a!==o&&(a&&i.push(a),o&&i.push(o)),i}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){St(e,t,n[t])})}return e}var wt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Tt(e=wt,t){let{payload:n}=t;switch(t.type){case se:case ce:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case ue:return yt(e.clientOffset,n.clientOffset)?e:Ct({},e,{clientOffset:n.clientOffset});case de:case M:return wt;default:return e}}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Et(e,t,n[t])})}return e}var Ot={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function kt(e=Ot,t){let{payload:n}=t;switch(t.type){case ce:return Dt({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case le:return Dt({},e,{isSourcePublic:!0});case ue:return Dt({},e,{targetIds:n.targetIds});case it:return e.targetIds.indexOf(n.targetId)===-1?e:Dt({},e,{targetIds:re(e.targetIds,n.targetId)});case M:return Dt({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case de:return Dt({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function At(e=0,t){switch(t.type){case tt:case nt:return e+1;case rt:case it:return e-1;default:return e}}function jt(e=0){return e+1}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Mt(e,t,n[t])})}return e}function Pt(e={},t){return{dirtyHandlerIds:xt(e.dirtyHandlerIds,{type:t.type,payload:Nt({},t.payload,{prevTargetIds:ne(e,`dragOperation.targetIds`,[])})}),dragOffset:Tt(e.dragOffset,t),refCount:At(e.refCount,t),dragOperation:kt(e.dragOperation,t),stateId:jt(e.stateId)}}function Ft(e,t=void 0,n={},r=!1){let i=It(r),a=new Fe(i,new Ue(i,new _t(i))),o=e(a,t,n);return a.receiveBackend(o),a}function It(e){let t=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__;return A(Pt,e&&t&&t({name:`dnd-core`,instanceId:`dnd-core`}))}function Lt(e,t){if(e==null)return{};var n=Rt(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rt(e,t){if(e==null)return{};for(var n={},r=Object.keys(e),i,a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var zt=0,Bt=Symbol.for(`__REACT_DND_CONTEXT_INSTANCE__`),Vt=(0,w.memo)(function(e){var{children:t}=e;let[n,r]=Ht(Lt(e,[`children`]));return(0,w.useEffect)(()=>{if(r){let e=Wt();return++zt,()=>{--zt===0&&(e[Bt]=null)}}},[]),(0,C.jsx)(T.Provider,{value:n,children:t})});function Ht(e){return`manager`in e?[{dragDropManager:e.manager},!1]:[Ut(e.backend,e.context,e.options,e.debugMode),!e.context]}function Ut(e,t=Wt(),n,r){let i=t;return i[Bt]||(i[Bt]={dragDropManager:Ft(e,t,n,r)}),i[Bt]}function Wt(){return typeof global<`u`?global:window}var Gt=e(i(((e,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}}))(),1),Kt=typeof window<`u`?w.useLayoutEffect:w.useEffect;function qt(e,t,n){let[r,i]=(0,w.useState)(()=>t(e)),a=(0,w.useCallback)(()=>{let a=t(e);(0,Gt.default)(r,a)||(i(a),n&&n())},[r,e,n]);return Kt(a),[r,a]}function Jt(e,t,n){let[r,i]=qt(e,t,n);return Kt(function(){let t=e.getHandlerId();if(t!=null)return e.subscribeToStateChange(i,{handlerIds:[t]})},[e,i]),r}function Yt(e,t,n){return Jt(t,e||(()=>({})),()=>n.reconnect())}function Xt(e,t){let n=[...t||[]];return t==null&&typeof e!=`function`&&n.push(e),(0,w.useMemo)(()=>typeof e==`function`?e():e,n)}function Zt(e){return(0,w.useMemo)(()=>e.hooks.dragSource(),[e])}function Qt(e){return(0,w.useMemo)(()=>e.hooks.dragPreview(),[e])}var $t=!1,en=!1,tn=class{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){j(!$t,`You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor`);try{return $t=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{$t=!1}}isDragging(){if(!this.sourceId)return!1;j(!en,`You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor`);try{return en=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{en=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}},nn=!1,rn=class{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;j(!nn,`You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor`);try{return nn=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{nn=!1}}isOver(e){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,e):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}};function an(e,t,n){let r=n.getRegistry(),i=r.addTarget(e,t);return[i,()=>r.removeTarget(i)]}function on(e,t,n){let r=n.getRegistry(),i=r.addSource(e,t);return[i,()=>r.removeSource(i)]}function sn(e,t,n,r){let i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;let s=Object.prototype.hasOwnProperty.bind(t);for(let o=0;o<a.length;o++){let c=a[o];if(!s(c))return!1;let l=e[c],u=t[c];if(i=n?n.call(r,l,u,c):void 0,i===!1||i===void 0&&l!==u)return!1}return!0}function cn(e){return typeof e==`object`&&!!e&&Object.prototype.hasOwnProperty.call(e,`current`)}function ln(e){if(typeof e.type==`string`)return;let t=e.type.displayName||e.type.name||`the component`;throw Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}function un(e){return(t=null,n=null)=>{if(!(0,w.isValidElement)(t)){let r=t;return e(r,n),r}let r=t;return ln(r),pn(r,n?t=>e(t,n):e)}}function dn(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];if(n.endsWith(`Ref`))t[n]=e[n];else{let e=un(r);t[n]=()=>e}}),t}function fn(e,t){typeof e==`function`?e(t):e.current=t}function pn(e,t){let n=e.ref;return j(typeof n!=`string`,`Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs`),n?(0,w.cloneElement)(e,{ref:e=>{fn(n,e),fn(t,e)}}):(0,w.cloneElement)(e,{ref:t})}var mn=class{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){let e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){let e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(e=!1){let t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!sn(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!sn(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&=(this.dragSourceUnsubscribe(),void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=dn({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,cn(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,cn(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}},hn=class{get connectTarget(){return this.dropTarget}reconnect(){let e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();let t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!sn(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&=(this.unsubscribeDropTarget(),void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=dn({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,cn(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}};function gn(){let{dragDropManager:e}=(0,w.useContext)(T);return j(e!=null,`Expected drag drop context`),e}function _n(e,t){let n=gn(),r=(0,w.useMemo)(()=>new mn(n.getBackend()),[n]);return Kt(()=>(r.dragSourceOptions=e||null,r.reconnect(),()=>r.disconnectDragSource()),[r,e]),Kt(()=>(r.dragPreviewOptions=t||null,r.reconnect(),()=>r.disconnectDragPreview()),[r,t]),r}function vn(){let e=gn();return(0,w.useMemo)(()=>new tn(e),[e])}var yn=class{beginDrag(){let e=this.spec,t=this.monitor,n=null;return n=typeof e.item==`object`?e.item:typeof e.item==`function`?e.item(t):{},n??null}canDrag(){let e=this.spec,t=this.monitor;return typeof e.canDrag==`boolean`?e.canDrag:typeof e.canDrag!=`function`||e.canDrag(t)}isDragging(e,t){let n=this.spec,r=this.monitor,{isDragging:i}=n;return i?i(r):t===e.getSourceId()}endDrag(){let e=this.spec,t=this.monitor,n=this.connector,{end:r}=e;r&&r(t.getItem(),t),n.reconnect()}constructor(e,t,n){this.spec=e,this.monitor=t,this.connector=n}};function bn(e,t,n){let r=(0,w.useMemo)(()=>new yn(e,t,n),[t,n]);return(0,w.useEffect)(()=>{r.spec=e},[e]),r}function xn(e){return(0,w.useMemo)(()=>{let t=e.type;return j(t!=null,`spec.type must be defined`),t},[e])}function Sn(e,t,n){let r=gn(),i=bn(e,t,n),a=xn(e);Kt(function(){if(a!=null){let[e,o]=on(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o}},[r,t,n,i,a])}function Cn(e,t){let n=Xt(e,t);j(!n.begin,`useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)`);let r=vn(),i=_n(n.options,n.previewOptions);return Sn(n,r,i),[Yt(n.collect,r,i),Zt(i),Qt(i)]}function wn(e){return(0,w.useMemo)(()=>e.hooks.dropTarget(),[e])}function Tn(e){let t=gn(),n=(0,w.useMemo)(()=>new hn(t.getBackend()),[t]);return Kt(()=>(n.dropTargetOptions=e||null,n.reconnect(),()=>n.disconnectDropTarget()),[e]),n}function En(){let e=gn();return(0,w.useMemo)(()=>new rn(e),[e])}function Dn(e){let{accept:t}=e;return(0,w.useMemo)(()=>(j(e.accept!=null,`accept must be defined`),Array.isArray(t)?t:[t]),[t])}var On=class{canDrop(){let e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){let e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){let e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}};function kn(e,t){let n=(0,w.useMemo)(()=>new On(e,t),[t]);return(0,w.useEffect)(()=>{n.spec=e},[e]),n}function An(e,t,n){let r=gn(),i=kn(e,t),a=Dn(e);Kt(function(){let[e,o]=an(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o},[r,t,i,n,a.map(e=>e.toString()).join(`|`)])}function jn(e,t){let n=Xt(e,t),r=En(),i=Tn(n.options);return An(n,r,i),[Yt(n.collect,r,i),wn(i)]}function Mn(e){let t=null;return()=>(t??=e(),t)}function Nn(e,t){return e.filter(e=>e!==t)}function Pn(e,t){let n=new Set,r=e=>n.add(e);e.forEach(r),t.forEach(r);let i=[];return n.forEach(e=>i.push(e)),i}var Fn=class{enter(e){let t=this.entered.length,n=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e));return this.entered=Pn(this.entered.filter(n),[e]),t===0&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=Nn(this.entered.filter(this.isNodeInDocument),e),t>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}},In=class{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(n=>{let r=this.config.exposeProperties[n];r!=null&&(t[n]={value:r(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}},Ln=r({FILE:()=>Rn,HTML:()=>Vn,TEXT:()=>Bn,URL:()=>zn}),Rn=`__NATIVE_FILE__`,zn=`__NATIVE_URL__`,Bn=`__NATIVE_TEXT__`,Vn=`__NATIVE_HTML__`;function Hn(e,t,n){return t.reduce((t,n)=>t||e.getData(n),``)??n}var Un={[Rn]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:[`Files`]},[Vn]:{exposeProperties:{html:(e,t)=>Hn(e,t,``),dataTransfer:e=>e},matchesTypes:[`Html`,`text/html`]},[zn]:{exposeProperties:{urls:(e,t)=>Hn(e,t,``).split(`
2`),dataTransfer:e=>e},matchesTypes:[`Url`,`text/uri-list`]},[Bn]:{exposeProperties:{text:(e,t)=>Hn(e,t,``),dataTransfer:e=>e},matchesTypes:[`Text`,`text/plain`]}};function Wn(e,t){let n=Un[e];if(!n)throw Error(`native type ${e} has no configuration`);let r=new In(n);return r.loadDataTransfer(t),r}function Gn(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(Un).filter(e=>{let n=Un[e];return n?.matchesTypes?n.matchesTypes.some(e=>t.indexOf(e)>-1):!1})[0]||null}var Kn=Mn(()=>/firefox/i.test(navigator.userAgent)),qn=Mn(()=>!!window.safari),Jn=class{interpolate(e){let{xs:t,ys:n,c1s:r,c2s:i,c3s:a}=this,o=t.length-1;if(e===t[o])return n[o];let s=0,c=a.length-1,l;for(;s<=c;){l=Math.floor(.5*(s+c));let r=t[l];if(r<e)s=l+1;else if(r>e)c=l-1;else return n[l]}o=Math.max(0,c);let u=e-t[o],d=u*u;return n[o]+r[o]*u+i[o]*d+a[o]*u*d}constructor(e,t){let{length:n}=e,r=[];for(let e=0;e<n;e++)r.push(e);r.sort((t,n)=>e[t]<e[n]?-1:1);let i=[],a=[],o=[],s,c;for(let r=0;r<n-1;r++)s=e[r+1]-e[r],c=t[r+1]-t[r],a.push(s),i.push(c),o.push(c/s);let l=[o[0]];for(let e=0;e<a.length-1;e++){let t=o[e],n=o[e+1];if(t*n<=0)l.push(0);else{s=a[e];let r=a[e+1],i=s+r;l.push(3*i/((i+r)/t+(i+s)/n))}}l.push(o[o.length-1]);let u=[],d=[],f;for(let e=0;e<l.length-1;e++){f=o[e];let t=l[e],n=1/a[e],r=t+l[e+1]-f-f;u.push((f-t-r)*n),d.push(r*n*n)}this.xs=e,this.ys=t,this.c1s=l,this.c2s=u,this.c3s=d}},Yn=1;function Xn(e){let t=e.nodeType===Yn?e:e.parentElement;if(!t)return null;let{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function Zn(e){return{x:e.clientX,y:e.clientY}}function Qn(e){return e.nodeName===`IMG`&&(Kn()||!document.documentElement?.contains(e))}function $n(e,t,n,r){let i=e?t.width:n,a=e?t.height:r;return qn()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}function er(e,t,n,r,i){let a=Qn(t),o=Xn(a?e:t),s={x:n.x-o.x,y:n.y-o.y},{offsetWidth:c,offsetHeight:l}=e,{anchorX:u,anchorY:d}=r,{dragPreviewWidth:f,dragPreviewHeight:p}=$n(a,t,c,l),m=()=>{let e=new Jn([0,.5,1],[s.y,s.y/l*p,s.y+p-l]).interpolate(d);return qn()&&a&&(e+=(window.devicePixelRatio-1)*p),e},h=()=>new Jn([0,.5,1],[s.x,s.x/c*f,s.x+f-c]).interpolate(u),{offsetX:g,offsetY:_}=i,v=g===0||g,y=_===0||_;return{x:v?g:h(),y:y?_:m()}}var tr=class{get window(){if(this.globalContext)return this.globalContext;if(typeof window<`u`)return window}get document(){if(this.globalContext?.document)return this.globalContext.document;if(this.window)return this.window.document}get rootElement(){return this.optionsArgs?.rootElement||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}};function nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){nr(e,t,n[t])})}return e}var ir=class{profile(){return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:this.dragStartSourceIds?.length||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:this.dragOverTargetIds?.length||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw Error(`Cannot have two HTML5 backends at the same time.`);e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;(t=this.window)==null||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,n){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);let r=t=>this.handleDragStart(t,e),i=e=>this.handleSelectStart(e);return t.setAttribute(`draggable`,`true`),t.addEventListener(`dragstart`,r),t.addEventListener(`selectstart`,i),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener(`dragstart`,r),t.removeEventListener(`selectstart`,i),t.setAttribute(`draggable`,`false`)}}connectDropTarget(e,t){let n=t=>this.handleDragEnter(t,e),r=t=>this.handleDragOver(t,e),i=t=>this.handleDrop(t,e);return t.addEventListener(`dragenter`,n),t.addEventListener(`dragover`,r),t.addEventListener(`drop`,i),()=>{t.removeEventListener(`dragenter`,n),t.removeEventListener(`dragover`,r),t.removeEventListener(`drop`,i)}}addEventListeners(e){e.addEventListener&&(e.addEventListener(`dragstart`,this.handleTopDragStart),e.addEventListener(`dragstart`,this.handleTopDragStartCapture,!0),e.addEventListener(`dragend`,this.handleTopDragEndCapture,!0),e.addEventListener(`dragenter`,this.handleTopDragEnter),e.addEventListener(`dragenter`,this.handleTopDragEnterCapture,!0),e.addEventListener(`dragleave`,this.handleTopDragLeaveCapture,!0),e.addEventListener(`dragover`,this.handleTopDragOver),e.addEventListener(`dragover`,this.handleTopDragOverCapture,!0),e.addEventListener(`drop`,this.handleTopDrop),e.addEventListener(`drop`,this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener(`dragstart`,this.handleTopDragStart),e.removeEventListener(`dragstart`,this.handleTopDragStartCapture,!0),e.removeEventListener(`dragend`,this.handleTopDragEndCapture,!0),e.removeEventListener(`dragenter`,this.handleTopDragEnter),e.removeEventListener(`dragenter`,this.handleTopDragEnterCapture,!0),e.removeEventListener(`dragleave`,this.handleTopDragLeaveCapture,!0),e.removeEventListener(`dragover`,this.handleTopDragOver),e.removeEventListener(`dragover`,this.handleTopDragOverCapture,!0),e.removeEventListener(`drop`,this.handleTopDrop),e.removeEventListener(`drop`,this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return rr({dropEffect:this.altKeyPressed?`copy`:`move`},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?`copy`:this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return rr({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(Ln).some(t=>Ln[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=Wn(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>this.rootElement?.addEventListener(`mousemove`,this.endDragIfSourceWasRemovedFromDOM,!0),1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)==null||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener(`mousemove`,this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||=[],this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&Xn(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;e==null||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{this.hoverRafId===null&&typeof requestAnimationFrame<`u`&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<`u`&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let n=Zn(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});let{dataTransfer:r}=e,i=Gn(r);if(this.monitor.isDragging()){if(r&&typeof r.setDragImage==`function`){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),i=this.sourcePreviewNodes.get(e)||t;if(i){let{anchorX:e,anchorY:a,offsetX:o,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),c=er(t,i,n,{anchorX:e,anchorY:a},{offsetX:o,offsetY:s});r.setDragImage(i,c.x,c.y)}}try{r?.setData(`application/json`,{})}catch{}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(i)this.beginDragNativeItem(i);else if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute(`draggable`)))return;else e.preventDefault()},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;(t=this.currentNativeSource)==null||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:n}=e,r=Gn(n);r&&this.beginDragNativeItem(r,n)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:Zn(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;(t=this.currentNativeSource)==null||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`none`);return}this.altKeyPressed=e.altKey,this.lastClientOffset=Zn(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`none`))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),(t=this.currentNativeSource)==null||t.loadDataTransfer(e.dataTransfer)}else Gn(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:Zn(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(
2),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;typeof t.dragDrop==`function`&&(t.tagName===`INPUT`||t.tagName===`SELECT`||t.tagName===`TEXTAREA`||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new tr(t,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new Fn(this.isNodeInDocument)}},ar=function(e,t,n){return new ir(e,t,n)},or=(0,w.createContext)({});function sr(e){let t=(0,w.useRef)(null);return t.current===null&&(t.current=e()),t.current}var cr=typeof window<`u`?w.useLayoutEffect:w.useEffect,lr=(0,w.createContext)(null);function ur(e,t){e.indexOf(t)===-1&&e.push(t)}function dr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var fr=(e,t,n)=>n>t?t:n<e?e:n,pr=()=>{},mr=()=>{},hr={},gr=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),_r=e=>typeof e==`object`&&!!e,vr=e=>/^0[^.\s]+$/u.test(e);function yr(e){let t;return()=>(t===void 0&&(t=e()),t)}var br=e=>e,xr=class{constructor(){this.subscriptions=[]}add(e){return ur(this.subscriptions,e),()=>dr(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Sr=e=>e*1e3,Cr=e=>e/1e3,wr=(e,t)=>t?1e3/t*e:0,Tr=e=>Array.isArray(e)&&typeof e[0]==`number`,Er=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Dr(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Or=40;function kr(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Er.reduce((e,t)=>(e[t]=Dr(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=hr.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Or),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Er.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Er.length;t++)o[Er[t]].cancel(e)},state:i,steps:o}}var{schedule:Ar,cancel:jr,state:Mr,steps:Nr}=kr(typeof requestAnimationFrame<`u`?requestAnimationFrame:br,!0),Pr;function Fr(){Pr=void 0}var Ir={now:()=>(Pr===void 0&&Ir.set(Mr.isProcessing||hr.useManualTiming?Mr.timestamp:performance.now()),Pr),set:e=>{Pr=e,queueMicrotask(Fr)}},Lr=e=>t=>typeof t==`string`&&t.startsWith(e),Rr=Lr(`--`),zr=Lr(`var(--`),Br=e=>zr(e)?Vr.test(e.split(`/*`)[0].trim()):!1,Vr=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Hr(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Ur={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Wr={...Ur,transform:e=>fr(0,1,e)},Gr={...Ur,default:1},Kr=e=>Math.round(e*1e5)/1e5,qr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Jr(e){return e==null}var Yr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Xr=(e,t)=>n=>!!(typeof n==`string`&&Yr.test(n)&&n.startsWith(e)||t&&!Jr(n)&&Object.prototype.hasOwnProperty.call(n,t)),Zr=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(qr);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Qr=e=>fr(0,255,e),$r={...Ur,transform:e=>Math.round(Qr(e))},ei={test:Xr(`rgb`,`red`),parse:Zr(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+$r.transform(e)+`, `+$r.transform(t)+`, `+$r.transform(n)+`, `+Kr(Wr.transform(r))+`)`};function ti(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
2a:i?parseInt(i,16)/255:1}}var ni={test:Xr(`#`),parse:ti,transform:ei.transform},ri=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),F=ri(`deg`),I=ri(`%`),L=ri(`px`),ii=ri(`vh`),ai=ri(`vw`),oi={...I,parse:e=>I.parse(e)/100,transform:e=>I.transform(e*100)},si={test:Xr(`hsl`,`hue`),parse:Zr(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+I.transform(Kr(t))+`, `+I.transform(Kr(n))+`, `+Kr(Wr.transform(r))+`)`},R={test:e=>ei.test(e)||ni.test(e)||si.test(e),parse:e=>ei.test(e)?ei.parse(e):si.test(e)?si.parse(e):ni.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?ei.transform(e):si.transform(e),getAnimatableNone:e=>{let t=R.parse(e);return t.alpha=0,R.transform(t)}},ci=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function li(e){return isNaN(e)&&typeof e==`string`&&(e.match(qr)?.length||0)+(e.match(ci)?.length||0)>0}var ui=`number`,di=`color`,fi=`var`,pi=`var(`,mi="${}",hi=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function gi(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(hi,e=>(R.test(e)?(r.color.push(a),i.push(di),n.push(R.parse(e))):e.startsWith(pi)?(r.var.push(a),i.push(fi),n.push(e)):(r.number.push(a),i.push(ui),n.push(parseFloat(e))),++a,mi)).split(mi),indexes:r,types:i}}function _i(e){return gi(e).values}function vi({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===ui?Kr(r[a]):e===di?R.transform(r[a]):r[a]}return i}}function yi(e){return vi(gi(e))}var bi=e=>typeof e==`number`?0:R.test(e)?R.getAnimatableNone(e):e,xi=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:bi(e);function Si(e){let t=gi(e);return vi(t)(t.values.map((e,n)=>xi(e,t.split[n])))}var z={test:li,parse:_i,createTransformer:yi,getAnimatableNone:Si},Ci=(e,t,n)=>e+(t-e)*n,wi=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Ti=e=>e!==null;function Ei(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Ti),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Di=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}};function Oi(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var B=e=>e*180/Math.PI,ki=e=>ji(B(Math.atan2(e[1],e[0]))),Ai={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ki,rotateZ:ki,skewX:e=>B(Math.atan(e[1])),skewY:e=>B(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ji=e=>(e%=360,e<0&&(e+=360),e),Mi=ki,Ni=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Pi=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Fi={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ni,scaleY:Pi,scale:e=>(Ni(e)+Pi(e))/2,rotateX:e=>ji(B(Math.atan2(e[6],e[5]))),rotateY:e=>ji(B(Math.atan2(-e[2],e[0]))),rotateZ:Mi,rotate:Mi,skewX:e=>B(Math.atan(e[4])),skewY:e=>B(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ii(e){return+!!e.includes(`scale`)}function Li(e,t){if(!e||e===`none`)return Ii(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Fi,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Ai,i=t}if(!i)return Ii(t);let a=r[t],o=i[1].split(`,`).map(zi);return typeof a==`function`?a(o):o[a]}var Ri=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Li(n,t)};function zi(e){return parseFloat(e.trim())}var Bi=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Vi=new Set([...Bi,`pathRotation`]),Hi=e=>e===Ur||e===L,Ui=new Set([`x`,`y`,`z`]),Wi=Bi.filter(e=>!Ui.has(e));function Gi(e){let t=[];
2return Wi.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ki={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Li(t,`x`),y:(e,{transform:t})=>Li(t,`y`)};Ki.translateX=Ki.x,Ki.translateY=Ki.y;var V=new Set,qi=!1,Ji=!1,Yi=!1;function Xi(){if(Ji){let e=Array.from(V).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Gi(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Ji=!1,qi=!1,V.forEach(e=>e.complete(Yi)),V.clear()}function Zi(){V.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ji=!0)})}function Qi(){Yi=!0,Zi(),Xi(),Yi=!1}var $i=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(V.add(this),qi||(qi=!0,Ar.read(Zi),Ar.resolveKeyframes(Xi))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Oi(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),V.delete(this)}cancel(){this.state===`scheduled`&&(V.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},ea=e=>e.startsWith(`--`);function ta(e,t,n){ea(t)?e.style.setProperty(t,n):e.style[t]=n}var na={};function ra(e,t){let n=yr(e);return()=>na[t]??n()}var ia=ra(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),aa=ra(()=>{try{document.createElement(`div`).animate({opacity:0}
2,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),oa=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,sa={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:oa([0,.65,.55,1]),circOut:oa([.55,0,1,.45]),backIn:oa([.31,.01,.66,-.59]),backOut:oa([.33,1.53,.69,.99])};function ca(e,t){if(e)return typeof e==`function`?aa()?wi(e,t):`ease-out`:Tr(e)?oa(e):Array.isArray(e)?e.map(e=>ca(e,t)||sa.easeOut):sa[e]}function la(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=ca(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function ua(e){return typeof e==`function`&&`applyToOptions`in e}function da({type:e,...t}){return ua(e)&&aa()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var fa=class extends Di{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=da(e);this.animation=la(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Ei(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ta(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Cr(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Cr(e)}get time(){return Cr(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Sr(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
2inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ia()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),br):r(this)}},pa=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),ma=30,ha=e=>!isNaN(parseFloat(e)),ga={current:void 0},_a=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Ir.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Ir.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ha(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new xr);let n=this.events[e].add(t);return e===`change`?()=>{n(),Ar.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return ga.current&&ga.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Ir.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>ma)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,ma);return wr(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function va(e,t){return new _a(e,t)}function ya(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ba(e,t,n,r){if(typeof t==`function`){let[i,a]=ya(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ya(r);t=t(n===void 0?e.custom:n,i,a)}return t}var H=e=>!!(e&&e.getVelocity);function xa(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Sa=`data-`+xa(`framerAppearId`),Ca={test:e=>e===`auto`,parse:e=>e},wa=e=>t=>t.test(e),Ta=[Ur,L,I,F,ai,ii,Ca],Ea=e=>Ta.find(wa(e)),Da=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Oa(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(qr)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Da.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var ka=/\b([a-z-]*)\(.*?\)/gu,Aa={...z,getAnimatableNone:e=>{let t=e.match(ka);return t?t.map(Oa).join(` `):e}},ja={...z,getAnimatableNone:e=>{let t=z.parse(e);return z.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Ma={...Ur,transform:Math.round},Na={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,rotate:F,pathRotation:F,rotateX:F,rotateY:F,rotateZ:F,scale:Gr,scaleX:Gr,scaleY:Gr,scaleZ:Gr,skew:F,skewX:F,skewY:F,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:Wr,originX:oi,originY:oi,originZ:L,zIndex:Ma,fillOpacity:Wr,strokeOpacity:Wr,numOctaves:Ma},Pa={...Na,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:
2R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:Aa,WebkitFilter:Aa,mask:ja,WebkitMask:ja},Fa=e=>Pa[e],Ia=new Set([Aa,ja]);function La(e,t){let n=Fa(e);return Ia.has(n)||(n=z),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Ra=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`],za=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Ba(e){return _r(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Va,cancel:Ha}=kr(queueMicrotask,!1),Ua=[...Ta,R,z],Wa=e=>Ua.find(wa(e)),Ga=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ka=()=>({x:Ga(),y:Ga()}),qa=()=>({min:0,max:0}),Ja=()=>({x:qa(),y:qa()}),Ya=new WeakMap;function Xa(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Za(e){return typeof e==`string`||Array.isArray(e)}var Qa=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],$a=[`initial`,...Qa];function eo(e){return Xa(e.animate)||$a.some(t=>Za(e[t]))}function to(e){return!!(eo(e)||e.variants)}function no(e,t,n){for(let r in t){let i=t[r],a=n[r];if(H(i))e.addValue(r,i);else if(H(a))e.addValue(r,va(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,va(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var ro={current:null},io={current:!1},ao=typeof window<`u`;function oo(){if(io.current=!0,ao){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>ro.current=e.matches;e.addEventListener(`change`,t),t()}else ro.current=!1}}var so=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],co={};function lo(e){co=e}function uo(){return co}var fo=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=$i,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=Ir.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Ar.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=eo(t),this.isVariantNode=to(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&H(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Ya.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(io.current||oo(),this.shouldReduceMotion=ro.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),jr(this.notifyUpdate),jr(this.render),this.valueSubscriptions.forEach(e
2=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&pa.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new fa({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Sr(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Vi.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Ar.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in co){let t=co[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ja()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<so.length;t++){let n=so[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=no(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=va(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(gr(n)||vr(n))?n=parseFloat(n):!Wa(n)&&z.test(t)&&(n=La(e,t)),this.setBaseTarget(e,H(n)?n.get():n)),H(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=ba(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!H(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new xr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Va.render(this.render)}},po={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},mo=Bi.length;
2function ho(e,t,n){let r=``,i=!0;for(let a=0;a<mo;a++){let o=Bi[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=za(s,Na[o]);if(!c){i=!1;let t=po[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${za(a,Na.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function go(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Vi.has(e)){o=!0;continue}if(Rr(e)){i[e]=n;continue}{let t=za(n,Na[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ho(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function _o(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vo={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(L.test(e))e=parseFloat(e);else return e}return`${_o(e,t.target.x)}% ${_o(e,t.target.y)}%`}},yo={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=z.parse(e);if(i.length>5)return r;let a=z.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=Ci(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},bo={borderRadius:{...vo,applyTo:[...Ra]},borderTopLeftRadius:vo,borderTopRightRadius:vo,borderBottomLeftRadius:vo,borderBottomRightRadius:vo,boxShadow:yo};function xo(e,{layout:t,layoutId:n}){return Vi.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!bo[e]||e===`opacity`)}function So(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(H(r[t])||i&&H(i[t])||xo(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}var Co={offset:`stroke-dashoffset`,array:`stroke-dasharray`},wo={offset:`strokeDashoffset`,array:`strokeDasharray`};function To(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Co:wo;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Eo=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Do(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(go(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Eo)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&To(d,i,a,o,!1)}var Oo=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function ko(e,t,n){let r=So(e,t,n);for(let n in e)if(H(e[n])||H(t[n])){let t=Bi.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function Ao(e){return H(e)?e.get():e}var jo=(0,w.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Mo(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function No(...e){return t=>{let n=!1,r=e.map(e=>{let r=Mo(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Mo(e[t],null)}}}}function Po(...e){return w.useCallback(No(...e),e)}var Fo=class extends w.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Ba(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Ba(e)&&e.offsetWidth||0,r=Ba(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Io({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,w.useId)(),s=(0,w.useRef)(null),c=(0,w.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,w.useContext)(jo),u=Po(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,w.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
3          [data-motion-pop-id="${o}"] {
4            position: absolute !important;
5            width: ${e}px !important;
6            height: ${u}px !important;
7            ${_}px !important;
8            ${v}px !important;
9          }
10        `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,C.jsx)(Fo,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:w.cloneElement(e,{ref:u})})}var Lo=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=sr(Ro),d=(0,w.useId)(),f=(0,w.useRef)(n),p=(0,w.useRef)(r);cr(()=>{f.current=n,p.current=r});let m=!0,h=(0,w.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,w.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),w.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,C.jsx)(Io,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,C.jsx)(lr.Provider,{value:h,children:e})};function Ro(){return new Map}function zo(e=!0){let t=(0,w.useContext)(lr);
10if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,w.useId)();(0,w.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,w.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Bo=e=>e.key||``;function Vo(e){let t=[];return w.Children.forEach(e,e=>{(0,w.isValidElement)(e)&&t.push(e)}),t}var Ho=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=zo(o),f=(0,w.useMemo)(()=>Vo(e),[e]),p=o&&!u?[]:f.map(Bo),m=(0,w.useRef)(!0),h=(0,w.useRef)(f),g=sr(()=>new Map),_=(0,w.useRef)(new Set),[v,y]=(0,w.useState)(f),[b,x]=(0,w.useState)(f);cr(()=>{m.current=!1,h.current=f;for(let e=0;e<b.length;e++){let t=Bo(b[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[b,p.length,p.join(`-`)]);let S=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){let n=b[t],r=Bo(n);p.includes(r)||(e.splice(t,0,n),S.push(n))}return a===`wait`&&S.length&&(e=S),x(Vo(e)),y(f),null}let{forceRender:T}=(0,w.useContext)(or);return(0,C.jsx)(C.Fragment,{children:b.map(e=>{let v=Bo(e),y=o&&!u?!1:f===b||p.includes(v);return(0,C.jsx)(Lo,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(T?.(),x(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},Uo=(0,w.createContext)({strict:!1}),Wo={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Go=!1;function Ko(){if(Go)return;let e={};for(let t in Wo)e[t]={isEnabled:e=>Wo[t].some(t=>!!e[t])};lo(e),Go=!0}function qo(){return Ko(),uo()}function Jo(e){let t=qo();for(let n in e)t[n]={...t[n],...e[n]};lo(t)}var Yo=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Xo(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Yo.has(e)}var Zo=r({default:()=>Qo}),Qo,$o=n((()=>{throw Qo={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),es=e=>!Xo(e);function ts(e){typeof e==`function`&&(es=t=>t.startsWith(`on`)?!Xo(t):e(t))}try{ts(($o(),t(Zo)).default)}catch{}function ns(e,t,n){let r={};for(let i in e)(i!==`values`||typeof e.values!=`object`)&&(H(e[i])||(es(i)||n===!0&&Xo(i)||!t&&!Xo(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]));return r}var rs=(0,w.createContext)({});function is(e,t){if(eo(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Za(t)?t:void 0,animate:Za(n)?n:void 0}}return e.inherit===!1?{}:t}function as(e){let{initial:t,animate:n}=is(e,(0,w.useContext)(rs));return(0,w.useMemo)(()=>({initial:t,animate:n}),[os(t),os(n)])}function os(e){return Array.isArray(e)?e.join(` `):e}var ss=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cs(e,t,n){for(let r in t)!H(t[r])&&!xo(r,n)&&(e[r]=t[r])}function ls({transformTemplate:e},t){return(0,w.useMemo)(()=>{let n=ss();return go(n,t,e),Object.assign({},n.vars,n.style)},[t])}function us(e,t){let n=e.style||{},r={};return cs(r,n,e),Object.assign(r,ls(e,t)),r}function ds(e,t){let n={},r=us(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}
10`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var fs=()=>({...ss(),attrs:{}});function ps(e,t,n,r){let i=(0,w.useMemo)(()=>{let n=fs();return Do(n,t,Oo(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};cs(t,e.style,e),i.style={...t,...i.style}}return i}var ms=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function hs(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(ms.indexOf(e)>-1||/[A-Z]/u.test(e))}function gs(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??hs(e)?ps:ds)(t,r,i,e),c=ns(t,typeof e==`string`,a),l=e===w.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,w.useMemo)(()=>H(u)?u.get():u,[u]);return(0,w.createElement)(e,{...l,children:d})}function _s({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:vs(n,r,i,e),renderState:t()}}function vs(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Ao(a[e]);let{initial:o,animate:s}=e,c=eo(e),l=to(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Xa(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=ba(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var ys=e=>(t,n)=>{let r=(0,w.useContext)(rs),i=(0,w.useContext)(lr),a=()=>_s(e,t,r,i);return n?a():sr(a)},bs=ys({scrapeMotionValuesFromProps:So,createRenderState:ss}),xs=ys({scrapeMotionValuesFromProps:ko,createRenderState:fs}),Ss=Symbol.for(`motionComponentSymbol`);function Cs(e,t,n){let r=(0,w.useRef)(n);(0,w.useInsertionEffect)(()=>{r.current=n});let i=(0,w.useRef)(null);return(0,w.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var ws=(0,w.createContext)({});function Ts(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Es(e,t,n,r,i,a){let{visualElement:o}=(0,w.useContext)(rs),s=(0,w.useContext)(Uo),c=(0,w.useContext)(lr),l=(0,w.useContext)(jo),u=l.reducedMotion,d=l.skipAnimations,f=(0,w.useRef)(null),p=(0,w.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,w.useContext)(ws);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&Ds(f.current,n,i,h);let g=(0,w.useRef)(!1);(0,w.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[Sa],v=(0,w.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return cr(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,w.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function Ds(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:Os(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&Ts(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Os(e){if(e)return e.options.allowProjection===!1?Os(e.parent):e.projection}function ks(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Jo(r);let a=n?n===`svg`:hs(e),o=a?xs:bs;function s(n,s){let c,l={...(0,w.useContext)(jo),...n,layoutId:As(n)},{isStatic:u}=l,d=as(n),f=o(n,u);if(!u&&typeof window<`u`){js(l,r);let t=Ms(l);c=t.MeasureLayout,d.visualElement=Es(e,f,l,i,t.ProjectionNode,a)}return(0,C.jsxs)(rs.Provider,{value:d,children:[c&&d.visualElement?(0,C.jsx)(c,{visualElement:d.visualElement,...l}):null,gs(e,n,Cs(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,w.forwardRef)(s);return c[Ss]=e,c}function As({layoutId:e}){let t=(0,w.useContext)(or).id;return t&&e!==void 0?t+`-`+e:e}function js(e,t){(0,w.useContext)(Uo).strict}function Ms(e){let{drag:t,layout:n}=qo();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
10function Ns(e,t){return ks(e,t)}var Ps=Ns(`button`),Fs=Ns(`div`),Is=Ns(`li`),Ls=Ns(`span`),Rs=Ns(`ul`),zs=Ns(`rect`),Bs=e(a(),1),Vs=(e,t=null)=>(0,Bs.createPortal)(e,document.body,t);function Hs(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Us(e){var t=Hs(e,`string`);return typeof t==`symbol`?t:String(t)}function Ws(e,t,n){return t=Us(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gs(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 Ks(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Gs(Object(n),!0).forEach(function(t){Ws(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qs(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}var Js=(e,t,n)=>{for(var r of Object.keys(e))if(e[r]!==(t[r]??n[r]))return!1;return!0},Ys=e=>{var t=t=>{var n=e.defaultClassName,r=Ks(Ks({},e.defaultVariants),t);for(var i in r){var a=r[i]??e.defaultVariants[i];if(a!=null){var o=a;typeof o==`boolean`&&(o=o===!0?`true`:`false`);var s=e.variantClassNames[i][o];s&&(n+=` `+s)}}for(var[c,l]of e.compoundVariants)Js(c,r,e.defaultVariants)&&(n+=` `+l);return n};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(` `)[0]},get variants(){return qs(e.variantClassNames,e=>qs(e,e=>e.split(` `)[0]))}},t};function Xs(e){let t=(0,w.useRef)(e);return t.current=e,(0,w.useMemo)(()=>Object.freeze({get current(){return t.current}}),[])}function Zs(e){let t=Xs(e);(0,w.useEffect)(()=>()=>{t.current()},[])}var Qs=()=>{},$s=typeof globalThis<`u`&&typeof navigator<`u`&&typeof document<`u`,ec=(e,t)=>e===t;function tc(e){let t=Xs(e),n=(0,w.useRef)(0),r=(0,w.useCallback)(()=>{$s&&(n.current&&=(cancelAnimationFrame(n.current),0))},[]);return Zs(r),[(0,w.useMemo)(()=>{let i=(...e)=>{$s&&(r(),n.current=requestAnimationFrame(()=>{t.current(...e),n.current=0}))};return Object.defineProperties(i,{length:{value:e.length},name:{value:`${e.name||`anonymous`}__raf`}}),i},[]),r]}function nc(e,t,n){let r=Xs(t),i=Xs(n);return(0,w.useMemo)(()=>{let t=e;return{get current(){return i.current===void 0?t:i.current(t)},set current(e){t=r.current===void 0?e:r.current(e)}}},[])}var rc=new Map;function ic(e){if(!$s)return;let t=rc.get(e);if(t)return t;let n=new Map,r=new ResizeObserver(e=>{for(let t of e){let e=n.get(t.target);if(e!==void 0&&e.size!==0)for(let n of e)setTimeout(()=>{n(t)},0)}}),i={observer:r,subscribe(t,i){let a=n.get(t);a||(a=new Set,n.set(t,a),r.observe(t,{box:e})),a.add(i)},unsubscribe(e,t){let i=n.get(e);i&&(i.delete(t),i.size===0&&(n.delete(e),r.unobserve(e)))}};return rc.set(e,i),i}function ac(e,t,n=!0,r=`content-box`){let i=n&&ic(r),a=Xs(t),o=e&&`current`in e?e.current:e;(0,w.useEffect)(()=>{let t=e&&`current`in e?e.current:e;if(i===!1||i===void 0||t==null)return;let n=!0,r=(...e)=>{n&&a.current(...e)};return i.subscribe(t,r),()=>{n=!1,i.unsubscribe(t,r)}},[o,i])}var oc=e=>({width:e.contentRect.width,height:e.contentRect.height});function sc(e=!0,t=oc,n=`content-box`){let[r,i]=(0,w.useState)(null),a=nc(null,e=>(i(e),e)),[o,s]=(0,w.useState)(),[c]=tc(e=>{s(t(e))});return ac(r,c,e,n),[o,a]}var cc=new Map,lc=e=>{let t=matchMedia(e),n=new Set,r=()=>{for(let e of n)e(t.matches)};return t.addEventListener(`change`,r,{passive:!0}),{mql:t,dispatchers:n,listener:r}},uc=(e,t)=>{let n=cc.get(e);n||(n=lc(e),cc.set(e,n)),n.dispatchers.add(t),t(n.mql.matches)},dc=(e,t)=>{let n=cc.get(e);if(n){let{mql:r,dispatchers:i,listener:a}=n;i.delete(t),i.size===0&&(cc.delete(e),r.removeEventListener(`change`,a))}};function fc(e,t={}){let{initializeWithValue:n=!0}=t;$s||(n=!1);let[r,i]=(0,w.useState)(()=>
10{if(n){let t=cc.get(e);return t||(t=lc(e),cc.set(e,t)),t.mql.matches}});return(0,w.useEffect)(()=>(uc(e,i),()=>{dc(e,i)}),[e]),r}var pc=(e,{formatter:t,lang:n,zone:r})=>{let i=d.fromMillis(e).setLocale(n);return r?i.setZone(r).toFormat(t):i.toFormat(t)},mc=[`ja`,`ko`,`zh-TW`,`zh-CN`],hc=e=>mc.includes(e),gc=e=>e.replace(/[A-Za-z0-9]/g,e=>String.fromCharCode(e.charCodeAt(0)-65248)).replace(/[\s ()().]/g,``),_c=(e,t=!1)=>{switch(e){case`ja`:return t?`yyyy年M月d日(EEE)`:`yyyy年M月d日`;case`ko`:return t?`yyyy년M월d일(EEE)`:`yyyy년M월d일`;case`zh-TW`:return t?`yyyy年M月d日(EEE)`:`yyyy年M月d日`;case`zh-CN`:return t?`yyyy年M月d日(EEE)`:`yyyy年M月d日`;case`de`:return t?`EEE d. MMM yyyy`:`d. MMM yyyy`;default:return t?`EEE, MMM d, yyyy`:`MMM d, yyyy`}},vc=e=>e%7,yc=(e,t)=>hc(t)?d.fromMillis(e).setLocale(t).toLocaleString({year:`numeric`,month:`long`}):pc(e,{formatter:`MMMM, yyyy`,lang:t}),bc=e=>{let t=(0,w.useRef)(null);return(0,w.useEffect)(()=>{let n=n=>{let r=n.target;t.current?.contains(r)||e?.(n)};return l.addEventListener(`click`,n,!1),()=>{l.removeEventListener(`click`,n,!1)}},[e]),t},xc=({dateTime:e,lang:t})=>{let n=e.setLocale(t).toLocaleParts({hour:`numeric`,minute:`numeric`,second:`numeric`,hourCycle:t===`ja`?`h11`:`h12`});return{dayPeriod:n.find(({type:e})=>e===`dayPeriod`)?.value??``,hour:n.find(({type:e})=>e===`hour`)?.value??``,minute:n.find(({type:e})=>e===`minute`)?.value??``,second:n.find(({type:e})=>e===`second`)?.value??``}},Sc=({unixtime:e,lang:t,hour12:n})=>{let r=d.fromMillis(e).setLocale(t);if(!n)return r.toFormat(`H:mm`);if(hc(t)){let{dayPeriod:e,hour:n,minute:i}=xc({dateTime:r,lang:t});return`${e} ${n}:${i}`}return r.toFormat(`h:mm a`)},Cc=w.createContext(),wc=w.createContext();function Tc(e){var t=e.children,n=w.useState(null),r=n[0],i=n[1],a=w.useRef(!1);w.useEffect(function(){return function(){a.current=!0}},[]);var o=w.useCallback(function(e){a.current||i(e)},[]);return w.createElement(Cc.Provider,{value:r},w.createElement(wc.Provider,{value:o},t))}var Ec=function(e){return Array.isArray(e)?e[0]:e},Dc=function(e){if(typeof e==`function`){var t=[...arguments].slice(1);return e.apply(void 0,t)}},Oc=function(e,t){if(typeof e==`function`)return Dc(e,t);e!=null&&(e.current=t)},kc=function(e){return e.reduce(function(e,t){var n=t[0];return e[n]=t[1],e},{})},Ac=typeof window<`u`&&window.document&&window.document.createElement?w.useLayoutEffect:w.useEffect,U=`bottom`,W=`right`,G=`left`,jc=`auto`,Mc=[`top`,U,W,G],Nc=`start`,Pc=`clippingParents`,Fc=`viewport`,Ic=`popper`,Lc=`reference`,Rc=Mc.reduce(function(e,t){return e.concat([t+`-`+Nc,t+`-end`])},[]),zc=[].concat(Mc,[jc]).reduce(function(e,t){return e.concat([t,t+`-`+Nc,t+`-end`])},[]),Bc=[`beforeRead`,`read`,`afterRead`,`beforeMain`,`main`,`afterMain`,`beforeWrite`,`write`,`afterWrite`];function K(e){return e?(e.nodeName||``).toLowerCase():null}function q(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function J(e){return e instanceof q(e).Element||e instanceof Element}function Y(e){return e instanceof q(e).HTMLElement||e instanceof HTMLElement}function Vc(e){return typeof ShadowRoot>`u`?!1:e instanceof q(e).ShadowRoot||e instanceof ShadowRoot}function Hc(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];Y(i)&&K(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function Uc(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});
vendor: 9,227 bytes, line 10
10Y(r)&&K(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var Wc={name:`applyStyles`,enabled:!0,phase:`write`,fn:Hc,effect:Uc,requires:[`computeStyles`]};function X(e){return e.split(`-`)[0]}var Gc=Math.max,Kc=Math.min,qc=Math.round;function Jc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function Yc(){return!/^((?!chrome|android).)*safari/i.test(Jc())}function Xc(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&Y(e)&&(i=e.offsetWidth>0&&qc(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&qc(r.height)/e.offsetHeight||1);var o=(J(e)?q(e):window).visualViewport,s=!Yc()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function Zc(e){var t=Xc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Qc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Z(e){return q(e).getComputedStyle(e)}function $c(e){return[`table`,`td`,`th`].indexOf(K(e))>=0}function Q(e){return((J(e)?e.ownerDocument:e.document)||window.document).documentElement}function el(e){return K(e)===`html`?e:e.assignedSlot||e.parentNode||(Vc(e)?e.host:null)||Q(e)}function tl(e){return!Y(e)||Z(e).position===`fixed`?null:e.offsetParent}function nl(e){var t=/firefox/i.test(Jc());if(/Trident/i.test(Jc())&&Y(e)&&Z(e).position===`fixed`)return null;var n=el(e);for(Vc(n)&&(n=n.host);Y(n)&&[`html`,`body`].indexOf(K(n))<0;){var r=Z(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function rl(e){for(var t=q(e),n=tl(e);n&&$c(n)&&Z(n).position===`static`;)n=tl(n);return n&&(K(n)===`html`||K(n)===`body`&&Z(n).position===`static`)?t:n||nl(e)||t}function il(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function al(e,t,n){return Gc(e,Kc(t,n))}function ol(e,t,n){var r=al(e,t,n);return r>n?n:r}function sl(){return{top:0,right:0,bottom:0,left:0}}function cl(e){return Object.assign({},sl(),e)}function ll(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var ul=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,cl(typeof e==`number`?ll(e,Mc):e)};function dl(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=X(n.placement),c=il(s),l=[`left`,`right`].indexOf(s)>=0?`height`:`width`;if(a&&o){var u=ul(i.padding,n),d=Zc(a),f=c===`y`?`top`:G,p=c===`y`?U:W,m=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],h=o[c]-n.rects.reference[c],g=rl(a),_=g?c===`y`?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[f],b=_-d[l]-u[p],x=_/2-d[l]/2+v,S=al(y,x,b),C=c;n.modifiersData[r]=(t={},t[C]=S,t.centerOffset=S-x,t)}}function fl(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||Qc(t.elements.popper,r)&&(t.elements.arrow=r))}var pl={name:`arrow`,enabled:!0,phase:`main`,fn:dl,effect:fl,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function ml(e){return e.split(`-`)[1]}var hl={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function gl(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:qc(n*i)/i||0,y:qc(r*i)/i||0}}function _l(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,m=o.y,h=m===void 0?0:m,g=typeof u==`function`?u({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var _=o.hasOwnProperty(`x`),v=o.hasOwnProperty(`y`),y=G,b=`top`,x=window;if(l){var S=rl(n),C=`clientHeight`,w=`clientWidth`;if(S===q(n)&&(S=Q(n),Z(S).position!==`static`&&s===`absolute`&&(C=`scrollHeight`,w=`scrollWidth`)),S=S,i===`top`||(i===`left`||i===`right`)&&a===`end`){b=U;var T=d&&S===x&&x.visualViewport?x.visualViewport.height:S[C];h-=T-r.height,h*=c?1:-1}if(i===`left`||(i===`top`||i===`bottom`)&&a===`end`){y=W;var E=d&&S===x&&x.visualViewport?x.visualViewport.width:S[w];p-=E-r.width,p*=c?1:-1}}var D=Object.assign({position:s},l&&hl),O=u===!0?gl({x:p,y:h},q(n)):{x:p,y:h};if(p=O.x,h=O.y,c){var k;return Object.assign({},D,(k={},k[b]=v?`0`:``,k[y]=_?`0`:``,k.transform=(x.devicePixelRatio||1)<=1?`translate(`+p+`px, `+h+`px)`:`translate3d(`+p+`px, `+h+`px, 0)`,k))}return Object.assign({},D,(t={},t[b]=v?h+`px`:``,t[y]=_?p+`px`:``,t.transform=``,t))}function vl(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0||r,a=n.adaptive,o=a===void 0||a,s=n.roundOffsets,c=s===void 0||s,l={placement:X(t.placement),variation:ml(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,_l(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_l(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var yl={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:vl,data:{}},bl={passive:!0};function xl(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0||i,o=r.resize,s=o===void 0||o,c=q(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,bl)}),s&&c.addEventListener(`resize`,n.update,bl),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,bl)}),s&&c.removeEventListener(`resize`,n.update,bl)}}var Sl={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:xl,data:{}},Cl={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function wl(e){return e.replace(/left|right|bottom|top/g,function(e){return Cl[e]})}var Tl={start:`end`,end:`start`};function El(e){return e.replace(/start|end/g,function(e){return Tl[e]})}function Dl(e){var t=q(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ol(e){return Xc(Q(e)).left+Dl(e).scrollLeft}function kl(e,t){var n=q(e),r=Q(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=Yc();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+Ol(e),y:c}}function Al(e){var t=Q(e),n=Dl(e),r=e.ownerDocument?.body,i=Gc(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Gc(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+Ol(e),s=-n.scrollTop;return Z(r||t).direction===`rtl`&&(o+=Gc(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}function jl(e){var t=Z(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ml(e){return[`html`,`body`,`#document`].indexOf(K(e))>=0?e.ownerDocument.body:Y(e)&&jl(e)?e:Ml(el(e))}function Nl(e,t){t===void 0&&(t=[]);var n=Ml(e),r=n===e.ownerDocument?.body,i=q(n),a=r?[i].concat(i.visualViewport||[],jl(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(Nl(el(a)))}function Pl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Fl(e,t){var n=Xc(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Il(e,t,n){return t===`viewport`?Pl(kl(e,n)):J(t)?Fl(t,n):Pl(Al(Q(e)))}function Ll(e){var t=Nl(el(e)),n=[`absolute`,`fixed`].indexOf(Z(e).position)>=0&&Y(e)?rl(e):e;return J(n)?t.filter(function(e){return J(e)&&Qc(e,n)&&K(e)!==`body`}):[]}function Rl(e,t,n,r){var i=t===`clippingParents`?Ll(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=Il(e,n,r);return t.top=Gc(i.top,t.top),t.right=Kc(i.right,t.right),t.bottom=Kc(i.bottom,t.bottom),t.left=Gc(i.left,t.left),t},Il(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function zl(e){var t=e.reference,n=e.element,r=e.placement,i=r?X(r):null,a=r?ml(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case`top`:c={x:o,y:t.y-n.height};break;case U:c={x:o,y:t.y+t.height};break;case W:c={x:t.x+t.width,y:s};break;case G:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=i?il(i):null;if(l!=null){var u=l===`y`?`height`:`width`;switch(a){case Nc:c[l]=c[l]-(t[u]/2-n[u]/2);break;case`end`:c[l]=c[l]+(t[u]/2-n[u]/2)}}return c}function Bl(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?Pc:s,l=n.rootBoundary,u=l===void 0?Fc:l,d=n.elementContext,f
vendor: 4,278 bytes, line 10
10=d===void 0?Ic:d,p=n.altBoundary,m=p!==void 0&&p,h=n.padding,g=h===void 0?0:h,_=cl(typeof g==`number`?ll(g,Mc):g),v=f===`popper`?Lc:Ic,y=e.rects.popper,b=e.elements[m?v:f],x=Rl(J(b)?b:b.contextElement||Q(e.elements.popper),c,u,o),S=Xc(e.elements.reference),C=zl({reference:S,element:y,strategy:`absolute`,placement:i}),w=Pl(Object.assign({},y,C)),T=f===`popper`?w:S,E={top:x.top-T.top+_.top,bottom:T.bottom-x.bottom+_.bottom,left:x.left-T.left+_.left,right:T.right-x.right+_.right},D=e.modifiersData.offset;if(f===`popper`&&D){var O=D[i];Object.keys(E).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;E[e]+=O[n]*t})}return E}function Vl(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?zc:c,u=ml(r),d=u?s?Rc:Rc.filter(function(e){return ml(e)===u}):Mc,f=d.filter(function(e){return l.indexOf(e)>=0});f.length===0&&(f=d);var p=f.reduce(function(t,n){return t[n]=Bl(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[X(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}function Hl(e){if(X(e)===`auto`)return[];var t=wl(e);return[El(e),t,El(t)]}function Ul(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0||i,o=n.altAxis,s=o===void 0||o,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0||p,h=n.allowedAutoPlacements,g=t.options.placement,_=X(g)===g,v=c||(_||!m?[wl(g)]:Hl(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(X(n)===`auto`?Vl(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)},[]),b=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,w=y[0],T=0;T<y.length;T++){var E=y[T],D=X(E),O=ml(E)===Nc,k=[`top`,U].indexOf(D)>=0,ee=k?`width`:`height`,A=Bl(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),j=k?O?W:G:O?U:`top`;b[ee]>x[ee]&&(j=wl(j));var te=wl(j),ne=[];if(a&&ne.push(A[D]<=0),s&&ne.push(A[j]<=0,A[te]<=0),ne.every(function(e){return e})){w=E,C=!1;break}S.set(E,ne)}if(C)for(var re=m?3:1,ie=function(e){var t=y.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return w=t,`break`},ae=re;ae>0&&ie(ae)!==`break`;ae--);t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}var Wl={name:`flip`,enabled:!0,phase:`main`,fn:Ul,requiresIfExists:[`offset`],data:{_skip:!1}};function Gl(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Kl(e){return[`top`,W,U,G].some(function(t){return e[t]>=0})}function ql(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Bl(t,{elementContext:`reference`}),s=Bl(t,{altBoundary:!0}),c=Gl(o,r),l=Gl(s,i,a),u=Kl(c),d=Kl(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Jl={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:ql};function Yl(e,t,n){var r=X(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function Xl(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=zc.reduce(function(e,n){return e[n]=Yl(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var Zl={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:Xl};function Ql(e){var t=e.state,n=e.name;t.modifiersData[n]=zl({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var $l={name:`popperOffsets`,enabled:!0,phase:`read`,fn:Ql,data:{}};function eu(e){return e===`x`?`y`:`x`}function tu(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0||i,o=n.altAxis,s=o!==void 0&&o,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f
vendor: 4,445 bytes, line 10
10=n.tether,p=f===void 0||f,m=n.tetherOffset,h=m===void 0?0:m,g=Bl(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),_=X(t.placement),v=ml(t.placement),y=!v,b=il(_),x=eu(b),S=t.modifiersData.popperOffsets,C=t.rects.reference,w=t.rects.popper,T=typeof h==`function`?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof T==`number`?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(a){var k=b===`y`?`top`:G,ee=b===`y`?U:W,A=b===`y`?`height`:`width`,j=S[b],te=j+g[k],ne=j-g[ee],re=p?-w[A]/2:0,ie=v===`start`?C[A]:w[A],ae=v===`start`?-w[A]:-C[A],oe=t.elements.arrow,se=p&&oe?Zc(oe):{width:0,height:0},ce=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:sl(),le=ce[k],ue=ce[ee],M=al(0,C[A],se[A]),de=y?C[A]/2-re-M-le-E.mainAxis:ie-M-le-E.mainAxis,fe=y?-C[A]/2+re+M+ue+E.mainAxis:ae+M+ue+E.mainAxis,pe=t.elements.arrow&&rl(t.elements.arrow),me=pe?b===`y`?pe.clientTop||0:pe.clientLeft||0:0,he=D?.[b]??0,ge=j+de-he-me,_e=j+fe-he,ve=al(p?Kc(te,ge):te,j,p?Gc(ne,_e):ne);S[b]=ve,O[b]=ve-j}if(s){var ye=b===`x`?`top`:G,be=b===`x`?U:W,N=S[x],xe=x===`y`?`height`:`width`,Se=N+g[ye],Ce=N-g[be],we=[`top`,G].indexOf(_)!==-1,Te=D?.[x]??0,Ee=we?Se:N-C[xe]-w[xe]-Te+E.altAxis,De=we?N+C[xe]+w[xe]-Te-E.altAxis:Ce,Oe=p&&we?ol(Ee,N,De):al(p?Ee:Se,N,p?De:Ce);S[x]=Oe,O[x]=Oe-N}t.modifiersData[r]=O}}var nu={name:`preventOverflow`,enabled:!0,phase:`main`,fn:tu,requiresIfExists:[`offset`]};function ru(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function iu(e){return e===q(e)||!Y(e)?Dl(e):ru(e)}function au(e){var t=e.getBoundingClientRect(),n=qc(t.width)/e.offsetWidth||1,r=qc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function ou(e,t,n){n===void 0&&(n=!1);var r=Y(t),i=Y(t)&&au(t),a=Q(t),o=Xc(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((K(t)!==`body`||jl(a))&&(s=iu(t)),Y(t)?(c=Xc(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Ol(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function su(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function cu(e){var t=su(e);return Bc.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function lu(e){var t;return function(){return t||=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})}),t}}function uu(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var du={placement:`bottom`,modifiers:[],strategy:`absolute`};function fu(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function pu(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?du:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},du,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:J(e)?Nl(e):e.contextElement?Nl(e.contextElement):[],popper:Nl(t)};var s=cu(uu([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(fu(t,n)){i.rects={reference:ou(t,rl(n),i.options.strategy===`fixed`),popper:Zc(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++){if(i.reset===!0){i.reset=!1,r=-1;continue}var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:lu(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!fu(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});
10function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var mu=pu({defaultModifiers:[Sl,$l,yl,Wc,Zl,Wl,nu,pl,Jl]}),hu=i(((e,t)=>{var n=typeof Element<`u`,r=typeof Map==`function`,i=typeof Set==`function`,a=typeof ArrayBuffer==`function`&&!!ArrayBuffer.isView;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;var s,c,l;if(Array.isArray(e)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(!o(e[c],t[c]))return!1;return!0}var u;if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],t.get(c.value[0])))return!1;return!0}if(i&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(e[c]!==t[c])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf==`function`&&typeof t.valueOf==`function`)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString==`function`&&typeof t.toString==`function`)return e.toString()===t.toString();if(l=Object.keys(e),s=l.length,s!==Object.keys(t).length)return!1;for(c=s;c--!==0;)if(!Object.prototype.hasOwnProperty.call(t,l[c]))return!1;if(n&&e instanceof Element)return!1;for(c=s;c--!==0;)if((l[c]!==`_owner`&&l[c]!==`__v`&&l[c]!==`__o`||!e.$$typeof)&&!o(e[l[c]],t[l[c]]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||``).match(/stack|recursion/i))return console.warn(`react-fast-compare cannot handle circular refs`),!1;throw e}}})),gu=e(hu()),_u=[],vu=function(e,t,n){n===void 0&&(n={});var r=w.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||`bottom`,strategy:n.strategy||`absolute`,modifiers:n.modifiers||_u},a=w.useState({styles:{popper:{position:i.strategy,left:`0`,top:`0`},arrow:{position:`absolute`}},attributes:{}}),o=a[0],s=a[1],c=w.useMemo(function(){return{name:`updateState`,enabled:!0,phase:`write`,fn:function(e){var t=e.state,n=Object.keys(t.elements);Bs.flushSync(function(){s({styles:kc(n.map(function(e){return[e,t.styles[e]||{}]})),attributes:kc(n.map(function(e){return[e,t.attributes[e]]}))})})},requires:[`computeStyles`]}},[]),l=w.useMemo(function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:`applyStyles`,enabled:!1}])};return(0,gu.default)(r.current,e)?r.current||e:(r.current=e,e)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),u=w.useRef();return Ac(function(){u.current&&u.current.setOptions(l)},[l]),Ac(function(){if(e!=null&&t!=null){var r=(n.createPopper||mu)(e,t,l);return u.current=r,function(){r.destroy(),u.current=null}}},[e,t,n.createPopper]),{state:u.current?u.current.state:null,styles:o.styles,attributes:o.attributes,update:u.current?u.current.update:null,forceUpdate:u.current?u.current.forceUpdate:null}},yu=function(){},bu=function(){return Promise.resolve(null)},xu=[];function Su(e){var t=e.placement,n=t===void 0?`bottom`:t,r=e.strategy,i=r===void 0?`absolute`:r,a=e.modifiers,o=a===void 0?xu:a,s=e.referenceElement,c=e.onFirstUpdate,l=e.innerRef,u=e.children,d=w.useContext(Cc),f=w.useState(null),p=f[0],m=f[1],h=w.useState(null),g=h[0],_=h[1];w.useEffect(function(){Oc(l,p)},[l,p]);var v=w.useMemo(function(){return{placement:n,strategy:i,onFirstUpdate:c,modifiers:[].concat(o,[{name:`arrow`,enabled:g!=null,options:{element:g}}])}},[n,i,c,o,g]),y=vu(s||d,p,v),b=y.state,x=y.styles,S=y.forceUpdate,C=y.update,T=w.useMemo(function(){return{ref:m,style:x.popper,placement:b?b.placement:n,hasPopperEscaped:b&&b.modifiersData.hide?b.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:b&&b.modifiersData.hide?b.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:x.arrow,ref:_},forceUpdate:S||yu,update:C||bu}},[m,_,n,b,x,C,S]);return Ec(u)(T)}var Cu=e(i(((e,t)=>{t.exports=function(){}}))());function wu(e){var t=e.children,n=e.innerRef,r=w.useContext(wc),i=w.useCallback(function(e){Oc(n,e),Dc(r,e)},[n,r]);return w.useEffect(function(){return function(){return Oc(n,null)}},[]),w.useEffect(function(){(0,Cu.default)(!!r,"`Reference` should not be used outside of a `Manager` component.")},[r]),Ec(t)({ref:i})}var Tu=({onClick:e,children:t,className:n})=>{let r=bc(e);return(0,C.jsx)(`div`,{ref:r,className:n,children:t})},Eu=({ref:e,isOpen:t,children:n,onEnterComplete:r,...i})=>{let a=(0,w.useRef)(t),o=(0,w.useCallback)(()=>{a.current&&r?.()},[r]);return(0,w.useEffect)(()=>{a.current=t},[t]),(0,C.jsx)(Ho,{initial:!1,children:t&&(0,w.createElement)(Fs,{...i,key:`floating-fade`,ref:e,initial:{opacity:.01}
10,animate:{opacity:1},exit:{opacity:.01},style:{zIndex:8,...i.style},onAnimationComplete:o},n)})},Du=({placement:e,eventsEnabled:t,positionFixed:n,active:r,allowsOverflow:i,children:a,disableAdjustment:o,preventOverflowPadding:s=0,onOutsideClick:c,trigger:l,zIndex:u=8,offsetY:d=0,offsetX:f=0,onPopupOpen:p})=>{let m=(0,w.useRef)(null),h=(0,w.useCallback)(e=>{m?.current?.contains(e.target)||c?.(e)},[c]),g=(0,w.useCallback)(e=>{m.current=e},[]);return(0,C.jsxs)(Tc,{children:[(0,C.jsx)(wu,{innerRef:g,children:l}),Vs((0,C.jsx)(Su,{placement:e,strategy:n?`fixed`:`absolute`,modifiers:[{name:`computeStyles`,options:{gpuAcceleration:!1,adaptive:!1}},{name:`offset`,options:{offset:[f,d]}},{name:`flip`,enabled:!o},{name:`eventListeners`,options:{scroll:t,resize:t}},...i?[{name:`preventOverflow`,enabled:!1},{name:`hide`,enabled:!1}]:[{name:`preventOverflow`,options:{padding:s,altAxis:!0}}]],children:({ref:e,style:{top:t,left:n,position:i},placement:o})=>(0,C.jsx)(Eu,{ref:e,isOpen:!!r,style:{top:t,left:n,position:i,zIndex:u},onEnterComplete:p,children:(0,C.jsx)(Tu,{onClick:h,children:typeof a==`function`?a({placement:o}):a})})}))]})},Ou=({lang:e,startWeekday:t})=>{let n=(t+6)%7,r=u.weekdays(e===`en`||e===`de`?`short`:`narrow`,{locale:e}),i=r.slice(n,7),a=r.slice(0,n);return[...i,...a]},ku=`var(--_1ht6yfl0)`,Au=`var(--_1ht6yfl1)`,ju=`_1ht6yfl3`,Mu=({width:e,height:t,className:n})=>(0,C.jsx)(`div`,{style:f({[ku]:e,[Au]:t}),className:c(ju,n)}),Nu={LEGACY_ALLDAY_EVENT:`LEGACY_ALLDAY_EVENT`,ALLDAY_EVENT:`ALLDAY_EVENT`,TIMED_EVENT:`TIMED_EVENT`,MEMO_EVENT:`MEMO_EVENT`,MONTHLY_EVENT:`MONTHLY_EVENT`,LEGACY_MONTHLY_EVENT:`LEGACY_MONTHLY_EVENT`,EVENT_CHECKLIST_ITEM:`EVENT_CHECKLIST_ITEM`,LABEL_SETTING_ITEM:`LABEL_SETTING_ITEM`,CALENDAR_LIST_ITEM:`CALENDAR_LIST_ITEM`},Pu=d.fromObject({year:1900,month:1,day:31}),Fu=d.fromObject({year:2051,month:2,day:11}),Iu=Pu.setZone(`UTC`,{keepLocalTime:!0}),Lu=1900,Ru=2050,zu=[`rokuyoTaian`,`rokuyoShakkou`,`rokuyoSensho`,`rokuyoTomobiki`,`rokuyoSenbu`,`rokuyoButsumetsu`],Bu=[[1,2,3,4,5,6,7,8,9,10,11,12],[1,1,2,3,4,5,6,7,8,9,10,11,12],[1,2,2,3,4,5,6,7,8,9,10,11,12],[1,2,3,3,4,5,6,7,8,9,10,11,12],[1,2,3,4,4,5,6,7,8,9,10,11,12],[1,2,3,4,5,5,6,7,8,9,10,11,12],[1,2,3,4,5,6,6,7,8,9,10,11,12],[1,2,3,4,5,6,7,7,8,9,10,11,12],[1,2,3,4,5,6,7,8,8,9,10,11,12],[1,2,3,4,5,6,7,8,9,9,10,11,12],[1,2,3,4,5,6,7,8,9,10,10,11,12],[1,2,3,4,5,6,7,8,9,10,11,11,12],[1,2,3,4,5,6,7,8,9,10,11,12,12]],Vu=[8,0,0,5,0,0,4,0,0,2,0,6,0,0,5,0,0,2,0,7,0,0,5,0,0,4,0,0,2,0,6,0,0,5,0,0,3,0,7,0,0,6,0,0,4,0,0,2,0,7,0,0,5,0,0,3,0,8,0,0,6,0,0,4,0,0,3,0,7,0,0,5,0,0,4,0,8,0,0,6,0,0,4,0,10,0,0,6,0,0,5,0,0,3,0,8,0,0,5,0,0,4,0,0,2,0,7,0,0,5,0,0,3,0,9,0,0,5,0,0,4,0,0,2,0,6,0,0,5,0,0,3,0,11,0,0,6,0,0,5,0,0,2,0,7,0,0,5,0,0,3],Hu=[8,0,0,5,0,0,4,0,0,2,0,6,0,0,5,0,0,3,0,7,0,0,6,0,0,4,0,0,2,0,6,0,0,5,0,0,3,0,7,0,0,6,0,0,4,0,0,2,0,7,0,0,5,0,0,3,0,8,0,0,6,0,0,4,0,0,3,0,7,0,0,5,0,0,4,0,8,0,0,6,0,0,4,0,10,0,0,7,0,0,5,0,0,3,0,8,0,0,5,0,0,4,0,0,2,0,7,0,0,5,0,0,4,0,9,0,0,6,0,0,4,0,0,2,0,6,0,0,5,0,0,3,0,11,0,0,6,0,0,5,0,0,2,0,7,0,0,5,0,0,3],Uu=[[29,30,29,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,30,29],[30,30,29,30,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,30,29,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,29,30],[30,30,29,30,30,29,29,30,29,30,29,29,30],[30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30,29],[30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,29,30,30],[30,29,30,30,29,29,30,29,29,30,29,30,30],[29,30,30,29,30,29,30,29,30,29,29,30],[30,29,30,29,30,30,29,30,29,30,29,29],[30,29,30,30,29,30,29,30,30,29,30,29,30],[29,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30],[29,30,30,29,29,30,29,29,30,29,30,30,29],[30,30,30,29,29,30,29,29,30,29,30,29],[30,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29,30],[29,30,29,30,30,29,30,30,29,30,29,30],[29,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,30,29,30,29,30,30,30,29],[30,29,29,30,29,29,30,29,30,30,30,29],[30,30,29,29,30,29,29,30,29,30,30,29,30],[30,30,29,29,30,29,29,30,29,30,29,30],[30,30,29,30,29,30,29,29,30,29,30,29],[30,30,29,30,30,29,30,29,29,30,29,30,29],[30,29,30,30,29,30,30,29,30,29,29,30],[29,30,29,30,29,30,30,29,30,30,29,30],[29,29,30,29,30,29,30,29,30,30,29,30,30],[29,29,30,29,29,30,29,30,30,30,29,30],[30,29,29,30,29,29,30,29,30,30,29,30],[30,30,29,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30],[30,29,30,30,29,30,29,29,30,29,30,29,30],[29,30,30,30,29,30,29,29,30,29,30,29],[30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29,30],[29,30,29,29,30,30,29,30,30,29,30,30],[29,29,30,29,29,30,29,30,30,29,30,30],[30,29,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30,30],[29,30,30,29,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29],[30,29,30,29,30,30,29,30,29,30,29,30,29],[30,29,30,29,30,29,30,30,29,30,29,30],[29,30,29,29,30,29,30,30,29,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,29,30,30,30],[29,30,30,29,30,29,29,30,29,29,30,30,29],[30,30,29,30,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,30,29,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,29,30,30,30,29],[30,30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,29,30],[30,30,29,30,29,30,29,30,29,30,29,29,30],[30,29,30,30,29,30,29,30,29,30,29,29],[30,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30,29],[30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,29,30,30],[30,29,30,30,29,29,30,29,29,30,29,30,30],[29,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29],[30,29,30,30,29,30,29,30,30,29,30,29,30],[29,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30],[29,30,30,29,29,30,29,29,30,29,30,30],[29,30,30,29,30,29,30,29,29,30,29,30,29],[30,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29,30],[29,30,29,30,30,29,30,29,30,30,29,30],[29,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,29,30,30,29,30,30,30,29],[30,29,29,30,29,29,30,29,30,30,30,29],[30,30,29,29,30,29,29,30,29,30,30,29],[30,30,30,29,29,30,29,29,30,29,30,29,30],[30,30,29,30,29,30,29,29,30,29,30,29],[30,30,29,30,30,29,30,29,29,30,29,30],[29,30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,30,29,29],[30,29,30,29,30,29,30,29,30,30,29,30,30],[29,29,30,29,29,30,29,30,30,30,29,30],[30,29,29,30,29,29,30,29,30,30,29,30],[30,30,29,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30],[30,29,30,30,29,30,29,29,30,29,30,29],[30,29,30,30,30,29,30,29,29,30,29,30,29],[30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,29,30,30,29,30,29,30],[29,30,29,29,30,29,30,30,30,29,30,29],[30,29,30,29,29,30,29,30,30,29,30,30],[29,30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30],[30,29,30,30,29,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29],[30,29,30,29,30,30,29,30,29,30,29,30],[29,30,29,30,29,30,29,30,30,29,30,29,30],[29,30,29,29,30,29,30,30,29,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,29,30,30,30],[29,30,30,29,30,29,29,30,29,29,30,30,29],[30,30,29,30,30,29,29,30,29,29,30,30],[29,30,29,30,30,29,30,29,30,29,30,29],[30,29,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,29,30],[30,30,29,30,29,30,29,30,29,29,30,29],[30,30,29,30,30,29,30,29,30,29,30,29,29],[30,29,30,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,29,30,30,30],[30,29,30,29,29,30,29,29,30,29,30,30],[30,29,30,30,29,29,30,29,29,30,29,30],[30,29,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29],[30,29,30,29,30,30,29,30,30,29,30,29],[29,30,29,30,29,30,29,30,30,29,30,30,29]],Wu=[[29,30,29,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,30,29],[30,30,29,30,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,30,29,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,29,30],[30,30,29,30,29,30,29,30,29,29,30,29,30],[30,29,30,30,29,30,29,30,29,30,29,29],[30,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30,29],[30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30],[30,29,30,29,29,30,29,29,30,29,30,30],[30,29,30,30,29,29,30,29,29,30,29,30,30],[29,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29],[30,29,30,29,30,30,29,30,30,29,30,29,30],[29,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,30,29,30,29,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30],[29,30,30,29,29,30,29,29,30,29,30,30,29],[30,30,29,30,29,30,29,29,30,29,30,29],[30,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29,30],[29,30,29,30,30,29,30,29,30,30,29,30],[29,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,29,30,30,29,30,30,30,29],[30,29,29,30,29,29,30,29,30,30,30,29],[30,30,29,29,30,29,29,30,29,30,30,29,30],[30,30,29,29,30,29,29,30,29,30,29,30],[30,30,29,30,29,30,29,29,30,29,30,29],[30,30,29,30,30,29,30,29,29,30,29,30,29],[30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,30,29,30,29,30,29,30,30,29,30,30],[29,29,30,29,29,30,29,30,30,30,29,30],[30,29,29,30,29,29,30,29,30,30,29,30],[30,30,29,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30],[30,29,30,30,29,30,29,29,30,29,30,29,30],[29,30,30,29,30,30,29,29,30,29,30,29],[30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,29,30,30,29,30,29,30],[29,30,29,29,30,30,29,30,30,29,30,29],[30,29,30,29,29,30,29,30,30,29,30,30],[30,29,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30,29],[30,30,30,29,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29],[30,29,30,29,30,30,29,30,29,30,29,30,29],[30,29,30,29,30,29,30,30,29,30,29,30],[29,30,29,29,30,29,30,30,29,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,29,30,30,29],[30,30,30,29,30,29,29,30,29,29,30,30,29],[30,30,29,30,30,29,29,30,29,30,29,30],[29,30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,29,30],[30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,29,30],[30,30,29,30,29,30,29,30,29,29,30,29,30],[30,29,30,30,29,30,29,30,29,30,29,29],[30,29,30,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30,29],[30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,29,30,30,30],[30,29,30,29,29,30,29,29,30,29,30,30],[30,29,30,30,29,29,30,29,29,30,29,30,30],[29,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,30,29,29],[30,29,30,29,30,30,29,30,30,29,30,29,29],[30,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,30,29,30,29,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30,30],[29,30,29,29,30,29,29,30,29,30,30,30],[29,30,30,29,29,30,29,29,30,29,30,30],[29,30,30,29,30,29,30,29,29,30,29,30,29],[30,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,29,30,30,29,29,30,29,30],[29,30,29,30,30,29,30,29,30,30,29,29],[30,29,30,29,30,29,30,30,29,30,30,29],[30,29,29,30,29,29,30,30,29,30,30,30,29],[30,29,29,30,29,29,30,29,30,30,30,29],[30,30,29,29,30,29,29,30,29,30,30,29],[30,30,29,30,29,30,29,29,30,29,30,29,30],[30,30,29,30,29,30,29,29,30,29,30,29],[30,30,29,30,30,29,30,29,29,30,29,30],[29,30,29,30,30,29,30,29,30,29,30,29,30],[29,30,29,30,29,30,30,29,30,29,30,29],[30,29,30,29,30,29,30,29,30,30,29,30,30],[29,29,30,29,29,30,29,30,30,30,29,30],[30,29,29,30,29,29,30,29,30,30,29,30],[30,30,29,29,30,29,29,30,29,30,29,30,30],[30,29,30,29,30,29,29,30,29,30,29,30],[30,29,30,30,29,30,29,29,30,29,30,29],[30,29,30,30,29,30,30,29,29,30,29,30,29],[30,29,30,29,30,30,29,30,29,30,29,30],[29,30,29,30,29,30,29,30,30,29,30,29,30],[29,30,29,29,30,29,30,30,30,29,30,29],[30,29,30,29,29,30,29,30,30,29,30,30],[29,30,29,30,29,29,30,29,30,29,30,30,30],[29,30,29,30,29,29,30,29,29,30,30,30],[30,29,30,29,30,29,29,30,29,29,30,30],[29,30,30,30,29,30,29,29,30,29,30,29,30],[29,30,30,29,30,29,30,29,30,29,30,29],[30,29,30,29,30,30,29,30,29,30,29,30],[29,30,29,29,30,30,29,30,30,29,30,29,30],[29,30,29,29,30,29,30,30,29,30,30,29],[30,29,30,29,29,30,29,30,29,30,30,30,29],[30,29,30,29,29,30,29,29,30,30,30,29],[30,30,29,30,29,29,30,29,29,30,30,29],[30,30,30,29,30,29,29,30,29,29,30,30,29],[30,30,29,30,29,30,29,30,29,29,30,30],[29,30,29,30,30,29,30,29,30,29,30,29],[29,30,30,29,30,29,30,30,29,30,29,30,29],[30,29,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,29,30],[30,29,30,29,29,30,29,29,30,30,29,30],[30,30,29,30,29,29,30,29,29,30,29,30,30],[30,30,29,30,29,29,30,29,29,30,29,30],[30,30,29,30,29,30,29,30,29,29,30,29],[30,30,29,30,30,29,30,29,30,29,30,29,29],[30,29,30,30,29,30,29,30,30,29,30,29],[29,30,29,30,29,30,30,29,30,30,29,30],[29,30,29,29,30,29,30,29,30,30,29,30,30],[29,30,29,29,30,29,29,30,30,29,30,30],[30,29,30,29,29,30,29,29,30,29,30,30,30],[30,29,30,29,29,30,29,29,30,29,30,30],[30,29,30,29,30,29,30,29,29,30,29,30],[30,29,30,30,29,30,29,30,29,29,30,29,30],[29,30,30,29,30,30,29,30,29,29,30,29],[30,29,30,29,30,30,29,30,30,29,30,29],[29,30,29,30,29,30,29,30,30,29,30,30,29]],Gu={},Ku=class{months;days;leapIndex;constructor(e,t){this.months=e,this.days=t,this.leapIndex=e.findIndex((t,n)=>n>0&&e[n-1]===t)}getCountMonth(){return this.months.length}getLeapMonth(){return this.leapIndex<0?null:this.months[this.leapIndex]}getDays(e){return this.days[e]}},qu=class{year;month;day;leap;constructor({year:e=Lu,month:t=1,day:n=1,leap:r=!1}){this.year=e,this.month=t,this.day=n,this.leap=r}getDisplayTitle(e){return`${this.leap?e(`lunarCalendarLeapMonth`):``}${this.month}.${this.day}`}getRokuyo(){let e=(this.month+this.day)%6;return{id:e,translateKey:zu[e]}}},Ju=class e{lunarYears;static getInstance(t=`korean`){return Gu[t]||(Gu[t]=new e(t)),Gu[t]}constructor(e=`korean`){let t=e===`chinese`?Hu:Vu,n=e===`chinese`?Wu:Uu;this.lunarYears=t.map((e,t)=>new Ku(Bu[e],n[t]))}getLunarDate(e){if(!(Pu.toMillis()<=e&&e<Fu.toMillis()))return null;let t=d.fromMillis(e).setZone(`UTC`,{keepLocalTime:!0}).startOf(`day`),n=new qu({}),r=t.diff(Iu,`days`).days+1;for(let e=Lu;e<=Ru;e++){n.year=e;let t=this.lunarYears[e-Lu],i=t.getCountMonth();for(let e=0;e<i;e++){let i=t.getLeapMonth();if(i!==null&&i<=e?(n.month=e,n.leap=i===e):(n.month=e+1,n.leap=!1),r<=t.getDays(e)){n.day=r,r=0;break}r-=t.getDays(e)}if(r<=0)break}return n}},Yu=e=>[`ja`,`ko`].includes(e)?`korean`:`chinese`,Xu=e=>e.setZone(`UTC`,{keepLocalTime:!0}).toISO({suppressMilliseconds:!0})??``,Zu=({from:e,to:t,holidayCountries:n})=>{let r=(0,w.useMemo)(()=>n.map(e=>e.toUpperCase()).sort(),[n]),{data:i}=m({queryParams:{country_iso:r,from:Xu(e)
10,to:Xu(t)}},{enabled:r.length>0,select:e=>e.memorialdays.filter(e=>e.deactivated_at===null)});return i},Qu=e=>e.toISOTime({suppressMilliseconds:!0,includeOffset:!1})===`00:00:00`,$u=({eventStartAt:e,eventEndAt:t})=>Qu(t)&&!e.hasSame(t,`day`)?t.minus({milliseconds:1}):t,ed=e=>e.toUTC(0,{keepLocalTime:!0}).startOf(`day`).toMillis(),td=(e,t)=>{let n=ed(t)-ed(e),r=p.fromMillis(n).as(`days`);return Math.floor(r)},nd=new Set([`timedEvent`,`placeholderTimedEvent`,`creatingTimedEvent`,`temporaryTimedEvent`,`previewTimedEvent`]),rd=e=>nd.has(e.type),id=e=>{let t=[`memorialdayEvent`,`allDayEvent`,`birthdayEvent`,`placeholderAllDayEvent`,`placeholderTimedEvent`,`previewAllDayEvent`,`previewTimedEvent`],{type:n,startAt:r,endAt:i}=e;if(t.includes(n))return e;let a=r.hasSame(i,`day`),o=r.startOf(`day`).plus({days:1}).toMillis()===i.toMillis(),s=a||o;switch(n){case`creatingAllDayEvent`:case`temporaryAllDayEvent`:return{...e,type:n};case`creatingTimedEvent`:return s?{...e,type:n}:{...e,type:`creatingAllDayEvent`};case`temporaryTimedEvent`:return s?{...e,type:n}:{...e,type:`temporaryAllDayEvent`};default:return{...e,type:s?`timedEvent`:`allDayEvent`}}},ad=e=>{switch(e.type){case`allDayEvent`:case`birthdayEvent`:case`placeholderAllDayEvent`:case`memorialdayEvent`:case`creatingAllDayEvent`:case`temporaryAllDayEvent`:case`previewAllDayEvent`:return{eventStartAt:d.fromMillis(g(e.startAt.toMillis())),eventEndAt:d.fromMillis(g(e.endAt.toMillis()))};case`timedEvent`:case`placeholderTimedEvent`:case`creatingTimedEvent`:case`temporaryTimedEvent`:case`previewTimedEvent`:{let t=e.startAt.startOf(`day`),n=e.endAt.startOf(`day`);return{eventStartAt:t,eventEndAt:Qu(e.endAt)&&!t.hasSame(n,`day`)?n.minus({days:1}):n}}}},od=({events:e,beginAt:t,endAt:n})=>{let r={};for(let i of e){let{eventStartAt:e,eventEndAt:a}=ad(i),o=id(i),s=rd(o)?$u({eventStartAt:o.startAt,eventEndAt:o.endAt}):o.endAt,c=e<t?t:e;for(;c<=a&&c<n;){let e=td(t,c),n=td(c,a)+1,i=7-e%7;if(n<=i){r[e]=[...r[e]??[],{...o,endAt:s,span:n}];break}r[e]=[...r[e]??[],{...o,endAt:s,span:i}],c=c.plus({days:i})}}return r},sd=e=>e.year*1e4+e.month*100+e.day,cd=e=>{let t=e.startAt,n=e.endAt,r=Date.UTC(t.year,t.month-1,t.day),i=Date.UTC(n.year,n.month-1,n.day);return Math.round((i-r)/864e5)},ld=e=>e.type===`allDayEvent`||e.type===`birthdayEvent`||e.type===`placeholderAllDayEvent`,ud=e=>e.type===`memorialdayEvent`,dd=e=>`pinnedAt`in e?e.pinnedAt??0:0,fd=(e,t)=>pd(e,t),pd=(e,t)=>{let n=dd(e),r=dd(t);if(n!==r)return r-n;let i=sd(e.startAt),a=sd(t.startAt);if(i!==a)return i-a;let o=cd(e),s=cd(t);if(o!==s)return s-o;let c=+!!ud(e),l=+!!ud(t);if(c!==l)return l-c;let u=+!!ld(e),d=+!!ld(t);if(u!==d)return d-u;let f=sd(e.endAt),p=sd(t.endAt);return f===p?e.startAt.toMillis()===t.startAt.toMillis()?e.endAt.toMillis()===t.endAt.toMillis()?`createdAt`in e&&`createdAt`in t?e.createdAt.toMillis()-t.createdAt.toMillis():0:e.endAt.toMillis()-t.endAt.toMillis():e.startAt.toMillis()-t.startAt.toMillis():f-p},md=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,[...t].sort(fd)])),hd={largerThanDesktopMedium:1439,largerThanDesktopSmall:1279,largerThanTablet:1024,largerThanMobile:760,default:480},$={largerThanDesktopMedium:`${hd.largerThanDesktopMedium}px`,largerThanDesktopSmall:`${hd.largerThanDesktopSmall}px`,largerThanTablet:`${hd.largerThanTablet}px`,largerThanMobile:`${hd.largerThanMobile}px`,default:`${hd.default}px`},gd={default:`(width >= ${$.default})`,largerThanEqualDesktopMedium:`(width >= ${$.largerThanDesktopMedium})`,largerThanEqualDesktopSmall:`(width >= ${$.largerThanDesktopSmall})`,largerThanEqualTablet:`(width >= ${$.largerThanTablet})`,largerThanEqualMobile:`(width >= ${$.largerThanMobile})`,smallerThanEqualTablet:`(width <= ${$.largerThanTablet})`,smallerThanMobile:`(width < ${$.largerThanMobile})`,smallerThanEqualMobile:`(width <= ${$.largerThanMobile})`},_d=()=>fc(`(min-width: ${$.largerThanMobile})`)??!1;export{zo as $,ei as $t,sc as A,qt as An,pa as At,Fs as B,Ii as Bt,yc as C,dr as Cn,Fa as Ct,gc as D,jn as Dn,H as Dt,hc as E,ar as En,xa as Et,Zs as F,Qi as Ft,ks as G,Ci as Gt,zs as H,Di as Ht,Xs as I,Hi as It,hs as J,R as Jt,Ts as K,gi as Kt,Ys as L,Ki as Lt,$s as M,S as Mn,ua as Mt,ec as N,x as Nn,ta as Nt,pc as O,Cn as On,ba as Ot,Qs as P,y as Pn,$i as Pt,Ho as Q,ni as Qt,Vs as R,Bi as Rt,bc as S,ur as Sn,La as St,_c as T,or as Tn,Sa as Tt,Ls as U,Ei as Ut,Is as V,Ri as Vt,Rs as W,wi as Wt,Jo as X,I as Xt,ts as Y,si as Yt,Uo as Z,L as Zt,Ou as _,gr as _n,Ja as _t,od as a,Ar as an,So as at,Sc as b,pr as bn,Ba as bt,rd as c,Tr as cn,fo as ct,Qu as d,Sr as dn,ro as dt,Hr as en,jo as et,Zu as f,xr as fn,Qa as ft,Mu as g,_r as gn,Ya as gt,Nu as h,vr as hn,Xa as ht,md as i,jr as in,Do as it,tc as j,Vt as jn,fa as jt,fc as k,gn as kn,va as kt,td as l,wr as ln,oo as lt,Yu as m,yr as mn,Za as mt,gd as n,Br as nn,ko as nt,ad as o,Mr as on,bo as ot,Ju as p,br as pn,$a as pt,ws as q,z as qt,fd as r,Ir as rn,Oo as rt,id as s,Nr as sn,go as st,_d as t,Rr as tn,Ao as tt,$u as u,Cr as un,io as ut,Du as v,hr as vn,Ka as vt,vc as w,sr as wn,Ea as wt,xc as x,fr as xn,Ra as xt,hu as y,mr as yn,Va as yt,Ps as z,Vi as zt};
11//# sourceMappingURL=useDesktop-DT1L4YnD.js.map

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