UNPKG

@fluster.io/dev

Version:

22 lines 11 MB
(function(Ln,xn){typeof exports=="object"&&typeof module<"u"?xn(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],xn):(Ln=typeof globalThis<"u"?globalThis:Ln||self,xn(Ln.fluster={},Ln.React,Ln.ReactDOM))})(this,function(exports,React,ReactDOM){"use strict";var xo=Object.defineProperty;var Bo=(Ln,xn,Tn)=>xn in Ln?xo(Ln,xn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):Ln[xn]=Tn;var ae=(Ln,xn,Tn)=>Bo(Ln,typeof xn!="symbol"?xn+"":xn,Tn);var xn,Tn;function _interopNamespaceDefault(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const React__namespace=_interopNamespaceDefault(React),ReactDOM__namespace=_interopNamespaceDefault(ReactDOM);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dayjs_min$1={exports:{}},dayjs_min=dayjs_min$1.exports,hasRequiredDayjs_min;function requireDayjs_min(){return hasRequiredDayjs_min||(hasRequiredDayjs_min=1,function(e,t){(function(n,o){e.exports=o()})(dayjs_min,function(){var n=1e3,o=6e4,l=36e5,A="millisecond",g="second",f="minute",b="hour",h="day",y="week",w="month",_="quarter",C="year",E="date",I="Invalid Date",Q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,q={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(nt){var R=["th","st","nd","rd"],M=nt%100;return"["+nt+(R[(M-20)%10]||R[M]||R[0])+"]"}},O=function(nt,R,M){var Ke=String(nt);return!Ke||Ke.length>=R?nt:""+Array(R+1-Ke.length).join(M)+nt},se={s:O,z:function(nt){var R=-nt.utcOffset(),M=Math.abs(R),Ke=Math.floor(M/60),Ge=M%60;return(R<=0?"+":"-")+O(Ke,2,"0")+":"+O(Ge,2,"0")},m:function nt(R,M){if(R.date()<M.date())return-nt(M,R);var Ke=12*(M.year()-R.year())+(M.month()-R.month()),Ge=R.clone().add(Ke,w),ut=M-Ge<0,Oe=R.clone().add(Ke+(ut?-1:1),w);return+(-(Ke+(M-Ge)/(ut?Ge-Oe:Oe-Ge))||0)},a:function(nt){return nt<0?Math.ceil(nt)||0:Math.floor(nt)},p:function(nt){return{M:w,y:C,w:y,d:h,D:E,h:b,m:f,s:g,ms:A,Q:_}[nt]||String(nt||"").toLowerCase().replace(/s$/,"")},u:function(nt){return nt===void 0}},Ae="en",ne={};ne[Ae]=q;var ge="$isDayjsObject",Fe=function(nt){return nt instanceof At||!(!nt||!nt[ge])},ie=function nt(R,M,Ke){var Ge;if(!R)return Ae;if(typeof R=="string"){var ut=R.toLowerCase();ne[ut]&&(Ge=ut),M&&(ne[ut]=M,Ge=ut);var Oe=R.split("-");if(!Ge&&Oe.length>1)return nt(Oe[0])}else{var et=R.name;ne[et]=R,Ge=et}return!Ke&&Ge&&(Ae=Ge),Ge||!Ke&&Ae},ze=function(nt,R){if(Fe(nt))return nt.clone();var M=typeof R=="object"?R:{};return M.date=nt,M.args=arguments,new At(M)},He=se;He.l=ie,He.i=Fe,He.w=function(nt,R){return ze(nt,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var At=function(){function nt(M){this.$L=ie(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[ge]=!0}var R=nt.prototype;return R.parse=function(M){this.$d=function(Ke){var Ge=Ke.date,ut=Ke.utc;if(Ge===null)return new Date(NaN);if(He.u(Ge))return new Date;if(Ge instanceof Date)return new Date(Ge);if(typeof Ge=="string"&&!/Z$/i.test(Ge)){var Oe=Ge.match(Q);if(Oe){var et=Oe[2]-1||0,We=(Oe[7]||"0").substring(0,3);return ut?new Date(Date.UTC(Oe[1],et,Oe[3]||1,Oe[4]||0,Oe[5]||0,Oe[6]||0,We)):new Date(Oe[1],et,Oe[3]||1,Oe[4]||0,Oe[5]||0,Oe[6]||0,We)}}return new Date(Ge)}(M),this.init()},R.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},R.$utils=function(){return He},R.isValid=function(){return this.$d.toString()!==I},R.isSame=function(M,Ke){var Ge=ze(M);return this.startOf(Ke)<=Ge&&Ge<=this.endOf(Ke)},R.isAfter=function(M,Ke){return ze(M)<this.startOf(Ke)},R.isBefore=function(M,Ke){return this.endOf(Ke)<ze(M)},R.$g=function(M,Ke,Ge){return He.u(M)?this[Ke]:this.set(Ge,M)},R.unix=function(){return Math.floor(this.valueOf()/1e3)},R.valueOf=function(){return this.$d.getTime()},R.startOf=function(M,Ke){var Ge=this,ut=!!He.u(Ke)||Ke,Oe=He.p(M),et=function(ht,kt){var Et=He.w(Ge.$u?Date.UTC(Ge.$y,kt,ht):new Date(Ge.$y,kt,ht),Ge);return ut?Et:Et.endOf(h)},We=function(ht,kt){return He.w(Ge.toDate()[ht].apply(Ge.toDate("s"),(ut?[0,0,0,0]:[23,59,59,999]).slice(kt)),Ge)},Ye=this.$W,ot=this.$M,ct=this.$D,bt="set"+(this.$u?"UTC":"");switch(Oe){case C:return ut?et(1,0):et(31,11);case w:return ut?et(1,ot):et(0,ot+1);case y:var Ze=this.$locale().weekStart||0,mt=(Ye<Ze?Ye+7:Ye)-Ze;return et(ut?ct-mt:ct+(6-mt),ot);case h:case E:return We(bt+"Hours",0);case b:return We(bt+"Minutes",1);case f:return We(bt+"Seconds",2);case g:return We(bt+"Milliseconds",3);default:return this.clone()}},R.endOf=function(M){return this.startOf(M,!1)},R.$set=function(M,Ke){var Ge,ut=He.p(M),Oe="set"+(this.$u?"UTC":""),et=(Ge={},Ge[h]=Oe+"Date",Ge[E]=Oe+"Date",Ge[w]=Oe+"Month",Ge[C]=Oe+"FullYear",Ge[b]=Oe+"Hours",Ge[f]=Oe+"Minutes",Ge[g]=Oe+"Seconds",Ge[A]=Oe+"Milliseconds",Ge)[ut],We=ut===h?this.$D+(Ke-this.$W):Ke;if(ut===w||ut===C){var Ye=this.clone().set(E,1);Ye.$d[et](We),Ye.init(),this.$d=Ye.set(E,Math.min(this.$D,Ye.daysInMonth())).$d}else et&&this.$d[et](We);return this.init(),this},R.set=function(M,Ke){return this.clone().$set(M,Ke)},R.get=function(M){return this[He.p(M)]()},R.add=function(M,Ke){var Ge,ut=this;M=Number(M);var Oe=He.p(Ke),et=function(ot){var ct=ze(ut);return He.w(ct.date(ct.date()+Math.round(ot*M)),ut)};if(Oe===w)return this.set(w,this.$M+M);if(Oe===C)return this.set(C,this.$y+M);if(Oe===h)return et(1);if(Oe===y)return et(7);var We=(Ge={},Ge[f]=o,Ge[b]=l,Ge[g]=n,Ge)[Oe]||1,Ye=this.$d.getTime()+M*We;return He.w(Ye,this)},R.subtract=function(M,Ke){return this.add(-1*M,Ke)},R.format=function(M){var Ke=this,Ge=this.$locale();if(!this.isValid())return Ge.invalidDate||I;var ut=M||"YYYY-MM-DDTHH:mm:ssZ",Oe=He.z(this),et=this.$H,We=this.$m,Ye=this.$M,ot=Ge.weekdays,ct=Ge.months,bt=Ge.meridiem,Ze=function(kt,Et,st,St){return kt&&(kt[Et]||kt(Ke,ut))||st[Et].slice(0,St)},mt=function(kt){return He.s(et%12||12,kt,"0")},ht=bt||function(kt,Et,st){var St=kt<12?"AM":"PM";return st?St.toLowerCase():St};return ut.replace(S,function(kt,Et){return Et||function(st){switch(st){case"YY":return String(Ke.$y).slice(-2);case"YYYY":return He.s(Ke.$y,4,"0");case"M":return Ye+1;case"MM":return He.s(Ye+1,2,"0");case"MMM":return Ze(Ge.monthsShort,Ye,ct,3);case"MMMM":return Ze(ct,Ye);case"D":return Ke.$D;case"DD":return He.s(Ke.$D,2,"0");case"d":return String(Ke.$W);case"dd":return Ze(Ge.weekdaysMin,Ke.$W,ot,2);case"ddd":return Ze(Ge.weekdaysShort,Ke.$W,ot,3);case"dddd":return ot[Ke.$W];case"H":return String(et);case"HH":return He.s(et,2,"0");case"h":return mt(1);case"hh":return mt(2);case"a":return ht(et,We,!0);case"A":return ht(et,We,!1);case"m":return String(We);case"mm":return He.s(We,2,"0");case"s":return String(Ke.$s);case"ss":return He.s(Ke.$s,2,"0");case"SSS":return He.s(Ke.$ms,3,"0");case"Z":return Oe}return null}(kt)||Oe.replace(":","")})},R.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},R.diff=function(M,Ke,Ge){var ut,Oe=this,et=He.p(Ke),We=ze(M),Ye=(We.utcOffset()-this.utcOffset())*o,ot=this-We,ct=function(){return He.m(Oe,We)};switch(et){case C:ut=ct()/12;break;case w:ut=ct();break;case _:ut=ct()/3;break;case y:ut=(ot-Ye)/6048e5;break;case h:ut=(ot-Ye)/864e5;break;case b:ut=ot/l;break;case f:ut=ot/o;break;case g:ut=ot/n;break;default:ut=ot}return Ge?ut:He.a(ut)},R.daysInMonth=function(){return this.endOf(w).$D},R.$locale=function(){return ne[this.$L]},R.locale=function(M,Ke){if(!M)return this.$L;var Ge=this.clone(),ut=ie(M,Ke,!0);return ut&&(Ge.$L=ut),Ge},R.clone=function(){return He.w(this.$d,this)},R.toDate=function(){return new Date(this.valueOf())},R.toJSON=function(){return this.isValid()?this.toISOString():null},R.toISOString=function(){return this.$d.toISOString()},R.toString=function(){return this.$d.toUTCString()},nt}(),Xe=At.prototype;return ze.prototype=Xe,[["$ms",A],["$s",g],["$m",f],["$H",b],["$W",h],["$M",w],["$y",C],["$D",E]].forEach(function(nt){Xe[nt[1]]=function(R){return this.$g(R,nt[0],nt[1])}}),ze.extend=function(nt,R){return nt.$i||(nt(R,At,ze),nt.$i=!0),ze},ze.locale=ie,ze.isDayjs=Fe,ze.unix=function(nt){return ze(1e3*nt)},ze.en=ne[Ae],ze.Ls=ne,ze.p={},ze})}(dayjs_min$1)),dayjs_min$1.exports}var dayjs_minExports=requireDayjs_min();const dayjs=getDefaultExportFromCjs(dayjs_minExports),parseDate=e=>typeof e=="number"?dayjs.unix(e):new RegExp("[a-zA-Z]","gi").test(e)?dayjs(e,{utc:!0}):dayjs(new Date(parseInt(e))),parseTaskDates=e=>({...e,due_at:e.due_at?parseDate(e.due_at).toDate().valueOf().toString():null,ctime:parseDate(e.ctime).toDate().valueOf().toString()});var jsxRuntime={exports:{}},reactJsxRuntime_production={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var hasRequiredReactJsxRuntime_production;function requireReactJsxRuntime_production(){if(hasRequiredReactJsxRuntime_production)return reactJsxRuntime_production;hasRequiredReactJsxRuntime_production=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(o,l,A){var g=null;if(A!==void 0&&(g=""+A),l.key!==void 0&&(g=""+l.key),"key"in l){A={};for(var f in l)f!=="key"&&(A[f]=l[f])}else A=l;return l=A.ref,{$$typeof:e,type:o,key:g,ref:l!==void 0?l:null,props:A}}return reactJsxRuntime_production.Fragment=t,reactJsxRuntime_production.jsx=n,reactJsxRuntime_production.jsxs=n,reactJsxRuntime_production}var reactJsxRuntime_development={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var hasRequiredReactJsxRuntime_development;function requireReactJsxRuntime_development(){return hasRequiredReactJsxRuntime_development||(hasRequiredReactJsxRuntime_development=1,process.env.NODE_ENV!=="production"&&function(){function e(Oe){if(Oe==null)return null;if(typeof Oe=="function")return Oe.$$typeof===ze?null:Oe.displayName||Oe.name||null;if(typeof Oe=="string")return Oe;switch(Oe){case I:return"Fragment";case S:return"Profiler";case Q:return"StrictMode";case Ae:return"Suspense";case ne:return"SuspenseList";case ie:return"Activity"}if(typeof Oe=="object")switch(typeof Oe.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Oe.$$typeof){case E:return"Portal";case O:return(Oe.displayName||"Context")+".Provider";case q:return(Oe._context.displayName||"Context")+".Consumer";case se:var et=Oe.render;return Oe=Oe.displayName,Oe||(Oe=et.displayName||et.name||"",Oe=Oe!==""?"ForwardRef("+Oe+")":"ForwardRef"),Oe;case ge:return et=Oe.displayName||null,et!==null?et:e(Oe.type)||"Memo";case Fe:et=Oe._payload,Oe=Oe._init;try{return e(Oe(et))}catch{}}return null}function t(Oe){return""+Oe}function n(Oe){try{t(Oe);var et=!1}catch{et=!0}if(et){et=console;var We=et.error,Ye=typeof Symbol=="function"&&Symbol.toStringTag&&Oe[Symbol.toStringTag]||Oe.constructor.name||"Object";return We.call(et,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ye),t(Oe)}}function o(Oe){if(Oe===I)return"<>";if(typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===Fe)return"<...>";try{var et=e(Oe);return et?"<"+et+">":"<...>"}catch{return"<...>"}}function l(){var Oe=He.A;return Oe===null?null:Oe.getOwner()}function A(){return Error("react-stack-top-frame")}function g(Oe){if(At.call(Oe,"key")){var et=Object.getOwnPropertyDescriptor(Oe,"key").get;if(et&&et.isReactWarning)return!1}return Oe.key!==void 0}function f(Oe,et){function We(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",et))}We.isReactWarning=!0,Object.defineProperty(Oe,"key",{get:We,configurable:!0})}function b(){var Oe=e(this.type);return M[Oe]||(M[Oe]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Oe=this.props.ref,Oe!==void 0?Oe:null}function h(Oe,et,We,Ye,ot,ct,bt,Ze){return We=ct.ref,Oe={$$typeof:C,type:Oe,key:et,props:ct,_owner:ot},(We!==void 0?We:null)!==null?Object.defineProperty(Oe,"ref",{enumerable:!1,get:b}):Object.defineProperty(Oe,"ref",{enumerable:!1,value:null}),Oe._store={},Object.defineProperty(Oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Oe,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Oe,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:bt}),Object.defineProperty(Oe,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ze}),Object.freeze&&(Object.freeze(Oe.props),Object.freeze(Oe)),Oe}function y(Oe,et,We,Ye,ot,ct,bt,Ze){var mt=et.children;if(mt!==void 0)if(Ye)if(Xe(mt)){for(Ye=0;Ye<mt.length;Ye++)w(mt[Ye]);Object.freeze&&Object.freeze(mt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(mt);if(At.call(et,"key")){mt=e(Oe);var ht=Object.keys(et).filter(function(Et){return Et!=="key"});Ye=0<ht.length?"{key: someKey, "+ht.join(": ..., ")+": ...}":"{key: someKey}",ut[mt+Ye]||(ht=0<ht.length?"{"+ht.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Ye,mt,ht,mt),ut[mt+Ye]=!0)}if(mt=null,We!==void 0&&(n(We),mt=""+We),g(et)&&(n(et.key),mt=""+et.key),"key"in et){We={};for(var kt in et)kt!=="key"&&(We[kt]=et[kt])}else We=et;return mt&&f(We,typeof Oe=="function"?Oe.displayName||Oe.name||"Unknown":Oe),h(Oe,mt,ct,ot,l(),We,bt,Ze)}function w(Oe){typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===C&&Oe._store&&(Oe._store.validated=1)}var _=React,C=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),O=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),Ae=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),ge=Symbol.for("react.memo"),Fe=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),ze=Symbol.for("react.client.reference"),He=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,At=Object.prototype.hasOwnProperty,Xe=Array.isArray,nt=console.createTask?console.createTask:function(){return null};_={"react-stack-bottom-frame":function(Oe){return Oe()}};var R,M={},Ke=_["react-stack-bottom-frame"].bind(_,A)(),Ge=nt(o(A)),ut={};reactJsxRuntime_development.Fragment=I,reactJsxRuntime_development.jsx=function(Oe,et,We,Ye,ot){var ct=1e4>He.recentlyCreatedOwnerStacks++;return y(Oe,et,We,!1,Ye,ot,ct?Error("react-stack-top-frame"):Ke,ct?nt(o(Oe)):Ge)},reactJsxRuntime_development.jsxs=function(Oe,et,We,Ye,ot){var ct=1e4>He.recentlyCreatedOwnerStacks++;return y(Oe,et,We,!0,Ye,ot,ct?Error("react-stack-top-frame"):Ke,ct?nt(o(Oe)):Ge)}}()),reactJsxRuntime_development}var hasRequiredJsxRuntime;function requireJsxRuntime(){return hasRequiredJsxRuntime||(hasRequiredJsxRuntime=1,process.env.NODE_ENV==="production"?jsxRuntime.exports=requireReactJsxRuntime_production():jsxRuntime.exports=requireReactJsxRuntime_development()),jsxRuntime.exports}var jsxRuntimeExports=requireJsxRuntime(),AppRoutes=(e=>(e.dashboard="/",e.settings="/settings",e.pdf="/pdf",e.htmlFile="/html_file",e.bibliography="/bibliography",e.dictionary="/dictionary",e.snippets="/snippets",e.kanbanBoards="/kanban-boards",e.equations="/equations",e.viewMdxNote="/mdx",e.splitViewEditMdx="/mdx-split-view",e.embeddedDocs="/embedded-docs",e.bookmarks="/bookmarks",e.taskLists="/taskLists",e.search="/search",e.semanticSearch="/semantic-search",e.onboarding="/onboarding",e.aiMainChat="/aiChat",e.notebookInteractive="/notebook-interactive",e.constantsTable="/docs-constants",e.full_screen_editor="/editor-full",e))(AppRoutes||{});const Tag=({value:e})=>{const t=new URLSearchParams;return t.set("by_tag",e),jsxRuntimeExports.jsxs("a",{href:`${AppRoutes.search}?${t.toString()}`,className:"bg-primary text-primary-foreground no-underline p-1 rounded cursor-pointer text-nowrap",children:[jsxRuntimeExports.jsx("span",{children:"#"}),e]})};Tag.displayName="Tag";function r$2(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=r$2(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function clsx(){for(var e,t,n=0,o="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=r$2(e))&&(o&&(o+=" "),o+=t);return o}const CLASS_PART_SEPARATOR="-",createClassGroupUtils=e=>{const t=createClassMap(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:g=>{const f=g.split(CLASS_PART_SEPARATOR);return f[0]===""&&f.length!==1&&f.shift(),getGroupRecursive(f,t)||getGroupIdForArbitraryProperty(g)},getConflictingClassGroupIds:(g,f)=>{const b=n[g]||[];return f&&o[g]?[...b,...o[g]]:b}}},getGroupRecursive=(e,t)=>{var g;if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),l=o?getGroupRecursive(e.slice(1),o):void 0;if(l)return l;if(t.validators.length===0)return;const A=e.join(CLASS_PART_SEPARATOR);return(g=t.validators.find(({validator:f})=>f(A)))==null?void 0:g.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=e=>{if(arbitraryPropertyRegex.test(e)){const t=arbitraryPropertyRegex.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},createClassMap=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const l in n)processClassesRecursively(n[l],o,l,t);return o},processClassesRecursively=(e,t,n,o)=>{e.forEach(l=>{if(typeof l=="string"){const A=l===""?t:getPart(t,l);A.classGroupId=n;return}if(typeof l=="function"){if(isThemeGetter(l)){processClassesRecursively(l(o),t,n,o);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([A,g])=>{processClassesRecursively(g,getPart(t,A),n,o)})})},getPart=(e,t)=>{let n=e;return t.split(CLASS_PART_SEPARATOR).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},isThemeGetter=e=>e.isThemeGetter,createLruCache=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const l=(A,g)=>{n.set(A,g),t++,t>e&&(t=0,o=n,n=new Map)};return{get(A){let g=n.get(A);if(g!==void 0)return g;if((g=o.get(A))!==void 0)return l(A,g),g},set(A,g){n.has(A)?n.set(A,g):l(A,g)}}},IMPORTANT_MODIFIER="!",MODIFIER_SEPARATOR=":",MODIFIER_SEPARATOR_LENGTH=MODIFIER_SEPARATOR.length,createParseClassName=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=l=>{const A=[];let g=0,f=0,b=0,h;for(let E=0;E<l.length;E++){let I=l[E];if(g===0&&f===0){if(I===MODIFIER_SEPARATOR){A.push(l.slice(b,E)),b=E+MODIFIER_SEPARATOR_LENGTH;continue}if(I==="/"){h=E;continue}}I==="["?g++:I==="]"?g--:I==="("?f++:I===")"&&f--}const y=A.length===0?l:l.substring(b),w=stripImportantModifier(y),_=w!==y,C=h&&h>b?h-b:void 0;return{modifiers:A,hasImportantModifier:_,baseClassName:w,maybePostfixModifierPosition:C}};if(t){const l=t+MODIFIER_SEPARATOR,A=o;o=g=>g.startsWith(l)?A(g.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:g,maybePostfixModifierPosition:void 0}}if(n){const l=o;o=A=>n({className:A,parseClassName:l})}return o},stripImportantModifier=e=>e.endsWith(IMPORTANT_MODIFIER)?e.substring(0,e.length-1):e.startsWith(IMPORTANT_MODIFIER)?e.substring(1):e,createSortModifiers=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const l=[];let A=[];return o.forEach(g=>{g[0]==="["||t[g]?(l.push(...A.sort(),g),A=[]):A.push(g)}),l.push(...A.sort()),l}},createConfigUtils=e=>({cache:createLruCache(e.cacheSize),parseClassName:createParseClassName(e),sortModifiers:createSortModifiers(e),...createClassGroupUtils(e)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:A}=t,g=[],f=e.trim().split(SPLIT_CLASSES_REGEX);let b="";for(let h=f.length-1;h>=0;h-=1){const y=f[h],{isExternal:w,modifiers:_,hasImportantModifier:C,baseClassName:E,maybePostfixModifierPosition:I}=n(y);if(w){b=y+(b.length>0?" "+b:b);continue}let Q=!!I,S=o(Q?E.substring(0,I):E);if(!S){if(!Q){b=y+(b.length>0?" "+b:b);continue}if(S=o(E),!S){b=y+(b.length>0?" "+b:b);continue}Q=!1}const q=A(_).join(":"),O=C?q+IMPORTANT_MODIFIER:q,se=O+S;if(g.includes(se))continue;g.push(se);const Ae=l(S,Q);for(let ne=0;ne<Ae.length;++ne){const ge=Ae[ne];g.push(O+ge)}b=y+(b.length>0?" "+b:b)}return b};function twJoin(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=toValue(t))&&(o&&(o+=" "),o+=n);return o}const toValue=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=toValue(e[o]))&&(n&&(n+=" "),n+=t);return n};function createTailwindMerge(e,...t){let n,o,l,A=g;function g(b){const h=t.reduce((y,w)=>w(y),e());return n=createConfigUtils(h),o=n.cache.get,l=n.cache.set,A=f,f(b)}function f(b){const h=o(b);if(h)return h;const y=mergeClassList(b,n);return l(b,y),y}return function(){return A(twJoin.apply(null,arguments))}}const fromTheme=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},arbitraryValueRegex=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,arbitraryVariableRegex=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fractionRegex=/^\d+\/\d+$/,tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isFraction=e=>fractionRegex.test(e),isNumber$4=e=>!!e&&!Number.isNaN(Number(e)),isInteger=e=>!!e&&Number.isInteger(Number(e)),isPercent$1=e=>e.endsWith("%")&&isNumber$4(e.slice(0,-1)),isTshirtSize=e=>tshirtUnitRegex.test(e),isAny=()=>!0,isLengthOnly=e=>lengthUnitRegex.test(e)&&!colorFunctionRegex.test(e),isNever=()=>!1,isShadow=e=>shadowRegex.test(e),isImage=e=>imageRegex.test(e),isAnyNonArbitrary=e=>!isArbitraryValue(e)&&!isArbitraryVariable(e),isArbitrarySize=e=>getIsArbitraryValue(e,isLabelSize,isNever),isArbitraryValue=e=>arbitraryValueRegex.test(e),isArbitraryLength=e=>getIsArbitraryValue(e,isLabelLength,isLengthOnly),isArbitraryNumber=e=>getIsArbitraryValue(e,isLabelNumber,isNumber$4),isArbitraryPosition=e=>getIsArbitraryValue(e,isLabelPosition,isNever),isArbitraryImage=e=>getIsArbitraryValue(e,isLabelImage,isImage),isArbitraryShadow=e=>getIsArbitraryValue(e,isLabelShadow,isShadow),isArbitraryVariable=e=>arbitraryVariableRegex.test(e),isArbitraryVariableLength=e=>getIsArbitraryVariable(e,isLabelLength),isArbitraryVariableFamilyName=e=>getIsArbitraryVariable(e,isLabelFamilyName),isArbitraryVariablePosition=e=>getIsArbitraryVariable(e,isLabelPosition),isArbitraryVariableSize=e=>getIsArbitraryVariable(e,isLabelSize),isArbitraryVariableImage=e=>getIsArbitraryVariable(e,isLabelImage),isArbitraryVariableShadow=e=>getIsArbitraryVariable(e,isLabelShadow,!0),getIsArbitraryValue=(e,t,n)=>{const o=arbitraryValueRegex.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},getIsArbitraryVariable=(e,t,n=!1)=>{const o=arbitraryVariableRegex.exec(e);return o?o[1]?t(o[1]):n:!1},isLabelPosition=e=>e==="position"||e==="percentage",isLabelImage=e=>e==="image"||e==="url",isLabelSize=e=>e==="length"||e==="size"||e==="bg-size",isLabelLength=e=>e==="length",isLabelNumber=e=>e==="number",isLabelFamilyName=e=>e==="family-name",isLabelShadow=e=>e==="shadow",getDefaultConfig=()=>{const e=fromTheme("color"),t=fromTheme("font"),n=fromTheme("text"),o=fromTheme("font-weight"),l=fromTheme("tracking"),A=fromTheme("leading"),g=fromTheme("breakpoint"),f=fromTheme("container"),b=fromTheme("spacing"),h=fromTheme("radius"),y=fromTheme("shadow"),w=fromTheme("inset-shadow"),_=fromTheme("text-shadow"),C=fromTheme("drop-shadow"),E=fromTheme("blur"),I=fromTheme("perspective"),Q=fromTheme("aspect"),S=fromTheme("ease"),q=fromTheme("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],se=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Ae=()=>[...se(),isArbitraryVariable,isArbitraryValue],ne=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto","contain","none"],Fe=()=>[isArbitraryVariable,isArbitraryValue,b],ie=()=>[isFraction,"full","auto",...Fe()],ze=()=>[isInteger,"none","subgrid",isArbitraryVariable,isArbitraryValue],He=()=>["auto",{span:["full",isInteger,isArbitraryVariable,isArbitraryValue]},isInteger,isArbitraryVariable,isArbitraryValue],At=()=>[isInteger,"auto",isArbitraryVariable,isArbitraryValue],Xe=()=>["auto","min","max","fr",isArbitraryVariable,isArbitraryValue],nt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],R=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...Fe()],Ke=()=>[isFraction,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Fe()],Ge=()=>[e,isArbitraryVariable,isArbitraryValue],ut=()=>[...se(),isArbitraryVariablePosition,isArbitraryPosition,{position:[isArbitraryVariable,isArbitraryValue]}],Oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],et=()=>["auto","cover","contain",isArbitraryVariableSize,isArbitrarySize,{size:[isArbitraryVariable,isArbitraryValue]}],We=()=>[isPercent$1,isArbitraryVariableLength,isArbitraryLength],Ye=()=>["","none","full",h,isArbitraryVariable,isArbitraryValue],ot=()=>["",isNumber$4,isArbitraryVariableLength,isArbitraryLength],ct=()=>["solid","dashed","dotted","double"],bt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ze=()=>[isNumber$4,isPercent$1,isArbitraryVariablePosition,isArbitraryPosition],mt=()=>["","none",E,isArbitraryVariable,isArbitraryValue],ht=()=>["none",isNumber$4,isArbitraryVariable,isArbitraryValue],kt=()=>["none",isNumber$4,isArbitraryVariable,isArbitraryValue],Et=()=>[isNumber$4,isArbitraryVariable,isArbitraryValue],st=()=>[isFraction,"full",...Fe()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[isTshirtSize],breakpoint:[isTshirtSize],color:[isAny],container:[isTshirtSize],"drop-shadow":[isTshirtSize],ease:["in","out","in-out"],font:[isAnyNonArbitrary],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[isTshirtSize],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[isTshirtSize],shadow:[isTshirtSize],spacing:["px",isNumber$4],text:[isTshirtSize],"text-shadow":[isTshirtSize],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",isFraction,isArbitraryValue,isArbitraryVariable,Q]}],container:["container"],columns:[{columns:[isNumber$4,isArbitraryValue,isArbitraryVariable,f]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:Ae()}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:ge()}],"overscroll-x":[{"overscroll-x":ge()}],"overscroll-y":[{"overscroll-y":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ie()}],"inset-x":[{"inset-x":ie()}],"inset-y":[{"inset-y":ie()}],start:[{start:ie()}],end:[{end:ie()}],top:[{top:ie()}],right:[{right:ie()}],bottom:[{bottom:ie()}],left:[{left:ie()}],visibility:["visible","invisible","collapse"],z:[{z:[isInteger,"auto",isArbitraryVariable,isArbitraryValue]}],basis:[{basis:[isFraction,"full","auto",f,...Fe()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[isNumber$4,isFraction,"auto","initial","none",isArbitraryValue]}],grow:[{grow:["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],shrink:[{shrink:["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],order:[{order:[isInteger,"first","last","none",isArbitraryVariable,isArbitraryValue]}],"grid-cols":[{"grid-cols":ze()}],"col-start-end":[{col:He()}],"col-start":[{"col-start":At()}],"col-end":[{"col-end":At()}],"grid-rows":[{"grid-rows":ze()}],"row-start-end":[{row:He()}],"row-start":[{"row-start":At()}],"row-end":[{"row-end":At()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Xe()}],"auto-rows":[{"auto-rows":Xe()}],gap:[{gap:Fe()}],"gap-x":[{"gap-x":Fe()}],"gap-y":[{"gap-y":Fe()}],"justify-content":[{justify:[...nt(),"normal"]}],"justify-items":[{"justify-items":[...R(),"normal"]}],"justify-self":[{"justify-self":["auto",...R()]}],"align-content":[{content:["normal",...nt()]}],"align-items":[{items:[...R(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...R(),{baseline:["","last"]}]}],"place-content":[{"place-content":nt()}],"place-items":[{"place-items":[...R(),"baseline"]}],"place-self":[{"place-self":["auto",...R()]}],p:[{p:Fe()}],px:[{px:Fe()}],py:[{py:Fe()}],ps:[{ps:Fe()}],pe:[{pe:Fe()}],pt:[{pt:Fe()}],pr:[{pr:Fe()}],pb:[{pb:Fe()}],pl:[{pl:Fe()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":Fe()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Fe()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ke()}],w:[{w:[f,"screen",...Ke()]}],"min-w":[{"min-w":[f,"screen","none",...Ke()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[g]},...Ke()]}],h:[{h:["screen","lh",...Ke()]}],"min-h":[{"min-h":["screen","lh","none",...Ke()]}],"max-h":[{"max-h":["screen","lh",...Ke()]}],"font-size":[{text:["base",n,isArbitraryVariableLength,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,isArbitraryVariable,isArbitraryNumber]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",isPercent$1,isArbitraryValue]}],"font-family":[{font:[isArbitraryVariableFamilyName,isArbitraryValue,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,isArbitraryVariable,isArbitraryValue]}],"line-clamp":[{"line-clamp":[isNumber$4,"none",isArbitraryVariable,isArbitraryNumber]}],leading:[{leading:[A,...Fe()]}],"list-image":[{"list-image":["none",isArbitraryVariable,isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",isArbitraryVariable,isArbitraryValue]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Ge()}],"text-color":[{text:Ge()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ct(),"wavy"]}],"text-decoration-thickness":[{decoration:[isNumber$4,"from-font","auto",isArbitraryVariable,isArbitraryLength]}],"text-decoration-color":[{decoration:Ge()}],"underline-offset":[{"underline-offset":[isNumber$4,"auto",isArbitraryVariable,isArbitraryValue]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Fe()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryVariable,isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryVariable,isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ut()}],"bg-repeat":[{bg:Oe()}],"bg-size":[{bg:et()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},isInteger,isArbitraryVariable,isArbitraryValue],radial:["",isArbitraryVariable,isArbitraryValue],conic:[isInteger,isArbitraryVariable,isArbitraryValue]},isArbitraryVariableImage,isArbitraryImage]}],"bg-color":[{bg:Ge()}],"gradient-from-pos":[{from:We()}],"gradient-via-pos":[{via:We()}],"gradient-to-pos":[{to:We()}],"gradient-from":[{from:Ge()}],"gradient-via":[{via:Ge()}],"gradient-to":[{to:Ge()}],rounded:[{rounded:Ye()}],"rounded-s":[{"rounded-s":Ye()}],"rounded-e":[{"rounded-e":Ye()}],"rounded-t":[{"rounded-t":Ye()}],"rounded-r":[{"rounded-r":Ye()}],"rounded-b":[{"rounded-b":Ye()}],"rounded-l":[{"rounded-l":Ye()}],"rounded-ss":[{"rounded-ss":Ye()}],"rounded-se":[{"rounded-se":Ye()}],"rounded-ee":[{"rounded-ee":Ye()}],"rounded-es":[{"rounded-es":Ye()}],"rounded-tl":[{"rounded-tl":Ye()}],"rounded-tr":[{"rounded-tr":Ye()}],"rounded-br":[{"rounded-br":Ye()}],"rounded-bl":[{"rounded-bl":Ye()}],"border-w":[{border:ot()}],"border-w-x":[{"border-x":ot()}],"border-w-y":[{"border-y":ot()}],"border-w-s":[{"border-s":ot()}],"border-w-e":[{"border-e":ot()}],"border-w-t":[{"border-t":ot()}],"border-w-r":[{"border-r":ot()}],"border-w-b":[{"border-b":ot()}],"border-w-l":[{"border-l":ot()}],"divide-x":[{"divide-x":ot()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ot()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ct(),"hidden","none"]}],"divide-style":[{divide:[...ct(),"hidden","none"]}],"border-color":[{border:Ge()}],"border-color-x":[{"border-x":Ge()}],"border-color-y":[{"border-y":Ge()}],"border-color-s":[{"border-s":Ge()}],"border-color-e":[{"border-e":Ge()}],"border-color-t":[{"border-t":Ge()}],"border-color-r":[{"border-r":Ge()}],"border-color-b":[{"border-b":Ge()}],"border-color-l":[{"border-l":Ge()}],"divide-color":[{divide:Ge()}],"outline-style":[{outline:[...ct(),"none","hidden"]}],"outline-offset":[{"outline-offset":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"outline-w":[{outline:["",isNumber$4,isArbitraryVariableLength,isArbitraryLength]}],"outline-color":[{outline:Ge()}],shadow:[{shadow:["","none",y,isArbitraryVariableShadow,isArbitraryShadow]}],"shadow-color":[{shadow:Ge()}],"inset-shadow":[{"inset-shadow":["none",w,isArbitraryVariableShadow,isArbitraryShadow]}],"inset-shadow-color":[{"inset-shadow":Ge()}],"ring-w":[{ring:ot()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Ge()}],"ring-offset-w":[{"ring-offset":[isNumber$4,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":Ge()}],"inset-ring-w":[{"inset-ring":ot()}],"inset-ring-color":[{"inset-ring":Ge()}],"text-shadow":[{"text-shadow":["none",_,isArbitraryVariableShadow,isArbitraryShadow]}],"text-shadow-color":[{"text-shadow":Ge()}],opacity:[{opacity:[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"mix-blend":[{"mix-blend":[...bt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":bt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[isNumber$4]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ze()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ze()}],"mask-image-linear-from-color":[{"mask-linear-from":Ge()}],"mask-image-linear-to-color":[{"mask-linear-to":Ge()}],"mask-image-t-from-pos":[{"mask-t-from":Ze()}],"mask-image-t-to-pos":[{"mask-t-to":Ze()}],"mask-image-t-from-color":[{"mask-t-from":Ge()}],"mask-image-t-to-color":[{"mask-t-to":Ge()}],"mask-image-r-from-pos":[{"mask-r-from":Ze()}],"mask-image-r-to-pos":[{"mask-r-to":Ze()}],"mask-image-r-from-color":[{"mask-r-from":Ge()}],"mask-image-r-to-color":[{"mask-r-to":Ge()}],"mask-image-b-from-pos":[{"mask-b-from":Ze()}],"mask-image-b-to-pos":[{"mask-b-to":Ze()}],"mask-image-b-from-color":[{"mask-b-from":Ge()}],"mask-image-b-to-color":[{"mask-b-to":Ge()}],"mask-image-l-from-pos":[{"mask-l-from":Ze()}],"mask-image-l-to-pos":[{"mask-l-to":Ze()}],"mask-image-l-from-color":[{"mask-l-from":Ge()}],"mask-image-l-to-color":[{"mask-l-to":Ge()}],"mask-image-x-from-pos":[{"mask-x-from":Ze()}],"mask-image-x-to-pos":[{"mask-x-to":Ze()}],"mask-image-x-from-color":[{"mask-x-from":Ge()}],"mask-image-x-to-color":[{"mask-x-to":Ge()}],"mask-image-y-from-pos":[{"mask-y-from":Ze()}],"mask-image-y-to-pos":[{"mask-y-to":Ze()}],"mask-image-y-from-color":[{"mask-y-from":Ge()}],"mask-image-y-to-color":[{"mask-y-to":Ge()}],"mask-image-radial":[{"mask-radial":[isArbitraryVariable,isArbitraryValue]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ze()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ze()}],"mask-image-radial-from-color":[{"mask-radial-from":Ge()}],"mask-image-radial-to-color":[{"mask-radial-to":Ge()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":se()}],"mask-image-conic-pos":[{"mask-conic":[isNumber$4]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ze()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ze()}],"mask-image-conic-from-color":[{"mask-conic-from":Ge()}],"mask-image-conic-to-color":[{"mask-conic-to":Ge()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ut()}],"mask-repeat":[{mask:Oe()}],"mask-size":[{mask:et()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",isArbitraryVariable,isArbitraryValue]}],filter:[{filter:["","none",isArbitraryVariable,isArbitraryValue]}],blur:[{blur:mt()}],brightness:[{brightness:[isNumber$4,isArbitraryVariable,isArbitraryValue]}],contrast:[{contrast:[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"drop-shadow":[{"drop-shadow":["","none",C,isArbitraryVariableShadow,isArbitraryShadow]}],"drop-shadow-color":[{"drop-shadow":Ge()}],grayscale:[{grayscale:["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],"hue-rotate":[{"hue-rotate":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],invert:[{invert:["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],saturate:[{saturate:[isNumber$4,isArbitraryVariable,isArbitraryValue]}],sepia:[{sepia:["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-filter":[{"backdrop-filter":["","none",isArbitraryVariable,isArbitraryValue]}],"backdrop-blur":[{"backdrop-blur":mt()}],"backdrop-brightness":[{"backdrop-brightness":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-contrast":[{"backdrop-contrast":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-grayscale":[{"backdrop-grayscale":["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-invert":[{"backdrop-invert":["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-opacity":[{"backdrop-opacity":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-saturate":[{"backdrop-saturate":[isNumber$4,isArbitraryVariable,isArbitraryValue]}],"backdrop-sepia":[{"backdrop-sepia":["",isNumber$4,isArbitraryVariable,isArbitraryValue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Fe()}],"border-spacing-x":[{"border-spacing-x":Fe()}],"border-spacing-y":[{"border-spacing-y":Fe()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",isArbitraryVariable,isArbitraryValue]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[isNumber$4,"initial",isArbitraryVariable,isArbitraryValue]}],ease:[{ease:["linear","initial",S,isArbitraryVariable,isArbitraryValue]}],delay:[{delay:[isNumber$4,isArbitraryVariable,isArbitraryValue]}],animate:[{animate:["none",q,isArbitraryVariable,isArbitraryValue]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[I,isArbitraryVariable,isArbitraryValue]}],"perspective-origin":[{"perspective-origin":Ae()}],rotate:[{rotate:ht()}],"rotate-x":[{"rotate-x":ht()}],"rotate-y":[{"rotate-y":ht()}],"rotate-z":[{"rotate-z":ht()}],scale:[{scale:kt()}],"scale-x":[{"scale-x":kt()}],"scale-y":[{"scale-y":kt()}],"scale-z":[{"scale-z":kt()}],"scale-3d":["scale-3d"],skew:[{skew:Et()}],"skew-x":[{"skew-x":Et()}],"skew-y":[{"skew-y":Et()}],transform:[{transform:[isArbitraryVariable,isArbitraryValue,"","none","gpu","cpu"]}],"transform-origin":[{origin:Ae()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:st()}],"translate-x":[{"translate-x":st()}],"translate-y":[{"translate-y":st()}],"translate-z":[{"translate-z":st()}],"translate-none":["translate-none"],accent:[{accent:Ge()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Ge()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryVariable,isArbitraryValue]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Fe()}],"scroll-mx":[{"scroll-mx":Fe()}],"scroll-my":[{"scroll-my":Fe()}],"scroll-ms":[{"scroll-ms":Fe()}],"scroll-me":[{"scroll-me":Fe()}],"scroll-mt":[{"scroll-mt":Fe()}],"scroll-mr":[{"scroll-mr":Fe()}],"scroll-mb":[{"scroll-mb":Fe()}],"scroll-ml":[{"scroll-ml":Fe()}],"scroll-p":[{"scroll-p":Fe()}],"scroll-px":[{"scroll-px":Fe()}],"scroll-py":[{"scroll-py":Fe()}],"scroll-ps":[{"scroll-ps":Fe()}],"scroll-pe":[{"scroll-pe":Fe()}],"scroll-pt":[{"scroll-pt":Fe()}],"scroll-pr":[{"scroll-pr":Fe()}],"scroll-pb":[{"scroll-pb":Fe()}],"scroll-pl":[{"scroll-pl":Fe()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryVariable,isArbitraryValue]}],fill:[{fill:["none",...Ge()]}],"stroke-w":[{stroke:[isNumber$4,isArbitraryVariableLength,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:["none",...Ge()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},twMerge=createTailwindMerge(getDefaultConfig);function cn(...e){return twMerge(clsx(e))}function Card({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card",className:cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function CardHeader({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card-header",className:cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function CardTitle({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card-title",className:cn("leading-none font-semibold",e),...t})}function CardDescription({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card-description",className:cn("text-muted-foreground text-sm",e),...t})}function CardAction({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card-action",className:cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function CardContent({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card-content",className:cn("px-6",e),...t})}function CardFooter({className:e,...t}){return jsxRuntimeExports.jsx("div",{"data-slot":"card-footer",className:cn("flex items-center px-6 [.border-t]:pt-6",e),...t})}const EmbeddableCard=({title:e,desc:t,children:n,InlineMdxContent:o})=>jsxRuntimeExports.jsxs(Card,{className:"gap-0",children:[!!(e||t)&&jsxRuntimeExports.jsxs(CardHeader,{children:[e&&jsxRuntimeExports.jsx(CardTitle,{className:"[&_p]:font-semibold [&_p]:leading-none",children:jsxRuntimeExports.jsx(o,{abortIfNoMath:!0,mdx:e})}),t&&jsxRuntimeExports.jsx(CardDescription,{children:jsxRuntimeExports.jsx(o,{mdx:t})})]}),jsxRuntimeExports.jsx(CardContent,{children:n})]});EmbeddableCard.displayName="EmbeddableCard";const useMdxContainerSize=()=>{const[e,t]=React.useState(),n=()=>{const l=document.getElementsByClassName("@container/mdx");if(l.length>1&&console.error("Attempted to get